From ef69e086f62fc21222ff06114dfe2e1b694e3cfe Mon Sep 17 00:00:00 2001 From: Rebolon Date: Mon, 11 Dec 2023 13:32:51 +0100 Subject: [PATCH] 5 new cites --- docs/citations/browser/authors/index.html | 6 +- docs/citations/browser/chunk-2WSYTRVD.js | 1 + docs/citations/browser/chunk-3EZNDDDF.js | 1 + docs/citations/browser/chunk-5K6CMPT6.js | 1 - .../{chunk-U67HH4WJ.js => chunk-5KQLBYUZ.js} | 2 +- docs/citations/browser/chunk-AZBP4WHL.js | 1 - docs/citations/browser/chunk-BTHD7Z2M.js | 8 +++ .../{chunk-5FRWEQTB.js => chunk-CNTN2D3E.js} | 2 +- docs/citations/browser/chunk-EUSOWPMZ.js | 1 + docs/citations/browser/chunk-GQQKX57E.js | 8 --- .../{chunk-3X2RCJ2E.js => chunk-HKLPJZQ3.js} | 2 +- .../{chunk-O7XFWA6S.js => chunk-HM3HMCXS.js} | 2 +- docs/citations/browser/chunk-IASJQZPG.js | 1 - .../{chunk-B65LRI2D.js => chunk-J55U6K2W.js} | 2 +- docs/citations/browser/chunk-L5L6XINX.js | 1 + docs/citations/browser/chunk-PFO66XOK.js | 1 + docs/citations/browser/chunk-SPRGSFS6.js | 1 - docs/citations/browser/chunk-URXUJ4E4.js | 1 + docs/citations/browser/chunk-WD4UYMZH.js | 1 - docs/citations/browser/chunk-WSAZWB3R.js | 1 - .../chunk-X475HLLW.js} | 3 +- docs/citations/browser/chunk-ZJTXMD3N.js | 1 - docs/citations/browser/cites/index.html | 6 +- docs/citations/browser/index.html | 6 +- .../{main-KH4RCMLD.js => main-VBSAGUYR.js} | 2 +- docs/citations/browser/ngsw.json | 58 +++++++++---------- docs/citations/browser/random/index.html | 8 +-- docs/citations/browser/search/index.html | 6 +- docs/citations/server/chunk-2N6OR53J.mjs | 2 - docs/citations/server/chunk-5SGKMCZO.mjs | 2 + ...{chunk-5LNREIAP.mjs => chunk-AGIMZMOE.mjs} | 2 +- docs/citations/server/chunk-BYG5FYZ4.mjs | 2 - ...{chunk-WESW6LFQ.mjs => chunk-DA4QLC2G.mjs} | 2 +- ...{chunk-QKRI2DJ5.mjs => chunk-IWPG2T2Y.mjs} | 2 +- docs/citations/server/chunk-J3KYGEX7.mjs | 2 + docs/citations/server/chunk-JHH2AAIU.mjs | 35 +++++++++++ ...{chunk-OL53WL6O.mjs => chunk-KK4XS2FZ.mjs} | 2 +- docs/citations/server/chunk-KS5CTFF5.mjs | 2 + docs/citations/server/chunk-L4VKC5SC.mjs | 2 + docs/citations/server/chunk-PQBF5BOD.mjs | 2 - ...{chunk-MUV6HIBH.mjs => chunk-QDBRHCH7.mjs} | 2 +- ...{chunk-CF5WBSH6.mjs => chunk-RGQQJVP5.mjs} | 2 +- ...{chunk-PH5UV5Q6.mjs => chunk-RHN7G6CB.mjs} | 2 +- docs/citations/server/chunk-SI77D6AR.mjs | 2 + ...{chunk-BAQQOPV7.mjs => chunk-SNHYI5K2.mjs} | 2 +- docs/citations/server/chunk-U5CHUOLY.mjs | 2 - docs/citations/server/chunk-VDNIS2RZ.mjs | 2 + docs/citations/server/chunk-VFJ7BWVT.mjs | 2 - docs/citations/server/chunk-XUIXZ2OS.mjs | 35 ----------- docs/citations/server/chunk-YKLTUIIX.mjs | 2 + docs/citations/server/chunk-ZR3EWU6Z.mjs | 2 - docs/citations/server/index.server.html | 4 +- docs/citations/server/main.server.mjs | 2 +- docs/citations/server/render-utils.server.mjs | 2 +- docs/citations/server/server.mjs | 2 +- src/app/app.component.spec.ts | 1 + src/app/app.config.server.ts | 4 +- src/app/app.routes.ts | 12 ++-- src/app/components/cite/cite.component.ts | 34 +++++------ src/app/components/home/home.component.ts | 13 ++--- .../list-authors/list-authors.component.ts | 17 +++--- .../list-cites-by-authors.component.ts | 12 ++-- .../list-cites/list-cites.component.ts | 7 +-- .../navbar-desktop.component.ts | 2 +- .../navbar-mobile/navbar-mobile.component.ts | 5 +- .../components/pager/pager.component.spec.ts | 4 +- src/app/components/pager/pager.component.ts | 15 +++-- src/app/components/random/random.component.ts | 13 ++--- .../search/search.component.spec.ts | 6 +- src/app/components/search/search.component.ts | 10 ++-- src/app/fixtures/data.ts | 5 ++ src/app/services/Cites.ts | 21 ++++--- src/app/services/Click.ts | 2 +- src/app/services/Pager/pager-list-parts.ts | 2 +- src/app/services/Pager/pager.interface.ts | 2 +- src/app/services/Pager/pager.service.ts | 16 ++--- src/app/tools/CiteOfTheDay.service.ts | 7 +-- src/main.ts | 5 +- 78 files changed, 230 insertions(+), 241 deletions(-) create mode 100644 docs/citations/browser/chunk-2WSYTRVD.js create mode 100644 docs/citations/browser/chunk-3EZNDDDF.js delete mode 100644 docs/citations/browser/chunk-5K6CMPT6.js rename docs/citations/browser/{chunk-U67HH4WJ.js => chunk-5KQLBYUZ.js} (72%) delete mode 100644 docs/citations/browser/chunk-AZBP4WHL.js create mode 100644 docs/citations/browser/chunk-BTHD7Z2M.js rename docs/citations/browser/{chunk-5FRWEQTB.js => chunk-CNTN2D3E.js} (80%) create mode 100644 docs/citations/browser/chunk-EUSOWPMZ.js delete mode 100644 docs/citations/browser/chunk-GQQKX57E.js rename docs/citations/browser/{chunk-3X2RCJ2E.js => chunk-HKLPJZQ3.js} (92%) rename docs/citations/browser/{chunk-O7XFWA6S.js => chunk-HM3HMCXS.js} (90%) delete mode 100644 docs/citations/browser/chunk-IASJQZPG.js rename docs/citations/browser/{chunk-B65LRI2D.js => chunk-J55U6K2W.js} (71%) create mode 100644 docs/citations/browser/chunk-L5L6XINX.js create mode 100644 docs/citations/browser/chunk-PFO66XOK.js delete mode 100644 docs/citations/browser/chunk-SPRGSFS6.js create mode 100644 docs/citations/browser/chunk-URXUJ4E4.js delete mode 100644 docs/citations/browser/chunk-WD4UYMZH.js delete mode 100644 docs/citations/browser/chunk-WSAZWB3R.js rename docs/citations/{server/chunk-B6CYFCU2.mjs => browser/chunk-X475HLLW.js} (84%) delete mode 100644 docs/citations/browser/chunk-ZJTXMD3N.js rename docs/citations/browser/{main-KH4RCMLD.js => main-VBSAGUYR.js} (98%) delete mode 100644 docs/citations/server/chunk-2N6OR53J.mjs create mode 100644 docs/citations/server/chunk-5SGKMCZO.mjs rename docs/citations/server/{chunk-5LNREIAP.mjs => chunk-AGIMZMOE.mjs} (82%) delete mode 100644 docs/citations/server/chunk-BYG5FYZ4.mjs rename docs/citations/server/{chunk-WESW6LFQ.mjs => chunk-DA4QLC2G.mjs} (72%) rename docs/citations/server/{chunk-QKRI2DJ5.mjs => chunk-IWPG2T2Y.mjs} (99%) create mode 100644 docs/citations/server/chunk-J3KYGEX7.mjs create mode 100644 docs/citations/server/chunk-JHH2AAIU.mjs rename docs/citations/server/{chunk-OL53WL6O.mjs => chunk-KK4XS2FZ.mjs} (99%) create mode 100644 docs/citations/server/chunk-KS5CTFF5.mjs create mode 100644 docs/citations/server/chunk-L4VKC5SC.mjs delete mode 100644 docs/citations/server/chunk-PQBF5BOD.mjs rename docs/citations/server/{chunk-MUV6HIBH.mjs => chunk-QDBRHCH7.mjs} (90%) rename docs/citations/server/{chunk-CF5WBSH6.mjs => chunk-RGQQJVP5.mjs} (93%) rename docs/citations/server/{chunk-PH5UV5Q6.mjs => chunk-RHN7G6CB.mjs} (75%) create mode 100644 docs/citations/server/chunk-SI77D6AR.mjs rename docs/citations/server/{chunk-BAQQOPV7.mjs => chunk-SNHYI5K2.mjs} (95%) delete mode 100644 docs/citations/server/chunk-U5CHUOLY.mjs create mode 100644 docs/citations/server/chunk-VDNIS2RZ.mjs delete mode 100644 docs/citations/server/chunk-VFJ7BWVT.mjs delete mode 100644 docs/citations/server/chunk-XUIXZ2OS.mjs create mode 100644 docs/citations/server/chunk-YKLTUIIX.mjs delete mode 100644 docs/citations/server/chunk-ZR3EWU6Z.mjs diff --git a/docs/citations/browser/authors/index.html b/docs/citations/browser/authors/index.html index 93fba90..a1606dd 100644 --- a/docs/citations/browser/authors/index.html +++ b/docs/citations/browser/authors/index.html @@ -26,10 +26,10 @@ + - + - + \ No newline at end of file diff --git a/docs/citations/browser/chunk-2WSYTRVD.js b/docs/citations/browser/chunk-2WSYTRVD.js new file mode 100644 index 0000000..e801147 --- /dev/null +++ b/docs/citations/browser/chunk-2WSYTRVD.js @@ -0,0 +1 @@ +import{a as k}from"./chunk-HM3HMCXS.js";import{a as A,b as B}from"./chunk-EUSOWPMZ.js";import{b as L}from"./chunk-X475HLLW.js";import{d as P}from"./chunk-HKLPJZQ3.js";import{Da as p,Ia as y,Ja as x,Ka as s,La as a,Pa as m,Ra as b,Sa as l,Ua as c,Ya as C,Za as _,_a as h,aa as f,rb as T,ta as o,ua as u,yb as S,za as v}from"./chunk-BTHD7Z2M.js";var E=(i,e)=>e.getName();function $(i,e){if(i&1&&(s(0,"li",9)(1,"a",10),l(2),s(3,"small"),l(4),a()()()),i&2){let d=e.$implicit;o(1),b("routerLink","/authors/",d.getName(),""),o(1),c("",d.getName()," "),o(2),c("(",d.getCount(),")")}}var I=(i,e)=>({"font-semibold":i,"font-normal":e}),D=i=>({itemPerPage:i}),G=(()=>{let e=class e extends A{constructor(r,n,t){super(),this.authorService=r,this.title=n,this.device=t,this.authors=[],this.paginatedAuthors=[],this.itemsPerPage=11,this.sort="text",this.title.setTitle("Citations - Liste des auteurs"),this.itemsPerPage=11,t.isMobile()&&(this.itemsPerPage=8)}ngOnInit(){this.sortByAlpha()}sortByAlpha(){this.sort="text",this.authorService.authors$.subscribe({next:r=>{this.authors=r},complete:()=>{this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}sortByCount(){this.sort="total",this.authorService.authors$.subscribe({next:r=>{this.authors=r.sort((n,t)=>n.getCount()>t.getCount()?-1:n.getCount(){this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}isSortByText(){return this.sort==="text"}isSortByTotal(){return this.sort==="total"}setPaginatedList(r){this.paginatedAuthors=r}};e.\u0275fac=function(n){return new(n||e)(u(k),u(S),u(L))},e.\u0275cmp=f({type:e,selectors:[["app-list-authors"]],standalone:!0,features:[v,C],decls:14,vars:15,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["title","Trier par nom",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full","mr-2",3,"ngClass","disabled","click"],["title","Trier par total de citations",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full",3,"ngClass","disabled","click"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"p-1"],[3,"routerLink"],["class","p-1"]],template:function(n,t){n&1&&(s(0,"div",0)(1,"h1",1),l(2),a(),s(3,"button",2),m("click",function(){return t.sortByAlpha()}),l(4," Trier par nom "),a(),s(5,"button",3),m("click",function(){return t.sortByCount()}),l(6," Trier par total "),a(),s(7,"ul",4),y(8,$,5,3,"li",11,E),a()(),s(10,"div",5)(11,"div",6)(12,"section",7)(13,"app-pager",8),m("paginatedList$",function(F){return t.setPaginatedList(F)}),a()()()()),n&2&&(o(2),c(" ",t.authors.length," Auteurs. "),o(1),p("ngClass",h(7,I,t.isSortByText()===!0,t.isSortByText()===!1))("disabled",t.isSortByText()),o(2),p("ngClass",h(10,I,t.isSortByTotal()===!0,t.isSortByTotal()===!1))("disabled",t.isSortByTotal()),o(3),x(t.paginatedAuthors),o(5),p("list",t.authors)("options",_(13,D,t.getItemsPerPage())))},dependencies:[T,P,B],encapsulation:2});let i=e;return i})();export{G as ListAuthorsComponent}; diff --git a/docs/citations/browser/chunk-3EZNDDDF.js b/docs/citations/browser/chunk-3EZNDDDF.js new file mode 100644 index 0000000..21f3064 --- /dev/null +++ b/docs/citations/browser/chunk-3EZNDDDF.js @@ -0,0 +1 @@ +import{a as A,b as D}from"./chunk-EUSOWPMZ.js";import{b as B}from"./chunk-X475HLLW.js";import{a as F}from"./chunk-J55U6K2W.js";import{d as T,j as k}from"./chunk-HKLPJZQ3.js";import{Da as p,Fa as h,Ga as x,Ia as v,Ja as P,Ka as l,La as r,Ma as y,Pa as b,Qa as m,Sa as c,Ua as d,Va as g,Ya as L,Za as S,aa as C,ca as f,sb as I,ta as o,tb as q,ua as u,yb as E,za as _}from"./chunk-BTHD7Z2M.js";var j=(t,e)=>e.getId();function w(t,e){if(t&1&&c(0),t&2){let i=m(2);d('Aucune citation trouv\xE9e pour la recherche "',i.q,'"\xA0')}}function M(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citation trouv\xE9e pour la recherche "',i.q,'":\xA0')}}function N(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citations trouv\xE9es pour la recherche "',i.q,'":\xA0')}}function O(t,e){if(t&1&&(l(0,"h2",9),h(1,w,1,1,"ng-template",10)(2,M,1,2,"ng-template",11)(3,N,1,2,"ng-template",12),r()),t&2){let i=m();p("ngPlural",i.cites.length)}}function z(t,e){if(t&1&&(l(0,"li",13)(1,"cite"),c(2),r(),c(3," de "),y(4,"app-link-cites-by-author",14),r()),t&2){let i=e.$implicit;o(2),d("\u201D",i.getCite(),"\u201D"),o(2),p("author",i.getAuthor())}}var R=t=>({itemPerPage:t}),Z=(()=>{let e=class e extends A{constructor(n,s,a){super(),this.citeService=n,this.title=s,this.device=a,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,a.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.cites$.subscribe({next:n=>{this.fillCites(n)}}),this.findCitesBySearch()}ngOnChanges(){this.findCitesBySearch()}findCitesBySearch(){if(this.q&&this.q.trim()===""){this.citeService.reset().subscribe();return}this.citeService.search(this.q).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach(s=>{this.cites.push(s)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(s){return new(s||e)(u(k),u(E),u(B))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[_,f,L],decls:12,vars:7,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams"],["class","text-md text-gray-600",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],[3,"author"],["class","p-1"]],template:function(s,a){s&1&&(l(0,"div",0)(1,"h1",1)(2,"a",2),c(3),r()(),h(4,O,4,1,"h2",3),l(5,"ul",4),v(6,z,5,2,"li",15,j),r()(),l(8,"div",5)(9,"div",6)(10,"section",7)(11,"app-pager",8),b("paginatedList$",function($){return a.setPaginatedList($)}),r()()()()),s&2&&(o(2),p("queryParams",null),o(1),d("",a.citeService.countSearchFoundCites()," Citations."),o(1),x(4,a.q?4:-1),o(2),P(a.paginatedCites),o(5),p("list",a.cites)("options",S(5,R,a.getItemsPerPage())))},dependencies:[T,I,q,F,D],encapsulation:2});let t=e;return t})();export{Z as ListCitesComponent}; diff --git a/docs/citations/browser/chunk-5K6CMPT6.js b/docs/citations/browser/chunk-5K6CMPT6.js deleted file mode 100644 index cbc8f39..0000000 --- a/docs/citations/browser/chunk-5K6CMPT6.js +++ /dev/null @@ -1 +0,0 @@ -import{W as u,h as d,o as m,y as o}from"./chunk-GQQKX57E.js";var w=(()=>{let t=class t{isMobile(){return Object.keys(navigator).length?navigator.userAgent.includes("Mobile"):!1}isDesktop(){return!this.isMobile()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac});let s=t;return s})();var P=class{constructor(t){this.pager=[],this.pagerFirstEdges=[],this.pagerLastEdges=[],this.pagerNumbers=[],this.pager=t,this.pagerFirstEdges=this.pager.filter((h,e)=>e<2),this.pagerLastEdges=this.pager.slice().reverse().filter((h,e)=>e<2).reverse(),this.pagerNumbers=this.pager.filter((h,e)=>!this.pagerFirstEdges.includes(h)&&!this.pagerLastEdges.includes(h))}getAll(){return this.pager}getFirstEdges(){return this.pagerFirstEdges}getLastEdges(){return this.pagerLastEdges}getNumbers(){return this.pagerNumbers}};var l=class extends Error{},a=class extends Error{},g=class extends Error{},n=class extends Error{},f=class extends Error{};var x=class extends Error{},O=(()=>{let t=class t{constructor(){this.originalList=[],this.itemPerPage=5,this.maxPagerItem=5,this.firstPage=1,this.totalPage=1,this.lastPage=1,this.previousPage=1,this.nextPage=1,this.currentPage=new d(1),this.pagerIndexList=[],this.pagerItemList={},this.currentPage$=this.currentPage.asObservable().pipe(o(e=>!!e)),this.currentOffset$=this.currentPage.asObservable().pipe(o(e=>!!e),m(e=>this.getOffsetForPage(e)))}init(e,r){typeof e!="object"?this.originalList=new Array(e).fill(0):this.originalList=e,this.setOptions(r).resetPage().setTotalPage(e).calculateLastPage().calculateCurrentPage().calculatePreviousPage().calculateNextPage().createIndexList().buildPagerList()}isCurrentPage(e){return this.currentPage.getValue()===e}getOffset(){return this.getOffsetForPage(this.getCurrentPage())}getOffsetForPage(e){if(e=0?e:this.firstPage,this}resetPage(){return this.currentPage.next(this.firstPage),this}calculateLastPage(){if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;return this.lastPage=this.totalPage-1+this.firstPage,this}calculateCurrentPage(){if(this.lastPage===null)throw new g;if(this.firstPage===null)throw new a;let e=this.getCurrentPage();return this.currentPage.next(this.currentPage.getValue()this.lastPage?this.lastPage:e),this}calculatePreviousPage(){if(this.currentPage===null)throw new n;if(this.firstPage===null)throw new a;let e=this.currentPage.getValue()-1;return this.previousPage=e>=this.firstPage?e:this.firstPage,this}calculateNextPage(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;let e=this.currentPage.getValue()+1;return this.nextPage=e<=this.lastPage?e:this.lastPage,this}createIndexList(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;let e=Math.floor(this.maxPagerItem/2),r=this.lastPage-this.maxPagerItem+1,i;this.currentPage.getValue()<=e?i=this.firstPage:this.lastPage-this.currentPage.getValue()<=e?i=r<=this.firstPage?this.firstPage:r:i=this.currentPage.getValue()-e;let p=i+(this.maxPagerItem-1),L=p>this.lastPage?this.lastPage:p;this.pagerIndexList=[];for(let c=i;c<=L;c++)this.pagerIndexList.push(c);return this}buildPagerList(){let e=[];return this.pagerIndexList.length&&(this.pagerIndexList.forEach(r=>{e.push({index:r,label:r.toString()})}),e=e.filter((r,i)=>i"}),e.push({index:this.getLastPage(),label:">>"}),this.pagerItemList=new P(e),this.pagerItemList}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();export{O as a,w as b}; diff --git a/docs/citations/browser/chunk-U67HH4WJ.js b/docs/citations/browser/chunk-5KQLBYUZ.js similarity index 72% rename from docs/citations/browser/chunk-U67HH4WJ.js rename to docs/citations/browser/chunk-5KQLBYUZ.js index d6243cf..b203f58 100644 --- a/docs/citations/browser/chunk-U67HH4WJ.js +++ b/docs/citations/browser/chunk-5KQLBYUZ.js @@ -1 +1 @@ -import{Sa as r,Za as s,aa as o,ua as a,zb as c}from"./chunk-GQQKX57E.js";var u=(()=>{let t=class t{constructor(i){this.title=i,this.title.setTitle("Citations - Page non trouv\xE9e")}};t.\u0275fac=function(n){return new(n||t)(a(c))},t.\u0275cmp=o({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[s],decls:1,vars:0,template:function(n,p){n&1&&r(0,"Lost In Space ?")},encapsulation:2});let e=t;return e})();export{u as PageNotFoundComponent}; +import{Sa as r,Ya as s,aa as o,ua as a,yb as c}from"./chunk-BTHD7Z2M.js";var u=(()=>{let t=class t{constructor(i){this.title=i,this.title.setTitle("Citations - Page non trouv\xE9e")}};t.\u0275fac=function(n){return new(n||t)(a(c))},t.\u0275cmp=o({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[s],decls:1,vars:0,template:function(n,p){n&1&&r(0,"Lost In Space ?")},encapsulation:2});let e=t;return e})();export{u as PageNotFoundComponent}; diff --git a/docs/citations/browser/chunk-AZBP4WHL.js b/docs/citations/browser/chunk-AZBP4WHL.js deleted file mode 100644 index 29f6351..0000000 --- a/docs/citations/browser/chunk-AZBP4WHL.js +++ /dev/null @@ -1 +0,0 @@ -import{a as S}from"./chunk-5K6CMPT6.js";import{Da as p,Fa as I,Ga as M,Ha as w,Ia as L,Ja as y,Ka as a,La as g,Na as x,Pa as u,Qa as o,Sa as d,Ta as _,Wa as F,Za as T,_a as m,aa as v,ca as b,da as l,ea as c,h as f,sb as k,ta as r,ua as O,y as h}from"./chunk-GQQKX57E.js";var V=class{constructor(){this.itemsPerPage=10}getCurrentPage(){return this.currentPage}setCurrentPage(s){this.currentPage=s}getItemsPerPage(){return this.itemsPerPage}};var D=i=>({current:i});function $(i,s){if(i&1){let e=x();a(0,"li",2)(1,"a",3),u("click",function(){let P=l(e).$implicit,E=o(2);return c(E.pager.goToPage(P.index))}),a(2,"span"),d(3),g()()()}if(i&2){let e=s.$implicit,n=o(2);r(1),p("ngClass",m(2,D,n.isCurrentPage(e.index))),r(2),_(e.label)}}var C=i=>({disabled:i});function N(i,s){if(i&1){let e=x();a(0,"ul",1)(1,"li",2)(2,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToFirstPage())}),a(3,"span"),d(4),g()()(),a(5,"li",2)(6,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToPreviousPage())}),a(7,"span"),d(8),g()()(),L(9,$,4,4,"li",4,w),a(11,"li",2)(12,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToNextPage())}),a(13,"span"),d(14),g()()(),a(15,"li",2)(16,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToLastPage())}),a(17,"span"),d(18),g()()()()}if(i&2){let e=o();r(2),p("ngClass",m(8,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[0].label),r(2),p("ngClass",m(10,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[1].label),r(1),y(e.pager.getPagerItemList().getNumbers()),r(3),p("ngClass",m(12,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[0].label),r(2),p("ngClass",m(14,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[1].label)}}var G=(()=>{let s=class s{constructor(n){this.pager=n,this.list=0,this.paginatedList=new f(this.pager.getPaginatedList()),this.paginatedList$=this.paginatedList.asObservable().pipe(h(t=>!!t))}ngOnInit(){this.pager.init(this.list,this.options),this.pager.currentOffset$.subscribe(n=>{this.paginatedList.next(this.pager.getPaginatedList())})}ngOnChanges(n){let t=n.list;t&&(t.isFirstChange()||this.pager.init(t.currentValue,this.options))}previousIsDisabled(){return this.pager.getCurrentPage()===this.pager.getPreviousPage()}nextIsDisabled(){return this.pager.getCurrentPage()===this.pager.getNextPage()}isCurrentPage(n){return this.pager.isCurrentPage(n)}hasList(){return typeof this.list=="object"?this.pager.getTotalPage()>1:!1}};s.\u0275fac=function(t){return new(t||s)(O(S))},s.\u0275cmp=v({type:s,selectors:[["app-pager"]],inputs:{list:"list",options:"options"},outputs:{paginatedList$:"paginatedList$"},standalone:!0,features:[F([]),b,T],decls:2,vars:1,consts:[["class","ng-pager nav","aria-label","Pagination"],["aria-label","Pagination",1,"ng-pager","nav"],[1,"w-12"],[3,"ngClass","click"],["class","w-12"]],template:function(t,P){t&1&&(a(0,"nav"),I(1,N,19,16,"ul",0),g()),t&2&&(r(1),M(1,P.hasList()?1:-1))},dependencies:[k],styles:[".ng-pager[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem}.ng-pager[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}ul.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block;padding:5px 10px;list-style:none;width:40px}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{cursor:pointer}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a.current[_ngcontent-%COMP%]{font-weight:700}.ng-pager[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#2199e8;color:#fefefe;cursor:default}.ng-pager[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{padding:.1875rem .625rem;color:#cacaca;cursor:default}"]});let i=s;return i})();export{V as a,G as b}; diff --git a/docs/citations/browser/chunk-BTHD7Z2M.js b/docs/citations/browser/chunk-BTHD7Z2M.js new file mode 100644 index 0000000..7f2009b --- /dev/null +++ b/docs/citations/browser/chunk-BTHD7Z2M.js @@ -0,0 +1,8 @@ +var Yd=Object.defineProperty,Qd=Object.defineProperties;var Kd=Object.getOwnPropertyDescriptors;var En=Object.getOwnPropertySymbols;var Xs=Object.prototype.hasOwnProperty,ea=Object.prototype.propertyIsEnumerable;var Js=(t,e,n)=>e in t?Yd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,he=(t,e)=>{for(var n in e||={})Xs.call(e,n)&&Js(t,n,e[n]);if(En)for(var n of En(e))ea.call(e,n)&&Js(t,n,e[n]);return t},Be=(t,e)=>Qd(t,Kd(e));var ta=(t,e)=>{var n={};for(var r in t)Xs.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&En)for(var r of En(t))e.indexOf(r)<0&&ea.call(t,r)&&(n[r]=t[r]);return n};function g(t){return typeof t=="function"}function lt(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var In=lt(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function He(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var V=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){e=i instanceof In?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{na(i)}catch(s){e=e??[],s instanceof In?e=[...e,...s.errors]:e.push(s)}}if(e)throw new In(e)}}add(e){var n;if(e&&e!==this)if(this.closed)na(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&He(n,e)}remove(e){let{_finalizers:n}=this;n&&He(n,e),e instanceof t&&e._removeParent(this)}};V.EMPTY=(()=>{let t=new V;return t.closed=!0,t})();var lo=V.EMPTY;function Cn(t){return t instanceof V||t&&"closed"in t&&g(t.remove)&&g(t.add)&&g(t.unsubscribe)}function na(t){g(t)?t():t.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dt={setTimeout(t,e,...n){let{delegate:r}=dt;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=dt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function bn(t){dt.setTimeout(()=>{let{onUnhandledError:e}=ae;if(e)e(t);else throw t})}function Y(){}var ra=(()=>fo("C",void 0,void 0))();function oa(t){return fo("E",void 0,t)}function ia(t){return fo("N",t,void 0)}function fo(t,e,n){return{kind:t,value:e,error:n}}var $e=null;function ft(t){if(ae.useDeprecatedSynchronousErrorHandling){let e=!$e;if(e&&($e={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=$e;if($e=null,n)throw r}}else t()}function sa(t){ae.useDeprecatedSynchronousErrorHandling&&$e&&($e.errorThrown=!0,$e.error=t)}var Ue=class extends V{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Cn(e)&&e.add(this)):this.destination=ef}static create(e,n,r){return new Ce(e,n,r)}next(e){this.isStopped?ho(ia(e),this):this._next(e)}error(e){this.isStopped?ho(oa(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ho(ra,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Jd=Function.prototype.bind;function po(t,e){return Jd.call(t,e)}var go=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Mn(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Mn(r)}else Mn(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Mn(n)}}},Ce=class extends Ue{constructor(e,n,r){super();let o;if(g(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&po(e.next,i),error:e.error&&po(e.error,i),complete:e.complete&&po(e.complete,i)}):o=e}this.destination=new go(o)}};function Mn(t){ae.useDeprecatedSynchronousErrorHandling?sa(t):bn(t)}function Xd(t){throw t}function ho(t,e){let{onStoppedNotification:n}=ae;n&&dt.setTimeout(()=>n(t,e))}var ef={closed:!0,next:Y,error:Xd,complete:Y};var pt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function U(t){return t}function tf(...t){return mo(t)}function mo(t){return t.length===0?U:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var E=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=rf(n)?n:new Ce(n,r,o);return ft(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=aa(r),new r((o,i)=>{let s=new Ce({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[pt](){return this}pipe(...n){return mo(n)(this)}toPromise(n){return n=aa(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function aa(t){var e;return(e=t??ae.Promise)!==null&&e!==void 0?e:Promise}function nf(t){return t&&g(t.next)&&g(t.error)&&g(t.complete)}function rf(t){return t&&t instanceof Ue||nf(t)&&Cn(t)}var ua=lt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=(()=>{class t extends E{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Tn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ua}next(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?lo:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,He(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new E;return n.source=this,n}}return t.create=(e,n)=>new Tn(e,n),t})(),Tn=class extends G{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:lo}};var Lt=class extends G{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};function yo(t){return g(t?.lift)}function m(t){return e=>{if(yo(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function y(t,e,n,r,o){return new jt(t,e,n,r,o)}var jt=class extends Ue{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function be(t,e){return m((n,r)=>{let o=0;n.subscribe(y(r,i=>t.call(e,i,o++)&&r.next(i)))})}function of(t){return be((e,n)=>t<=n)}function la(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(t,e||[])).next())})}function ca(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ze(t){return this instanceof ze?(this.v=t,this):new ze(t)}function da(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,D){i.push([f,p,h,D])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof ze?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function fa(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof ca=="function"?ca(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var ht=t=>t&&typeof t.length=="number"&&typeof t!="function";function xn(t){return g(t?.then)}function Sn(t){return g(t[pt])}function _n(t){return Symbol.asyncIterator&&g(t?.[Symbol.asyncIterator])}function An(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function sf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Nn=sf();function On(t){return g(t?.[Nn])}function Rn(t){return da(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield ze(n.read());if(o)return yield ze(void 0);yield yield ze(r)}}finally{n.releaseLock()}})}function Fn(t){return g(t?.getReader)}function M(t){if(t instanceof E)return t;if(t!=null){if(Sn(t))return af(t);if(ht(t))return uf(t);if(xn(t))return cf(t);if(_n(t))return pa(t);if(On(t))return lf(t);if(Fn(t))return df(t)}throw An(t)}function af(t){return new E(e=>{let n=t[pt]();if(g(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function uf(t){return new E(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,bn)})}function lf(t){return new E(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function pa(t){return new E(e=>{ff(t,e).catch(n=>e.error(n))})}function df(t){return pa(Rn(t))}function ff(t,e){var n,r,o,i;return la(this,void 0,void 0,function*(){try{for(n=fa(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})}function Vt(t,e){return m((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,u=>{o?.unsubscribe();let c=0,l=i++;M(t(u,l)).subscribe(o=y(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Pn(t,e,n){let r=g(t)||e||n?{next:t,error:e,complete:n}:t;return r?m((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):U}function vo(){return m((t,e)=>{let n=null;t._refCount++;let r=y(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var Bt=class extends E{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,yo(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new V;let n=this.getSubject();e.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=V.EMPTY)}return e}refCount(){return vo()(this)}};var Do={now(){return(Do.delegate||Date).now()},delegate:void 0};var kn=class extends V{constructor(e,n){super()}schedule(e,n=0){return this}};var Ht={setInterval(t,e,...n){let{delegate:r}=Ht;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Ht;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Ln=class extends kn{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return Ht.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Ht.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,He(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var gt=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};gt.now=Do.now;var jn=class extends gt{constructor(e,n=gt.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var $t=new jn(Ln),ha=$t;var Ge=new E(t=>t.complete());function Vn(t){return t&&g(t.schedule)}function wo(t){return t[t.length-1]}function ga(t){return g(wo(t))?t.pop():void 0}function ge(t){return Vn(wo(t))?t.pop():void 0}function ma(t,e){return typeof wo(t)=="number"?t.pop():e}function W(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function Bn(t,e=0){return m((n,r)=>{n.subscribe(y(r,o=>W(r,t,()=>r.next(o),e),()=>W(r,t,()=>r.complete(),e),o=>W(r,t,()=>r.error(o),e)))})}function Hn(t,e=0){return m((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function ya(t,e){return M(t).pipe(Hn(e),Bn(e))}function va(t,e){return M(t).pipe(Hn(e),Bn(e))}function Da(t,e){return new E(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function wa(t,e){return new E(n=>{let r;return W(n,e,()=>{r=t[Nn](),W(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function $n(t,e){if(!t)throw new Error("Iterable cannot be null");return new E(n=>{W(n,e,()=>{let r=t[Symbol.asyncIterator]();W(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ea(t,e){return $n(Rn(t),e)}function Ia(t,e){if(t!=null){if(Sn(t))return ya(t,e);if(ht(t))return Da(t,e);if(xn(t))return va(t,e);if(_n(t))return $n(t,e);if(On(t))return wa(t,e);if(Fn(t))return Ea(t,e)}throw An(t)}function ue(t,e){return e?Ia(t,e):M(t)}function Ut(...t){let e=ge(t);return ue(t,e)}function pf(t,e){let n=g(t)?t:()=>t,r=o=>o.error(n());return new E(e?o=>e.schedule(r,0,o):r)}function hf(t){return!!t&&(t instanceof E||g(t.lift)&&g(t.subscribe))}var We=lt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Ca(t){return t instanceof Date&&!isNaN(t)}function Me(t,e){return m((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:gf}=Array;function mf(t,e){return gf(e)?t(...e):t(e)}function Un(t){return Me(e=>mf(t,e))}var{isArray:yf}=Array,{getPrototypeOf:vf,prototype:Df,keys:wf}=Object;function ba(t){if(t.length===1){let e=t[0];if(yf(e))return{args:e,keys:null};if(Ef(e)){let n=wf(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Ef(t){return t&&typeof t=="object"&&vf(t)===Df}function Ma(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function If(...t){let e=ge(t),n=ga(t),{args:r,keys:o}=ba(t);if(r.length===0)return ue([],e);let i=new E(Cf(r,e,o?s=>Ma(o,s):U));return n?i.pipe(Un(n)):i}function Cf(t,e,n=U){return r=>{Ta(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=ue(t[u],e),l=!1;c.subscribe(y(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ta(t,e,n){t?W(n,t,e):e()}function xa(t,e,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},p=D=>c{i&&e.next(D),c++;let A=!1;M(n(D,l++)).subscribe(y(e,S=>{o?.(S),i?p(S):e.next(S)},()=>{A=!0},void 0,()=>{if(A)try{for(c--;u.length&&ch(S)):h(S)}f()}catch(S){e.error(S)}}))};return t.subscribe(y(e,p,()=>{d=!0,f()})),()=>{a?.()}}function te(t,e,n=1/0){return g(e)?te((r,o)=>Me((i,s)=>e(r,i,o,s))(M(t(r,o))),n):(typeof e=="number"&&(n=e),m((r,o)=>xa(r,o,t,n)))}function zt(t=1/0){return te(U,t)}function Eo(){return zt(1)}function mt(...t){return Eo()(ue(t,ge(t)))}function bf(t){return new E(e=>{M(t()).subscribe(e)})}var Mf=["addListener","removeListener"],Tf=["addEventListener","removeEventListener"],xf=["on","off"];function Io(t,e,n,r){if(g(n)&&(r=n,n=void 0),r)return Io(t,e,n).pipe(Un(r));let[o,i]=Af(t)?Tf.map(s=>a=>t[s](e,a,n)):Sf(t)?Mf.map(Sa(t,e)):_f(t)?xf.map(Sa(t,e)):[];if(!o&&ht(t))return te(s=>Io(s,e,n))(M(t));if(!o)throw new TypeError("Invalid event target");return new E(s=>{let a=(...u)=>s.next(1i(a)})}function Sa(t,e){return n=>r=>t[n](e,r)}function Sf(t){return g(t.addListener)&&g(t.removeListener)}function _f(t){return g(t.on)&&g(t.off)}function Af(t){return g(t.addEventListener)&&g(t.removeEventListener)}function _a(t=0,e,n=ha){let r=-1;return e!=null&&(Vn(e)?n=e:r=e),new E(o=>{let i=Ca(t)?+t-n.now():t;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Co(...t){let e=ge(t),n=ma(t,1/0),r=t;return r.length?r.length===1?M(r[0]):zt(n)(ue(r,e)):Ge}var Nf=new E(Y);function Aa(t){return m((e,n)=>{let r=null,o=!1,i;r=e.subscribe(y(n,void 0,void 0,s=>{i=M(t(s,Aa(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function zn(t,e,n,r,o){return(i,s)=>{let a=n,u=e,c=0;i.subscribe(y(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Na(t,e){return m(zn(t,e,arguments.length>=2,!1,!0))}var Of=(t,e)=>(t.push(e),t);function Rf(){return m((t,e)=>{Na(Of,[])(t).subscribe(e)})}function Oa(t,e){return g(e)?te(t,e,1):te(t,1)}function Ra(t){return new E(e=>t.subscribe(e))}var Ff={connector:()=>new G};function Gn(t,e=Ff){let{connector:n}=e;return m((r,o)=>{let i=n();M(t(Ra(i))).subscribe(o),o.add(r.subscribe(i))})}function Pf(t,e=$t){return m((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Gt(t){return m((e,n)=>{let r=!1;e.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function qe(t){return t<=0?()=>Ge:m((e,n)=>{let r=0;e.subscribe(y(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function Fa(){return m((t,e)=>{t.subscribe(y(e,Y))})}function bo(t){return Me(()=>t)}function Mo(t,e){return e?n=>mt(e.pipe(qe(1),Fa()),n.pipe(Mo(t))):te((n,r)=>M(t(n,r)).pipe(qe(1),bo(n)))}function kf(t,e=$t){let n=_a(t,e);return Mo(()=>n)}function Lf(t,e){return m((n,r)=>{let o=new Set;n.subscribe(y(r,i=>{let s=t?t(i):i;o.has(s)||(o.add(s),r.next(i))})),e&&M(e).subscribe(y(r,()=>o.clear(),Y))})}function To(t,e=U){return t=t??jf,m((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function jf(t,e){return t===e}function Wn(t=Vf){return m((e,n)=>{let r=!1;e.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Vf(){return new We}function Pa(t){return m((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function xo(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((o,i)=>t(o,i,r)):U,qe(1),n?Gt(e):Wn(()=>new We))}function Bf(t,e,n,r){return m((o,i)=>{let s;!e||typeof e=="function"?s=e:{duration:n,element:s,connector:r}=e;let a=new Map,u=h=>{a.forEach(h),h(i)},c=h=>u(D=>D.error(h)),l=0,d=!1,f=new jt(i,h=>{try{let D=t(h),A=a.get(D);if(!A){a.set(D,A=r?r():new G);let S=p(D,A);if(i.next(S),n){let P=y(A,()=>{A.complete(),P?.unsubscribe()},void 0,void 0,()=>a.delete(D));f.add(M(n(S)).subscribe(P))}}A.next(s?s(h):h)}catch(D){c(D)}},()=>u(h=>h.complete()),c,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(f);function p(h,D){let A=new E(S=>{l++;let P=D.subscribe(S);return()=>{P.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return A.key=h,A}})}function So(t){return t<=0?()=>Ge:m((e,n)=>{let r=[];e.subscribe(y(n,o=>{r.push(o),t{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Hf(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((o,i)=>t(o,i,r)):U,So(1),n?Gt(e):Wn(()=>new We))}function ka(t,e){let n=g(t)?t:()=>t;return g(e)?Gn(e,{connector:n}):r=>new Bt(r,n)}function $f(t){return t?e=>Gn(t)(e):e=>ka(new G)(e)}function Uf(t,e){return m(zn(t,e,arguments.length>=2,!0))}function qn(t={}){let{connector:e=()=>new G,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let D=s;p(),D?.unsubscribe()};return m((D,A)=>{c++,!d&&!l&&f();let S=u=u??e();A.add(()=>{c--,c===0&&!d&&!l&&(a=_o(h,o))}),S.subscribe(A),!s&&c>0&&(s=new Ce({next:P=>S.next(P),error:P=>{d=!0,f(),a=_o(p,n,P),S.error(P)},complete:()=>{l=!0,f(),a=_o(p,r),S.complete()}}),M(D).subscribe(s))})(i)}}function _o(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new Ce({next:()=>{r.unsubscribe(),t()}});return M(e(...n)).subscribe(r)}function zf(t){return m((e,n)=>{let r=!1,o=y(n,()=>{o?.unsubscribe(),r=!0},Y);M(t).subscribe(o),e.subscribe(y(n,i=>r&&n.next(i)))})}function Gf(...t){let e=ge(t);return m((n,r)=>{(e?mt(t,n,e):mt(t,n)).subscribe(r)})}function La(t){return m((e,n)=>{M(t).subscribe(y(n,()=>n.complete(),Y)),!n.closed&&e.subscribe(n)})}var ja=null;var Ao=1;function L(t){let e=ja;return ja=t,e}var Va={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Wf(t){if(!(Ro(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ao)){if(!t.producerMustRecompute(t)&&!No(t)){t.dirty=!1,t.lastCleanEpoch=Ao;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ao}}function Ba(t){return t&&(t.nextProducerIndex=0),L(t)}function Ha(t,e){if(L(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ro(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function No(t){Zn(t);for(let e=0;e0}function Zn(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function qf(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Zf(){throw new Error}var Yf=Zf;function Ua(t){Yf=t}function R(t){for(let e in t)if(t[e]===R)return e;throw Error("Could not find renamed property on target object.")}function Yn(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Z(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Z).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}function za(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Qf=R({__forward_ref__:R});function Su(t){return t.__forward_ref__=Su,t.toString=function(){return Z(this())},t}function ne(t){return _u(t)?t():t}function _u(t){return typeof t=="function"&&t.hasOwnProperty(Qf)&&t.__forward_ref__===Su}function Au(t){return t&&!!t.\u0275providers}var Nu="https://g.co/ng/security#xss",C=class extends Error{constructor(e,n){super(_r(e,n)),this.code=e}};function _r(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Kf=R({\u0275cmp:R}),Jf=R({\u0275dir:R}),Xf=R({\u0275pipe:R}),ep=R({\u0275mod:R}),ar=R({\u0275fac:R}),qt=R({__NG_ELEMENT_ID__:R}),Ga=R({__NG_ENV_ID__:R});function Ct(t){return typeof t=="string"?t:t==null?"":String(t)}function tp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ct(t)}function np(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new C(-200,`Circular dependency in DI detected for ${t}${n}`)}function qi(t,e){let n=e?` in ${e}`:"";throw new C(-201,!1)}function rp(t,e){t==null&&op(e,t,null,"!=")}function op(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ar(t){return Wa(t,Ou)||Wa(t,Ru)}function CT(t){return Ar(t)!==null}function Wa(t,e){return t.hasOwnProperty(e)?t[e]:null}function ip(t){let e=t&&(t[Ou]||t[Ru]);return e||null}function qa(t){return t&&(t.hasOwnProperty(Za)||t.hasOwnProperty(sp))?t[Za]:null}var Ou=R({\u0275prov:R}),Za=R({\u0275inj:R}),Ru=R({ngInjectableDef:R}),sp=R({ngInjectorDef:R}),T=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(T||{}),Zo;function Fu(){return Zo}function q(t){let e=Zo;return Zo=t,e}function Pu(t,e,n){let r=Ar(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(e!==void 0)return e;qi(Z(t),"Injector")}var le=globalThis;var N=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var ap={},Zt=ap,Yo="__NG_DI_FLAG__",ur="ngTempTokenPath",up="ngTokenPath",cp=/\n/gm,lp="\u0275",Ya="__source",Et;function dp(){return Et}function Ae(t){let e=Et;return Et=t,e}function fp(t,e=T.Default){if(Et===void 0)throw new C(-203,!1);return Et===null?Pu(t,void 0,e):Et.get(t,e&T.Optional?null:void 0,e)}function b(t,e=T.Default){return(Fu()||fp)(ne(t),e)}function _(t,e=T.Default){return b(t,Nr(e))}function Nr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Qo(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(cp,` + `)}`}function Or(t){return{toString:t}.toString()}var Lu=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Lu||{}),we=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(we||{}),bt={},Oe=[];function ju(t,e,n){let r=t.length;for(;;){let o=t.indexOf(e,n);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}function Ko(t,e,n){let r=0;for(;re){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&ju(p,c,0)!==-1||r&2&&c!==f){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(t){return(t&1)===0}function wp(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(e+=Ka(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(e+=Ka(i,o)),e}function Mp(t){return t.map(bp).join(",")}function Tp(t){let e=[],n=[],r=1,o=2;for(;r{let e=Wu(t),n=Be(he({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Lu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||we.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});qu(n);let r=t.dependencies;return n.directiveDefs=Xa(r,!1),n.pipeDefs=Xa(r,!0),n.id=Ap(n),n})}function xp(t){return Re(t)||Uu(t)}function Sp(t){return t!==null}function Ja(t,e){if(t==null)return bt;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}function Rr(t){return Or(()=>{let e=Wu(t);return qu(e),e})}function $u(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Re(t){return t[Kf]||null}function Uu(t){return t[Jf]||null}function zu(t){return t[Xf]||null}function _p(t){let e=Re(t)||Uu(t)||zu(t);return e!==null?e.standalone:!1}function Gu(t,e){let n=t[ep]||null;if(!n&&e===!0)throw new Error(`Type ${Z(t)} does not have '\u0275mod' property.`);return n}function Wu(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||bt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ja(t.inputs,e),outputs:Ja(t.outputs),debugInfo:null}}function qu(t){t.features?.forEach(e=>e(t))}function Xa(t,e){if(!t)return null;let n=e?zu:xp;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(Sp)}function Ap(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Q=0,w=1,v=2,k=3,de=4,pe=5,Te=6,Qt=7,H=8,Mt=9,Tt=10,F=11,Kt=12,eu=13,Ot=14,K=15,an=16,yt=17,ve=18,Fr=19,Zu=20,Ne=21,Fo=22,Ke=23,B=25,Yu=1,Jt=6,xe=7,cr=8,xt=9,$=10,St=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(St||{});function De(t){return Array.isArray(t)&&typeof t[Yu]=="object"}function re(t){return Array.isArray(t)&&t[Yu]===!0}function Qu(t){return(t.flags&4)!==0}function un(t){return t.componentOffset>-1}function Zi(t){return(t.flags&1)===1}function Je(t){return!!t.template}function Ku(t){return(t[v]&512)!==0}function Xe(t,e){let n=t.hasOwnProperty(ar);return n?t[ar]:null}var Jo=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ju(){return Xu}function Xu(t){return t.type.prototype.ngOnChanges&&(t.setInput=Op),Np}Ju.ngInherit=!0;function Np(){let t=tc(this),e=t?.current;if(e){let n=t.previous;if(n===bt)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Op(t,e,n,r){let o=this.declaredInputs[n],i=tc(t)||Rp(t,{previous:bt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Jo(u&&u.currentValue,e,a===bt),t[r]=e}var ec="__ngSimpleChanges__";function tc(t){return t[ec]||null}function Rp(t,e){return t[ec]=e}var tu=null;var me=function(t,e,n){tu?.(t,e,n)},nc="svg",Fp="math";function fe(t){for(;Array.isArray(t);)t=t[Q];return t}function Pp(t,e){return fe(e[t])}function J(t,e){return fe(e[t.index])}function Yi(t,e){return t.data[e]}function kp(t,e){return t[e]}function Le(t,e){let n=e[t];return De(n)?n:n[Q]}function Lp(t){return(t[v]&4)===4}function Qi(t){return(t[v]&128)===128}function jp(t){return re(t[k])}function lr(t,e){return e==null?null:t[e]}function rc(t){t[yt]=0}function Vp(t){t[v]&1024||(t[v]|=1024,Qi(t)&&Pr(t))}function Bp(t,e){for(;t>0;)e=e[Ot],t--;return e}function oc(t){t[v]&9216&&Pr(t)}function Pr(t){let e=t[k];for(;e!==null&&!(re(e)&&e[v]&St.HasChildViewsToRefresh||De(e)&&e[v]&8192);){if(re(e))e[v]|=St.HasChildViewsToRefresh;else if(e[v]|=8192,!Qi(e))break;e=e[k]}}function ic(t,e){if((t[v]&256)===256)throw new C(911,!1);t[Ne]===null&&(t[Ne]=[]),t[Ne].push(e)}function Hp(t,e){if(t[Ne]===null)return;let n=t[Ne].indexOf(e);n!==-1&&t[Ne].splice(n,1)}var I={lFrame:fc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function $p(){return I.lFrame.elementDepthCount}function Up(){I.lFrame.elementDepthCount++}function zp(){I.lFrame.elementDepthCount--}function sc(){return I.bindingsEnabled}function cn(){return I.skipHydrationRootTNode!==null}function Gp(t){return I.skipHydrationRootTNode===t}function Wp(t){I.skipHydrationRootTNode=t}function qp(){I.skipHydrationRootTNode=null}function x(){return I.lFrame.lView}function X(){return I.lFrame.tView}function MT(t){return I.lFrame.contextLView=t,t[H]}function TT(t){return I.lFrame.contextLView=null,t}function ee(){let t=ac();for(;t!==null&&t.type===64;)t=t.parent;return t}function ac(){return I.lFrame.currentTNode}function Zp(){let t=I.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ln(t,e){let n=I.lFrame;n.currentTNode=t,n.isParent=e}function uc(){return I.lFrame.isParent}function Yp(){I.lFrame.isParent=!1}function Ki(){let t=I.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qp(){return I.lFrame.bindingIndex}function Kp(t){return I.lFrame.bindingIndex=t}function dn(){return I.lFrame.bindingIndex++}function Jp(t){let e=I.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Xp(){return I.lFrame.inI18n}function eh(t,e){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=t,Xo(e)}function th(){return I.lFrame.currentDirectiveIndex}function Xo(t){I.lFrame.currentDirectiveIndex=t}function cc(){return I.lFrame.currentQueryIndex}function Ji(t){I.lFrame.currentQueryIndex=t}function nh(t){let e=t[w];return e.type===2?e.declTNode:e.type===1?t[pe]:null}function lc(t,e,n){if(n&T.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=nh(i),o===null||(i=i[Ot],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=I.lFrame=dc();return r.currentTNode=e,r.lView=t,!0}function Xi(t){let e=dc(),n=t[w];I.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function dc(){let t=I.lFrame,e=t===null?null:t.child;return e===null?fc(t):e}function fc(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function pc(){let t=I.lFrame;return I.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var hc=pc;function es(){let t=pc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function rh(t){return(I.lFrame.contextLView=Bp(t,I.lFrame.contextLView))[H]}function fn(){return I.lFrame.selectedIndex}function et(t){I.lFrame.selectedIndex=t}function kr(){let t=I.lFrame;return Yi(t.tView,t.selectedIndex)}function xT(){I.lFrame.currentNamespace=nc}function ST(){oh()}function oh(){I.lFrame.currentNamespace=null}function gc(){return I.lFrame.currentNamespace}var mc=!0;function ts(){return mc}function je(t){mc=t}function ih(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Xu(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function ns(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[yt]+=65536),(a>14>16&&(t[v]&3)===e&&(t[v]+=16384,nu(a,i)):nu(a,i)}var It=-1,Xt=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function ah(t){return t instanceof Xt}function uh(t){return(t.flags&8)!==0}function ch(t){return(t.flags&16)!==0}function vc(t){return t!==It}function dr(t){let e=t&32767;return t&32767}function lh(t){return t>>16}function fr(t,e){let n=lh(t),r=e;for(;n>0;)r=r[Ot],n--;return r}var ei=!0;function pr(t){let e=ei;return ei=t,e}var dh=256,Dc=dh-1,wc=5,fh=0,ye={};function ph(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(qt)&&(r=n[qt]),r==null&&(r=n[qt]=fh++);let o=r&Dc,i=1<>wc)]|=i}function Ec(t,e){let n=Ic(t,e);if(n!==-1)return n;let r=e[w];r.firstCreatePass&&(t.injectorIndex=e.length,ko(r.data,t),ko(e,null),ko(r.blueprint,null));let o=rs(t,e),i=t.injectorIndex;if(vc(o)){let s=dr(o),a=fr(o,e),u=a[w].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function ko(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ic(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function rs(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=xc(o),r===null)return It;if(n++,o=o[Ot],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return It}function hh(t,e,n){ph(t,e,n)}function gh(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Je(p)&&p.type===n)return u}return null}function _t(t,e,n,r){let o=t[n],i=e.data;if(ah(o)){let s=o;s.resolving&&np(tp(i[n]));let a=pr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?q(s.injectImpl):null,l=lc(t,r,T.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&ih(n,i[n],e)}finally{c!==null&&q(c),pr(a),s.resolving=!1,hc()}}return o}function yh(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(qt)?t[qt]:void 0;return typeof e=="number"?e>=0?e&Dc:vh:e}function ru(t,e,n){let r=1<>wc)]&r)}function ou(t,e){return!(t&T.Self)&&!(t&T.Host&&e)}var Qe=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Mc(this._tNode,this._lView,e,Nr(r),n)}};function vh(){return new Qe(ee(),x())}function _T(t){return Or(()=>{let e=t.prototype.constructor,n=e[ar]||ti(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[ar]||ti(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ti(t){return _u(t)?()=>{let e=ti(ne(t));return e&&e()}:Xe(t)}function Dh(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=Tc(i,s,n,r|T.Self,ye);if(a!==ye)return a;let u=i.parent;if(!u){let c=s[Zu];if(c){let l=c.get(n,ye,r);if(l!==ye)return l}u=xc(s),s=s[Ot]}i=u}return o}function xc(t){let e=t[w],n=e.type;return n===2?e.declTNode:n===1?t[pe]:null}function Sc(t){return gh(ee(),t)}var Qn="__parameters__";function wh(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function _c(t,e,n){return Or(()=>{let r=wh(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Qn)?u[Qn]:Object.defineProperty(u,Qn,{value:[]})[Qn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function Eh(t){return typeof t=="function"}function Ih(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?os(n,e):e(n))}function Ac(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function hr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function bh(t,e){let n=[];for(let r=0;r{n.push(s)};return os(e,s=>{let a=s;ni(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Pc(o,i),n}function Pc(t,e){for(let n=0;n{e(i,r)})}}function ni(t,e,n,r){if(t=ne(t),!t)return!1;let o=null,i=qa(t),s=!i&&Re(t);if(!i&&!s){let u=t.ngModule;if(i=qa(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)ni(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{os(i.imports,l=>{ni(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Pc(c,e)}if(!a){let c=Xe(o)||(()=>new o);e({provide:o,useFactory:c,deps:Oe},o),e({provide:Rc,useValue:o,multi:!0},o),e({provide:pn,useValue:()=>b(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;ss(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function ss(t,e){for(let n of t)Au(n)&&(n=n.\u0275providers),Array.isArray(n)?ss(n,e):e(n)}var Th=R({provide:String,useValue:R});function kc(t){return t!==null&&typeof t=="object"&&Th in t}function xh(t){return!!(t&&t.useExisting)}function Sh(t){return!!(t&&t.useFactory)}function ri(t){return typeof t=="function"}var Lr=new N("Set Injector scope."),or={},_h={},Lo;function as(){return Lo===void 0&&(Lo=new gr),Lo}var Fe=class{},en=class extends Fe{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ii(e,s=>this.processProvider(s)),this.records.set(Oc,vt(void 0,this)),o.has("environment")&&this.records.set(Fe,vt(void 0,this));let i=this.records.get(Lr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Rc,Oe,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Ae(this),r=q(void 0),o;try{return e()}finally{Ae(n),q(r)}}get(e,n=Zt,r=T.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Ga))return e[Ga](this);r=Nr(r);let o,i=Ae(this),s=q(void 0);try{if(!(r&T.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Ph(e)&&Ar(e);c&&this.injectableDefInScope(c)?u=vt(oi(e),or):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&T.Self?as():this.parent;return n=r&T.Optional&&n===Zt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ur]=a[ur]||[]).unshift(Z(e)),i)throw a;return hp(a,e,"R3InjectorError",this.source)}else throw a}finally{q(s),Ae(i)}}resolveInjectorInitializers(){let e=Ae(this),n=q(void 0),r;try{let o=this.get(pn,Oe,T.Self);for(let i of o)i()}finally{Ae(e),q(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Z(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(e){e=ne(e);let n=ri(e)?e:ne(e&&e.provide),r=Nh(e);if(!ri(e)&&e.multi===!0){let o=this.records.get(n);o||(o=vt(void 0,or,!0),o.factory=()=>Qo(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(e,n){return n.value===or&&(n.value=_h,n.value=n.factory()),typeof n.value=="object"&&n.value&&Fh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=ne(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function oi(t){let e=Ar(t),n=e!==null?e.factory:Xe(t);if(n!==null)return n;if(t instanceof N)throw new C(204,!1);if(t instanceof Function)return Ah(t);throw new C(204,!1)}function Ah(t){let e=t.length;if(e>0){let r=bh(e,"?");throw new C(204,!1)}let n=ip(t);return n!==null?()=>n.factory(t):()=>new t}function Nh(t){if(kc(t))return vt(void 0,t.useValue);{let e=Oh(t);return vt(e,or)}}function Oh(t,e,n){let r;if(ri(t)){let o=ne(t);return Xe(o)||oi(o)}else if(kc(t))r=()=>ne(t.useValue);else if(Sh(t))r=()=>t.useFactory(...Qo(t.deps||[]));else if(xh(t))r=()=>b(ne(t.useExisting));else{let o=ne(t&&(t.useClass||t.provide));if(Rh(t))r=()=>new o(...Qo(t.deps));else return Xe(o)||oi(o)}return r}function vt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Rh(t){return!!t.deps}function Fh(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Ph(t){return typeof t=="function"||typeof t=="object"&&t instanceof N}function ii(t,e){for(let n of t)Array.isArray(n)?ii(n,e):n&&Au(n)?ii(n.\u0275providers,e):e(n)}function AT(t,e){t instanceof en&&t.assertNotDestroyed();let n,r=Ae(t),o=q(void 0);try{return e()}finally{Ae(r),q(o)}}function kh(t){if(!Fu()&&!dp())throw new C(-203,!1)}function iu(t,e=null,n=null,r){let o=Lc(t,e,n,r);return o.resolveInjectorInitializers(),o}function Lc(t,e=null,n=null,r,o=new Set){let i=[n||Oe,Mh(t)];return r=r||(typeof t=="object"?void 0:Z(t)),new en(i,e||as(),r||null,o)}var rt=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return iu({name:""},o,r,"");{let i=r.name??"";return iu({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=Zt,e.NULL=new gr,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>b(Oc)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var si;function jc(t){si=t}function jr(){if(si!==void 0)return si;if(typeof document<"u")return document;throw new C(210,!1)}var Vr=new N("AppId",{providedIn:"root",factory:()=>Lh}),Lh="ng",us=new N("Platform Initializer"),Se=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var NT=new N("AnimationModuleType"),cs=new N("CSP nonce",{providedIn:"root",factory:()=>jr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function jh(t){return t.ownerDocument.body}function Vc(t){return t instanceof Function?t():t}function Wt(t){return(t??_(rt)).get(Se)==="browser"}var Vh="ngSkipHydration",Bh="ngskiphydration";function Bc(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,zh="\u200B$1\u200B";function Gh(t){return t.replace($h,e=>e.replace(Uh,zh))}var $c=new Map,Wh=0;function qh(){return Wh++}function Zh(t){$c.set(t[Fr],t)}function Yh(t){$c.delete(t[Fr])}var su="__ngContext__";function tt(t,e){De(e)?(t[su]=e[Fr],Zh(e)):t[su]=e}var Qh;function ls(t,e){return Qh(t,e)}function ds(t){let e=t[k];return re(e)?e[k]:e}function Uc(t){return Gc(t[Kt])}function zc(t){return Gc(t[de])}function Gc(t){for(;t!==null&&!re(t);)t=t[de];return t}function Dt(t,e,n,r,o){if(r!=null){let i,s=!1;re(r)?i=r:De(r)&&(s=!0,r=r[Q]);let a=fe(r);t===0&&n!==null?o==null?Yc(e,n,a):yr(e,n,a,o||null,!0):t===1&&n!==null?yr(e,n,a,o||null,!0):t===2?Kc(e,a,s):t===3&&e.destroyNode(a),i!=null&&hg(e,t,i,n,o)}}function Wc(t,e){return t.createText(e)}function Kh(t,e,n){t.setValue(e,n)}function qc(t,e){return t.createComment(Gh(e))}function fs(t,e,n){return t.createElement(e,n)}function Jh(t,e){let n=e[F];gn(t,e,n,2,null,null),e[Q]=null,e[pe]=null}function Xh(t,e,n,r,o,i){r[Q]=o,r[pe]=e,gn(t,r,n,1,o,i)}function eg(t,e){gn(t,e,e[F],2,null,null)}function tg(t){let e=t[Kt];if(!e)return jo(t[w],t);for(;e;){let n=null;if(De(e))n=e[Kt];else{let r=e[$];r&&(n=r)}if(!n){for(;e&&!e[de]&&e!==t;)De(e)&&jo(e[w],e),e=e[k];e===null&&(e=t),De(e)&&jo(e[w],e),n=e&&e[de]}e=n}}function ng(t,e,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][de]=e),r0&&(t[n-1][de]=r[de]);let i=hr(t,$+e);Jh(r[w],r);let s=i[ve];s!==null&&s.detachView(i[w]),r[k]=null,r[de]=null,r[v]&=-129}return r}function Br(t,e){if(!(e[v]&256)){let n=e[F];e[Ke]&&$a(e[Ke]),n.destroyNode&&gn(t,e,n,3,null,null),tg(e)}}function jo(t,e){if(!(e[v]&256)){e[v]&=-129,e[v]|=256,ig(t,e),og(t,e),e[w].type===1&&e[F].destroy();let n=e[an];if(n!==null&&re(e[k])){n!==e[k]&&Zc(n,e);let r=e[ve];r!==null&&r.detachView(t)}Yh(e)}}function og(t,e){let n=t.cleanup,r=e[Qt];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[Qt]=null);let o=e[Ne];if(o!==null){e[Ne]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===we.None||i===we.Emulated)return null}return J(r,n)}}function yr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Yc(t,e,n){t.appendChild(e,n)}function au(t,e,n,r,o){r!==null?yr(t,e,n,r,o):Yc(t,e,n)}function ug(t,e,n,r){t.removeChild(e,n,r)}function ps(t,e){return t.parentNode(e)}function cg(t,e){return t.nextSibling(e)}function lg(t,e,n){return fg(t,e,n)}function dg(t,e,n){return t.type&40?J(t,n):null}var fg=dg,uu;function hs(t,e,n,r){let o=sg(t,r,e),i=e[F],s=r.parent||e[pe],a=lg(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return Kn}function cu(t){return mg()?.createScriptURL(t)||t}var vr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nu})`}};function Hr(t){return t instanceof vr?t.changingThisBreaksApplicationSecurity:t}function ms(t,e){let n=yg(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Nu})`)}return n===e}function yg(t){return t instanceof vr&&t.getTypeName()||null}var vg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function tl(t){return t=String(t),t.match(vg)?t:"unsafe:"+t}var $r=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}($r||{});function Dg(t){let e=nl();return e?e.sanitize($r.URL,t)||"":ms(t,"URL")?Hr(t):tl(Ct(t))}function wg(t){let e=nl();if(e)return cu(e.sanitize($r.RESOURCE_URL,t)||"");if(ms(t,"ResourceURL"))return cu(Hr(t));throw new C(904,!1)}function Eg(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?wg:Dg}function OT(t,e,n){return Eg(e,n)(t)}function nl(){let t=x();return t&&t[Tt].sanitizer}function Ig(){let t=new it;return _(Se)==="browser"&&(t.store=Cg(jr(),_(Vr))),t}var it=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function Ng(t,e,n=!1){let r=t.getAttribute(Vo);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=n?o:i?`|${i}`:"",a={};if(r!==""){let c=e.get(it,null,{optional:!0});c!==null&&(a=c.get(sl,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,Ur(u,0,t.nextSibling)),s?t.setAttribute(Vo,s):t.removeAttribute(Vo),u}function Og(){al=Ng}function vs(t,e,n=!1){return al(t,e,n)}function Rg(t){let e=t._lView;return e[w].type===2?null:(Ku(e)&&(e=e[B]),e)}function Fg(t){return t.textContent?.replace(/\s/gm,"")}function Pg(t){let e=jr(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Fg(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(e.createTextNode("")):i.remove()}function Ur(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function ci(t,e){return t.segmentHeads?.[e]??null}function kg(t,e){let n=t.data,r=n[bg]?.[e]??null;return r===null&&n[ys]?.[e]&&(r=Ds(t,e)),r}function ul(t,e){return t.data[ys]?.[e]??null}function Ds(t,e){let n=ul(t,e)??[],r=0;for(let o of n)r+=o[Dr]*(o[il]??1);return r}function zr(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[Sg];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var li=class{},wr=class{};function Lg(t){let e=Error(`No component factory found for ${Z(t)}.`);return e[jg]=t,e}var jg="ngComponent";var di=class{resolveComponentFactory(e){throw Lg(e)}},Gr=(()=>{let e=class e{};e.NULL=new di;let t=e;return t})();function Vg(){return Rt(ee(),x())}function Rt(t,e){return new st(J(t,e))}var st=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Vg;let t=e;return t})();function Bg(t){return t instanceof st?t.nativeElement:t}var nn=class{},ws=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Hg();let t=e;return t})();function Hg(){let t=x(),e=ee(),n=Le(e.index,t);return(De(n)?n:t)[F]}var $g=(()=>{let e=class e{};e.\u0275prov=O({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),rn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Ug=new rn("17.0.4"),Bo={};function Es(t){let e=L(null);try{return t()}finally{L(e)}}function cl(t){return Is(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function zg(t,e){if(Array.isArray(t))for(let n=0;ne,pi=class{constructor(e){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=e||Gg}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,o),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new hi(n,r),i,o)),e}_verifyReinsertion(e,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let o=n===null?this._itHead:n._next;return e._next=o,e._prev=n,o===null?this._itTail=e:o._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new Er),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Er),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},hi=class{constructor(e,n){this.item=e,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}},gi=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Er=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new gi,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,o=this.map.get(r);return o?o.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function lu(t,e,n){let r=t.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new vi(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},vi=class{constructor(e){this.key=e,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 du(){return new Cs([new fi])}var Cs=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||du()),deps:[[e,new Nc,new is]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new C(901,!1)}};e.\u0275prov=O({token:e,providedIn:"root",factory:du});let t=e;return t})();function fu(){return new bs([new mi])}var bs=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||fu()),deps:[[e,new Nc,new is]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new C(901,!1)}};e.\u0275prov=O({token:e,providedIn:"root",factory:fu});let t=e;return t})();function Ir(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(fe(i)),re(i)&&Wg(i,r);let s=n.type;if(s&8)Ir(t,e,n.child,r);else if(s&32){let a=ls(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=Qc(e,n);if(Array.isArray(a))r.push(...a);else{let u=ds(e[K]);Ir(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Wg(t,e){for(let n=$;n{Pr(t.lView)},consumerOnSignalRead(){this.lView[Ke]=this}}),Kg="ngOriginalError";function Ho(t){return t[Kg]}var Ee=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Ho(e);for(;n&&Ho(n);)n=Ho(n);return n||null}},Jn=new N(""),dl=!1,fl=new N("",{providedIn:"root",factory:()=>dl});var _e={};function RT(t){pl(X(),x(),fn()+t,!1)}function pl(t,e,n,r){if(!r)if((e[v]&3)===3){let i=t.preOrderCheckHooks;i!==null&&tr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&nr(e,i,0,n)}et(n)}function oe(t,e=T.Default){let n=x();if(n===null)return b(t,e);let r=ee();return Mc(r,n,ne(t),e)}function Jg(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rB&&pl(t,e,B,!1),me(s?2:0,o),n(r,o)}finally{et(i),me(s?3:1,o)}}function ml(t,e,n){if(Qu(e)){let r=L(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function rm(t){Hc(t)?Jc(t):Pg(t)}function om(){wl=rm}function im(t,e,n,r){let o=_l(e);o.push(n),t.firstCreatePass&&Al(t).push(r,o.length-1)}function sm(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return cn()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function pu(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?hu(n,e,o,i):r.hasOwnProperty(o)&&hu(n,e,r[o],i)}return n}function hu(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function am(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function fm(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;un(n)&&Dm(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||Ec(n,e),tt(r,e);let s=n.initialInputs;for(let a=o;a-1&&(tn(e,r),hr(n,r))}this._attachedToViewContainer=!1}Br(this._lView[w],this._lView)}onDestroy(e){ic(this._lView,e)}markForCheck(){xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){oc(this._lView),this._lView[v]|=128}detectChanges(){bm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,eg(this._lView[w],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=e}},jl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=_m;let t=e;return t})();function _m(t){return Am(ee(),x(),(t&16)===16)}function Am(t,e,n){if(un(t)&&!n){let r=Le(t.index,e);return new nt(r,r)}else if(t.type&47){let r=e[K];return new nt(r,e)}return null}var Vl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Nm,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Ei=class extends Vl{constructor(e){super(),this._lView=e}onDestroy(e){return ic(this._lView,e),()=>Hp(this._lView,e)}};function Nm(){return new Ei(x())}var gu=new Set;function Ve(t){gu.has(t)||(gu.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var Ii=class extends G{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=$o(i),o&&(o=$o(o)),s&&(s=$o(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof V&&e.add(a),a}};function $o(t){return e=>{setTimeout(t,void 0,e)}}var Ye=Ii;function mu(...t){}function Om(){let t=typeof le.requestAnimationFrame=="function",e=le[t?"requestAnimationFrame":"setTimeout"],n=le[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var j=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ye(!1),this.onMicrotaskEmpty=new Ye(!1),this.onStable=new Ye(!1),this.onError=new Ye(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Om().nativeRequestAnimationFrame,Pm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new C(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Rm,mu,mu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Rm={};function Ss(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Fm(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(le,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ci(t),t.isCheckStableRunning=!0,Ss(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ci(t))}function Pm(t){let e=()=>{Fm(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(km(a))return n.invokeTask(o,i,s,a);try{return yu(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),vu(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return yu(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),vu(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ci(t),Ss(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Ci(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function yu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vu(t){t._nesting--,Ss(t)}var Bl=new N("",{providedIn:"root",factory:Hl});function Hl(){let t=_(j),e=!0,n=new E(o=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(e),o.complete()})}),r=new E(o=>{let i;t.runOutsideAngular(()=>{i=t.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,o.next(!0))})})});let s=t.onUnstable.subscribe(()=>{j.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return Co(n,r.pipe(qn()))}function km(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var wt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(wt||{}),Lm={destroy(){}};function jm(t,e){!e&&kh(jm);let n=e?.injector??_(rt);if(!Wt(n))return Lm;Ve("NgAfterNextRender");let r=n.get($l),o=r.handler??=new Mi,i=e?.phase??wt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(Vl).onDestroy(s),u=new bi(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var bi=class{constructor(e,n,r){this.phase=n,this.callbackFn=r,this.zone=e.get(j),this.errorHandler=e.get(Ee,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Mi=class{constructor(){this.executingCallbacks=!1,this.buckets={[wt.EarlyRead]:new Set,[wt.Write]:new Set,[wt.MixedReadWrite]:new Set,[wt.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new C(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let n of e)n.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},$l=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Vm(t,e){let n=Le(e,t),r=n[w];Bm(r,n);let o=n[Q];o!==null&&n[Te]===null&&(n[Te]=vs(o,n[Mt])),_s(r,n,n[H])}function Bm(t,e){for(let n=e.length;n0&&Xc(t,n,i.join(" "))}}function Zm(t,e,n){let r=t.projection=[];for(let o=0;o=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=Yt(o.hostAttrs,n=Yt(n,o.hostAttrs))}}function Xn(t){return t===bt?{}:t===Oe?[]:t}function Xm(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function ey(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function ty(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function ny(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}t.inputTransforms=n}function Ul(t,e,n){return t[e]=n}function Pe(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function zl(t,e,n,r){let o=Pe(t,e,n);return Pe(t,e+1,r)||o}function ry(t,e,n,r){let o=x(),i=dn();if(Pe(o,i,e)){let s=X(),a=kr();Ml(a,o,t,e,n,r)}return ry}function As(t,e,n,r){return Pe(t,dn(),n)?e+Ct(n)+r:_e}function oy(t,e,n,r,o,i){let s=Qp(),a=zl(t,s,n,o);return Jp(2),a?e+Ct(n)+r+Ct(o)+i:_e}function iy(t,e,n,r,o,i){let s=x(),a=As(s,e,n,r);if(a!==_e){let u=kr();Ml(u,s,t,a,o,i)}return iy}function sy(t,e,n){let r=x(),o=dn();if(Pe(r,o,e)){let i=X(),s=kr();El(i,s,r,t,e,r[F],n,!1)}return sy}function wu(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";Ts(t,n,i[s],s,r)}function Gl(t){let e=t[Jt]??[],r=t[k][F];for(let o of e)ay(o,r);t[Jt]=Oe}function ay(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[Dr];for(;n0&&(i.firstChild=t,t=Qr(r[Dr],t)),n.push(i)}return[t,n]}var ql=(t,e)=>null;function gy(t,e){let n=t[Jt];return!e||n===null||n.length===0?null:n[0].data[Tg]===e?n.shift():(Gl(t),null)}function my(){ql=gy}function on(t,e){return ql(t,e)}var _i=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),o=Math.max(e,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(e,n){this.attach(n,this.detach(e))}};function zo(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function yy(t,e,n){let r,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let u=t.at(i),c=e[i],l=zo(i,u,i,c,n);if(l!==0){l<0&&t.updateValue(i,c),i++;continue}let d=t.at(s),f=e[a],p=zo(s,d,a,f,n);if(p!==0){p<0&&t.updateValue(s,f),s--,a--;continue}let h=n(i,u),D=n(s,d),A=n(i,c);if(Object.is(A,D)){let S=n(a,f);Object.is(S,h)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,c),i++;continue}if(r??=new Mr,o??=Iu(t,i,s,n),Ai(t,r,i,A))t.updateValue(i,c),i++,s++;else if(o.has(A))r.set(h,t.detach(i)),s--;else{let S=t.create(i,e[i]);t.attach(i,S),i++,s++}}for(;i<=a;)Eu(t,r,n,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=t.at(i),l=u.value,d=zo(i,c,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{r??=new Mr,o??=Iu(t,i,s,n);let f=n(i,l);if(Ai(t,r,i,f))t.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,t.detach(i)),s--}}}for(;!u.done;)Eu(t,r,n,t.length,u.value),u=a.next()}for(;i<=s;)t.destroy(t.detach(s--));r?.forEach(a=>{t.destroy(a)})}function Ai(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Eu(t,e,n,r,o){if(Ai(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Iu(t,e,n,r){let o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}var Mr=class{constructor(){this.map=new Map}has(e){let n=this.map.get(e);return n!==void 0&&n.length>0}delete(e){let n=this.map.get(e);return n!==void 0?(n.shift(),!0):!1}get(e){let n=this.map.get(e);return n!==void 0&&n.length>0?n[0]:void 0}set(e,n){if(!this.map.has(e)){this.map.set(e,[n]);return}this.map.get(e)?.push(n)}forEach(e){for(let[n,r]of this.map)for(let o of r)e(o,n)}};function Kr(t,e,n,r){let o=e.tView,s=t[v]&4096?4096:16,a=Wr(t,o,n,s,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),u=t[e.index];a[an]=u;let c=t[ve];return c!==null&&(a[ve]=c.createEmbeddedView(o)),_s(o,a,n),a}function Zl(t,e){let n=$+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=vy;let t=e;return t})();function vy(){let t=ee();return Kl(t,x())}var Dy=mn,Ql=class extends Dy{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Rt(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){let e=rs(this._hostTNode,this._hostLView);if(vc(e)){let n=fr(e,this._hostLView),r=dr(e),o=n[w].data[r+8];return new Qe(o,n)}else return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=Cu(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-$}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=on(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sn(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!Eh(e),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?e:new At(Re(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(s?c:this.parentInjector).get(Fe,null);D&&(i=D)}let l=Re(u.componentType??{}),d=on(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,sn(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(jp(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[k],c=new Ql(u,u[pe],u[k]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return Jr(s,o,i,r),e.attachToViewContainerRef(),Ac(Go(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Cu(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=tn(this._lContainer,n);r&&(hr(Go(this._lContainer),n),Br(r[w],r))}detach(e){let n=this._adjustIndex(e,-1),r=tn(this._lContainer,n);return r&&hr(Go(this._lContainer),n)!=null?new nt(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Cu(t){return t[cr]}function Go(t){return t[cr]||(t[cr]=[])}function Kl(t,e){let n,r=e[t.index];return re(r)?n=r:(n=xl(r,e,null,t),e[t.index]=n,Zr(e,n)),Jl(n,e,t,r),new Ql(n,t,e)}function wy(t,e){let n=t[F],r=n.createComment(""),o=J(e,t),i=ps(n,o);return yr(n,i,r,cg(n,o),!1),r}var Jl=Xl,Ns=(t,e,n)=>!1;function Ey(t,e,n){return Ns(t,e,n)}function Xl(t,e,n,r){if(t[xe])return;let o;n.type&8?o=fe(r):o=wy(e,n),t[xe]=o}function Iy(t,e,n){if(t[xe]&&t[Jt])return!0;let r=n[Te],o=e.index-B;if(!r||Hh(e)||zr(r,o))return!1;let s=ci(r,o),a=r.data[ys]?.[o],[u,c]=hy(s,a);return t[xe]=u,t[Jt]=c,!0}function Cy(t,e,n,r){Ns(t,n,e)||Xl(t,e,n,r)}function by(){Jl=Cy,Ns=Iy}function My(t,e,n,r,o,i,s,a,u){let c=e.consts,l=qr(e,t,4,s||null,lr(c,a));Il(e,n,l,lr(c,u)),ns(e,l);let d=l.tView=Ms(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Ni(t,e,n,r,o,i,s,a){let u=x(),c=X(),l=t+B,d=c.firstCreatePass?My(l,c,u,e,n,r,o,i,s):c.data[l];ln(d,!1);let f=ed(c,u,d,t);ts()&&hs(c,u,f,d),tt(f,u);let p=xl(f,u,f,d);return u[l]=p,Zr(u,p),Ey(p,d,u),Zi(d)&&yl(c,u,d),s!=null&&vl(u,d,a),Ni}var ed=td;function td(t,e,n,r){return je(!0),e[F].createComment("")}function Ty(t,e,n,r){let o=e[Te],i=!o||cn()||zr(o,r);if(je(i),i)return td(t,e,n,r);let s=o.data[Mg]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Yr(o,t,e,n);Ur(o,r,a);let u=Ds(o,r);return Qr(u,a)}function xy(){ed=Ty}function PT(t,e,n){Ve("NgControlFlow");let r=x(),o=dn(),i=Pi(r,B+t),s=0;if(Pe(r,o,e)){let a=L(null);try{if(Yl(i,s),e!==-1){let u=ki(r[w],B+e),c=on(i,u.tView.ssrId),l=Kr(r,u,n,{dehydratedView:c});Jr(i,l,s,sn(u,c))}}finally{L(a)}}else{let a=Zl(i,s);a!==void 0&&(a[H]=n)}}var Oi=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function kT(t,e){return e}var Ri=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function LT(t,e,n,r,o,i,s,a,u,c,l){Ve("NgControlFlow");let d=u!==void 0,f=x(),p=a?s.bind(f[K][H]):s,h=new Ri(d,p);f[B+t]=h,Ni(t+1,e,n,r,o,i),d&&Ni(t+2,u,c,l)}var Fi=class extends _i{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-$}at(e){return this.getLView(e)[H].$implicit}attach(e,n){let r=n[Te];this.needsIndexUpdate||=e!==this.length,Jr(this.lContainer,n,e,sn(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Sy(this.lContainer,e)}create(e,n){let r=on(this.lContainer,this.templateTNode.tView.ssrId);return Kr(this.hostLView,this.templateTNode,new Oi(this.lContainer,n,e),{dehydratedView:r})}destroy(e){Br(e[w],e)}updateValue(e,n){this.getLView(e)[H].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(je(!0),fs(r,o,gc()));function Oy(t,e,n,r,o,i){let s=e[Te],a=!s||cn()||zr(s,i);if(je(a),a)return fs(r,o,gc());let u=Yr(s,t,e,n);return ul(s,i)&&Ur(s,i,u.nextSibling),s&&(Bc(n)||Hc(u))&&un(n)&&(Wp(n),Jc(u)),u}function Ry(){od=Oy}var Fy=(t,e,n,r)=>(je(!0),qc(e[F],""));function Py(t,e,n,r){let o,i=e[Te],s=!i||cn();if(je(s),s)return qc(e[F],"");let a=Yr(i,t,e,n),u=kg(i,r);return Ur(i,r,a),o=Qr(u,a),o}function ky(){Fy=Py}function VT(){return x()}var Ze=void 0;function Ly(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var jy=["en",[["a","p"],["AM","PM"],Ze],[["AM","PM"],Ze,Ze],[["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"]],Ze,[["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"]],Ze,[["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}",Ze,"{1} 'at' {0}",Ze],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Ly],Wo={};function id(t){let e=Vy(t),n=bu(e);if(n)return n;let r=e.split("-")[0];if(n=bu(r),n)return n;if(r==="en")return jy;throw new C(701,!1)}function sd(t){return id(t)[Os.PluralCase]}function bu(t){return t in Wo||(Wo[t]=le.ng&&le.ng.common&&le.ng.common.locales&&le.ng.common.locales[t]),Wo[t]}var Os=function(t){return 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}(Os||{});function Vy(t){return t.toLowerCase().replace(/_/g,"-")}var Tr="en-US";var By=Tr;function Hy(t){rp(t,"Expected localeId to be defined"),typeof t=="string"&&(By=t.toLowerCase().replace(/_/g,"-"))}function Xr(t){return!!t&&typeof t.then=="function"}function Rs(t){return!!t&&typeof t.subscribe=="function"}function $y(t,e,n,r){let o=x(),i=X(),s=ee();return zy(i,o,o[F],s,t,e,r),$y}function Uy(t,e,n,r){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function zy(t,e,n,r,o,i,s){let a=Zi(r),c=t.firstCreatePass&&Al(t),l=e[H],d=_l(e),f=!0;if(r.type&3||s){let D=J(r,e),A=s?s(D):D,S=d.length,P=s?Ie=>s(fe(Ie[r.index])):r.index,z=null;if(!s&&a&&(z=Uy(t,e,o,r.index)),z!==null){let Ie=z.__ngLastListenerFn__||z;Ie.__ngNextListenerFn__=i,z.__ngLastListenerFn__=i,f=!1}else{i=Tu(r,e,l,i,!1);let Ie=n.listen(A,o,i);d.push(i,Ie),c&&c.push(o,P,S,S+1)}}else i=Tu(r,e,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let D=h.length;if(D)for(let A=0;A-1?Le(t.index,e):e;xs(a);let u=Mu(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Mu(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function BT(t=1){return rh(t)}function Gy(t,e,n,r,o){let i=x(),s=As(i,e,n,r);if(s!==_e){let a=X(),u=kr();El(a,u,i,t,s,i[F],o,!1)}return Gy}function Wy(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function HT(t,e=""){let n=x(),r=X(),o=t+B,i=r.firstCreatePass?qr(r,o,1,e,null):r.data[o],s=ad(r,n,i,e,t);n[o]=s,ts()&&hs(r,n,s,i),ln(i,!1)}var ad=(t,e,n,r,o)=>(je(!0),Wc(e[F],r));function qy(t,e,n,r,o){let i=e[Te],s=!i||cn()||zr(i,o);return je(s),s?Wc(e[F],r):Yr(i,t,e,n)}function Zy(){ad=qy}function Yy(t){return ud("",t,""),Yy}function ud(t,e,n){let r=x(),o=As(r,t,e,n);return o!==_e&&Ol(r,fn(),o),ud}function Qy(t,e,n,r,o){let i=x(),s=oy(i,t,e,n,r,o);return s!==_e&&Ol(i,fn(),s),Qy}var ke=class{},Li=class{};var ji=class extends ke{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cr(this);let o=Gu(e);this._bootstrapComponents=Vc(o.bootstrap),this._r3Injector=Lc(e,n,[{provide:ke,useValue:this},{provide:Gr,useValue:this.componentFactoryResolver},...r],Z(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Vi=class extends Li{constructor(e){super(),this.moduleType=e}create(e){return new ji(this.moduleType,e,[])}};var xr=class extends ke{constructor(e){super(),this.componentFactoryResolver=new Cr(this),this.instance=null;let n=new en([...e.providers,{provide:ke,useValue:this},{provide:Gr,useValue:this.componentFactoryResolver}],e.parent||as(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ky(t,e,n=null){return new xr({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var Jy=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Fc(!1,r.type),i=o.length>0?Ky([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(b(Fe))});let t=e;return t})();function $T(t){Ve("NgStandalone"),t.getStandaloneInjector=e=>e.get(Jy).getOrCreateStandaloneInjector(t)}function UT(t,e,n,r){return ld(x(),Ki(),t,e,n,r)}function zT(t,e,n,r,o){return Xy(x(),Ki(),t,e,n,r,o)}function cd(t,e){let n=t[e];return n===_e?void 0:n}function ld(t,e,n,r,o,i){let s=e+n;return Pe(t,s,o)?Ul(t,s+1,i?r.call(i,o):r(o)):cd(t,s+1)}function Xy(t,e,n,r,o,i,s){let a=e+n;return zl(t,a,o,i)?Ul(t,a+2,s?r.call(s,o,i):r(o,i)):cd(t,a+2)}function GT(t,e){let n=X(),r,o=t+B;n.firstCreatePass?(r=ev(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Xe(r.type,!0)),s,a=q(oe);try{let u=pr(!1),c=i();return pr(u),Wy(n,x(),o,c),c}finally{q(a)}}function ev(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function WT(t,e,n){let r=t+B,o=x(),i=kp(o,r);return tv(o,r)?ld(o,Ki(),e,i.transform,n,i):i.transform(n)}function tv(t,e){return t[w].data[e].pure}function nv(){return this._results[Symbol.iterator]()}var Bi=class t{get changes(){return this._changes||(this._changes=new Ye)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=nv)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=Ch(e);(this._changesDetected=!Ih(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},Nt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=iv;let t=e;return t})(),rv=Nt,ov=class extends rv{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=Kr(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new nt(o)}};function iv(){return Fs(ee(),x())}function Fs(t,e){return t.type&4?new ov(e,t,Rt(t,e)):null}var Hi=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},$i=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=$;d{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=_(fv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Xr(s))r.push(s);else if(Rs(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),md=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function pv(){return typeof $localize<"u"&&$localize.locale||Tr}var yn=new N("LocaleId",{providedIn:"root",factory:()=>_(yn,T.Optional|T.SkipSelf)||pv()});var yd=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Lt(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wi=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},JT=(()=>{let e=class e{compileModuleSync(r){return new Vi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Gu(r),s=Vc(i.declarations).reduce((a,u)=>{let c=Re(u);return c&&a.push(new At(c)),a},[]);return new Wi(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var vd=new N("");var sr=null;var Dd=new N("PlatformDestroyListeners"),eo=new N("appBootstrapListener");function hv(){Ua(()=>{throw new C(600,!1)})}function gv(t){return t.isBoundToModule}function mv(t=[]){if(sr)return sr;let e=vv(t);return sr=e,hv(),yv(e),e}function yv(t){t.get(us,null)?.forEach(n=>n())}function wd(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=mv(r),i=[bv(),...n||[]],a=new xr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(j);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ee,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Dd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),wv(c,u,()=>{let p=a.get(gd);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(yn,Tr);Hy(h||Tr);let D=a.get(Ft);return e!==void 0&&D.bootstrap(e),D})})})}catch(e){return Promise.reject(e)}}function vv(t=[],e){return rt.create({name:e,providers:[{provide:Lr,useValue:"platform"},{provide:Dd,useValue:new Set([()=>sr=null])},...t]})}function Dv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function wv(t,e,n){try{let r=n();return Xr(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Ft=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(Ed),this.zoneIsStable=_(Bl),this.componentTypes=[],this.components=[],this.isStable=_(yd).hasPendingTasks.pipe(Vt(r=>r?Ut(!1):this.zoneIsStable),To(),qn()),this._injector=_(Fe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof wr;if(!this._injector.get(gd).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&_p(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new C(405,!1)}let a;i?a=r:a=this._injector.get(Gr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=gv(a)?void 0:this._injector.get(ke),c=o||a.selector,l=a.create(rt.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(vd,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),qo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;qo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(eo,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>qo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new C(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function qo(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ed=new N("",{providedIn:"root",factory:()=>_(Ee).handleError.bind(void 0)});function Ev(){let t=_(j),e=_(Ee);return n=>t.runOutsideAngular(()=>e.handleError(n))}var Iv=(()=>{let e=class e{constructor(){this.zone=_(j),this.applicationRef=_(Ft)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Cv(t){return[{provide:j,useFactory:t},{provide:pn,multi:!0,useFactory:()=>{let e=_(Iv,{optional:!0});return()=>e.initialize()}},{provide:Ed,useFactory:Ev},{provide:Bl,useFactory:Hl}]}function bv(t){let e=Cv(()=>new j(Dv(t)));return hn([[],e])}var er;function Ps(t){er??=new WeakMap;let e=er.get(t);if(e)return e;let n=t.isStable.pipe(xo(r=>r)).toPromise().then(()=>{});return er.set(t,n),t.onDestroy(()=>er?.delete(t)),n}function XT(){return!1}var xu=!1;function Mv(){xu||(xu=!0,Og(),Ry(),Zy(),ky(),xy(),by(),my(),om())}function Tv(t,e){return Ps(t)}function Id(){return hn([{provide:Jn,useFactory:()=>{let t=!0;return Wt()&&(t=!!_(it,{optional:!0})?.get(sl,null)),t&&Ve("NgHydration"),t}},{provide:pn,useValue:()=>{Wt()&&_(Jn)&&(xv(),Mv())},multi:!0},{provide:fl,useFactory:()=>Wt()&&_(Jn)},{provide:eo,useFactory:()=>{if(Wt()&&_(Jn)){let t=_(Ft),e=_(rt);return()=>{Tv(t,e).then(()=>{j.assertInAngularZone(),uy(t)})}}return()=>{}},multi:!0}])}function xv(){let t=jr(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Ag){e=n;break}if(!e)throw new C(-507,!1)}function Sv(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ex(t){let e=Re(t);if(!e)return null;let n=new At(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Ls=null;function kt(){return Ls}function xd(t){Ls||(Ls=t)}var to=class{},ie=new N("DocumentToken"),Sd=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:()=>(()=>_(Nv))(),providedIn:"platform"});let t=e;return t})();var Nv=(()=>{let e=class e extends Sd{constructor(){super(),this._doc=_(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return kt().getBaseHref(this._doc)}onPopState(r){let o=kt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=kt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function _d(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function bd(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function at(t){return t&&t[0]!=="?"?"?"+t:t}var Hs=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:()=>(()=>_(Rv))(),providedIn:"root"});let t=e;return t})(),Ov=new N("appBaseHref"),Rv=(()=>{let e=class e extends Hs{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??_(ie).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return _d(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+at(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+at(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+at(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(o){return new(o||e)(b(Sd),b(Ov,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Fv=(()=>{let e=class e{constructor(r){this._subject=new Ye,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Lv(bd(Md(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+at(o))}normalize(r){return e.stripTrailingSlash(kv(this._basePath,Md(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+at(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+at(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};e.normalizeQueryParams=at,e.joinWithSlash=_d,e.stripTrailingSlash=bd,e.\u0275fac=function(o){return new(o||e)(b(Hs))},e.\u0275prov=O({token:e,factory:()=>Pv(),providedIn:"root"});let t=e;return t})();function Pv(){return new Fv(b(Hs))}function kv(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Md(t){return t.replace(/\/index.html$/,"")}function Lv(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var Pt=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(Pt||{});var jv=sd;var Ad=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:function(o){let i=null;return o?i=new o:i=(s=>new Bv(s))(b(yn)),i},providedIn:"root"});let t=e;return t})();function Vv(t,e,n,r){let o=`=${t}`;if(e.indexOf(o)>-1||(o=n.getPluralCategory(t,r),e.indexOf(o)>-1))return o;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}var Bv=(()=>{let e=class e extends Ad{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(jv(o||this.locale)(r)){case Pt.Zero:return"zero";case Pt.One:return"one";case Pt.Two:return"two";case Pt.Few:return"few";case Pt.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(b(yn))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})();function Nd(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var ks=/\s+/,Td=[],wx=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Td,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ks):Td}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ks):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(ks).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(oe(Cs),oe(bs),oe(st),oe(ws))},e.\u0275dir=Rr({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var js=class{constructor(e,n){this._viewContainerRef=e,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}};var Hv=(()=>{let e=class e{constructor(r){this._localization=r,this._caseViews={}}set ngPlural(r){this._updateView(r)}addCase(r,o){this._caseViews[r]=o}_updateView(r){this._clearViews();let o=Object.keys(this._caseViews),i=Vv(r,o,this._localization);this._activateView(this._caseViews[i])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(r){r&&(this._activeView=r,this._activeView.create())}};e.\u0275fac=function(o){return new(o||e)(oe(Ad))},e.\u0275dir=Rr({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),Ex=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new js(i,o))}};e.\u0275fac=function(o){return new(o||e)(Sc("ngPluralCase"),oe(Nt),oe(mn),oe(Hv,1))},e.\u0275dir=Rr({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function $v(t,e){return new C(2100,!1)}var Vs=class{createSubscription(e,n){return Es(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){Es(()=>e.unsubscribe())}},Bs=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},Uv=new Bs,zv=new Vs,Ix=(()=>{let e=class e{constructor(r){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){return this._obj?r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue:(r&&this._subscribe(r),this._latestValue)}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(Xr(r))return Uv;if(Rs(r))return zv;throw $v(e,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(oe(jl,16))},e.\u0275pipe=$u({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var $s="browser",Gv="server";function Cx(t){return t===$s}function Us(t){return t===Gv}var no=class{};var oo=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let o=(e.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=e.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var jd=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(jd||{}),zs=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new oo,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var io=class t extends zs{constructor(e={}){super(e),this.type=jd.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var qv=new N("");var Od="b",Rd="h",Fd="s",Pd="st",kd="u",Ld="rt",ro=new N(""),Zv=["GET","HEAD"];function Yv(t,e){let l=_(ro),{isCacheActive:n}=l,r=ta(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!Zv.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=_(it),a=Kv(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[Od]:d,[Ld]:f,[Rd]:p,[Fd]:h,[Pd]:D,[kd]:A}=u,S=d;switch(f){case"arraybuffer":S=new TextEncoder().encode(d).buffer;break;case"blob":S=new Blob([d]);break}let P=new oo(p);return Ut(new io({body:S,headers:P,status:h,statusText:D,url:A}))}return e(t).pipe(Pn(d=>{d instanceof io&&s.set(a,{[Od]:d.body,[Rd]:Qv(d.headers,c),[Fd]:d.status,[Pd]:d.statusText,[kd]:d.url||"",[Ld]:t.responseType})}))}function Qv(t,e){if(!e)return{};let n={};for(let r of e){let o=t.getAll(r);o!==null&&(n[r]=o)}return n}function Kv(t){let{params:e,method:n,responseType:r,url:o}=t,i=e.keys().sort().map(u=>`${u}=${e.getAll(u)}`).join("&"),s=n+"."+r+"."+o+"?"+i,a=Jv(s);return a}function Jv(t){let e=0;for(let n of t)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483647+1,e.toString()}function Vd(t){return[{provide:ro,useFactory:()=>(Ve("NgHttpTransferCache"),he({isCacheActive:!0},t))},{provide:qv,useValue:Yv,multi:!0,deps:[it,ro]},{provide:eo,multi:!0,useFactory:()=>{let e=_(Ft),n=_(ro);return()=>{Ps(e).then(()=>{n.isCacheActive=!1})}}}]}var qs=class extends to{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Zs=class t extends qs{static makeCurrent(){xd(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=Xv();return n==null?null:eD(n)}resetBaseElement(){vn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Nd(document.cookie,e)}},vn=null;function Xv(){return vn=vn||document.querySelector("base"),vn?vn.getAttribute("href"):null}var so;function eD(t){so=so||document.createElement("a"),so.setAttribute("href",t);let e=so.pathname;return e.charAt(0)==="/"?e:`/${e}`}var tD=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),Ys=new N("EventManagerPlugins"),Ud=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new C(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(b(Ys),b(j))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),ao=class{constructor(e){this._doc=e}},Gs="ng-app-id",zd=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Us(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Gs}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Gs),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Gs,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(b(ie),b(Vr),b(cs,8),b(Se))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),Ws={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/"},Ks=/%COMP%/g,Gd="%COMP%",nD=`_nghost-${Gd}`,rD=`_ngcontent-${Gd}`,oD=!0,iD=new N("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>oD});function sD(t){return rD.replace(Ks,t)}function aD(t){return nD.replace(Ks,t)}function Wd(t,e){return e.map(n=>n.replace(Ks,t))}var Bd=(()=>{let e=class e{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Us(u),this.defaultRenderer=new Dn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===we.ShadowDom&&(o=Be(he({},o),{encapsulation:we.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof uo?i.applyToHost(r):i instanceof wn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case we.Emulated:s=new uo(c,l,o,this.appId,d,a,u,f);break;case we.ShadowDom:return new Qs(c,l,r,o,a,u,this.nonce,f);default:s=new wn(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(b(Ud),b(zd),b(Vr),b(iD),b(ie),b(Se),b(j),b(cs))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),Dn=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Ws[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(Hd(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Hd(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=Ws[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Ws[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(ot.DashCase|ot.Important)?e.style.setProperty(n,r,o&ot.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&ot.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=kt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function Hd(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Qs=class extends Dn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Wd(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},wn=class extends Dn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Wd(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},uo=class extends wn{constructor(e,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(e,n,r,i,s,a,u,c),this.contentAttr=sD(c),this.hostAttr=aD(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},uD=(()=>{let e=class e extends ao{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(b(ie))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),$d=["alt","control","meta","shift"],cD={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},lD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},dD=(()=>{let e=class e extends ao{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>kt().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),$d.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=cD[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),$d.forEach(a=>{if(a!==i){let u=lD[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(b(ie))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})();function iS(t,e){return wd(he({rootComponent:t},fD(e)))}function fD(t){return{appProviders:[...yD,...t?.providers??[]],platformProviders:mD}}function pD(){Zs.makeCurrent()}function hD(){return new Ee}function gD(){return jc(document),document}var mD=[{provide:Se,useValue:$s},{provide:us,useValue:pD,multi:!0},{provide:ie,useFactory:gD,deps:[]}];var yD=[{provide:Lr,useValue:"root"},{provide:Ee,useFactory:hD,deps:[]},{provide:Ys,useClass:uD,multi:!0,deps:[ie,j,Se]},{provide:Ys,useClass:dD,multi:!0,deps:[ie]},Bd,zd,Ud,{provide:nn,useExisting:Bd},{provide:no,useClass:tD,deps:[]},[]];function vD(){return new DD(b(ie))}var DD=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(o){return new(o||e)(b(ie))},e.\u0275prov=O({token:e,factory:function(o){let i=null;return o?i=new o:i=vD(),i},providedIn:"root"});let t=e;return t})();function sS(...t){let e=[],n=new Set,r=n.has(1);for(let{\u0275providers:o,\u0275kind:i}of t)n.add(i),o.length&&e.push(o);return hn([[],Id(),n.has(0)||r?[]:Vd({}),e])}export{he as a,Be as b,V as c,tf as d,vo as e,Bt as f,G as g,Lt as h,Ge as i,ue as j,Ut as k,pf as l,hf as m,We as n,Me as o,If as p,te as q,zt as r,Eo as s,mt as t,bf as u,Io as v,Co as w,Nf as x,be as y,Aa as z,Rf as A,Oa as B,Pf as C,Gt as D,qe as E,bo as F,kf as G,Lf as H,Pa as I,xo as J,Bf as K,So as L,Hf as M,$f as N,Uf as O,of as P,zf as Q,Gf as R,Vt as S,La as T,Pn as U,C as V,O as W,CT as X,T as Y,N as Z,b as _,_ as $,bT as aa,Rr as ba,Ju as ca,MT as da,TT as ea,xT as fa,ST as ga,_T as ha,Sc as ia,hn as ja,Fe as ka,AT as la,rt as ma,Se as na,NT as oa,OT as pa,st as qa,nn as ra,ws as sa,RT as ta,oe as ua,jl as va,Ye as wa,j as xa,jm as ya,Km as za,ny as Aa,ry as Ba,iy as Ca,sy as Da,mn as Ea,Ni as Fa,PT as Ga,kT as Ha,LT as Ia,jT as Ja,nd as Ka,rd as La,Ny as Ma,VT as Na,Xr as Oa,$y as Pa,BT as Qa,Gy as Ra,HT as Sa,Yy as Ta,ud as Ua,Qy as Va,Li as Wa,Ky as Xa,$T as Ya,UT as Za,zT as _a,GT as $a,WT as ab,ZT as bb,YT as cb,QT as db,KT as eb,fv as fb,md as gb,yd as hb,JT as ib,eo as jb,Ft as kb,XT as lb,Sv as mb,ex as nb,ie as ob,Hs as pb,Fv as qb,wx as rb,Hv as sb,Ex as tb,Ix as ub,Cx as vb,Bd as wb,iS as xb,DD as yb,sS as zb}; diff --git a/docs/citations/browser/chunk-5FRWEQTB.js b/docs/citations/browser/chunk-CNTN2D3E.js similarity index 80% rename from docs/citations/browser/chunk-5FRWEQTB.js rename to docs/citations/browser/chunk-CNTN2D3E.js index cf20c8f..5675dfc 100644 --- a/docs/citations/browser/chunk-5FRWEQTB.js +++ b/docs/citations/browser/chunk-CNTN2D3E.js @@ -1 +1 @@ -import{C as s,W as i,h as r}from"./chunk-GQQKX57E.js";var n=(()=>{let e=class e{constructor(){this.refresh=new r(!1),this.refresh$=this.refresh.asObservable().pipe(s(250))}click(){this.refresh.next(!0)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=i({token:e,factory:e.\u0275fac});let t=e;return t})();export{n as a}; +import{C as s,W as i,h as r}from"./chunk-BTHD7Z2M.js";var n=(()=>{let e=class e{constructor(){this.refresh=new r(!1),this.refresh$=this.refresh.asObservable().pipe(s(250))}click(){this.refresh.next(!0)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=i({token:e,factory:e.\u0275fac});let t=e;return t})();export{n as a}; diff --git a/docs/citations/browser/chunk-EUSOWPMZ.js b/docs/citations/browser/chunk-EUSOWPMZ.js new file mode 100644 index 0000000..1a96c56 --- /dev/null +++ b/docs/citations/browser/chunk-EUSOWPMZ.js @@ -0,0 +1 @@ +import{a as F}from"./chunk-X475HLLW.js";import{Da as p,Fa as I,Ga as M,Ha as w,Ia as L,Ja as y,Ka as a,La as g,Na as x,Pa as u,Qa as o,Sa as d,Ta as _,Ya as T,Za as m,aa as v,ca as b,da as l,ea as c,h as f,rb as k,ta as r,ua as O,y as h}from"./chunk-BTHD7Z2M.js";var S=class{constructor(){this.itemsPerPage=10}getCurrentPage(){return this.currentPage}setCurrentPage(s){this.currentPage=s}getItemsPerPage(){return this.itemsPerPage}};var E=n=>({current:n});function D(n,s){if(n&1){let e=x();a(0,"li",2)(1,"a",3),u("click",function(){let P=l(e).$implicit,V=o(2);return c(V.pager.goToPage(P.index))}),a(2,"span"),d(3),g()()()}if(n&2){let e=s.$implicit,i=o(2);r(1),p("ngClass",m(2,E,i.isCurrentPage(e.index))),r(2),_(e.label)}}var C=n=>({disabled:n});function $(n,s){if(n&1){let e=x();a(0,"ul",1)(1,"li",2)(2,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToFirstPage())}),a(3,"span"),d(4),g()()(),a(5,"li",2)(6,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToPreviousPage())}),a(7,"span"),d(8),g()()(),L(9,D,4,4,"li",4,w),a(11,"li",2)(12,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToNextPage())}),a(13,"span"),d(14),g()()(),a(15,"li",2)(16,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToLastPage())}),a(17,"span"),d(18),g()()()()}if(n&2){let e=o();r(2),p("ngClass",m(8,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[0].label),r(2),p("ngClass",m(10,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[1].label),r(1),y(e.pager.getPagerItemList().getNumbers()),r(3),p("ngClass",m(12,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[0].label),r(2),p("ngClass",m(14,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[1].label)}}var A=(()=>{let s=class s{constructor(i){this.pager=i,this.list=0,this.paginatedList=new f(this.pager.getPaginatedList()),this.paginatedList$=this.paginatedList.asObservable().pipe(h(t=>!!t))}ngOnInit(){this.pager.init(this.list,this.options),this.pager.currentOffset$.subscribe(()=>{this.paginatedList.next(this.pager.getPaginatedList())})}ngOnChanges(i){let t=i.list;t&&(t.isFirstChange()||this.pager.init(t.currentValue,this.options))}previousIsDisabled(){return this.pager.getCurrentPage()===this.pager.getPreviousPage()}nextIsDisabled(){return this.pager.getCurrentPage()===this.pager.getNextPage()}isCurrentPage(i){return this.pager.isCurrentPage(i)}hasList(){return typeof this.list=="object"?this.pager.getTotalPage()>1:!1}};s.\u0275fac=function(t){return new(t||s)(O(F))},s.\u0275cmp=v({type:s,selectors:[["app-pager"]],inputs:{list:"list",options:"options"},outputs:{paginatedList$:"paginatedList$"},standalone:!0,features:[b,T],decls:2,vars:1,consts:[["class","ng-pager nav","aria-label","Pagination"],["aria-label","Pagination",1,"ng-pager","nav"],[1,"w-12"],[3,"ngClass","click"],["class","w-12"]],template:function(t,P){t&1&&(a(0,"nav"),I(1,$,19,16,"ul",0),g()),t&2&&(r(1),M(1,P.hasList()?1:-1))},dependencies:[k],styles:[".ng-pager[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem}.ng-pager[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}ul.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block;padding:5px 10px;list-style:none;width:40px}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{cursor:pointer}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a.current[_ngcontent-%COMP%]{font-weight:700}.ng-pager[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#2199e8;color:#fefefe;cursor:default}.ng-pager[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{padding:.1875rem .625rem;color:#cacaca;cursor:default}"]});let n=s;return n})();export{S as a,A as b}; diff --git a/docs/citations/browser/chunk-GQQKX57E.js b/docs/citations/browser/chunk-GQQKX57E.js deleted file mode 100644 index 055f878..0000000 --- a/docs/citations/browser/chunk-GQQKX57E.js +++ /dev/null @@ -1,8 +0,0 @@ -var nf=Object.defineProperty,rf=Object.defineProperties;var of=Object.getOwnPropertyDescriptors;var In=Object.getOwnPropertySymbols;var ia=Object.prototype.hasOwnProperty,sa=Object.prototype.propertyIsEnumerable;var oa=(t,e,n)=>e in t?nf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,he=(t,e)=>{for(var n in e||={})ia.call(e,n)&&oa(t,n,e[n]);if(In)for(var n of In(e))sa.call(e,n)&&oa(t,n,e[n]);return t},He=(t,e)=>rf(t,of(e));var aa=(t,e)=>{var n={};for(var r in t)ia.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&In)for(var r of In(t))e.indexOf(r)<0&&sa.call(t,r)&&(n[r]=t[r]);return n};function g(t){return typeof t=="function"}function ft(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Cn=ft(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function $e(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var V=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){e=i instanceof Cn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ua(i)}catch(s){e=e??[],s instanceof Cn?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Cn(e)}}add(e){var n;if(e&&e!==this)if(this.closed)ua(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&$e(n,e)}remove(e){let{_finalizers:n}=this;n&&$e(n,e),e instanceof t&&e._removeParent(this)}};V.EMPTY=(()=>{let t=new V;return t.closed=!0,t})();var po=V.EMPTY;function bn(t){return t instanceof V||t&&"closed"in t&&g(t.remove)&&g(t.add)&&g(t.unsubscribe)}function ua(t){g(t)?t():t.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var pt={setTimeout(t,e,...n){let{delegate:r}=pt;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=pt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Mn(t){pt.setTimeout(()=>{let{onUnhandledError:e}=ae;if(e)e(t);else throw t})}function X(){}var ca=(()=>ho("C",void 0,void 0))();function la(t){return ho("E",void 0,t)}function da(t){return ho("N",t,void 0)}function ho(t,e,n){return{kind:t,value:e,error:n}}var Ue=null;function ht(t){if(ae.useDeprecatedSynchronousErrorHandling){let e=!Ue;if(e&&(Ue={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Ue;if(Ue=null,n)throw r}}else t()}function fa(t){ae.useDeprecatedSynchronousErrorHandling&&Ue&&(Ue.errorThrown=!0,Ue.error=t)}var ze=class extends V{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,bn(e)&&e.add(this)):this.destination=uf}static create(e,n,r){return new Ce(e,n,r)}next(e){this.isStopped?mo(da(e),this):this._next(e)}error(e){this.isStopped?mo(la(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?mo(ca,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},sf=Function.prototype.bind;function go(t,e){return sf.call(t,e)}var yo=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Tn(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Tn(r)}else Tn(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Tn(n)}}},Ce=class extends ze{constructor(e,n,r){super();let o;if(g(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&go(e.next,i),error:e.error&&go(e.error,i),complete:e.complete&&go(e.complete,i)}):o=e}this.destination=new yo(o)}};function Tn(t){ae.useDeprecatedSynchronousErrorHandling?fa(t):Mn(t)}function af(t){throw t}function mo(t,e){let{onStoppedNotification:n}=ae;n&&pt.setTimeout(()=>n(t,e))}var uf={closed:!0,next:X,error:af,complete:X};var gt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function U(t){return t}function cf(...t){return vo(t)}function vo(t){return t.length===0?U:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var E=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=df(n)?n:new Ce(n,r,o);return ht(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=pa(r),new r((o,i)=>{let s=new Ce({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[gt](){return this}pipe(...n){return vo(n)(this)}toPromise(n){return n=pa(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function pa(t){var e;return(e=t??ae.Promise)!==null&&e!==void 0?e:Promise}function lf(t){return t&&g(t.next)&&g(t.error)&&g(t.complete)}function df(t){return t&&t instanceof ze||lf(t)&&bn(t)}var ha=ft(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var q=(()=>{class t extends E{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new xn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ha}next(n){ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?po:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,$e(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new E;return n.source=this,n}}return t.create=(e,n)=>new xn(e,n),t})(),xn=class extends q{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:po}};var Vt=class extends q{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};function Do(t){return g(t?.lift)}function m(t){return e=>{if(Do(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function y(t,e,n,r,o){return new Bt(t,e,n,r,o)}var Bt=class extends ze{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function be(t,e){return m((n,r)=>{let o=0;n.subscribe(y(r,i=>t.call(e,i,o++)&&r.next(i)))})}function ff(t){return be((e,n)=>t<=n)}function ma(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(t,e||[])).next())})}function ga(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ge(t){return this instanceof Ge?(this.v=t,this):new Ge(t)}function ya(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,v){i.push([f,p,h,v])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof Ge?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function va(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof ga=="function"?ga(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var mt=t=>t&&typeof t.length=="number"&&typeof t!="function";function Sn(t){return g(t?.then)}function _n(t){return g(t[gt])}function An(t){return Symbol.asyncIterator&&g(t?.[Symbol.asyncIterator])}function Nn(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function pf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var On=pf();function Rn(t){return g(t?.[On])}function Fn(t){return ya(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Ge(n.read());if(o)return yield Ge(void 0);yield yield Ge(r)}}finally{n.releaseLock()}})}function Pn(t){return g(t?.getReader)}function S(t){if(t instanceof E)return t;if(t!=null){if(_n(t))return hf(t);if(mt(t))return gf(t);if(Sn(t))return mf(t);if(An(t))return Da(t);if(Rn(t))return yf(t);if(Pn(t))return vf(t)}throw Nn(t)}function hf(t){return new E(e=>{let n=t[gt]();if(g(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gf(t){return new E(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Mn)})}function yf(t){return new E(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Da(t){return new E(e=>{Df(t,e).catch(n=>e.error(n))})}function vf(t){return Da(Fn(t))}function Df(t,e){var n,r,o,i;return ma(this,void 0,void 0,function*(){try{for(n=va(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})}function Ht(t,e){return m((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,u=>{o?.unsubscribe();let c=0,l=i++;S(t(u,l)).subscribe(o=y(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function kn(t,e,n){let r=g(t)||e||n?{next:t,error:e,complete:n}:t;return r?m((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):U}function wo(){return m((t,e)=>{let n=null;t._refCount++;let r=y(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var $t=class extends E{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Do(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new V;let n=this.getSubject();e.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=V.EMPTY)}return e}refCount(){return wo()(this)}};var Eo={now(){return(Eo.delegate||Date).now()},delegate:void 0};var Ln=class extends V{constructor(e,n){super()}schedule(e,n=0){return this}};var Ut={setInterval(t,e,...n){let{delegate:r}=Ut;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Ut;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var jn=class extends Ln{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return Ut.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Ut.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,$e(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var yt=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};yt.now=Eo.now;var Vn=class extends yt{constructor(e,n=yt.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var zt=new Vn(jn),wa=zt;var We=new E(t=>t.complete());function Bn(t){return t&&g(t.schedule)}function Io(t){return t[t.length-1]}function Ea(t){return g(Io(t))?t.pop():void 0}function ge(t){return Bn(Io(t))?t.pop():void 0}function Ia(t,e){return typeof Io(t)=="number"?t.pop():e}function Z(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function Hn(t,e=0){return m((n,r)=>{n.subscribe(y(r,o=>Z(r,t,()=>r.next(o),e),()=>Z(r,t,()=>r.complete(),e),o=>Z(r,t,()=>r.error(o),e)))})}function $n(t,e=0){return m((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Ca(t,e){return S(t).pipe($n(e),Hn(e))}function ba(t,e){return S(t).pipe($n(e),Hn(e))}function Ma(t,e){return new E(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Ta(t,e){return new E(n=>{let r;return Z(n,e,()=>{r=t[On](),Z(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Un(t,e){if(!t)throw new Error("Iterable cannot be null");return new E(n=>{Z(n,e,()=>{let r=t[Symbol.asyncIterator]();Z(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xa(t,e){return Un(Fn(t),e)}function Sa(t,e){if(t!=null){if(_n(t))return Ca(t,e);if(mt(t))return Ma(t,e);if(Sn(t))return ba(t,e);if(An(t))return Un(t,e);if(Rn(t))return Ta(t,e);if(Pn(t))return xa(t,e)}throw Nn(t)}function ue(t,e){return e?Sa(t,e):S(t)}function Gt(...t){let e=ge(t);return ue(t,e)}function wf(t,e){let n=g(t)?t:()=>t,r=o=>o.error(n());return new E(e?o=>e.schedule(r,0,o):r)}function Ef(t){return!!t&&(t instanceof E||g(t.lift)&&g(t.subscribe))}var qe=ft(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function _a(t){return t instanceof Date&&!isNaN(t)}function Me(t,e){return m((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:If}=Array;function Cf(t,e){return If(e)?t(...e):t(e)}function zn(t){return Me(e=>Cf(t,e))}var{isArray:bf}=Array,{getPrototypeOf:Mf,prototype:Tf,keys:xf}=Object;function Aa(t){if(t.length===1){let e=t[0];if(bf(e))return{args:e,keys:null};if(Sf(e)){let n=xf(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Sf(t){return t&&typeof t=="object"&&Mf(t)===Tf}function Na(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function _f(...t){let e=ge(t),n=Ea(t),{args:r,keys:o}=Aa(t);if(r.length===0)return ue([],e);let i=new E(Af(r,e,o?s=>Na(o,s):U));return n?i.pipe(zn(n)):i}function Af(t,e,n=U){return r=>{Oa(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=ue(t[u],e),l=!1;c.subscribe(y(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Oa(t,e,n){t?Z(n,t,e):e()}function Ra(t,e,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},p=v=>c{i&&e.next(v),c++;let x=!1;S(n(v,l++)).subscribe(y(e,C=>{o?.(C),i?p(C):e.next(C)},()=>{x=!0},void 0,()=>{if(x)try{for(c--;u.length&&ch(C)):h(C)}f()}catch(C){e.error(C)}}))};return t.subscribe(y(e,p,()=>{d=!0,f()})),()=>{a?.()}}function re(t,e,n=1/0){return g(e)?re((r,o)=>Me((i,s)=>e(r,i,o,s))(S(t(r,o))),n):(typeof e=="number"&&(n=e),m((r,o)=>Ra(r,o,t,n)))}function Wt(t=1/0){return re(U,t)}function Co(){return Wt(1)}function vt(...t){return Co()(ue(t,ge(t)))}function Nf(t){return new E(e=>{S(t()).subscribe(e)})}var Of=["addListener","removeListener"],Rf=["addEventListener","removeEventListener"],Ff=["on","off"];function bo(t,e,n,r){if(g(n)&&(r=n,n=void 0),r)return bo(t,e,n).pipe(zn(r));let[o,i]=Lf(t)?Rf.map(s=>a=>t[s](e,a,n)):Pf(t)?Of.map(Fa(t,e)):kf(t)?Ff.map(Fa(t,e)):[];if(!o&&mt(t))return re(s=>bo(s,e,n))(S(t));if(!o)throw new TypeError("Invalid event target");return new E(s=>{let a=(...u)=>s.next(1i(a)})}function Fa(t,e){return n=>r=>t[n](e,r)}function Pf(t){return g(t.addListener)&&g(t.removeListener)}function kf(t){return g(t.on)&&g(t.off)}function Lf(t){return g(t.addEventListener)&&g(t.removeEventListener)}function Pa(t=0,e,n=wa){let r=-1;return e!=null&&(Bn(e)?n=e:r=e),new E(o=>{let i=_a(t)?+t-n.now():t;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Mo(...t){let e=ge(t),n=Ia(t,1/0),r=t;return r.length?r.length===1?S(r[0]):Wt(n)(ue(r,e)):We}var jf=new E(X);function ka(t){return m((e,n)=>{let r=null,o=!1,i;r=e.subscribe(y(n,void 0,void 0,s=>{i=S(t(s,ka(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Gn(t,e,n,r,o){return(i,s)=>{let a=n,u=e,c=0;i.subscribe(y(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function La(t,e){return m(Gn(t,e,arguments.length>=2,!1,!0))}var Vf=(t,e)=>(t.push(e),t);function Bf(){return m((t,e)=>{La(Vf,[])(t).subscribe(e)})}function ja(t,e){return g(e)?re(t,e,1):re(t,1)}function Va(t){return new E(e=>t.subscribe(e))}var Hf={connector:()=>new q};function Wn(t,e=Hf){let{connector:n}=e;return m((r,o)=>{let i=n();S(t(Va(i))).subscribe(o),o.add(r.subscribe(i))})}function $f(t,e=zt){return m((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function qt(t){return m((e,n)=>{let r=!1;e.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function Ze(t){return t<=0?()=>We:m((e,n)=>{let r=0;e.subscribe(y(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function Ba(){return m((t,e)=>{t.subscribe(y(e,X))})}function To(t){return Me(()=>t)}function xo(t,e){return e?n=>vt(e.pipe(Ze(1),Ba()),n.pipe(xo(t))):re((n,r)=>S(t(n,r)).pipe(Ze(1),To(n)))}function Uf(t,e=zt){let n=Pa(t,e);return xo(()=>n)}function zf(t,e){return m((n,r)=>{let o=new Set;n.subscribe(y(r,i=>{let s=t?t(i):i;o.has(s)||(o.add(s),r.next(i))})),e&&S(e).subscribe(y(r,()=>o.clear(),X))})}function So(t,e=U){return t=t??Gf,m((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function Gf(t,e){return t===e}function qn(t=Wf){return m((e,n)=>{let r=!1;e.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Wf(){return new qe}function Ha(t){return m((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function _o(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((o,i)=>t(o,i,r)):U,Ze(1),n?qt(e):qn(()=>new qe))}function qf(t,e,n,r){return m((o,i)=>{let s;!e||typeof e=="function"?s=e:{duration:n,element:s,connector:r}=e;let a=new Map,u=h=>{a.forEach(h),h(i)},c=h=>u(v=>v.error(h)),l=0,d=!1,f=new Bt(i,h=>{try{let v=t(h),x=a.get(v);if(!x){a.set(v,x=r?r():new q);let C=p(v,x);if(i.next(C),n){let P=y(x,()=>{x.complete(),P?.unsubscribe()},void 0,void 0,()=>a.delete(v));f.add(S(n(C)).subscribe(P))}}x.next(s?s(h):h)}catch(v){c(v)}},()=>u(h=>h.complete()),c,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(f);function p(h,v){let x=new E(C=>{l++;let P=v.subscribe(C);return()=>{P.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return x.key=h,x}})}function Ao(t){return t<=0?()=>We:m((e,n)=>{let r=[];e.subscribe(y(n,o=>{r.push(o),t{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Zf(t,e){let n=arguments.length>=2;return r=>r.pipe(t?be((o,i)=>t(o,i,r)):U,Ao(1),n?qt(e):qn(()=>new qe))}function $a(t,e){let n=g(t)?t:()=>t;return g(e)?Wn(e,{connector:n}):r=>new $t(r,n)}function Yf(t){return t?e=>Wn(t)(e):e=>$a(new q)(e)}function Qf(t,e){return m(Gn(t,e,arguments.length>=2,!0))}function Zn(t={}){let{connector:e=()=>new q,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let v=s;p(),v?.unsubscribe()};return m((v,x)=>{c++,!d&&!l&&f();let C=u=u??e();x.add(()=>{c--,c===0&&!d&&!l&&(a=No(h,o))}),C.subscribe(x),!s&&c>0&&(s=new Ce({next:P=>C.next(P),error:P=>{d=!0,f(),a=No(p,n,P),C.error(P)},complete:()=>{l=!0,f(),a=No(p,r),C.complete()}}),S(v).subscribe(s))})(i)}}function No(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new Ce({next:()=>{r.unsubscribe(),t()}});return S(e(...n)).subscribe(r)}function Kf(t){return m((e,n)=>{let r=!1,o=y(n,()=>{o?.unsubscribe(),r=!0},X);S(t).subscribe(o),e.subscribe(y(n,i=>r&&n.next(i)))})}function Jf(...t){let e=ge(t);return m((n,r)=>{(e?vt(t,n,e):vt(t,n)).subscribe(r)})}function Ua(t){return m((e,n)=>{S(t).subscribe(y(n,()=>n.complete(),X)),!n.closed&&e.subscribe(n)})}var za=null;var Oo=1;function L(t){let e=za;return za=t,e}var Ga={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Xf(t){if(!(Po(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Oo)){if(!t.producerMustRecompute(t)&&!Ro(t)){t.dirty=!1,t.lastCleanEpoch=Oo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Oo}}function Wa(t){return t&&(t.nextProducerIndex=0),L(t)}function qa(t,e){if(L(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Po(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ro(t){Yn(t);for(let e=0;e0}function Yn(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ep(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function tp(){throw new Error}var np=tp;function Ya(t){np=t}function R(t){for(let e in t)if(t[e]===R)return e;throw Error("Could not find renamed property on target object.")}function Qn(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Q(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Q).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` -`);return n===-1?e:e.substring(0,n)}function Qa(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var rp=R({__forward_ref__:R});function Fu(t){return t.__forward_ref__=Fu,t.toString=function(){return Q(this())},t}function z(t){return Pu(t)?t():t}function Pu(t){return typeof t=="function"&&t.hasOwnProperty(rp)&&t.__forward_ref__===Fu}function ku(t){return t&&!!t.\u0275providers}var Lu="https://g.co/ng/security#xss",b=class extends Error{constructor(e,n){super(Nr(e,n)),this.code=e}};function Nr(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var op=R({\u0275cmp:R}),ip=R({\u0275dir:R}),sp=R({\u0275pipe:R}),ap=R({\u0275mod:R}),ur=R({\u0275fac:R}),Yt=R({__NG_ELEMENT_ID__:R}),Ka=R({__NG_ENV_ID__:R});function Mt(t){return typeof t=="string"?t:t==null?"":String(t)}function up(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Mt(t)}function cp(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new b(-200,`Circular dependency in DI detected for ${t}${n}`)}function Xi(t,e){let n=e?` in ${e}`:"";throw new b(-201,!1)}function lp(t,e){t==null&&dp(e,t,null,"!=")}function dp(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Or(t){return Ja(t,ju)||Ja(t,Vu)}function RT(t){return Or(t)!==null}function Ja(t,e){return t.hasOwnProperty(e)?t[e]:null}function fp(t){let e=t&&(t[ju]||t[Vu]);return e||null}function Xa(t){return t&&(t.hasOwnProperty(eu)||t.hasOwnProperty(pp))?t[eu]:null}var ju=R({\u0275prov:R}),eu=R({\u0275inj:R}),Vu=R({ngInjectableDef:R}),pp=R({ngInjectorDef:R}),_=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(_||{}),Jo;function Bu(){return Jo}function Y(t){let e=Jo;return Jo=t,e}function Hu(t,e,n){let r=Or(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(e!==void 0)return e;Xi(Q(t),"Injector")}var le=globalThis;var N=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var hp={},Qt=hp,Xo="__NG_DI_FLAG__",cr="ngTempTokenPath",gp="ngTokenPath",mp=/\n/gm,yp="\u0275",tu="__source",Ct;function vp(){return Ct}function Ae(t){let e=Ct;return Ct=t,e}function Dp(t,e=_.Default){if(Ct===void 0)throw new b(-203,!1);return Ct===null?Hu(t,void 0,e):Ct.get(t,e&_.Optional?null:void 0,e)}function M(t,e=_.Default){return(Bu()||Dp)(z(t),e)}function A(t,e=_.Default){return M(t,Rr(e))}function Rr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ei(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(mp,` - `)}`}function Fr(t){return{toString:t}.toString()}var Uu=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Uu||{}),we=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(we||{}),Tt={},Oe=[];function zu(t,e,n){let r=t.length;for(;;){let o=t.indexOf(e,n);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}function ti(t,e,n){let r=0;for(;re){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&zu(p,c,0)!==-1||r&2&&c!==f){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(t){return(t&1)===0}function xp(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(e+=ru(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(e+=ru(i,o)),e}function Op(t){return t.map(Np).join(",")}function Rp(t){let e=[],n=[],r=1,o=2;for(;r{let e=Ju(t),n=He(he({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Uu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||we.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});Xu(n);let r=t.dependencies;return n.directiveDefs=iu(r,!1),n.pipeDefs=iu(r,!0),n.id=Lp(n),n})}function Fp(t){return Re(t)||Yu(t)}function Pp(t){return t!==null}function ou(t,e){if(t==null)return Tt;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}function Pr(t){return Fr(()=>{let e=Ju(t);return Xu(e),e})}function Zu(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Re(t){return t[op]||null}function Yu(t){return t[ip]||null}function Qu(t){return t[sp]||null}function kp(t){let e=Re(t)||Yu(t)||Qu(t);return e!==null?e.standalone:!1}function Ku(t,e){let n=t[ap]||null;if(!n&&e===!0)throw new Error(`Type ${Q(t)} does not have '\u0275mod' property.`);return n}function Ju(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Tt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ou(t.inputs,e),outputs:ou(t.outputs),debugInfo:null}}function Xu(t){t.features?.forEach(e=>e(t))}function iu(t,e){if(!t)return null;let n=e?Qu:Fp;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(Pp)}function Lp(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var ee=0,w=1,D=2,k=3,de=4,pe=5,Te=6,Jt=7,H=8,xt=9,St=10,F=11,Xt=12,su=13,Ft=14,te=15,un=16,Dt=17,ve=18,kr=19,ec=20,Ne=21,ko=22,Je=23,B=25,tc=1,en=6,xe=7,lr=8,_t=9,$=10,At=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(At||{});function De(t){return Array.isArray(t)&&typeof t[tc]=="object"}function oe(t){return Array.isArray(t)&&t[tc]===!0}function nc(t){return(t.flags&4)!==0}function cn(t){return t.componentOffset>-1}function es(t){return(t.flags&1)===1}function Fe(t){return!!t.template}function rc(t){return(t[D]&512)!==0}function Xe(t,e){let n=t.hasOwnProperty(ur);return n?t[ur]:null}var ni=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function oc(){return ic}function ic(t){return t.type.prototype.ngOnChanges&&(t.setInput=Vp),jp}oc.ngInherit=!0;function jp(){let t=ac(this),e=t?.current;if(e){let n=t.previous;if(n===Tt)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Vp(t,e,n,r){let o=this.declaredInputs[n],i=ac(t)||Bp(t,{previous:Tt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new ni(u&&u.currentValue,e,a===Tt),t[r]=e}var sc="__ngSimpleChanges__";function ac(t){return t[sc]||null}function Bp(t,e){return t[sc]=e}var au=null;var me=function(t,e,n){au?.(t,e,n)},uc="svg",Hp="math";function fe(t){for(;Array.isArray(t);)t=t[ee];return t}function $p(t,e){return fe(e[t])}function ne(t,e){return fe(e[t.index])}function ts(t,e){return t.data[e]}function Up(t,e){return t[e]}function je(t,e){let n=e[t];return De(n)?n:n[ee]}function zp(t){return(t[D]&4)===4}function ns(t){return(t[D]&128)===128}function Gp(t){return oe(t[k])}function dr(t,e){return e==null?null:t[e]}function cc(t){t[Dt]=0}function Wp(t){t[D]&1024||(t[D]|=1024,ns(t)&&Lr(t))}function qp(t,e){for(;t>0;)e=e[Ft],t--;return e}function lc(t){t[D]&9216&&Lr(t)}function Lr(t){let e=t[k];for(;e!==null&&!(oe(e)&&e[D]&At.HasChildViewsToRefresh||De(e)&&e[D]&8192);){if(oe(e))e[D]|=At.HasChildViewsToRefresh;else if(e[D]|=8192,!ns(e))break;e=e[k]}}function dc(t,e){if((t[D]&256)===256)throw new b(911,!1);t[Ne]===null&&(t[Ne]=[]),t[Ne].push(e)}function Zp(t,e){if(t[Ne]===null)return;let n=t[Ne].indexOf(e);n!==-1&&t[Ne].splice(n,1)}var I={lFrame:vc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Yp(){return I.lFrame.elementDepthCount}function Qp(){I.lFrame.elementDepthCount++}function Kp(){I.lFrame.elementDepthCount--}function fc(){return I.bindingsEnabled}function ln(){return I.skipHydrationRootTNode!==null}function Jp(t){return I.skipHydrationRootTNode===t}function Xp(t){I.skipHydrationRootTNode=t}function eh(){I.skipHydrationRootTNode=null}function T(){return I.lFrame.lView}function G(){return I.lFrame.tView}function PT(t){return I.lFrame.contextLView=t,t[H]}function kT(t){return I.lFrame.contextLView=null,t}function K(){let t=pc();for(;t!==null&&t.type===64;)t=t.parent;return t}function pc(){return I.lFrame.currentTNode}function th(){let t=I.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function dn(t,e){let n=I.lFrame;n.currentTNode=t,n.isParent=e}function hc(){return I.lFrame.isParent}function nh(){I.lFrame.isParent=!1}function rs(){let t=I.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function rh(){return I.lFrame.bindingIndex}function oh(t){return I.lFrame.bindingIndex=t}function fn(){return I.lFrame.bindingIndex++}function ih(t){let e=I.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function sh(){return I.lFrame.inI18n}function ah(t,e){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=t,ri(e)}function uh(){return I.lFrame.currentDirectiveIndex}function ri(t){I.lFrame.currentDirectiveIndex=t}function gc(){return I.lFrame.currentQueryIndex}function os(t){I.lFrame.currentQueryIndex=t}function ch(t){let e=t[w];return e.type===2?e.declTNode:e.type===1?t[pe]:null}function mc(t,e,n){if(n&_.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=ch(i),o===null||(i=i[Ft],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=I.lFrame=yc();return r.currentTNode=e,r.lView=t,!0}function is(t){let e=yc(),n=t[w];I.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function yc(){let t=I.lFrame,e=t===null?null:t.child;return e===null?vc(t):e}function vc(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Dc(){let t=I.lFrame;return I.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var wc=Dc;function ss(){let t=Dc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function lh(t){return(I.lFrame.contextLView=qp(t,I.lFrame.contextLView))[H]}function pn(){return I.lFrame.selectedIndex}function et(t){I.lFrame.selectedIndex=t}function jr(){let t=I.lFrame;return ts(t.tView,t.selectedIndex)}function LT(){I.lFrame.currentNamespace=uc}function jT(){dh()}function dh(){I.lFrame.currentNamespace=null}function Ec(){return I.lFrame.currentNamespace}var Ic=!0;function as(){return Ic}function Ve(t){Ic=t}function fh(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=ic(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function us(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[Dt]+=65536),(a>14>16&&(t[D]&3)===e&&(t[D]+=16384,uu(a,i)):uu(a,i)}var bt=-1,tt=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function hh(t){return t instanceof tt}function gh(t){return(t.flags&8)!==0}function mh(t){return(t.flags&16)!==0}function bc(t){return t!==bt}function fr(t){let e=t&32767;return t&32767}function yh(t){return t>>16}function pr(t,e){let n=yh(t),r=e;for(;n>0;)r=r[Ft],n--;return r}var oi=!0;function hr(t){let e=oi;return oi=t,e}var vh=256,Mc=vh-1,Tc=5,Dh=0,ye={};function wh(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Yt)&&(r=n[Yt]),r==null&&(r=n[Yt]=Dh++);let o=r&Mc,i=1<>Tc)]|=i}function gr(t,e){let n=xc(t,e);if(n!==-1)return n;let r=e[w];r.firstCreatePass&&(t.injectorIndex=e.length,jo(r.data,t),jo(e,null),jo(r.blueprint,null));let o=cs(t,e),i=t.injectorIndex;if(bc(o)){let s=fr(o),a=pr(o,e),u=a[w].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function jo(t,e){t.push(0,0,0,0,0,0,0,0,e)}function xc(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function cs(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=Oc(o),r===null)return bt;if(n++,o=o[Ft],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bt}function ii(t,e,n){wh(t,e,n)}function Eh(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Fe(p)&&p.type===n)return u}return null}function nt(t,e,n,r){let o=t[n],i=e.data;if(hh(o)){let s=o;s.resolving&&cp(up(i[n]));let a=hr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Y(s.injectImpl):null,l=mc(t,r,_.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&fh(n,i[n],e)}finally{c!==null&&Y(c),hr(a),s.resolving=!1,wc()}}return o}function Ch(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Yt)?t[Yt]:void 0;return typeof e=="number"?e>=0?e&Mc:bh:e}function cu(t,e,n){let r=1<>Tc)]&r)}function lu(t,e){return!(t&_.Self)&&!(t&_.Host&&e)}var Ke=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Ac(this._tNode,this._lView,e,Rr(r),n)}};function bh(){return new Ke(K(),T())}function VT(t){return Fr(()=>{let e=t.prototype.constructor,n=e[ur]||si(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[ur]||si(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function si(t){return Pu(t)?()=>{let e=si(z(t));return e&&e()}:Xe(t)}function Mh(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=Nc(i,s,n,r|_.Self,ye);if(a!==ye)return a;let u=i.parent;if(!u){let c=s[ec];if(c){let l=c.get(n,ye,r);if(l!==ye)return l}u=Oc(s),s=s[Ft]}i=u}return o}function Oc(t){let e=t[w],n=e.type;return n===2?e.declTNode:n===1?t[pe]:null}function Rc(t){return Eh(K(),t)}var Kn="__parameters__";function Th(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function Fc(t,e,n){return Fr(()=>{let r=Th(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Kn)?u[Kn]:Object.defineProperty(u,Kn,{value:[]})[Kn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function xh(t){return typeof t=="function"}function Sh(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?ls(n,e):e(n))}function Pc(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function mr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ah(t,e){let n=[];for(let r=0;r{n.push(s)};return ls(e,s=>{let a=s;ai(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Bc(o,i),n}function Bc(t,e){for(let n=0;n{e(i,r)})}}function ai(t,e,n,r){if(t=z(t),!t)return!1;let o=null,i=Xa(t),s=!i&&Re(t);if(!i&&!s){let u=t.ngModule;if(i=Xa(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)ai(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ls(i.imports,l=>{ai(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Bc(c,e)}if(!a){let c=Xe(o)||(()=>new o);e({provide:o,useFactory:c,deps:Oe},o),e({provide:jc,useValue:o,multi:!0},o),e({provide:hn,useValue:()=>M(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;fs(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function fs(t,e){for(let n of t)ku(n)&&(n=n.\u0275providers),Array.isArray(n)?fs(n,e):e(n)}var Oh=R({provide:String,useValue:R});function Hc(t){return t!==null&&typeof t=="object"&&Oh in t}function Rh(t){return!!(t&&t.useExisting)}function Fh(t){return!!(t&&t.useFactory)}function Nt(t){return typeof t=="function"}function Ph(t){return!!t.useClass}var Vr=new N("Set Injector scope."),ir={},kh={},Vo;function ps(){return Vo===void 0&&(Vo=new yr),Vo}var Pe=class{},tn=class extends Pe{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ci(e,s=>this.processProvider(s)),this.records.set(Lc,wt(void 0,this)),o.has("environment")&&this.records.set(Pe,wt(void 0,this));let i=this.records.get(Vr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(jc,Oe,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Ae(this),r=Y(void 0),o;try{return e()}finally{Ae(n),Y(r)}}get(e,n=Qt,r=_.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Ka))return e[Ka](this);r=Rr(r);let o,i=Ae(this),s=Y(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Hh(e)&&Or(e);c&&this.injectableDefInScope(c)?u=wt(ui(e),ir):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&_.Self?ps():this.parent;return n=r&_.Optional&&n===Qt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[cr]=a[cr]||[]).unshift(Q(e)),i)throw a;return Ep(a,e,"R3InjectorError",this.source)}else throw a}finally{Y(s),Ae(i)}}resolveInjectorInitializers(){let e=Ae(this),n=Y(void 0),r;try{let o=this.get(hn,Oe,_.Self);for(let i of o)i()}finally{Ae(e),Y(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Q(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(e){e=z(e);let n=Nt(e)?e:z(e&&e.provide),r=jh(e);if(!Nt(e)&&e.multi===!0){let o=this.records.get(n);o||(o=wt(void 0,ir,!0),o.factory=()=>ei(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(e,n){return n.value===ir&&(n.value=kh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Bh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=z(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ui(t){let e=Or(t),n=e!==null?e.factory:Xe(t);if(n!==null)return n;if(t instanceof N)throw new b(204,!1);if(t instanceof Function)return Lh(t);throw new b(204,!1)}function Lh(t){let e=t.length;if(e>0){let r=Ah(e,"?");throw new b(204,!1)}let n=fp(t);return n!==null?()=>n.factory(t):()=>new t}function jh(t){if(Hc(t))return wt(void 0,t.useValue);{let e=$c(t);return wt(e,ir)}}function $c(t,e,n){let r;if(Nt(t)){let o=z(t);return Xe(o)||ui(o)}else if(Hc(t))r=()=>z(t.useValue);else if(Fh(t))r=()=>t.useFactory(...ei(t.deps||[]));else if(Rh(t))r=()=>M(z(t.useExisting));else{let o=z(t&&(t.useClass||t.provide));if(Vh(t))r=()=>new o(...ei(t.deps));else return Xe(o)||ui(o)}return r}function wt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Vh(t){return!!t.deps}function Bh(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Hh(t){return typeof t=="function"||typeof t=="object"&&t instanceof N}function ci(t,e){for(let n of t)Array.isArray(n)?ci(n,e):n&&ku(n)?ci(n.\u0275providers,e):e(n)}function BT(t,e){t instanceof tn&&t.assertNotDestroyed();let n,r=Ae(t),o=Y(void 0);try{return e()}finally{Ae(r),Y(o)}}function $h(t){if(!Bu()&&!vp())throw new b(-203,!1)}function du(t,e=null,n=null,r){let o=Uc(t,e,n,r);return o.resolveInjectorInitializers(),o}function Uc(t,e=null,n=null,r,o=new Set){let i=[n||Oe,Nh(t)];return r=r||(typeof t=="object"?void 0:Q(t)),new tn(i,e||ps(),r||null,o)}var it=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return du({name:""},o,r,"");{let i=r.name??"";return du({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=Qt,e.NULL=new yr,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>M(Lc)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var li;function zc(t){li=t}function Br(){if(li!==void 0)return li;if(typeof document<"u")return document;throw new b(210,!1)}var Hr=new N("AppId",{providedIn:"root",factory:()=>Uh}),Uh="ng",hs=new N("Platform Initializer"),Se=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var HT=new N("AnimationModuleType"),gs=new N("CSP nonce",{providedIn:"root",factory:()=>Br().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function zh(t){return t.ownerDocument.body}function Gc(t){return t instanceof Function?t():t}function Zt(t){return(t??A(it)).get(Se)==="browser"}var Gh="ngSkipHydration",Wh="ngskiphydration";function Wc(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,Qh="\u200B$1\u200B";function Kh(t){return t.replace(Zh,e=>e.replace(Yh,Qh))}var Zc=new Map,Jh=0;function Xh(){return Jh++}function eg(t){Zc.set(t[kr],t)}function tg(t){Zc.delete(t[kr])}var fu="__ngContext__";function rt(t,e){De(e)?(t[fu]=e[kr],eg(e)):t[fu]=e}var ng;function ms(t,e){return ng(t,e)}function ys(t){let e=t[k];return oe(e)?e[k]:e}function Yc(t){return Kc(t[Xt])}function Qc(t){return Kc(t[de])}function Kc(t){for(;t!==null&&!oe(t);)t=t[de];return t}function Et(t,e,n,r,o){if(r!=null){let i,s=!1;oe(r)?i=r:De(r)&&(s=!0,r=r[ee]);let a=fe(r);t===0&&n!==null?o==null?tl(e,n,a):Dr(e,n,a,o||null,!0):t===1&&n!==null?Dr(e,n,a,o||null,!0):t===2?rl(e,a,s):t===3&&e.destroyNode(a),i!=null&&wg(e,t,i,n,o)}}function Jc(t,e){return t.createText(e)}function rg(t,e,n){t.setValue(e,n)}function Xc(t,e){return t.createComment(Kh(e))}function vs(t,e,n){return t.createElement(e,n)}function og(t,e){let n=e[F];mn(t,e,n,2,null,null),e[ee]=null,e[pe]=null}function ig(t,e,n,r,o,i){r[ee]=o,r[pe]=e,mn(t,r,n,1,o,i)}function sg(t,e){mn(t,e,e[F],2,null,null)}function ag(t){let e=t[Xt];if(!e)return Bo(t[w],t);for(;e;){let n=null;if(De(e))n=e[Xt];else{let r=e[$];r&&(n=r)}if(!n){for(;e&&!e[de]&&e!==t;)De(e)&&Bo(e[w],e),e=e[k];e===null&&(e=t),De(e)&&Bo(e[w],e),n=e&&e[de]}e=n}}function ug(t,e,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][de]=e),r0&&(t[n-1][de]=r[de]);let i=mr(t,$+e);og(r[w],r);let s=i[ve];s!==null&&s.detachView(i[w]),r[k]=null,r[de]=null,r[D]&=-129}return r}function $r(t,e){if(!(e[D]&256)){let n=e[F];e[Je]&&Za(e[Je]),n.destroyNode&&mn(t,e,n,3,null,null),ag(e)}}function Bo(t,e){if(!(e[D]&256)){e[D]&=-129,e[D]|=256,dg(t,e),lg(t,e),e[w].type===1&&e[F].destroy();let n=e[un];if(n!==null&&oe(e[k])){n!==e[k]&&el(n,e);let r=e[ve];r!==null&&r.detachView(t)}tg(e)}}function lg(t,e){let n=t.cleanup,r=e[Jt];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[Jt]=null);let o=e[Ne];if(o!==null){e[Ne]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===we.None||i===we.Emulated)return null}return ne(r,n)}}function Dr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function tl(t,e,n){t.appendChild(e,n)}function pu(t,e,n,r,o){r!==null?Dr(t,e,n,r,o):tl(t,e,n)}function hg(t,e,n,r){t.removeChild(e,n,r)}function Ds(t,e){return t.parentNode(e)}function gg(t,e){return t.nextSibling(e)}function mg(t,e,n){return vg(t,e,n)}function yg(t,e,n){return t.type&40?ne(t,n):null}var vg=yg,hu;function ws(t,e,n,r){let o=fg(t,r,e),i=e[F],s=r.parent||e[pe],a=mg(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return Jn}function gu(t){return Ig()?.createScriptURL(t)||t}var wr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lu})`}};function Ur(t){return t instanceof wr?t.changingThisBreaksApplicationSecurity:t}function Is(t,e){let n=Cg(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Lu})`)}return n===e}function Cg(t){return t instanceof wr&&t.getTypeName()||null}var bg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function al(t){return t=String(t),t.match(bg)?t:"unsafe:"+t}var zr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(zr||{});function Mg(t){let e=ul();return e?e.sanitize(zr.URL,t)||"":Is(t,"URL")?Ur(t):al(Mt(t))}function Tg(t){let e=ul();if(e)return gu(e.sanitize(zr.RESOURCE_URL,t)||"");if(Is(t,"ResourceURL"))return gu(Ur(t));throw new b(904,!1)}function xg(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?Tg:Mg}function $T(t,e,n){return xg(e,n)(t)}function ul(){let t=T();return t&&t[St].sanitizer}function Sg(){let t=new at;return A(Se)==="browser"&&(t.store=_g(Br(),A(Hr))),t}var at=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function Lg(t,e,n=!1){let r=t.getAttribute(Ho);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=n?o:i?`|${i}`:"",a={};if(r!==""){let c=e.get(at,null,{optional:!0});c!==null&&(a=c.get(fl,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,Gr(u,0,t.nextSibling)),s?t.setAttribute(Ho,s):t.removeAttribute(Ho),u}function jg(){pl=Lg}function bs(t,e,n=!1){return pl(t,e,n)}function Vg(t){let e=t._lView;return e[w].type===2?null:(rc(e)&&(e=e[B]),e)}function Bg(t){return t.textContent?.replace(/\s/gm,"")}function Hg(t){let e=Br(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Bg(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(e.createTextNode("")):i.remove()}function Gr(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function pi(t,e){return t.segmentHeads?.[e]??null}function $g(t,e){let n=t.data,r=n[Ag]?.[e]??null;return r===null&&n[Cs]?.[e]&&(r=Ms(t,e)),r}function hl(t,e){return t.data[Cs]?.[e]??null}function Ms(t,e){let n=hl(t,e)??[],r=0;for(let o of n)r+=o[Er]*(o[dl]??1);return r}function Wr(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[Fg];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var hi=class{},Ir=class{};function Ug(t){let e=Error(`No component factory found for ${Q(t)}.`);return e[zg]=t,e}var zg="ngComponent";var gi=class{resolveComponentFactory(e){throw Ug(e)}},qr=(()=>{let e=class e{};e.NULL=new gi;let t=e;return t})();function Gg(){return Pt(K(),T())}function Pt(t,e){return new ut(ne(t,e))}var ut=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Gg;let t=e;return t})();function Wg(t){return t instanceof ut?t.nativeElement:t}var rn=class{},Ts=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>qg();let t=e;return t})();function qg(){let t=T(),e=K(),n=je(e.index,t);return(De(n)?n:t)[F]}var Zg=(()=>{let e=class e{};e.\u0275prov=O({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),on=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Yg=new on("17.0.4"),$o={};function xs(t){let e=L(null);try{return t()}finally{L(e)}}function gl(t){return Ss(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Qg(t,e){if(Array.isArray(t))for(let n=0;ne,yi=class{constructor(e){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=e||Kg}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,o),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new vi(n,r),i,o)),e}_verifyReinsertion(e,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let o=n===null?this._itHead:n._next;return e._next=o,e._prev=n,o===null?this._itTail=e:o._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new Cr),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Cr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},vi=class{constructor(e,n){this.item=e,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}},Di=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Cr=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new Di,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,o=this.map.get(r);return o?o.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function mu(t,e,n){let r=t.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Ii(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},Ii=class{constructor(e){this.key=e,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 yu(){return new _s([new mi])}var _s=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||yu()),deps:[[e,new kc,new ds]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new b(901,!1)}};e.\u0275prov=O({token:e,providedIn:"root",factory:yu});let t=e;return t})();function vu(){return new As([new wi])}var As=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||vu()),deps:[[e,new kc,new ds]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new b(901,!1)}};e.\u0275prov=O({token:e,providedIn:"root",factory:vu});let t=e;return t})();function br(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(fe(i)),oe(i)&&Jg(i,r);let s=n.type;if(s&8)br(t,e,n.child,r);else if(s&32){let a=ms(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=nl(e,n);if(Array.isArray(a))r.push(...a);else{let u=ys(e[te]);br(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Jg(t,e){for(let n=$;n{Lr(t.lView)},consumerOnSignalRead(){this.lView[Je]=this}}),rm="ngOriginalError";function Uo(t){return t[rm]}var Ee=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Uo(e);for(;n&&Uo(n);)n=Uo(n);return n||null}},Xn=new N(""),yl=!1,vl=new N("",{providedIn:"root",factory:()=>yl});var _e={};function UT(t){Dl(G(),T(),pn()+t,!1)}function Dl(t,e,n,r){if(!r)if((e[D]&3)===3){let i=t.preOrderCheckHooks;i!==null&&nr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&rr(e,i,0,n)}et(n)}function J(t,e=_.Default){let n=T();if(n===null)return M(t,e);let r=K();return Ac(r,n,z(t),e)}function om(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rB&&Dl(t,e,B,!1),me(s?2:0,o),n(r,o)}finally{et(i),me(s?3:1,o)}}function Il(t,e,n){if(nc(e)){let r=L(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function cm(t){qc(t)?ol(t):Hg(t)}function lm(){Tl=cm}function dm(t,e,n,r){let o=Pl(e);o.push(n),t.firstCreatePass&&kl(t).push(r,o.length-1)}function fm(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return ln()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Du(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?wu(n,e,o,i):r.hasOwnProperty(o)&&wu(n,e,r[o],i)}return n}function wu(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function pm(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function vm(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;cn(n)&&Mm(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||gr(n,e),rt(r,e);let s=n.initialInputs;for(let a=o;a-1&&(nn(e,r),mr(n,r))}this._attachedToViewContainer=!1}$r(this._lView[w],this._lView)}onDestroy(e){dc(this._lView,e)}markForCheck(){Rs(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){lc(this._lView),this._lView[D]|=128}detectChanges(){Am(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,sg(this._lView[w],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=e}},zl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Pm;let t=e;return t})();function Pm(t){return km(K(),T(),(t&16)===16)}function km(t,e,n){if(cn(t)&&!n){let r=je(t.index,e);return new ot(r,r)}else if(t.type&47){let r=e[te];return new ot(r,e)}return null}var Gl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Lm,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Mi=class extends Gl{constructor(e){super(),this._lView=e}onDestroy(e){return dc(this._lView,e),()=>Zp(this._lView,e)}};function Lm(){return new Mi(T())}var Eu=new Set;function Be(t){Eu.has(t)||(Eu.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var Ti=class extends q{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=zo(i),o&&(o=zo(o)),s&&(s=zo(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof V&&e.add(a),a}};function zo(t){return e=>{setTimeout(t,void 0,e)}}var Qe=Ti;function Iu(...t){}function jm(){let t=typeof le.requestAnimationFrame=="function",e=le[t?"requestAnimationFrame":"setTimeout"],n=le[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var j=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Qe(!1),this.onMicrotaskEmpty=new Qe(!1),this.onStable=new Qe(!1),this.onError=new Qe(!1),typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=jm().nativeRequestAnimationFrame,Hm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new b(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Vm,Iu,Iu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Vm={};function Fs(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Bm(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(le,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,xi(t),t.isCheckStableRunning=!0,Fs(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),xi(t))}function Hm(t){let e=()=>{Bm(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if($m(a))return n.invokeTask(o,i,s,a);try{return Cu(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),bu(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Cu(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),bu(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,xi(t),Fs(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function xi(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Cu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function bu(t){t._nesting--,Fs(t)}var Wl=new N("",{providedIn:"root",factory:ql});function ql(){let t=A(j),e=!0,n=new E(o=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(e),o.complete()})}),r=new E(o=>{let i;t.runOutsideAngular(()=>{i=t.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,o.next(!0))})})});let s=t.onUnstable.subscribe(()=>{j.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return Mo(n,r.pipe(Zn()))}function $m(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var It=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(It||{}),Um={destroy(){}};function zm(t,e){!e&&$h(zm);let n=e?.injector??A(it);if(!Zt(n))return Um;Be("NgAfterNextRender");let r=n.get(Zl),o=r.handler??=new _i,i=e?.phase??It.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(Gl).onDestroy(s),u=new Si(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var Si=class{constructor(e,n,r){this.phase=n,this.callbackFn=r,this.zone=e.get(j),this.errorHandler=e.get(Ee,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},_i=class{constructor(){this.executingCallbacks=!1,this.buckets={[It.EarlyRead]:new Set,[It.Write]:new Set,[It.MixedReadWrite]:new Set,[It.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new b(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let n of e)n.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Zl=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Gm(t,e){let n=je(e,t),r=n[w];Wm(r,n);let o=n[ee];o!==null&&n[Te]===null&&(n[Te]=bs(o,n[xt])),Ps(r,n,n[H])}function Wm(t,e){for(let n=e.length;n0&&il(t,n,i.join(" "))}}function ey(t,e,n){let r=t.projection=[];for(let o=0;o=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=Kt(o.hostAttrs,n=Kt(n,o.hostAttrs))}}function er(t){return t===Tt?{}:t===Oe?[]:t}function iy(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function sy(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function ay(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function uy(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}t.inputTransforms=n}function Yl(t,e,n){return t[e]=n}function ke(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function Ql(t,e,n,r){let o=ke(t,e,n);return ke(t,e+1,r)||o}function cy(t,e,n,r){let o=T(),i=fn();if(ke(o,i,e)){let s=G(),a=jr();Nl(a,o,t,e,n,r)}return cy}function ks(t,e,n,r){return ke(t,fn(),n)?e+Mt(n)+r:_e}function ly(t,e,n,r,o,i){let s=rh(),a=Ql(t,s,n,o);return ih(2),a?e+Mt(n)+r+Mt(o)+i:_e}function dy(t,e,n,r,o,i){let s=T(),a=ks(s,e,n,r);if(a!==_e){let u=jr();Nl(u,s,t,a,o,i)}return dy}function fy(t,e,n){let r=T(),o=fn();if(ke(r,o,e)){let i=G(),s=jr();xl(i,s,r,t,e,r[F],n,!1)}return fy}function Tu(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";Os(t,n,i[s],s,r)}function Kl(t){let e=t[en]??[],r=t[k][F];for(let o of e)py(o,r);t[en]=Oe}function py(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[Er];for(;n0&&(i.firstChild=t,t=Jr(r[Er],t)),n.push(i)}return[t,n]}var Xl=(t,e)=>null;function Ey(t,e){let n=t[en];return!e||n===null||n.length===0?null:n[0].data[Og]===e?n.shift():(Kl(t),null)}function Iy(){Xl=Ey}function sn(t,e){return Xl(t,e)}var Ri=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),o=Math.max(e,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(e,n){this.attach(n,this.detach(e))}};function Wo(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function Cy(t,e,n){let r,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let u=t.at(i),c=e[i],l=Wo(i,u,i,c,n);if(l!==0){l<0&&t.updateValue(i,c),i++;continue}let d=t.at(s),f=e[a],p=Wo(s,d,a,f,n);if(p!==0){p<0&&t.updateValue(s,f),s--,a--;continue}let h=n(i,u),v=n(s,d),x=n(i,c);if(Object.is(x,v)){let C=n(a,f);Object.is(C,h)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,c),i++;continue}if(r??=new xr,o??=Su(t,i,s,n),Fi(t,r,i,x))t.updateValue(i,c),i++,s++;else if(o.has(x))r.set(h,t.detach(i)),s--;else{let C=t.create(i,e[i]);t.attach(i,C),i++,s++}}for(;i<=a;)xu(t,r,n,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=t.at(i),l=u.value,d=Wo(i,c,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{r??=new xr,o??=Su(t,i,s,n);let f=n(i,l);if(Fi(t,r,i,f))t.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,t.detach(i)),s--}}}for(;!u.done;)xu(t,r,n,t.length,u.value),u=a.next()}for(;i<=s;)t.destroy(t.detach(s--));r?.forEach(a=>{t.destroy(a)})}function Fi(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function xu(t,e,n,r,o){if(Fi(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Su(t,e,n,r){let o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}var xr=class{constructor(){this.map=new Map}has(e){let n=this.map.get(e);return n!==void 0&&n.length>0}delete(e){let n=this.map.get(e);return n!==void 0?(n.shift(),!0):!1}get(e){let n=this.map.get(e);return n!==void 0&&n.length>0?n[0]:void 0}set(e,n){if(!this.map.has(e)){this.map.set(e,[n]);return}this.map.get(e)?.push(n)}forEach(e){for(let[n,r]of this.map)for(let o of r)e(o,n)}};function Xr(t,e,n,r){let o=e.tView,s=t[D]&4096?4096:16,a=Zr(t,o,n,s,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),u=t[e.index];a[un]=u;let c=t[ve];return c!==null&&(a[ve]=c.createEmbeddedView(o)),Ps(o,a,n),a}function ed(t,e){let n=$+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=by;let t=e;return t})();function by(){let t=K();return rd(t,T())}var My=yn,nd=class extends My{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Pt(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){let e=cs(this._hostTNode,this._hostLView);if(bc(e)){let n=pr(e,this._hostLView),r=fr(e),o=n[w].data[r+8];return new Ke(o,n)}else return new Ke(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=_u(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-$}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=sn(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,an(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!xh(e),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?e:new Ot(Re(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let v=(s?c:this.parentInjector).get(Pe,null);v&&(i=v)}let l=Re(u.componentType??{}),d=sn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,an(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(Gp(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[k],c=new nd(u,u[pe],u[k]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return eo(s,o,i,r),e.attachToViewContainerRef(),Pc(qo(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=_u(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=nn(this._lContainer,n);r&&(mr(qo(this._lContainer),n),$r(r[w],r))}detach(e){let n=this._adjustIndex(e,-1),r=nn(this._lContainer,n);return r&&mr(qo(this._lContainer),n)!=null?new ot(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function _u(t){return t[lr]}function qo(t){return t[lr]||(t[lr]=[])}function rd(t,e){let n,r=e[t.index];return oe(r)?n=r:(n=Rl(r,e,null,t),e[t.index]=n,Qr(e,n)),od(n,e,t,r),new nd(n,t,e)}function Ty(t,e){let n=t[F],r=n.createComment(""),o=ne(e,t),i=Ds(n,o);return Dr(n,i,r,gg(n,o),!1),r}var od=id,Ls=(t,e,n)=>!1;function xy(t,e,n){return Ls(t,e,n)}function id(t,e,n,r){if(t[xe])return;let o;n.type&8?o=fe(r):o=Ty(e,n),t[xe]=o}function Sy(t,e,n){if(t[xe]&&t[en])return!0;let r=n[Te],o=e.index-B;if(!r||qh(e)||Wr(r,o))return!1;let s=pi(r,o),a=r.data[Cs]?.[o],[u,c]=wy(s,a);return t[xe]=u,t[en]=c,!0}function _y(t,e,n,r){Ls(t,n,e)||id(t,e,n,r)}function Ay(){od=_y,Ls=Sy}function Ny(t,e,n,r,o,i,s,a,u){let c=e.consts,l=Yr(e,t,4,s||null,dr(c,a));Sl(e,n,l,dr(c,u)),us(e,l);let d=l.tView=Ns(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Pi(t,e,n,r,o,i,s,a){let u=T(),c=G(),l=t+B,d=c.firstCreatePass?Ny(l,c,u,e,n,r,o,i,s):c.data[l];dn(d,!1);let f=sd(c,u,d,t);as()&&ws(c,u,f,d),rt(f,u);let p=Rl(f,u,f,d);return u[l]=p,Qr(u,p),xy(p,d,u),es(d)&&Cl(c,u,d),s!=null&&bl(u,d,a),Pi}var sd=ad;function ad(t,e,n,r){return Ve(!0),e[F].createComment("")}function Oy(t,e,n,r){let o=e[Te],i=!o||ln()||Wr(o,r);if(Ve(i),i)return ad(t,e,n,r);let s=o.data[Ng]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Kr(o,t,e,n);Gr(o,r,a);let u=Ms(o,r);return Jr(u,a)}function Ry(){sd=Oy}function GT(t,e,n){Be("NgControlFlow");let r=T(),o=fn(),i=Vi(r,B+t),s=0;if(ke(r,o,e)){let a=L(null);try{if(td(i,s),e!==-1){let u=Bi(r[w],B+e),c=sn(i,u.tView.ssrId),l=Xr(r,u,n,{dehydratedView:c});eo(i,l,s,an(u,c))}}finally{L(a)}}else{let a=ed(i,s);a!==void 0&&(a[H]=n)}}var ki=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function WT(t,e){return e}var Li=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function qT(t,e,n,r,o,i,s,a,u,c,l){Be("NgControlFlow");let d=u!==void 0,f=T(),p=a?s.bind(f[te][H]):s,h=new Li(d,p);f[B+t]=h,Pi(t+1,e,n,r,o,i),d&&Pi(t+2,u,c,l)}var ji=class extends Ri{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-$}at(e){return this.getLView(e)[H].$implicit}attach(e,n){let r=n[Te];this.needsIndexUpdate||=e!==this.length,eo(this.lContainer,n,e,an(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Fy(this.lContainer,e)}create(e,n){let r=sn(this.lContainer,this.templateTNode.tView.ssrId);return Xr(this.hostLView,this.templateTNode,new ki(this.lContainer,n,e),{dehydratedView:r})}destroy(e){$r(e[w],e)}updateValue(e,n){this.getLView(e)[H].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Ve(!0),vs(r,o,Ec()));function jy(t,e,n,r,o,i){let s=e[Te],a=!s||ln()||Wr(s,i);if(Ve(a),a)return vs(r,o,Ec());let u=Kr(s,t,e,n);return hl(s,i)&&Gr(s,i,u.nextSibling),s&&(Wc(n)||qc(u))&&cn(n)&&(Xp(n),ol(u)),u}function Vy(){ld=jy}var By=(t,e,n,r)=>(Ve(!0),Xc(e[F],""));function Hy(t,e,n,r){let o,i=e[Te],s=!i||ln();if(Ve(s),s)return Xc(e[F],"");let a=Kr(i,t,e,n),u=$g(i,r);return Gr(i,r,a),o=Jr(u,a),o}function $y(){By=Hy}function YT(){return T()}var Ye=void 0;function Uy(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var zy=["en",[["a","p"],["AM","PM"],Ye],[["AM","PM"],Ye,Ye],[["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"]],Ye,[["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"]],Ye,[["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}",Ye,"{1} 'at' {0}",Ye],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Uy],Zo={};function dd(t){let e=Gy(t),n=Au(e);if(n)return n;let r=e.split("-")[0];if(n=Au(r),n)return n;if(r==="en")return zy;throw new b(701,!1)}function fd(t){return dd(t)[js.PluralCase]}function Au(t){return t in Zo||(Zo[t]=le.ng&&le.ng.common&&le.ng.common.locales&&le.ng.common.locales[t]),Zo[t]}var js=function(t){return 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}(js||{});function Gy(t){return t.toLowerCase().replace(/_/g,"-")}var Sr="en-US";var Wy=Sr;function qy(t){lp(t,"Expected localeId to be defined"),typeof t=="string"&&(Wy=t.toLowerCase().replace(/_/g,"-"))}function to(t){return!!t&&typeof t.then=="function"}function Vs(t){return!!t&&typeof t.subscribe=="function"}function Zy(t,e,n,r){let o=T(),i=G(),s=K();return Qy(i,o,o[F],s,t,e,r),Zy}function Yy(t,e,n,r){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Qy(t,e,n,r,o,i,s){let a=es(r),c=t.firstCreatePass&&kl(t),l=e[H],d=Pl(e),f=!0;if(r.type&3||s){let v=ne(r,e),x=s?s(v):v,C=d.length,P=s?Ie=>s(fe(Ie[r.index])):r.index,W=null;if(!s&&a&&(W=Yy(t,e,o,r.index)),W!==null){let Ie=W.__ngLastListenerFn__||W;Ie.__ngNextListenerFn__=i,W.__ngLastListenerFn__=i,f=!1}else{i=Ou(r,e,l,i,!1);let Ie=n.listen(x,o,i);d.push(i,Ie),c&&c.push(o,P,C,C+1)}}else i=Ou(r,e,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let v=h.length;if(v)for(let x=0;x-1?je(t.index,e):e;Rs(a);let u=Nu(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Nu(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function QT(t=1){return lh(t)}function Ky(t,e,n,r,o){let i=T(),s=ks(i,e,n,r);if(s!==_e){let a=G(),u=jr();xl(a,u,i,t,s,i[F],o,!1)}return Ky}function Jy(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function KT(t,e=""){let n=T(),r=G(),o=t+B,i=r.firstCreatePass?Yr(r,o,1,e,null):r.data[o],s=pd(r,n,i,e,t);n[o]=s,as()&&ws(r,n,s,i),dn(i,!1)}var pd=(t,e,n,r,o)=>(Ve(!0),Jc(e[F],r));function Xy(t,e,n,r,o){let i=e[Te],s=!i||ln()||Wr(i,o);return Ve(s),s?Jc(e[F],r):Kr(i,t,e,n)}function ev(){pd=Xy}function tv(t){return hd("",t,""),tv}function hd(t,e,n){let r=T(),o=ks(r,t,e,n);return o!==_e&&jl(r,pn(),o),hd}function nv(t,e,n,r,o){let i=T(),s=ly(i,t,e,n,r,o);return s!==_e&&jl(i,pn(),s),nv}function rv(t,e,n){let r=G();if(r.firstCreatePass){let o=Fe(t);Hi(n,r.data,r.blueprint,o,!0),Hi(e,r.data,r.blueprint,o,!1)}}function Hi(t,e,n,r,o){if(t=z(t),Array.isArray(t))for(let i=0;i>20;if(Nt(t)||!t.multi){let p=new tt(c,o,J),h=Qo(u,e,o?l:l+f,d);h===-1?(ii(gr(a,s),i,u),Yo(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=Qo(u,e,l+f,d),h=Qo(u,e,l,l+f),v=p>=0&&n[p],x=h>=0&&n[h];if(o&&!x||!o&&!v){ii(gr(a,s),i,u);let C=sv(o?iv:ov,n.length,o,r,c);!o&&x&&(n[h].providerFactory=C),Yo(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=gd(n[o?h:p],c,!o&&r);Yo(i,t,p>-1?p:h,C)}!o&&r&&x&&n[h].componentProviders++}}}function Yo(t,e,n,r){let o=Nt(e),i=Ph(e);if(o||i){let u=(i?z(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function gd(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Qo(t,e,n,r){for(let o=n;o{n.providersResolver=(r,o)=>rv(r,o?o(t):t,e)}}var Le=class{},Ui=class{};var zi=class extends Le{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Mr(this);let o=Ku(e);this._bootstrapComponents=Gc(o.bootstrap),this._r3Injector=Uc(e,n,[{provide:Le,useValue:this},{provide:qr,useValue:this.componentFactoryResolver},...r],Q(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Gi=class extends Ui{constructor(e){super(),this.moduleType=e}create(e){return new zi(this.moduleType,e,[])}};var _r=class extends Le{constructor(e){super(),this.componentFactoryResolver=new Mr(this),this.instance=null;let n=new tn([...e.providers,{provide:Le,useValue:this},{provide:qr,useValue:this.componentFactoryResolver}],e.parent||ps(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function av(t,e,n=null){return new _r({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var uv=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Vc(!1,r.type),i=o.length>0?av([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(M(Pe))});let t=e;return t})();function XT(t){Be("NgStandalone"),t.getStandaloneInjector=e=>e.get(uv).getOrCreateStandaloneInjector(t)}function ex(t,e,n,r){return yd(T(),rs(),t,e,n,r)}function tx(t,e,n,r,o){return cv(T(),rs(),t,e,n,r,o)}function md(t,e){let n=t[e];return n===_e?void 0:n}function yd(t,e,n,r,o,i){let s=e+n;return ke(t,s,o)?Yl(t,s+1,i?r.call(i,o):r(o)):md(t,s+1)}function cv(t,e,n,r,o,i,s){let a=e+n;return Ql(t,a,o,i)?Yl(t,a+2,s?r.call(s,o,i):r(o,i)):md(t,a+2)}function nx(t,e){let n=G(),r,o=t+B;n.firstCreatePass?(r=lv(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Xe(r.type,!0)),s,a=Y(J);try{let u=hr(!1),c=i();return hr(u),Jy(n,T(),o,c),c}finally{Y(a)}}function lv(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function rx(t,e,n){let r=t+B,o=T(),i=Up(o,r);return dv(o,r)?yd(o,rs(),e,i.transform,n,i):i.transform(n)}function dv(t,e){return t[w].data[e].pure}function fv(){return this._results[Symbol.iterator]()}var Wi=class t{get changes(){return this._changes||(this._changes=new Qe)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=fv)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=_h(e);(this._changesDetected=!Sh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},Rt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=gv;let t=e;return t})(),pv=Rt,hv=class extends pv{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=Xr(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new ot(o)}};function gv(){return Bs(K(),T())}function Bs(t,e){return t.type&4?new hv(e,t,Pt(t,e)):null}var qi=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Zi=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=$;d{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=A(Iv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(to(s))r.push(s);else if(Vs(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Cd=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Cv(){return typeof $localize<"u"&&$localize.locale||Sr}var vn=new N("LocaleId",{providedIn:"root",factory:()=>A(vn,_.Optional|_.SkipSelf)||Cv()});var bd=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Vt(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ji=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},cx=(()=>{let e=class e{compileModuleSync(r){return new Gi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Ku(r),s=Gc(i.declarations).reduce((a,u)=>{let c=Re(u);return c&&a.push(new Ot(c)),a},[]);return new Ji(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Md=new N("");var ar=null;var Td=new N("PlatformDestroyListeners"),no=new N("appBootstrapListener");function bv(){Ya(()=>{throw new b(600,!1)})}function Mv(t){return t.isBoundToModule}function Tv(t=[]){if(ar)return ar;let e=Sv(t);return ar=e,bv(),xv(e),e}function xv(t){t.get(hs,null)?.forEach(n=>n())}function xd(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=Tv(r),i=[Fv(),...n||[]],a=new _r({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(j);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ee,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Td);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Av(c,u,()=>{let p=a.get(Id);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(vn,Sr);qy(h||Sr);let v=a.get(kt);return e!==void 0&&v.bootstrap(e),v})})})}catch(e){return Promise.reject(e)}}function Sv(t=[],e){return it.create({name:e,providers:[{provide:Vr,useValue:"platform"},{provide:Td,useValue:new Set([()=>ar=null])},...t]})}function _v(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function Av(t,e,n){try{let r=n();return to(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var kt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=A(Sd),this.zoneIsStable=A(Wl),this.componentTypes=[],this.components=[],this.isStable=A(bd).hasPendingTasks.pipe(Ht(r=>r?Gt(!1):this.zoneIsStable),So(),Zn()),this._injector=A(Pe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Ir;if(!this._injector.get(Id).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&kp(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new b(405,!1)}let a;i?a=r:a=this._injector.get(qr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Mv(a)?void 0:this._injector.get(Le),c=o||a.selector,l=a.create(it.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Md,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ko(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new b(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Ko(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(no,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Ko(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new b(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ko(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var Sd=new N("",{providedIn:"root",factory:()=>A(Ee).handleError.bind(void 0)});function Nv(){let t=A(j),e=A(Ee);return n=>t.runOutsideAngular(()=>e.handleError(n))}var Ov=(()=>{let e=class e{constructor(){this.zone=A(j),this.applicationRef=A(kt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Rv(t){return[{provide:j,useFactory:t},{provide:hn,multi:!0,useFactory:()=>{let e=A(Ov,{optional:!0});return()=>e.initialize()}},{provide:Sd,useFactory:Nv},{provide:Wl,useFactory:ql}]}function Fv(t){let e=Rv(()=>new j(_v(t)));return gn([[],e])}var tr;function Hs(t){tr??=new WeakMap;let e=tr.get(t);if(e)return e;let n=t.isStable.pipe(_o(r=>r)).toPromise().then(()=>{});return tr.set(t,n),t.onDestroy(()=>tr?.delete(t)),n}function lx(){return!1}var Ru=!1;function Pv(){Ru||(Ru=!0,jg(),Vy(),ev(),$y(),Ry(),Ay(),Iy(),lm())}function kv(t,e){return Hs(t)}function _d(){return gn([{provide:Xn,useFactory:()=>{let t=!0;return Zt()&&(t=!!A(at,{optional:!0})?.get(fl,null)),t&&Be("NgHydration"),t}},{provide:hn,useValue:()=>{Zt()&&A(Xn)&&(Lv(),Pv())},multi:!0},{provide:vl,useFactory:()=>Zt()&&A(Xn)},{provide:no,useFactory:()=>{if(Zt()&&A(Xn)){let t=A(kt),e=A(it);return()=>{kv(t,e).then(()=>{j.assertInAngularZone(),hy(t)})}}return()=>{}},multi:!0}])}function Lv(){let t=Br(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===kg){e=n;break}if(!e)throw new b(-507,!1)}function jv(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function dx(t){let e=Re(t);if(!e)return null;let n=new Ot(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Us=null;function jt(){return Us}function Fd(t){Us||(Us=t)}var ro=class{},ie=new N("DocumentToken"),Pd=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:()=>(()=>A(Hv))(),providedIn:"platform"});let t=e;return t})();var Hv=(()=>{let e=class e extends Pd{constructor(){super(),this._doc=A(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return jt().getBaseHref(this._doc)}onPopState(r){let o=jt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=jt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function kd(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function Nd(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function ct(t){return t&&t[0]!=="?"?"?"+t:t}var qs=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:()=>(()=>A(Uv))(),providedIn:"root"});let t=e;return t})(),$v=new N("appBaseHref"),Uv=(()=>{let e=class e extends qs{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??A(ie).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return kd(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+ct(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ct(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ct(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(o){return new(o||e)(M(Pd),M($v,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zv=(()=>{let e=class e{constructor(r){this._subject=new Qe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=qv(Nd(Od(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+ct(o))}normalize(r){return e.stripTrailingSlash(Wv(this._basePath,Od(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ct(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ct(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};e.normalizeQueryParams=ct,e.joinWithSlash=kd,e.stripTrailingSlash=Nd,e.\u0275fac=function(o){return new(o||e)(M(qs))},e.\u0275prov=O({token:e,factory:()=>Gv(),providedIn:"root"});let t=e;return t})();function Gv(){return new zv(M(qs))}function Wv(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Od(t){return t.replace(/\/index.html$/,"")}function qv(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var Lt=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(Lt||{});var Zv=fd;var Ld=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:function(o){let i=null;return o?i=new o:i=(s=>new Qv(s))(M(vn)),i},providedIn:"root"});let t=e;return t})();function Yv(t,e,n,r){let o=`=${t}`;if(e.indexOf(o)>-1||(o=n.getPluralCategory(t,r),e.indexOf(o)>-1))return o;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}var Qv=(()=>{let e=class e extends Ld{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(Zv(o||this.locale)(r)){case Lt.Zero:return"zero";case Lt.One:return"one";case Lt.Two:return"two";case Lt.Few:return"few";case Lt.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(M(vn))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})();function jd(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var $s=/\s+/,Rd=[],Nx=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Rd,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split($s):Rd}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split($s):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split($s).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(J(_s),J(As),J(ut),J(Ts))},e.\u0275dir=Pr({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var zs=class{constructor(e,n){this._viewContainerRef=e,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}};var Kv=(()=>{let e=class e{constructor(r){this._localization=r,this._caseViews={}}set ngPlural(r){this._updateView(r)}addCase(r,o){this._caseViews[r]=o}_updateView(r){this._clearViews();let o=Object.keys(this._caseViews),i=Yv(r,o,this._localization);this._activateView(this._caseViews[i])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(r){r&&(this._activeView=r,this._activeView.create())}};e.\u0275fac=function(o){return new(o||e)(J(Ld))},e.\u0275dir=Pr({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),Ox=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new zs(i,o))}};e.\u0275fac=function(o){return new(o||e)(Rc("ngPluralCase"),J(Rt),J(yn),J(Kv,1))},e.\u0275dir=Pr({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function Jv(t,e){return new b(2100,!1)}var Gs=class{createSubscription(e,n){return xs(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){xs(()=>e.unsubscribe())}},Ws=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},Xv=new Ws,eD=new Gs,Rx=(()=>{let e=class e{constructor(r){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){return this._obj?r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue:(r&&this._subscribe(r),this._latestValue)}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(to(r))return Xv;if(Vs(r))return eD;throw Jv(e,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(J(zl,16))},e.\u0275pipe=Zu({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Zs="browser",tD="server";function Fx(t){return t===Zs}function Ys(t){return t===tD}var oo=class{};var so=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let o=(e.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=e.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Gd=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gd||{}),Qs=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new so,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var ao=class t extends Qs{constructor(e={}){super(e),this.type=Gd.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var rD=new N("");var Vd="b",Bd="h",Hd="s",$d="st",Ud="u",zd="rt",io=new N(""),oD=["GET","HEAD"];function iD(t,e){let l=A(io),{isCacheActive:n}=l,r=aa(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!oD.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=A(at),a=aD(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[Vd]:d,[zd]:f,[Bd]:p,[Hd]:h,[$d]:v,[Ud]:x}=u,C=d;switch(f){case"arraybuffer":C=new TextEncoder().encode(d).buffer;break;case"blob":C=new Blob([d]);break}let P=new so(p);return Gt(new ao({body:C,headers:P,status:h,statusText:v,url:x}))}return e(t).pipe(kn(d=>{d instanceof ao&&s.set(a,{[Vd]:d.body,[Bd]:sD(d.headers,c),[Hd]:d.status,[$d]:d.statusText,[Ud]:d.url||"",[zd]:t.responseType})}))}function sD(t,e){if(!e)return{};let n={};for(let r of e){let o=t.getAll(r);o!==null&&(n[r]=o)}return n}function aD(t){let{params:e,method:n,responseType:r,url:o}=t,i=e.keys().sort().map(u=>`${u}=${e.getAll(u)}`).join("&"),s=n+"."+r+"."+o+"?"+i,a=uD(s);return a}function uD(t){let e=0;for(let n of t)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483647+1,e.toString()}function Wd(t){return[{provide:io,useFactory:()=>(Be("NgHttpTransferCache"),he({isCacheActive:!0},t))},{provide:rD,useValue:iD,multi:!0,deps:[at,io]},{provide:no,multi:!0,useFactory:()=>{let e=A(kt),n=A(io);return()=>{Hs(e).then(()=>{n.isCacheActive=!1})}}}]}var Xs=class extends ro{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ea=class t extends Xs{static makeCurrent(){Fd(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=cD();return n==null?null:lD(n)}resetBaseElement(){Dn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return jd(document.cookie,e)}},Dn=null;function cD(){return Dn=Dn||document.querySelector("base"),Dn?Dn.getAttribute("href"):null}var uo;function lD(t){uo=uo||document.createElement("a"),uo.setAttribute("href",t);let e=uo.pathname;return e.charAt(0)==="/"?e:`/${e}`}var dD=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),ta=new N("EventManagerPlugins"),Qd=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new b(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(M(ta),M(j))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),co=class{constructor(e){this._doc=e}},Ks="ng-app-id",Kd=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ys(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Ks}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Ks),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Ks,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(M(ie),M(Hr),M(gs,8),M(Se))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),Js={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/"},ra=/%COMP%/g,Jd="%COMP%",fD=`_nghost-${Jd}`,pD=`_ngcontent-${Jd}`,hD=!0,gD=new N("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>hD});function mD(t){return pD.replace(ra,t)}function yD(t){return fD.replace(ra,t)}function Xd(t,e){return e.map(n=>n.replace(ra,t))}var qd=(()=>{let e=class e{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ys(u),this.defaultRenderer=new wn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===we.ShadowDom&&(o=He(he({},o),{encapsulation:we.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof lo?i.applyToHost(r):i instanceof En&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case we.Emulated:s=new lo(c,l,o,this.appId,d,a,u,f);break;case we.ShadowDom:return new na(c,l,r,o,a,u,this.nonce,f);default:s=new En(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(M(Qd),M(Kd),M(Hr),M(gD),M(ie),M(Se),M(j),M(gs))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),wn=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Js[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(Zd(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Zd(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new b(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=Js[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Js[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(st.DashCase|st.Important)?e.style.setProperty(n,r,o&st.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&st.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=jt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function Zd(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var na=class extends wn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Xd(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},En=class extends wn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Xd(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},lo=class extends En{constructor(e,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(e,n,r,i,s,a,u,c),this.contentAttr=mD(c),this.hostAttr=yD(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},vD=(()=>{let e=class e extends co{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(M(ie))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),Yd=["alt","control","meta","shift"],DD={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ED=(()=>{let e=class e extends co{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jt().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Yd.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=DD[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Yd.forEach(a=>{if(a!==i){let u=wD[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(M(ie))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})();function mS(t,e){return xd(he({rootComponent:t},ID(e)))}function ID(t){return{appProviders:[...xD,...t?.providers??[]],platformProviders:TD}}function CD(){ea.makeCurrent()}function bD(){return new Ee}function MD(){return zc(document),document}var TD=[{provide:Se,useValue:Zs},{provide:hs,useValue:CD,multi:!0},{provide:ie,useFactory:MD,deps:[]}];var xD=[{provide:Vr,useValue:"root"},{provide:Ee,useFactory:bD,deps:[]},{provide:ta,useClass:vD,multi:!0,deps:[ie,j,Se]},{provide:ta,useClass:ED,multi:!0,deps:[ie]},qd,Kd,Qd,{provide:rn,useExisting:qd},{provide:oo,useClass:dD,deps:[]},[]];function SD(){return new _D(M(ie))}var _D=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(o){return new(o||e)(M(ie))},e.\u0275prov=O({token:e,factory:function(o){let i=null;return o?i=new o:i=SD(),i},providedIn:"root"});let t=e;return t})();function yS(...t){let e=[],n=new Set,r=n.has(1);for(let{\u0275providers:o,\u0275kind:i}of t)n.add(i),o.length&&e.push(o);return gn([[],_d(),n.has(0)||r?[]:Wd({}),e])}export{he as a,He as b,V as c,cf as d,wo as e,$t as f,q as g,Vt as h,We as i,ue as j,Gt as k,wf as l,Ef as m,qe as n,Me as o,_f as p,re as q,Wt as r,Co as s,vt as t,Nf as u,bo as v,Mo as w,jf as x,be as y,ka as z,Bf as A,ja as B,$f as C,qt as D,Ze as E,To as F,Uf as G,zf as H,Ha as I,_o as J,qf as K,Ao as L,Zf as M,Yf as N,Qf as O,ff as P,Kf as Q,Jf as R,Ht as S,Ua as T,kn as U,b as V,O as W,RT as X,_ as Y,N as Z,M as _,A as $,FT as aa,Pr as ba,oc as ca,PT as da,kT as ea,LT as fa,jT as ga,VT as ha,Rc as ia,gn as ja,Pe as ka,BT as la,it as ma,Se as na,HT as oa,$T as pa,ut as qa,rn as ra,Ts as sa,UT as ta,J as ua,zl as va,Qe as wa,j as xa,zm as ya,ry as za,uy as Aa,cy as Ba,dy as Ca,fy as Da,yn as Ea,Pi as Fa,GT as Ga,WT as Ha,qT as Ia,ZT as Ja,ud as Ka,cd as La,Ly as Ma,YT as Na,to as Oa,Zy as Pa,QT as Qa,Ky as Ra,KT as Sa,tv as Ta,hd as Ua,nv as Va,JT as Wa,Ui as Xa,av as Ya,XT as Za,ex as _a,tx as $a,nx as ab,rx as bb,ix as cb,sx as db,ax as eb,ux as fb,Iv as gb,Cd as hb,bd as ib,cx as jb,no as kb,kt as lb,lx as mb,jv as nb,dx as ob,ie as pb,qs as qb,zv as rb,Nx as sb,Kv as tb,Ox as ub,Rx as vb,Fx as wb,qd as xb,mS as yb,_D as zb,yS as Ab}; diff --git a/docs/citations/browser/chunk-3X2RCJ2E.js b/docs/citations/browser/chunk-HKLPJZQ3.js similarity index 92% rename from docs/citations/browser/chunk-3X2RCJ2E.js rename to docs/citations/browser/chunk-HKLPJZQ3.js index 701b937..bf1948f 100644 --- a/docs/citations/browser/chunk-3X2RCJ2E.js +++ b/docs/citations/browser/chunk-HKLPJZQ3.js @@ -1 +1 @@ -import{$ as m,A as ue,Aa as yr,B as le,Ba as Cr,D as lt,E as P,Ea as qr,F as ar,H as je,I as Te,J as k,L as ct,M as or,Ma as Sr,O as ur,Oa as Lr,Pa as Rr,R as lr,S as R,T as cr,U as C,V as L,W as S,X as hr,Xa as wr,Y as ht,Ya as xr,Z as E,Za as Ar,_ as Me,a as d,aa as dr,b as x,ba as De,c as tr,ca as Pe,cb as Ir,d as rr,e as st,eb as jr,f as at,fb as Tr,g as z,h as w,ha as dt,hb as Mr,i as M,ia as pr,ib as Dr,j as q,ja as mr,jb as ft,k as h,ka as Ee,kb as Pr,l as oe,la as fr,lb as Er,m as nr,ma as gr,n as ir,nb as Ue,o as v,ob as Or,p as Ie,pa as vr,pb as Ur,q as I,qa as pt,qb as gt,r as ot,rb as Ne,sa as mt,t as sr,u as ut,ua as T,va as Oe,wa as Q,xa as ce,y as D,ya as br,z as _,zb as Nr}from"./chunk-GQQKX57E.js";var p="primary",we=Symbol("RouteTitle"),qt=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function ee(r){return new qt(r)}function xn(r,e,i){let t=i.path.split("/");if(t.length>r.length||i.pathMatch==="full"&&(e.hasChildren()||t.lengtht[s]===n)}else return r===e}function Gr(r){return r.length>0?r[r.length-1]:null}function J(r){return nr(r)?r:Lr(r)?q(Promise.resolve(r)):h(r)}var In={exact:Qr,subset:Kr},_r={exact:jn,subset:Tn,ignored:()=>!0};function $r(r,e,i){return In[i.paths](r.root,e.root,i.matrixParams)&&_r[i.queryParams](r.queryParams,e.queryParams)&&!(i.fragment==="exact"&&r.fragment!==e.fragment)}function jn(r,e){return O(r,e)}function Qr(r,e,i){if(!H(r.segments,e.segments)||!ke(r.segments,e.segments,i)||r.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!r.children[t]||!Qr(r.children[t],e.children[t],i))return!1;return!0}function Tn(r,e){return Object.keys(e).length<=Object.keys(r).length&&Object.keys(e).every(i=>Hr(r[i],e[i]))}function Kr(r,e,i){return Yr(r,e,e.segments,i)}function Yr(r,e,i,t){if(r.segments.length>i.length){let n=r.segments.slice(0,i.length);return!(!H(n,i)||e.hasChildren()||!ke(n,i,t))}else if(r.segments.length===i.length){if(!H(r.segments,i)||!ke(r.segments,i,t))return!1;for(let n in e.children)if(!r.children[n]||!Kr(r.children[n],e.children[n],t))return!1;return!0}else{let n=i.slice(0,r.segments.length),s=i.slice(r.segments.length);return!H(r.segments,n)||!ke(r.segments,n,t)||!r.children[p]?!1:Yr(r.children[p],e,s,t)}}function ke(r,e,i){return e.every((t,n)=>_r[i](r[n].parameters,t.parameters))}var F=class{constructor(e=new b([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ee(this.queryParams)),this._queryParamMap}toString(){return Pn.serialize(this)}},b=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fe(this)}},W=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=ee(this.parameters)),this._parameterMap}toString(){return Xr(this)}};function Mn(r,e){return H(r,e)&&r.every((i,t)=>O(i.parameters,e[t].parameters))}function H(r,e){return r.length!==e.length?!1:r.every((i,t)=>i.path===e[t].path)}function Dn(r,e){let i=[];return Object.entries(r.children).forEach(([t,n])=>{t===p&&(i=i.concat(e(n,t)))}),Object.entries(r.children).forEach(([t,n])=>{t!==p&&(i=i.concat(e(n,t)))}),i}var Gt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>new Je)(),providedIn:"root"});let r=e;return r})(),Je=class{parse(e){let i=new Rt(e);return new F(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${he(e.root,!0)}`,t=Un(e.queryParams),n=typeof e.fragment=="string"?`#${En(e.fragment)}`:"";return`${i}${t}${n}`}},Pn=new Je;function Fe(r){return r.segments.map(e=>Xr(e)).join("/")}function he(r,e){if(!r.hasChildren())return Fe(r);if(e){let i=r.children[p]?he(r.children[p],!1):"",t=[];return Object.entries(r.children).forEach(([n,s])=>{n!==p&&t.push(`${n}:${he(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=Dn(r,(t,n)=>n===p?[he(r.children[p],!1)]:[`${n}:${he(t,!1)}`]);return Object.keys(r.children).length===1&&r.children[p]!=null?`${Fe(r)}/${i[0]}`:`${Fe(r)}/(${i.join("//")})`}}function Zr(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $e(r){return Zr(r).replace(/%3B/gi,";")}function En(r){return encodeURI(r)}function Lt(r){return Zr(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(r){return decodeURIComponent(r)}function zr(r){return Be(r.replace(/\+/g,"%20"))}function Xr(r){return`${Lt(r.path)}${On(r.parameters)}`}function On(r){return Object.keys(r).map(e=>`;${Lt(e)}=${Lt(r[e])}`).join("")}function Un(r){let e=Object.keys(r).map(i=>{let t=r[i];return Array.isArray(t)?t.map(n=>`${$e(i)}=${$e(n)}`).join("&"):`${$e(i)}=${$e(t)}`}).filter(i=>!!i);return e.length?`?${e.join("&")}`:""}var Nn=/^[^\/()?;#]+/;function vt(r){let e=r.match(Nn);return e?e[0]:""}var $n=/^[^\/()?;=#]+/;function zn(r){let e=r.match($n);return e?e[0]:""}var kn=/^[^=?&#]+/;function Fn(r){let e=r.match(kn);return e?e[0]:""}var Bn=/^[^&#]+/;function Jn(r){let e=r.match(Bn);return e?e[0]:""}var Rt=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[p]=new b(e,i)),t}parseSegment(){let e=vt(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new L(4009,!1);return this.capture(e),new W(Be(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=zn(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let n=vt(this.remaining);n&&(t=n,this.capture(t))}e[Be(i)]=Be(t)}parseQueryParam(e){let i=Fn(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let a=Jn(this.remaining);a&&(t=a,this.capture(t))}let n=zr(i),s=zr(t);if(e.hasOwnProperty(n)){let a=e[n];Array.isArray(a)||(a=[a],e[n]=a),a.push(s)}else e[n]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=vt(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new L(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=p);let a=this.parseChildren();i[s]=Object.keys(a).length===1?a[p]:new b([],a),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new L(4011,!1)}};function en(r){return r.segments.length>0?new b([],{[p]:r}):r}function tn(r){let e={};for(let t of Object.keys(r.children)){let n=r.children[t],s=tn(n);if(t===p&&s.segments.length===0&&s.hasChildren())for(let[a,o]of Object.entries(s.children))e[a]=o;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new b(r.segments,e);return Vn(i)}function Vn(r){if(r.numberOfChildren===1&&r.children[p]){let e=r.children[p];return new b(r.segments.concat(e.segments),e.children)}return r}function te(r){return r instanceof F}function Wn(r,e,i=null,t=null){let n=rn(r);return nn(n,e,i,t)}function rn(r){let e;function i(s){let a={};for(let l of s.children){let u=i(l);a[l.outlet]=u}let o=new b(s.url,a);return s===r&&(e=o),o}let t=i(r.root),n=en(t);return e??n}function nn(r,e,i,t){let n=r;for(;n.parent;)n=n.parent;if(e.length===0)return bt(n,n,n,i,t);let s=Hn(e);if(s.toRoot())return bt(n,n,new b([],{}),i,t);let a=Gn(s,n,r),o=a.processChildren?me(a.segmentGroup,a.index,s.commands):an(a.segmentGroup,a.index,s.commands);return bt(n,a.segmentGroup,o,i,t)}function Ve(r){return typeof r=="object"&&r!=null&&!r.outlets&&!r.segmentPath}function ve(r){return typeof r=="object"&&r!=null&&r.outlets}function bt(r,e,i,t,n){let s={};t&&Object.entries(t).forEach(([l,u])=>{s[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`});let a;r===e?a=i:a=sn(r,e,i);let o=en(tn(a));return new F(o,s,n)}function sn(r,e,i){let t={};return Object.entries(r.children).forEach(([n,s])=>{s===e?t[n]=i:t[n]=sn(s,e,i)}),new b(r.segments,t)}var We=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&Ve(t[0]))throw new L(4003,!1);let n=t.find(ve);if(n&&n!==Gr(t))throw new L(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Hn(r){if(typeof r[0]=="string"&&r.length===1&&r[0]==="/")return new We(!0,0,r);let e=0,i=!1,t=r.reduce((n,s,a)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let o={};return Object.entries(s.outlets).forEach(([l,u])=>{o[l]=typeof u=="string"?u.split("/"):u}),[...n,{outlets:o}]}if(s.segmentPath)return[...n,s.segmentPath]}return typeof s!="string"?[...n,s]:a===0?(s.split("/").forEach((o,l)=>{l==0&&o==="."||(l==0&&o===""?i=!0:o===".."?e++:o!=""&&n.push(o))}),n):[...n,s]},[]);return new We(i,e,t)}var Z=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function Gn(r,e,i){if(r.isAbsolute)return new Z(e,!0,0);if(!i)return new Z(e,!1,NaN);if(i.parent===null)return new Z(i,!0,0);let t=Ve(r.commands[0])?0:1,n=i.segments.length-1+t;return _n(i,n,r.numberOfDoubleDots)}function _n(r,e,i){let t=r,n=e,s=i;for(;s>n;){if(s-=n,t=t.parent,!t)throw new L(4005,!1);n=t.segments.length}return new Z(t,!1,n-s)}function Qn(r){return ve(r[0])?r[0].outlets:{[p]:r}}function an(r,e,i){if(r||(r=new b([],{})),r.segments.length===0&&r.hasChildren())return me(r,e,i);let t=Kn(r,e,i),n=i.slice(t.commandIndex);if(t.match&&t.pathIndexs!==p)&&r.children[p]&&r.numberOfChildren===1&&r.children[p].segments.length===0){let s=me(r.children[p],e,i);return new b(r.segments,s.children)}return Object.entries(t).forEach(([s,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(n[s]=an(r.children[s],e,a))}),Object.entries(r.children).forEach(([s,a])=>{t[s]===void 0&&(n[s]=a)}),new b(r.segments,n)}}function Kn(r,e,i){let t=0,n=e,s={match:!1,pathIndex:0,commandIndex:0};for(;n=i.length)return s;let a=r.segments[n],o=i[t];if(ve(o))break;let l=`${o}`,u=t0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!Fr(l,u,a))return s;t+=2}else{if(!Fr(l,{},a))return s;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function wt(r,e,i){let t=r.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=wt(new b([],{}),0,t))}),e}function kr(r){let e={};return Object.entries(r).forEach(([i,t])=>e[i]=`${t}`),e}function Fr(r,e,i){return r==i.path&&O(e,i.parameters)}var fe="imperative",j=class{constructor(e,i){this.id=e,this.url=i}},be=class extends j{constructor(e,i,t="imperative",n=null){super(e,i),this.type=0,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},N=class extends j{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},B=class extends j{constructor(e,i,t,n){super(e,i),this.reason=t,this.code=n,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},G=class extends j{constructor(e,i,t,n){super(e,i),this.reason=t,this.code=n,this.type=16}},ye=class extends j{constructor(e,i,t,n){super(e,i),this.error=t,this.target=n,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},He=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xt=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},At=class extends j{constructor(e,i,t,n,s){super(e,i),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},It=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jt=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Tt=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Mt=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Dt=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pt=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Et=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ot=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ce=class{},qe=class{constructor(e){this.url=e}};var Ut=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ze,this.attachRef=null}},Ze=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let s=this.getOrCreateContext(t);s.outlet=n,this.contexts.set(t,s)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new Ut,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Ge=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=Nt(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=Nt(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=$t(e,this._root);return i.length<2?[]:i[i.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return $t(e,this._root).map(i=>i.value)}};function Nt(r,e){if(r===e.value)return e;for(let i of e.children){let t=Nt(r,i);if(t)return t}return null}function $t(r,e){if(r===e.value)return[e];for(let i of e.children){let t=$t(r,i);if(t.length)return t.unshift(e),t}return[]}var A=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function Y(r){let e={};return r&&r.children.forEach(i=>e[i.value.outlet]=i),e}var _e=class extends Ge{constructor(e,i){super(e),this.snapshot=i,Qt(this,e)}toString(){return this.snapshot.toString()}};function on(r,e){let i=Zn(r,e),t=new w([new W("",{})]),n=new w({}),s=new w({}),a=new w({}),o=new w(""),l=new $(t,n,a,o,s,p,e,i.root);return l.snapshot=i.root,new _e(new A(l,[]),i)}function Zn(r,e){let i={},t={},n={},s="",a=new Se([],i,n,s,t,p,e,null,{});return new Qe("",new A(a,[]))}var $=class{constructor(e,i,t,n,s,a,o,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=s,this.outlet=a,this.component=o,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(v(u=>u[we]))??h(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=n,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(v(e=>ee(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(v(e=>ee(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function _t(r,e,i="emptyOnly"){let t,{routeConfig:n}=r;return e!==null&&(i==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:d(d({},e.params),r.params),data:d(d({},e.data),r.data),resolve:d(d(d(d({},r.data),e.data),n?.data),r._resolvedData)}:t={params:r.params,data:r.data,resolve:d(d({},r.data),r._resolvedData??{})},n&&ln(n)&&(t.resolve[we]=n.title),t}var Se=class{get title(){return this.data?.[we]}constructor(e,i,t,n,s,a,o,l,u){this.url=e,this.params=i,this.queryParams=t,this.fragment=n,this.data=s,this.outlet=a,this.component=o,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ee(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ee(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},Qe=class extends Ge{constructor(e,i){super(i),this.url=e,Qt(this,i)}toString(){return un(this._root)}};function Qt(r,e){e.value._routerState=r,e.children.forEach(i=>Qt(r,i))}function un(r){let e=r.children.length>0?` { ${r.children.map(un).join(", ")} } `:"";return`${r.value}${e}`}function yt(r){if(r.snapshot){let e=r.snapshot,i=r._futureSnapshot;r.snapshot=i,O(e.queryParams,i.queryParams)||r.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&r.fragmentSubject.next(i.fragment),O(e.params,i.params)||r.paramsSubject.next(i.params),An(e.url,i.url)||r.urlSubject.next(i.url),O(e.data,i.data)||r.dataSubject.next(i.data)}else r.snapshot=r._futureSnapshot,r.dataSubject.next(r._futureSnapshot.data)}function zt(r,e){let i=O(r.params,e.params)&&Mn(r.url,e.url),t=!r.parent!=!e.parent;return i&&!t&&(!r.parent||zt(r.parent,e.parent))}function ln(r){return typeof r.title=="string"||r.title===null}var Xn=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=p,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.parentContexts=m(Ze),this.location=m(qr),this.changeDetector=m(Oe),this.environmentInjector=m(Ee),this.inputBinder=m(Xe,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:s}=t.name;if(n)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new L(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new L(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new L(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new L(4013,!1);this._activatedRoute=t;let s=this.location,o=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,u=new kt(t,l,s.injector);this.activated=s.createComponent(o,{index:s.length,injector:u,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=De({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Pe]});let r=e;return r})(),kt=class{constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===$?this.route:e===Ze?this.childContexts:this.parent.get(e,i)}},Xe=new E(""),Br=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,s=Ie([n.queryParams,n.params,n.data]).pipe(R(([a,o,l],u)=>(l=d(d(d({},a),o),l),u===0?h(l):Promise.resolve(l)))).subscribe(a=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let o=Or(n.component);if(!o){this.unsubscribeFromRouteData(t);return}for(let{templateName:l}of o.inputs)t.activatedComponentRef.setInput(l,a[l])});this.outletDataSubscriptions.set(t,s)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac});let r=e;return r})();function ei(r,e,i){let t=Le(r,e._root,i?i._root:void 0);return new _e(t,e)}function Le(r,e,i){if(i&&r.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let n=ti(r,e,i);return new A(t,n)}else{if(r.shouldAttach(e.value)){let s=r.retrieve(e.value);if(s!==null){let a=s.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(o=>Le(r,o)),a}}let t=ri(e.value),n=e.children.map(s=>Le(r,s));return new A(t,n)}}function ti(r,e,i){return e.children.map(t=>{for(let n of i.children)if(r.shouldReuseRoute(t.value,n.value.snapshot))return Le(r,t,n);return Le(r,t)})}function ri(r){return new $(new w(r.url),new w(r.params),new w(r.queryParams),new w(r.fragment),new w(r.data),r.outlet,r.component,r)}var cn="ngNavigationCancelingError";function hn(r,e){let{redirectTo:i,navigationBehaviorOptions:t}=te(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=dn(!1,0,e);return n.url=i,n.navigationBehaviorOptions=t,n}function dn(r,e,i){let t=new Error("NavigationCancelingError: "+(r||""));return t[cn]=!0,t.cancellationCode=e,i&&(t.url=i),t}function ni(r){return pn(r)&&te(r.url)}function pn(r){return r&&r[cn]}var ii=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=dr({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ar],decls:1,vars:0,template:function(n,s){n&1&&Sr(0,"router-outlet")},dependencies:[Xn],encapsulation:2});let r=e;return r})();function si(r,e){return r.providers&&!r._injector&&(r._injector=xr(r.providers,e,`Route: ${r.path}`)),r._injector??e}function Kt(r){let e=r.children&&r.children.map(Kt),i=e?x(d({},r),{children:e}):d({},r);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==p&&(i.component=ii),i}function U(r){return r.outlet||p}function ai(r,e){let i=r.filter(t=>U(t)===e);return i.push(...r.filter(t=>U(t)!==e)),i}function xe(r){if(!r)return null;if(r.routeConfig?._injector)return r.routeConfig._injector;for(let e=r.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var oi=(r,e,i,t)=>v(n=>(new Ft(e,n.targetRouterState,n.currentRouterState,i,t).activate(r),n)),Ft=class{constructor(e,i,t,n,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),yt(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let n=Y(i);e.children.forEach(s=>{let a=s.value.outlet;this.deactivateRoutes(s,n[a],t),delete n[a]}),Object.values(n).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let n=e.value,s=i?i.value:null;if(n===s)if(n.component){let a=t.getContext(n.outlet);a&&this.deactivateChildRoutes(e,i,a.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),n=t&&e.value.component?t.children:i,s=Y(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],n);if(t&&t.outlet){let a=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:o})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),n=t&&e.value.component?t.children:i,s=Y(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let n=Y(i);e.children.forEach(s=>{this.activateRoutes(s,n[s.value.outlet],t),this.forwardEvent(new Ot(s.value.snapshot))}),e.children.length&&this.forwardEvent(new Pt(e.value.snapshot))}activateRoutes(e,i,t){let n=e.value,s=i?i.value:null;if(yt(n),n===s)if(n.component){let a=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,i,a.children)}else this.activateChildRoutes(e,i,t);else if(n.component){let a=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let o=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),a.children.onOutletReAttached(o.contexts),a.attachRef=o.componentRef,a.route=o.route.value,a.outlet&&a.outlet.attach(o.componentRef,o.route.value),yt(o.route.value),this.activateChildRoutes(e,null,a.children)}else{let o=xe(n.snapshot);a.attachRef=null,a.route=n,a.injector=o,a.outlet&&a.outlet.activateWith(n,a.injector),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,t)}},Ke=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},X=class{constructor(e,i){this.component=e,this.route=i}};function ui(r,e,i){let t=r._root,n=e?e._root:null;return de(t,n,i,[t.value])}function li(r){let e=r.routeConfig?r.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:r,guards:e}}function ne(r,e){let i=Symbol(),t=e.get(r,i);return t===i?typeof r=="function"&&!hr(r)?r:e.get(r):t}function de(r,e,i,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let s=Y(e);return r.children.forEach(a=>{ci(a,s[a.value.outlet],i,t.concat([a.value]),n),delete s[a.value.outlet]}),Object.entries(s).forEach(([a,o])=>ge(o,i.getContext(a),n)),n}function ci(r,e,i,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let s=r.value,a=e?e.value:null,o=i?i.getContext(r.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){let l=hi(a,s,s.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new Ke(t)):(s.data=a.data,s._resolvedData=a._resolvedData),s.component?de(r,e,o?o.children:null,t,n):de(r,e,i,t,n),l&&o&&o.outlet&&o.outlet.isActivated&&n.canDeactivateChecks.push(new X(o.outlet.component,a))}else a&&ge(e,o,n),n.canActivateChecks.push(new Ke(t)),s.component?de(r,null,o?o.children:null,t,n):de(r,null,i,t,n);return n}function hi(r,e,i){if(typeof i=="function")return i(r,e);switch(i){case"pathParamsChange":return!H(r.url,e.url);case"pathParamsOrQueryParamsChange":return!H(r.url,e.url)||!O(r.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zt(r,e)||!O(r.queryParams,e.queryParams);case"paramsChange":default:return!zt(r,e)}}function ge(r,e,i){let t=Y(r),n=r.value;Object.entries(t).forEach(([s,a])=>{n.component?e?ge(a,e.children.getContext(s),i):ge(a,null,i):ge(a,e,i)}),n.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new X(e.outlet.component,n)):i.canDeactivateChecks.push(new X(null,n)):i.canDeactivateChecks.push(new X(null,n))}function Ae(r){return typeof r=="function"}function di(r){return typeof r=="boolean"}function pi(r){return r&&Ae(r.canLoad)}function mi(r){return r&&Ae(r.canActivate)}function fi(r){return r&&Ae(r.canActivateChild)}function gi(r){return r&&Ae(r.canDeactivate)}function vi(r){return r&&Ae(r.canMatch)}function mn(r){return r instanceof ir||r?.name==="EmptyError"}var ze=Symbol("INITIAL_VALUE");function re(){return R(r=>Ie(r.map(e=>e.pipe(P(1),lr(ze)))).pipe(v(e=>{for(let i of e)if(i!==!0){if(i===ze)return ze;if(i===!1||i instanceof F)return i}return!0}),D(e=>e!==ze),P(1)))}function bi(r,e){return I(i=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:s,canDeactivateChecks:a}}=i;return a.length===0&&s.length===0?h(x(d({},i),{guardsResult:!0})):yi(a,t,n,r).pipe(I(o=>o&&di(o)?Ci(t,s,r,e):h(o)),v(o=>x(d({},i),{guardsResult:o})))})}function yi(r,e,i,t){return q(r).pipe(I(n=>wi(n.component,n.route,i,e,t)),k(n=>n!==!0,!0))}function Ci(r,e,i,t){return q(e).pipe(le(n=>sr(Si(n.route.parent,t),qi(n.route,t),Ri(r,n.path,i),Li(r,n.route,i))),k(n=>n!==!0,!0))}function qi(r,e){return r!==null&&e&&e(new Et(r)),h(!0)}function Si(r,e){return r!==null&&e&&e(new Dt(r)),h(!0)}function Li(r,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return h(!0);let n=t.map(s=>ut(()=>{let a=xe(e)??i,o=ne(s,a),l=mi(o)?o.canActivate(e,r):a.runInContext(()=>o(e,r));return J(l).pipe(k())}));return h(n).pipe(re())}function Ri(r,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(a=>li(a)).filter(a=>a!==null).map(a=>ut(()=>{let o=a.guards.map(l=>{let u=xe(a.node)??i,c=ne(l,u),g=fi(c)?c.canActivateChild(t,r):u.runInContext(()=>c(t,r));return J(g).pipe(k())});return h(o).pipe(re())}));return h(s).pipe(re())}function wi(r,e,i,t,n){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return h(!0);let a=s.map(o=>{let l=xe(e)??n,u=ne(o,l),c=gi(u)?u.canDeactivate(r,e,i,t):l.runInContext(()=>u(r,e,i,t));return J(c).pipe(k())});return h(a).pipe(re())}function xi(r,e,i,t){let n=e.canLoad;if(n===void 0||n.length===0)return h(!0);let s=n.map(a=>{let o=ne(a,r),l=pi(o)?o.canLoad(e,i):r.runInContext(()=>o(e,i));return J(l)});return h(s).pipe(re(),fn(t))}function fn(r){return rr(C(e=>{if(te(e))throw hn(r,e)}),v(e=>e===!0))}function Ai(r,e,i,t){let n=e.canMatch;if(!n||n.length===0)return h(!0);let s=n.map(a=>{let o=ne(a,r),l=vi(o)?o.canMatch(e,i):r.runInContext(()=>o(e,i));return J(l)});return h(s).pipe(re(),fn(t))}var Re=class{constructor(e){this.segmentGroup=e||null}},Ye=class extends Error{constructor(e){super(),this.urlTree=e}};function K(r){return oe(new Re(r))}function Ii(r){return oe(new L(4e3,!1))}function ji(r){return oe(dn(!1,3))}var Bt=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}noMatchError(e){return new L(4002,!1)}lineralizeSegments(e,i){let t=[],n=i.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return h(t);if(n.numberOfChildren>1||!n.children[p])return Ii(e.redirectTo);n=n.children[p]}}applyRedirectCommands(e,i,t){let n=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i.startsWith("/"))throw new Ye(n);return n}applyRedirectCreateUrlTree(e,i,t,n){let s=this.createSegmentGroup(e,i.root,t,n);return new F(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([n,s])=>{if(typeof s=="string"&&s.startsWith(":")){let o=s.substring(1);t[n]=i[o]}else t[n]=s}),t}createSegmentGroup(e,i,t,n){let s=this.createSegments(e,i.segments,t,n),a={};return Object.entries(i.children).forEach(([o,l])=>{a[o]=this.createSegmentGroup(e,l,t,n)}),new b(s,a)}createSegments(e,i,t,n){return i.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,n):this.findOrReturn(s,t))}findPosParam(e,i,t){let n=t[i.path.substring(1)];if(!n)throw new L(4001,!1);return n}findOrReturn(e,i){let t=0;for(let n of i){if(n.path===e.path)return i.splice(t),n;t++}return e}},Jt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ti(r,e,i,t,n){let s=Yt(r,e,i);return s.matched?(t=si(e,t),Ai(t,e,i,n).pipe(v(a=>a===!0?s:d({},Jt)))):h(s)}function Yt(r,e,i){if(e.path==="")return e.pathMatch==="full"&&(r.hasChildren()||i.length>0)?d({},Jt):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let n=(e.matcher||xn)(i,r,e);if(!n)return d({},Jt);let s={};Object.entries(n.posParams??{}).forEach(([o,l])=>{s[o]=l.path});let a=n.consumed.length>0?d(d({},s),n.consumed[n.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:n.consumed,remainingSegments:i.slice(n.consumed.length),parameters:a,positionalParamSegments:n.posParams??{}}}function Jr(r,e,i,t){return i.length>0&&Pi(r,i,t)?{segmentGroup:new b(e,Di(t,new b(i,r.children))),slicedSegments:[]}:i.length===0&&Ei(r,i,t)?{segmentGroup:new b(r.segments,Mi(r,e,i,t,r.children)),slicedSegments:i}:{segmentGroup:new b(r.segments,r.children),slicedSegments:i}}function Mi(r,e,i,t,n){let s={};for(let a of t)if(et(r,i,a)&&!n[U(a)]){let o=new b([],{});s[U(a)]=o}return d(d({},n),s)}function Di(r,e){let i={};i[p]=e;for(let t of r)if(t.path===""&&U(t)!==p){let n=new b([],{});i[U(t)]=n}return i}function Pi(r,e,i){return i.some(t=>et(r,e,t)&&U(t)!==p)}function Ei(r,e,i){return i.some(t=>et(r,e,t))}function et(r,e,i){return(r.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function Oi(r,e,i,t){return U(r)!==t&&(t===p||!et(e,i,r))?!1:r.path==="**"?!0:Yt(e,r,i).matched}function Ui(r,e,i){return e.length===0&&!r.children[i]}var Vt=class{};function Ni(r,e,i,t,n,s,a="emptyOnly"){return new Wt(r,e,i,t,n,a,s).recognize()}var $i=31,Wt=class{constructor(e,i,t,n,s,a,o){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=n,this.urlTree=s,this.paramsInheritanceStrategy=a,this.urlSerializer=o,this.applyRedirects=new Bt(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new L(4002,!1)}recognize(){let e=Jr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(v(i=>{let t=new Se([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,{},p,this.rootComponentType,null,{}),n=new A(t,i),s=new Qe("",n),a=Wn(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(s._root,null),{state:s,tree:a}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,p).pipe(_(t=>{if(t instanceof Ye)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Re?this.noMatchError(t):t}))}inheritParamsAndData(e,i){let t=e.value,n=_t(t,i,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(s=>this.inheritParamsAndData(s,t))}processSegmentGroup(e,i,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t):this.processSegment(e,i,t,t.segments,n,!0).pipe(v(s=>s instanceof A?[s]:[]))}processChildren(e,i,t){let n=[];for(let s of Object.keys(t.children))s==="primary"?n.unshift(s):n.push(s);return q(n).pipe(le(s=>{let a=t.children[s],o=ai(i,s);return this.processSegmentGroup(e,o,a,s)}),ur((s,a)=>(s.push(...a),s)),lt(null),or(),I(s=>{if(s===null)return K(t);let a=gn(s);return zi(a),h(a)}))}processSegment(e,i,t,n,s,a){return q(i).pipe(le(o=>this.processSegmentAgainstRoute(o._injector??e,i,o,t,n,s,a).pipe(_(l=>{if(l instanceof Re)return h(null);throw l}))),k(o=>!!o),_(o=>{if(mn(o))return Ui(t,n,s)?h(new Vt):K(t);throw o}))}processSegmentAgainstRoute(e,i,t,n,s,a,o){return Oi(t,n,s,a)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,s,a):this.allowRedirects&&o?this.expandSegmentAgainstRouteUsingRedirect(e,n,i,t,s,a):K(n):K(n)}expandSegmentAgainstRouteUsingRedirect(e,i,t,n,s,a){let{matched:o,consumedSegments:l,positionalParamSegments:u,remainingSegments:c}=n.path==="**"?Vr(s):Yt(i,n,s);if(!o)return K(i);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>$i&&(this.allowRedirects=!1));let g=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,u);return this.applyRedirects.lineralizeSegments(n,g).pipe(I(f=>this.processSegment(e,t,i,f.concat(c),a,!1)))}matchSegmentAgainstRoute(e,i,t,n,s){let a;return t.path==="**"?(a=h(Vr(n)),i.children={}):a=Ti(i,t,n,e,this.urlSerializer),a.pipe(R(o=>o.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(R(({routes:l})=>{let u=t._loadedInjector??e,{consumedSegments:c,remainingSegments:g,parameters:f}=o,y=new Se(c,f,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(t),U(t),t.component??t._loadedComponent??null,t,Bi(t)),{segmentGroup:se,slicedSegments:ae}=Jr(i,c,g,l);if(ae.length===0&&se.hasChildren())return this.processChildren(u,l,se).pipe(v(V=>V===null?null:new A(y,V)));if(l.length===0&&ae.length===0)return h(new A(y,[]));let it=U(t)===s;return this.processSegment(u,l,se,ae,it?p:s,!0).pipe(v(V=>new A(y,V instanceof A?[V]:[])))}))):K(i)))}getChildConfig(e,i,t){return i.children?h({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?h({routes:i._loadedRoutes,injector:i._loadedInjector}):xi(e,i,t,this.urlSerializer).pipe(I(n=>n?this.configLoader.loadChildren(e,i).pipe(C(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):ji(i))):h({routes:[],injector:e})}};function zi(r){r.sort((e,i)=>e.value.outlet===p?-1:i.value.outlet===p?1:e.value.outlet.localeCompare(i.value.outlet))}function ki(r){let e=r.value.routeConfig;return e&&e.path===""}function gn(r){let e=[],i=new Set;for(let t of r){if(!ki(t)){e.push(t);continue}let n=e.find(s=>t.value.routeConfig===s.value.routeConfig);n!==void 0?(n.children.push(...t.children),i.add(n)):e.push(t)}for(let t of i){let n=gn(t.children);e.push(new A(t.value,n))}return e.filter(t=>!i.has(t))}function Fi(r){return r.data||{}}function Bi(r){return r.resolve||{}}function Vr(r){return{matched:!0,parameters:r.length>0?Gr(r).parameters:{},consumedSegments:r,remainingSegments:[],positionalParamSegments:{}}}function Ji(r,e,i,t,n,s){return I(a=>Ni(r,e,i,t,a.extractedUrl,n,s).pipe(v(({state:o,tree:l})=>x(d({},a),{targetSnapshot:o,urlAfterRedirects:l}))))}function Vi(r,e){return I(i=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=i;if(!n.length)return h(i);let s=n.map(u=>u.route),a=new Set(s),o=vn(s[0].parent).slice(1),l=0;return q(o).pipe(le(u=>a.has(u)?Wi(u,t,r,e):(u.data=_t(u,u.parent,r).resolve,h(void 0))),C(()=>l++),ct(1),I(u=>l===o.length?h(i):M))})}function vn(r){let e=r.children.map(i=>vn(i)).flat();return[r,...e]}function Wi(r,e,i,t){let n=r.routeConfig,s=r._resolve;return n?.title!==void 0&&!ln(n)&&(s[we]=n.title),Hi(s,r,e,t).pipe(v(a=>(r._resolvedData=a,r.data=_t(r,r.parent,i).resolve,null)))}function Hi(r,e,i,t){let n=St(r);if(n.length===0)return h({});let s={};return q(n).pipe(I(a=>Gi(r[a],e,i,t).pipe(k(),C(o=>{s[a]=o}))),ct(1),ar(s),_(a=>mn(a)?M:oe(a)))}function Gi(r,e,i,t){let n=xe(e)??t,s=ne(r,n),a=s.resolve?s.resolve(e,i):n.runInContext(()=>s(e,i));return J(a)}function Ct(r){return R(e=>{let i=r(e);return i?q(i).pipe(v(()=>e)):h(e)})}var bn=(()=>{let e=class e{buildTitle(t){let n,s=t.root;for(;s!==void 0;)n=this.getResolvedTitleForRoute(s)??n,s=s.children.find(a=>a.outlet===p);return n}getResolvedTitleForRoute(t){return t.data[we]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(_i))(),providedIn:"root"});let r=e;return r})(),_i=(()=>{let e=class e extends bn{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(Me(Nr))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),tt=new E("",{providedIn:"root",factory:()=>({})}),Zt=new E("ROUTES"),Qi=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(ft)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return h(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=J(t.loadComponent()).pipe(v(yn),C(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),Te(()=>{this.componentLoaders.delete(t)})),s=new at(n,()=>new z).pipe(st());return this.componentLoaders.set(t,s),s}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return h({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let a=Ki(n,this.compiler,t,this.onLoadEndListener).pipe(Te(()=>{this.childrenLoaders.delete(n)})),o=new at(a,()=>new z).pipe(st());return this.childrenLoaders.set(n,o),o}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Ki(r,e,i,t){return J(r.loadChildren()).pipe(v(yn),I(n=>n instanceof wr||Array.isArray(n)?h(n):q(e.compileModuleAsync(n))),v(n=>{t&&t(r);let s,a,o=!1;return Array.isArray(n)?(a=n,o=!0):(s=n.create(i).injector,a=s.get(Zt,[],{optional:!0,self:!0}).flat()),{routes:a.map(Kt),injector:s}}))}function Yi(r){return r&&typeof r=="object"&&"default"in r}function yn(r){return Yi(r)?r.default:r}var Xt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(Zi))(),providedIn:"root"});let r=e;return r})(),Zi=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Cn=new E(""),qn=new E("");function Xi(r,e,i){let t=r.get(qn),n=r.get(Ur);return r.get(ce).runOutsideAngular(()=>{if(!n.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,Promise.resolve();let s,a=new Promise(u=>{s=u}),o=n.startViewTransition(()=>(s(),es(r))),{onViewTransitionCreated:l}=t;return l&&fr(r,()=>l({transition:o,from:e,to:i})),a})}function es(r){return new Promise(e=>{br(e,{injector:r})})}var ts=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new z,this.transitionAbortSubject=new z,this.configLoader=m(Qi),this.environmentInjector=m(Ee),this.urlSerializer=m(Gt),this.rootContexts=m(Ze),this.location=m(Ne),this.inputBindingEnabled=m(Xe,{optional:!0})!==null,this.titleStrategy=m(bn),this.options=m(tt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(Xt),this.createViewTransition=m(Cn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>h(void 0),this.rootComponentType=null;let t=s=>this.events.next(new Tt(s)),n=s=>this.events.next(new Mt(s));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(x(d(d({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,s){return this.transitions=new w({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:fe,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(D(a=>a.id!==0),v(a=>x(d({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),R(a=>{this.currentTransition=a;let o=!1,l=!1;return h(a).pipe(C(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?x(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),R(u=>{let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=u.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&g!=="reload"){let f="";return this.events.next(new G(u.id,this.urlSerializer.serialize(u.rawUrl),f,0)),u.resolve(null),M}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return h(u).pipe(R(f=>{let y=this.transitions?.getValue();return this.events.next(new be(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),y!==this.transitions?.getValue()?M:Promise.resolve(f)}),Ji(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),C(f=>{a.targetSnapshot=f.targetSnapshot,a.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=x(d({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let y=new He(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(y)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:y,source:se,restoredState:ae,extras:it}=u,V=new be(f,this.urlSerializer.serialize(y),se,ae);this.events.next(V);let Rn=on(y,this.rootComponentType).snapshot;return this.currentTransition=a=x(d({},u),{targetSnapshot:Rn,urlAfterRedirects:y,extras:x(d({},it),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,h(a)}else{let f="";return this.events.next(new G(u.id,this.urlSerializer.serialize(u.extractedUrl),f,1)),u.resolve(null),M}}),C(u=>{let c=new xt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),v(u=>(this.currentTransition=a=x(d({},u),{guards:ui(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),a)),bi(this.environmentInjector,u=>this.events.next(u)),C(u=>{if(a.guardsResult=u.guardsResult,te(u.guardsResult))throw hn(this.urlSerializer,u.guardsResult);let c=new At(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),D(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",3),!1)),Ct(u=>{if(u.guards.canActivateChecks.length)return h(u).pipe(C(c=>{let g=new It(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(g)}),R(c=>{let g=!1;return h(c).pipe(Vi(this.paramsInheritanceStrategy,this.environmentInjector),C({next:()=>g=!0,complete:()=>{g||this.cancelNavigationTransition(c,"",2)}}))}),C(c=>{let g=new jt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(g)}))}),Ct(u=>{let c=g=>{let f=[];g.routeConfig?.loadComponent&&!g.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(g.routeConfig).pipe(C(y=>{g.component=y}),v(()=>{})));for(let y of g.children)f.push(...c(y));return f};return Ie(c(u.targetSnapshot.root)).pipe(lt(),P(1))}),Ct(()=>this.afterPreactivation()),R(()=>{let{currentSnapshot:u,targetSnapshot:c}=a,g=this.createViewTransition?.(this.environmentInjector,u.root,c.root);return g?q(g).pipe(v(()=>a)):h(a)}),v(u=>{let c=ei(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=a=x(d({},u),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,a}),C(()=>{this.events.next(new Ce)}),oi(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),P(1),C({next:u=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new N(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{o=!0}}),cr(this.transitionAbortSubject.pipe(C(u=>{throw u}))),Te(()=>{if(!o&&!l){let u="";this.cancelNavigationTransition(a,u,1)}this.currentNavigation?.id===a.id&&(this.currentNavigation=null)}),_(u=>{if(l=!0,pn(u))this.events.next(new B(a.id,this.urlSerializer.serialize(a.extractedUrl),u.message,u.cancellationCode)),ni(u)?this.events.next(new qe(u.url)):a.resolve(!1);else{this.events.next(new ye(a.id,this.urlSerializer.serialize(a.extractedUrl),u,a.targetSnapshot??void 0));try{a.resolve(t.errorHandler(u))}catch(c){a.reject(c)}}return M}))}))}cancelNavigationTransition(t,n,s){let a=new B(t.id,this.urlSerializer.serialize(t.extractedUrl),n,s);this.events.next(a),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function rs(r){return r!==fe}var ns=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(is))(),providedIn:"root"});let r=e;return r})(),Ht=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},is=(()=>{let e=class e extends Ht{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=dt(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Sn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(ss))(),providedIn:"root"});let r=e;return r})(),ss=(()=>{let e=class e extends Sn{constructor(){super(...arguments),this.location=m(Ne),this.urlSerializer=m(Gt),this.options=m(tt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(Xt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new F,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=on(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof be)this.stateMemento=this.createStateMemento();else if(t instanceof G)this.rawUrlTree=n.initialUrl;else if(t instanceof He){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(s,n)}}else t instanceof Ce?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof B&&(t.code===3||t.code===2)?this.restoreHistory(n):t instanceof ye?this.restoreHistory(n,!0):t instanceof N&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let s=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(s)||n.extras.replaceUrl){let a=this.browserPageId,o=d(d({},n.extras.state),this.generateNgRouterState(n.id,a));this.location.replaceState(s,"",o)}else{let a=d(d({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(s,"",a)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,a=this.currentPageId-s;a!==0?this.location.historyGo(a):this.currentUrlTree===t.finalUrl&&a===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=dt(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),pe=function(r){return r[r.COMPLETE=0]="COMPLETE",r[r.FAILED=1]="FAILED",r[r.REDIRECTING=2]="REDIRECTING",r}(pe||{});function as(r,e){r.events.pipe(D(i=>i instanceof N||i instanceof B||i instanceof ye||i instanceof G),v(i=>i instanceof N||i instanceof G?pe.COMPLETE:(i instanceof B?i.code===0||i.code===1:!1)?pe.REDIRECTING:pe.FAILED),D(i=>i!==pe.REDIRECTING),P(1)).subscribe(()=>{e()})}function os(r){throw r}var us={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ls={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},rt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=m(Mr),this.stateManager=m(Sn),this.options=m(tt,{optional:!0})||{},this.pendingTasks=m(Dr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(ts),this.urlSerializer=m(Gt),this.location=m(Ne),this.urlHandlingStrategy=m(Xt),this._events=new z,this.errorHandler=this.options.errorHandler||os,this.navigated=!1,this.routeReuseStrategy=m(ns),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(Zt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m(Xe,{optional:!0}),this.eventsSubscription=new tr,this.isNgZoneEnabled=m(ce)instanceof ce&&ce.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let s=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(s!==null&&a!==null){if(this.stateManager.handleRouterEvent(n,a),n instanceof B&&n.code!==0&&n.code!==1)this.navigated=!0;else if(n instanceof N)this.navigated=!0;else if(n instanceof qe){let o=this.urlHandlingStrategy.merge(n.url,s.currentRawUrl),l={skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||rs(s.source)};this.scheduleNavigation(o,fe,null,l,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}hs(n)&&this._events.next(n)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)}))}navigateToSyncWithBrowser(t,n,s){let a={replaceUrl:!0},o=s?.navigationId?s:null;if(s){let u=d({},s);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(a.state=u)}let l=this.parseUrl(t);this.scheduleNavigation(l,n,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Kt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:s,queryParams:a,fragment:o,queryParamsHandling:l,preserveFragment:u}=n,c=u?this.currentUrlTree.fragment:o,g=null;switch(l){case"merge":g=d(d({},this.currentUrlTree.queryParams),a);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=a||null}g!==null&&(g=this.removeEmptyProps(g));let f;try{let y=s?s.snapshot:this.routerState.snapshot.root;f=rn(y)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),f=this.currentUrlTree.root}return nn(f,t,g,c??null)}navigateByUrl(t,n={skipLocationChange:!1}){let s=te(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,fe,null,n)}navigate(t,n={skipLocationChange:!1}){return cs(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let s;if(n===!0?s=d({},us):n===!1?s=d({},ls):s=n,te(t))return $r(this.currentUrlTree,t,s);let a=this.parseUrl(t);return $r(this.currentUrlTree,a,s)}removeEmptyProps(t){return Object.keys(t).reduce((n,s)=>{let a=t[s];return a!=null&&(n[s]=a),n},{})}scheduleNavigation(t,n,s,a,o){if(this.disposed)return Promise.resolve(!1);let l,u,c;o?(l=o.resolve,u=o.reject,c=o.promise):c=new Promise((f,y)=>{l=f,u=y});let g=this.pendingTasks.add();return as(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:l,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function cs(r){for(let e=0;e{let e=class e{constructor(t,n,s,a,o,l){this.router=t,this.route=n,this.tabIndexAttribute=s,this.renderer=a,this.el=o,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof N&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,n,s,a,o){if(this.urlTree===null||this.isAnchorElement&&(t!==0||n||s||a||o||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let t=this.href===null?null:vr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,n){let s=this.renderer,a=this.el.nativeElement;n!==null?s.setAttribute(a,t,n):s.removeAttribute(a,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(n){return new(n||e)(T(rt),T($),pr("tabindex"),T(mt),T(pt),T(gt))},e.\u0275dir=De({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,s){n&1&&Rr("click",function(o){return s.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),n&2&&Cr("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ue],skipLocationChange:["skipLocationChange","skipLocationChange",Ue],replaceUrl:["replaceUrl","replaceUrl",Ue],routerLink:"routerLink"},standalone:!0,features:[yr,Pe]});let r=e;return r})(),Zs=(()=>{let e=class e{get isActive(){return this._isActive}constructor(t,n,s,a,o){this.router=t,this.element=n,this.renderer=s,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Q,this.routerEventsSubscription=t.events.subscribe(l=>{l instanceof N&&this.update()})}ngAfterContentInit(){h(this.links.changes,h(null)).pipe(ot()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=q(t).pipe(ot()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(t){let n=Array.isArray(t)?t:t.split(" ");this.classes=n.filter(s=>!!s)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(n=>{t?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){let n=ds(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>s.urlTree?t.isActive(s.urlTree,n):!1}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}};e.\u0275fac=function(n){return new(n||e)(T(rt),T(pt),T(mt),T(Oe),T(Wr,8))},e.\u0275dir=De({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,s,a){if(n&1&&jr(a,Wr,5),n&2){let o;Ir(o=Tr())&&(s.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Pe]});let r=e;return r})();function ds(r){return!!r.paths}var ps=new E("");function Xs(r,...e){return mr([{provide:Zt,multi:!0,useValue:r},[],{provide:$,useFactory:ms,deps:[rt]},{provide:Pr,multi:!0,useFactory:fs},e.map(i=>i.\u0275providers)])}function ms(r){return r.routerState.root}function er(r,e){return{\u0275kind:r,\u0275providers:e}}function fs(){let r=m(gr);return e=>{let i=r.get(Er);if(e!==i.components[0])return;let t=r.get(rt),n=r.get(gs);r.get(vs)===1&&t.initialNavigation(),r.get(bs,null,ht.Optional)?.setUpPreloading(),r.get(ps,null,ht.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var gs=new E("",{factory:()=>new z}),vs=new E("",{providedIn:"root",factory:()=>1});var bs=new E("");function ea(r){return er(5,[{provide:tt,useValue:r}])}function ta(){return er(8,[Br,{provide:Xe,useExisting:Br}])}function ra(r){let e=[{provide:Cn,useValue:Xi},{provide:qn,useValue:d({skipNextTransition:!!r?.skipInitialTransition},r)}];return er(9,e)}var ie=class{constructor(){this.tags=[],this.tags=[]}getId(){return this.id}setId(e){return this.id=e,this}getAuthor(){return this.author}setAuthor(e){return this.author=e,this}getCite(){return this.cite}setCite(e){return this.cite=e,this}getTags(){return this.tags??[]}setTags(e=[]){return e===void 0?this:(this.tags=e,this)}addTag(e){return this.tags&&!this.tags.includes(e.trim())&&this.tags.push(e.trim()),this}hasTags(){return!!this.tags.length}};var Cs=[{cite:"Chaque commencement rec\xE8le une magie cach\xE9e.",author:"Hermann Hesse",tags:["espoir"]},{cite:"Rarement nous pensons \xE0 ce que nous avons, mais souvent \xE0 ce qui nous manque.",author:"Arthur Schopenhauer",tags:["simplicit\xE9"]},{cite:"Comme le dauphin j'ai le dos fin.",author:"Ma\xEEtre Reiki Kanak"},{cite:"L'\xE2me porte les couleurs de tes pens\xE9es.",author:"Marc Aur\xE8le"},{cite:"Apprenons \xE0 tendre la main pas seulement pour recevoir, mais \xE9galement pour donner.",author:"Wembo Jah Olela",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Peu importe o\xF9 nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.",author:"Fynn Kliemann",tags:["amour"]},{cite:"Pour faire du bien, personne n'a besoin de r\xE9fl\xE9chir.",author:"Johann Wolfgang Von Goethe",tags:["bienveillance"]},{cite:"Il n'y a que deux fa\xE7ons de vivre sa vie : l'une en faisant comme si rien n'\xE9tait un miracle, l'autre en faisant comme si tout \xE9tait un miracle.",author:"Albert Einstein",tags:["joie"]},{cite:"La facult\xE9 de se mettre dans la peau des autres et de r\xE9fl\xE9chir \xE0 la mani\xE8re dont on agirait \xE0 leur place est tr\xE8s utile si on veut apprendre \xE0 aimer quelqu'un.",author:"Dalai Lama",tags:["amour"]},{cite:"R\xE9pands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; r\xE9pands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.",author:"Cl\xE9obus de Lindos",tags:["amiti\xE9"]},{cite:"Souris au monde et le monde te sourira.",author:"Soeur Emmanuelle",tags:["joie"]},{cite:"L'humour a non seulement quelque chose de lib\xE9rateur, mais encore quelque chose de sublime et d'\xE9lev\xE9.",author:"Sigmund Freud",tags:["rire"]},{cite:"On ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Seuls les sens peuvent gu\xE9rir l'\xE2me, tout comme l'\xE2me seule peut gu\xE9rir les sens.",author:"Oscar Wilde"},{cite:"L'amour n'est pas dans l'autre, il est en nous-m\xEAmes ; nous le r\xE9veillons. Mais pour ce r\xE9veil, nous avons besoin de l'autre.",author:"Paulo Coelho"},{cite:"L'ornement de la main, ce sont ses doigts.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'optimiste rit pour oublier ; le pessimiste oublie de rire.",author:"Anonyme"},{cite:"Parfois on ne per\xE7oit l'amour car la vie quotidienne peut nous rendre aveugle.",author:"Anonyme"},{cite:"Ecouter, c'est aimer.",author:"Fran\xE7ois Lelord",tags:["amour"]},{cite:"Si tu veux la lune, ne te cache pas durant la nuit. Si tu veux une rose, n'aie pas peur des \xE9pines. Si tu veux l'amour, ne cache pas ta vrai personne.",author:"Rumi",tags:["amour"]},{cite:"Les r\xEAves \xE9veill\xE9s maintiennent notre \xE9quilibre mental.",author:"Elisabeth Maria Maurer"},{cite:"L'\xE9nergie suit les pens\xE9es.",author:"Tony Robbins"},{cite:"Les questions sont les cl\xE9s pour acc\xE9der au tr\xE9sors.",author:"Georg-Wilhelm Exler"},{cite:"L'amour ne voit pas avec les yeux mais avec l'\xE2me.",author:"William Shakespeare"},{cite:"L'espoir, c'est rentrer sous la pluie et sortir sous un beau soleil.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Les folies sont les seules choses qu'on ne regrette jamais.",author:"Oscar Wilde"},{cite:"Un sourire est une clef secr\xE8te qui ouvre bien des coeurs.",author:"Baden-Powell"},{cite:"Le chocolat plonge des \xEAtres par ailleurs normaux dans d'\xE9tranges \xE9tats extatiques.",author:"John West"},{cite:"On a deux vies. La deuxi\xE8me commence le jour o\xF9 on r\xE9alise qu'on en a juste une.",author:"Confucius"},{cite:"Je vais \xEAtre jaloux de cette tour. Elle est plus c\xE9l\xE8bre que moi.",author:"Gustave Eiffel"},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard"},{cite:"Nous portons en nous des merveilles que nous cherchons en dehors de nous.",author:"Thomas Browne"},{cite:"L\xE0 o\xF9 l'on s'aime il ne fait jamais nuit.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Le risque de prendre une mauvaise d\xE9cision n'est rien compar\xE9 \xE0 la terreur de l'ind\xE9cision.",author:"Maimonide"},{cite:"En tentant l'impossible, on peut atteindre le plus haut niveau du possible.",author:"August Strindberg"},{cite:"Souris \xE0 la vie pour qu'elle te sourit.",author:"Proverbe tunisien",tags:["proverbe"]},{cite:"A coeur vaillant rien d'impossible.",author:"Jacques Coeur"},{cite:"L'important n'est pas ce que l'on regarde mais ce que l'on voit.",author:"Henry David Thoreau"},{cite:"A travers les feuilles d'un bon livre, on pourra entendre un \xE9cho qui ressemble aux bruits des f\xF4rets.",author:"Henry David Thoreau"},{cite:"Assure-toi que la bougie est allum\xE9e avant d'\xE9teindre l'allumette.",author:"Proverbe cr\xE9ole",tags:["proverbe"]},{cite:"Quand l'amour grandit en toi, la beaut\xE9 fat de m\xEAme. Car l'amour est la beaut\xE9 de l'\xE2me.",author:"Marcel Proust"},{cite:"Le v\xE9ritable voyage de d\xE9couverte ne consiste pas \xE0 chercher de nouveaux paysages, mais \xE0 avoir de nouveaux yeux.",author:"Marcel Proust"},{cite:"Dans la vie tu as deux choix le matin : soit tu te recouches pour poursuivre ton r\xEAve, soit tu te l\xE8ves pour le r\xE9aliser.",author:"Axel Albanel"},{cite:"La diplomatie, c'est faire et dire les plus vilaines choses de la mani\xE8re la plus \xE9l\xE9gante.",author:"Isaac Goldberg"},{cite:"Choisissez un travail que vous aimez et vous n'aurez pas \xE0 travailler un seul jour de votre vie.",author:"Confucius"},{cite:"L'imagination vaut bien des voyages et elle co\xFBte moins cher.",author:"George William Curtis"},{cite:"Faites que le r\xEAve d\xE9vore votre vie, afin que la vie ne d\xE9vore votre r\xEAve.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Deviens sans cesse celui que tu es, sois le ma\xEEtre et le sculpteur de toi-m\xEAme.",author:"Friederich Nietzsche"},{cite:"La nature nous a donn\xE9 une langue et deux oreilles, afin que nous \xE9coutions le double de ce que nous disons.",author:"Z\xE9non"},{cite:"Chaque baiser est un tremblement de terre.",author:"George Gordon Byron"},{cite:"Un grand \xE9crivain se remarque au nombre de pages qu'il ne publie pas.",author:"St\xE9phane Mallarm\xE9"},{cite:"Fais ce que tu aimes et fais-le souvent.",author:"Anonyme"},{cite:"Aimer savoir est humain, savoir aimer est divin.",author:"Joseph Roux"},{cite:"Plus le visage est s\xE9rieux, plus le sourire est beau.",author:"Fran\xE7ois Ren\xE9 de Chateaubriand"},{cite:"Le sourire que tu envoies revient vers toi.",author:"Proverbe hindou",tags:["proverbe"]},{cite:"Le sourire fait fondre la glace, installe la confiance et gu\xE9rit les blessures, c'est la clef des relations humaines sinc\xE8res.",author:"Voltaire"},{cite:"On n'est jamais puni pour avoir fait mourir de rire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a autant de beaut\xE9s qu'il y a de mani\xE8res habituelles de chercher le bonheur.",author:"Charles Baudelaire"},{cite:"Toute r\xE9v\xE9lation d'un secret est la faute de celui qui l'a confi\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"A celui qui sait attendre tout vient \xE0 temps .",author:"Fran\xE7ois Rabelais"},{cite:"On voyage pour changer, non de lieu, mais d'id\xE9es.",author:"Hippolyte Taine"},{cite:"Fruits et racines ont m\xEAme commune mesure qui est l'arbre.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"La beaut\xE9 est dans les yeux de celui qui regarde.",author:"Oscar Wilde"},{cite:"Les amis sont des compagnons de voyage, qui nous aident \xE0 avancer sur le chemin d\u2019une vie plus heureuse.",author:"Pythagore"},{cite:"Le plaisir est le bonheur des fous, le bonheur est le plaisir des sages.",author:"Jules Barbey d'Aurevilly"},{cite:"La joie est en tout, il suffit de savoir l'extraire.",author:"Confucius"},{cite:"La table est l'entremetteuse de l'amiti\xE9.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Le g\xE9nie, c'est l'enfance retrouv\xE9e \xE0 volont\xE9.",author:"Charles Baudelaire"},{cite:"Le rem\xE8de \xE0 l'ennui c'est la curiosit\xE9. La curiosit\xE9 elle, est sans rem\xE8de.",author:"Anonyme"},{cite:"Il n'est pas de plaisir plus doux que de surprendre un homme en lui donnant plus qu'il n'esp\xE8re.",author:"Charles Baudelaire"},{cite:"Sachez vous \xE9loigner car, lorsque vous reviendrez \xE0 votre travail votre jugement sera plus s\xFBr.",author:"L\xE9onard de Vinci"},{cite:"C'est l'incertitude qui nous charme. Tout devient merveilleux dans la brume.",author:"Oscar Wilde"},{cite:"La bonne volont\xE9 raccourcit le chemin.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Bonne cuisine et bon vin, c'est le paradis sur terre.",author:"Henri IV"},{cite:"La musique est la langue des \xE9motions.",author:"Emmanuel Kant"},{cite:"Gu\xE9rir parfois, soulager souvent, \xE9couter toujours.",author:"Louis Pasteur"},{cite:"Les mots manquent aux \xE9motions.",author:"Victor Hugo"},{cite:"Le plaisir se ramasse la joie se cueille et le bonheur se cultive.",author:"Bouddha"},{cite:"Que ton baiser ait l'ardeur du soleil et la rose te donnera tout son parfum.",author:"Proverbe kurde",tags:["proverbe"]},{cite:"Quand ce que vous pensez, ce que vous dites et ce que vous faites sont en harmonie, le bonheur vous appartient.",author:"Gandhi"},{cite:"Qui veut faire le bonheur des autres a d\xE9j\xE0 fait le sien.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La sagesse, c'est d'avoir des r\xEAves suffisamment grands pour ne pas les perdre de vue lorsqu'on les poursuit.",author:"Oscar Wilde"},{cite:"Eclaire demain avec aujourd'hui !",author:"Elizabeth Barret Browning"},{cite:"Apprends \xE0 \xE9crire tes blessures dans le sable et \xE0 graver tes joies dans la pierre.",author:"Lao Tseu"},{cite:"Maison de paille o\xF9 l'on rit vaut mieux qu'un palais o\xF9 l'on pleure.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Toute l'invention consiste \xE0 faire quelque chose de rien.",author:"Jean Racine"},{cite:"L'id\xE9al de l'amiti\xE9 c'est de se sentir un et de rester deux.",author:"Anne Sophie Swetchine"},{cite:"Un seul homme arm\xE9 de courage vaut une majorit\xE9.",author:"Andrew Jackson"},{cite:"La Tour Eiffel ne devait durer que 20 ans, ... elle est devenue aussi \xE9ternelle que Paris !",author:"Anonyme"},{cite:"En se posant sur la branche, le papillon craint de la briser.",author:"Proverbe arm\xE9nien",tags:["proverbe"]},{cite:"Il ne faut avoir aucun regret pour le pass\xE9, aucun remords pour le pr\xE9sent, et une confiance in\xE9branlable pour l'avenir.",author:"Jean Jaur\xE8s"},{cite:"Un peu de jalousie \xE9veille un amour heureux qui s'endort.",author:"Mme Deshouli\xE8res"},{cite:"La simplicit\xE9 est la sophistication supr\xEAme.",author:"L\xE9onard de Vinci"},{cite:"Supprimons de la vie toute raison d'ennuis : car il est court le temps qui nous est imparti !",author:"M\xE9nandre"},{cite:"Quelque d\xE9licat que l'on soit en amour, on pardonne plus de fautes que dans l'amiti\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"Le travail, en autres avantages, a celui de raccourcir les journ\xE9es et d'\xE9tendre la vie.",author:"Denis Diderot"},{cite:"Si nous prenons la nature pour guide, nous ne nous \xE9garerons jamais.",author:"Cic\xE9ron"},{cite:"L'accent circonflexe est l'hirondelle de l'\xE9criture.",author:"Jules Renard"},{cite:"L'\xE9motion artistique cesse o\xF9 l'analyse et la pens\xE9e interviennent.",author:"Max Jacob"},{cite:"La pens\xE9e n'est qu'un \xE9clair au milieu de la nuit. Mais c'est cet \xE9clair qui est tout.",author:"Henri Poincar\xE9"},{cite:"L'accent est l'\xE2me du discours, il lui donne le sentiment et la v\xE9rit\xE9.",author:"Jean-Jacques Rousseau"},{cite:"La crainte du danger est mille fois plus terrifiante que le danger pr\xE9sent.",author:"Daniel Defoe"},{cite:"La lutte donne au triomphe la saveur de la passion, et la victoire embellit la conqu\xEAte.",author:"Georges Meredith"},{cite:"De toutes les passions, la seule vraiment respectable me parait \xEAtre la gourmandise.",author:"Guy de Maupassant"},{cite:"Jamais les mots ne manquent aux id\xE9es ; ce sont les id\xE9es qui manquent aux mots.",author:"Joseph Joubert"},{cite:"L'\xE2ge auquel on partage tout est g\xE9n\xE9ralement l'\xE2ge o\xF9 on n'a rien.",author:"Alphonse Karr"},{cite:"Une erreur originale vaut mieux qu'une v\xE9rit\xE9 banale.",author:"Fiodor Dosto\xEFevski"},{cite:"Le veinard est celui qui arrive \xE0 tout ; le malchanceux est celui \xE0 qui tout arrive.",author:"Eug\xE8ne Labiche"},{cite:"La seule limite \xE0 notre \xE9panouissement de demain sera nos doutes d'aujourd'hui.",author:"Franklin Delano Roosevelt"},{cite:"Il n'y a pas de moyen pour polir le h\xE9risson.",author:"Aristophane"},{cite:"L'amour qui na\xEEt subitement est le plus long \xE0 gu\xE9rir.",author:"Jean de La Bruy\xE8re"},{cite:"Il n'y a pas de plus grande joie que celle qu'on n'attend pas.",author:"Sophocle"},{cite:"Quand la col\xE8re emplit ton coeur, ne laisse pas ta langue aboyer en vain.",author:"Sappho"},{cite:"Un grain de gaiet\xE9 assaisonne tout.",author:"Baltasar Gracian"},{cite:"Qui rougit est d\xE9j\xE0 coupable, la vraie innocence n'a honte de rien.",author:"Jean-Jacques Rousseau"},{cite:"Il n'y a point de g\xE9nie sans grain de folie.",author:"Aristote"},{cite:"J'aime le lit, c'est le seul endroit o\xF9, comme le chat, je puis faire le mort en respirant, tout en \xE9tant vivant.",author:"Arthur Cravan"},{cite:"Le seul homme \xE0 ne jamais faire d'erreur est celui qui ne fait rien.",author:"Th\xE9odore Roosevelt"},{cite:"Le plus grand voyageur est celui qui a su faire une fois le tour de lui-m\xEAme.",author:"Confucius"},{cite:"C'est la nuit qu'il est beau de croire \xE0 la lumi\xE8re.",author:"Edmond Rostand"},{cite:"Pour l'amour d'une rose, le jardinier devient l'esclave de mille \xE9pines.",author:"Proverbe turc",tags:["proverbe"]},{cite:"D\xE9ploie ton jeune courage, enfant ; c'est ainsi qu'on s'\xE9l\xE8ve jusqu'aux astres.",author:"Virgile"},{cite:"Nul ne veut le bien public que quand il s'accorde avec le sien.",author:"Jean-Jacques Rousseau"},{cite:"On avale \xE0 pleine gorg\xE9e le mensonge qui nous flatte, et l'on boit goutte \xE0 goutte une v\xE9rit\xE9 qui nous est am\xE8re.",author:"Denis Diderot"},{cite:"Appelons hommes de g\xE9nie qui font vite ce que nous faisons lentement.",author:"Joseph Joubert"},{cite:"Rien n'est s\xE9rieux en ce bas monde que le rire.",author:"Gustave Flaubert"},{cite:"Les soucis enlaidissent, c'est la joie qui fait fleurir.",author:"Proverbe berb\xE8re",tags:["proverbe"]},{cite:"Qui fait rire l'esprit se rend ma\xEEtre du coeur.",author:"Cardinal de Bernis"},{cite:"On ne peut apprendre au crabe \xE0 marcher droit.",author:"Aristophane"},{cite:"Ferme les yeux et tu verras.",author:"Joseph Joubert"},{cite:"L'homme le plus heureux est celui qui fait le bonheur d'un plus grand nombre d'autres.",author:"Denis Diderot"},{cite:"A l'oiseau, le nid; \xE0 l'araign\xE9e, la toile; \xE0 l'homme, l'amiti\xE9.",author:"William Blake"},{cite:"Rien ne s'accomplit dans ce monde sans passion.",author:"Georg Whilhelm Friedrich Hegel"},{cite:"N'engage pas de d\xE9bat lors d'un d\xEEner car celui qui n'a pas faim aura le dernier mot.",author:"Richard Whately"},{cite:"Les paroles sages tombent quelquefois dans l'oreille d'un sourd ; mais un mot gentil n'est jamais perdu.",author:"Arthur Helps"},{cite:"Je crois beaucoup en la chance, et je constate que plus je travaille, plus elle me sourit.",author:"Thomas Jefferson"},{cite:"L'exp\xE9rience est un peigne que la nature nous donne une fois que nous sommes chauves.",author:"Proverbe belge",tags:["proverbe"]},{cite:"Le rire et le sommeil sont les meilleurs rem\xE8des du monde.",author:"Proverbe irlandais",tags:["proverbe"]},{cite:"L'enfance est un papillon qui se h\xE2te de br\xFBler ses blanches ailes aux flammes de la jeunesse.",author:"Aloysius Bertrand"},{cite:"La puissance, c'est imposer sa volont\xE9 aux autres. La force, c'est se l'imposer \xE0 soi-m\xEAme.",author:"Lao Zi"},{cite:"A No\xEBl, je n'ai pas plus envie de rose que je ne voudrais de neige au printemps. J'aime chaque saison pour ce qu'elle apporte.",author:"William Shakespeare"},{cite:"Le meilleur secret pour ne jamais tomber c'est de rester toujours assis.",author:"Stendhal"},{cite:"La vari\xE9t\xE9 est la v\xE9ritable \xE9pice de la vie. Qui lui donne toute sa saveur.",author:"William Cowper"},{cite:"Pour retrouver sa jeunesse, il n'y a qu'\xE0 recommencer ses folies.",author:"Th\xE9odore Roosevelt"},{cite:"Le rire que tu offres te sera rendu au centuple.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Pour les habits, rien ne vaut les neufs, pour les amis, rien ne vaut les vieux.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a toujours un peu de folie dans l'amour mais il y a toujours un peu de raison dans la folie.",author:"Friederich Nietzsche"},{cite:"Faire caca, c'est se lib\xE9rer d'un poids.",author:"Camille Richard"},{cite:"L'exp\xE9rience est le nom que l'on donne \xE0 ses erreurs.",author:"Oscar Wilde"},{cite:"Le bonheur est la plus grande des conqu\xEAtes, celle qu'on fait contre le destin qui nous est impos\xE9.",author:"Albert Camus"},{cite:"On ne devrait vivre que pour le plaisir. Rien ne vieillit comme le bonheur.",author:"Oscar Wilde"},{cite:"Ne juge aucun homme avant d'avoir march\xE9 avec ses mocassins durant deux lunes.",author:"Proverbe am\xE9rindien",tags:["proverbe"]},{cite:"Vous ne parviendrez jamais \xE0 faire des sages si vous ne faites d'abord des polissons.",author:"Jean-Jacques Rousseau"},{cite:"Ce qui \xE9tonne, \xE9tonne une fois, mais ce qui est admirable est de plus en plus admir\xE9.",author:"Joseph Joubert"},{cite:"Ce qui est admirable, ce n'est pas que le champ des \xE9toiles soit si vaste, c'est que l'homme l'ait mesur\xE9.",author:"Anatole France"},{cite:"Le tout c'est d'avoir du g\xE9nie \xE0 vingt ans et du talent \xE0 quatre-vingts.",author:"Camille Corot"},{cite:"Une image vaut mille mots.",author:"Confucius"},{cite:"La mesure de l'amour c'est d'aimer sans mesure.",author:"Saint-Augustin"},{cite:"No\xEBl n'est pas un jour ni une saison, c'est un \xE9tat d'esprit.",author:"John Calvin Coolidge"},{cite:"Il n'est pas d'hiver sans neige, de printemps sans soleil, et de joie sans \xEAtre partag\xE9e.",author:"Proverbe serbe",tags:["proverbe"]},{cite:"Les plus beaux mots du monde ne sont que des sons inutiles si vous ne pouvez pas les comprendre.",author:"Anatole France"},{cite:"Si haut que parvienne une chose lanc\xE9e, c'est \xE0 terre qu'elle retourne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"H\xE2te-toi de bien vivre et songe que chaque jour est \xE0 lui seul une vie.",author:"S\xE9n\xE8que"},{cite:"Tout \xE2ge porte ses fruits, il faut savoir les cueillir.",author:"Raymond Radiguet"},{cite:"Nul devoir n'est plus sous-estim\xE9 que celui d'\xEAtre heureux.",author:"Robert Louis Stevenson"},{cite:"Peu de gens ont le courage d'\xEAtre l\xE2ches devant t\xE9moins.",author:"Th\xE9ophile Gautier"},{cite:"L'or te donne la terre, la terre te donne de l'or.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le regard est le m\xE9diateur des coeurs.",author:"Anonyme"},{cite:"Ce n'est pas parce que les choses sont difficiles que nous n'osons pas, c'est parce que nous n'osons pas qu'elles sont difficiles.",author:"S\xE9n\xE8que"},{cite:"En art comme en amour, l'instinct suffit.",author:"Anatole France"},{cite:"Le cadeau, dira-t-on, n'a rien de somptueux, mais venant d'un ami, tout nous est pr\xE9cieux.",author:"Th\xE9ocrite"},{cite:"La franchise ne consiste pas \xE0 dire tout ce que l'on pense mais \xE0 penser tout ce que l'on dit.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Les petits cadeaux entretiennent l'amiti\xE9. Le premier qui a dit dela voulait se faire donner quelque chose.",author:"Eug\xE8ne Scribe"},{cite:"Les premiers sentiments sont toujours les plus naturels.",author:"Madame de S\xE9vign\xE9"},{cite:"Qui ne peut comme il veut, doit vouloir comme il peut.",author:"T\xE9rence"},{cite:"Etre jeune, c'est avoir un esprit qui calcule et un coeur qui ne calcule pas.",author:"Ren\xE9 Bazin"},{cite:"La s\xE9duction supr\xEAme n'est pas d'exprimer ses sentiments. C'est de les faire soup\xE7onner.",author:"Jules Barbey d'Aurevilly"},{cite:"L'action ne doit pas \xEAtre une r\xE9action mais une cr\xE9ation.",author:"Censier (droit f\xE9odal)"},{cite:"On ne devrait s'\xE9tonner que de pouvoir encore s'\xE9tonner.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"Le coeur n'a pas de ma\xEEtre, il n'est pas un esclave, et de toute contrainte il sait briser l'entrave.",author:"Adam Mickiewicz"},{cite:"Le pass\xE9 est un phare, et non un port.",author:"Proverbe russe",tags:["proverbe"]},{cite:"La parole est moiti\xE9 \xE0 celui qui parle, moiti\xE9 \xE0 celui qui \xE9coute.",author:"Michel de Montaigne"},{cite:"Un po\xE8me est un myst\xE8re dont le lecteur doit chercher la clef.",author:"St\xE9phane Mallarm\xE9"},{cite:"La vie est trop courte pour \xEAtre petite.",author:"Proverbe anglais",tags:["proverbe"]},{cite:"Dans une avalanche, aucun flocon ne se sent jamais responsable.",author:"Voltaire"},{cite:"A vingt ans, c'est la volont\xE9 qui r\xE8gne, \xE0 trente ans l'esprit, et \xE0 quarante le jugement.",author:"Benjamin Franklin"},{cite:"Ayez le courage de ne pas savoir un grand nombre de choses afin d'\xE9viter la certitude de ne rien savoir.",author:"Sydney Smith"},{cite:"Je crois pouvoir dire d'un poste \xE9minent et d\xE9licat qu'on y monte plus ais\xE9ment qu'on ne s'y conserve.",author:"Jean de La Bruy\xE8re"},{cite:"Ecrire, c'est d\xE9j\xE0 mettre du noir sur du blanc.",author:"St\xE9phane Mallarm\xE9"},{cite:"Il est temps de vivre la vie que tu t'es imagin\xE9e.",author:"Henry James"},{cite:"Qu'importe aux coeurs unis ce qui change autour d'eux.",author:"Alphonse de Lamartine"},{cite:"N'allez pas l\xE0 o\xF9 le chemin peut mener. Allez l\xE0 o\xF9 il n'y a pas de chemin et laissez une trace.",author:"Ralph Waldo Emerson"},{cite:"Lorsqu'on tire sur un seul fil de la nature, on d\xE9couvre qu'il est attach\xE9 au reste du monde.",author:"John Muir"},{cite:"L'exp\xE9rience est une lanterne que l'on porte sur le dos et qui n'\xE9claire jamais que le chemin parcouru.",author:"Confucius"},{cite:"La nature fait les choses sans se presser, et pourtant tout est accompli.",author:"Lao Zi"},{cite:"Apprends comme si tu devais vivre pour toujours et vis comme si tu devais mourir ce soir !",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Si tu veux \xEAtre heureux, sois-le.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le grand inconv\xE9nient des livres nouveaux est de nous emp\xEAcher de lire les anciens.",author:"Joseph Joubert"},{cite:"On ne doit pas juger du m\xE9rite d'un homme par ses grandes qualit\xE9s, mais par l'usage qu'il en sait faire.",author:"Jean de La Bruy\xE8re"},{cite:"J'ai d\xE9cid\xE9 d'\xEAtre heureux, c'est meilleur pour la sant\xE9.",author:"Voltaire"},{cite:"Un instant de bonheur vaut mille ans dans l'histoire.",author:"Voltaire"},{cite:"Toute beaut\xE9 est une joie \xE9ternelle.",author:"John Keats"},{cite:"J'ai toujours pr\xE9f\xE9r\xE9 la folie des passions \xE0 la sagesse de l'indiff\xE9rence.",author:"Anatole France"},{cite:"Une joie partag\xE9e est une double joie, un chagrin partag\xE9 est un demi-chagrin.",author:"Jacques Deval"},{cite:"Un seul \xEAtre vous manque et tout est d\xE9peupl\xE9.",author:"Alphonse de Lamartine"},{cite:"Si votre coeur est une rose, votre bouche dira des mots parfum\xE9s.",author:"Proverbe russe",tags:["proverbe"]},{cite:"Ce que l'on con\xE7oit bien s'\xE9nonce clairement, et les mots pour le dire arrivent ais\xE9ment.",author:"Nicolas Boileau"},{cite:"Ann\xE9es de cerises rouges met le rire sur les bouches.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Quelle noblesse d'avoir un ami, mais combien plus noble d'\xEAtre un ami.",author:"Richard Wagner"},{cite:"Pour les femmes, la douceur est le meilleur moyen d'avoir raison.",author:"Madame de Maintenon"},{cite:"La perfection est un chemin, non une fin.",author:"Proverbe cor\xE9en",tags:["proverbe"]},{cite:"Quiconque a bu une tasse de chocolat r\xE9siste \xE0 une journ\xE9e de voyage.",author:"Johann Wolfgang Von Goethe"},{cite:"Un des bonheurs de l'amiti\xE9, c'est de savoir \xE0 qui confier un secret.",author:"Alessandro Manzoni"},{cite:"Dis-toi d'abord ce que tu veux \xEAtre, puis fais ce qu'il faut pour le devenir.",author:"Epict\xE8te"},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand"},{cite:"L'art d'\xEAtre tant\xF4t tr\xE8s audacieux et tant\xF4t tr\xE8s prudent est l'art de r\xE9ussir.",author:"Napol\xE9on Bonaparte"},{cite:"L\u2019amour, c\u2019est la fusion, l\u2019identification de deux \xEAtres qui s\u2019admirent et s\u2019adorent l\u2019un l\u2019autre.",author:"George Sand"},{cite:"L'art de l'\xE9crivain consiste surtout \xE0 nous faire oublier qu'il emploie des mots.",author:"Henri Bergson"},{cite:"Le d\xE9sordre est simplement l'ordre que nous ne cherchons pas.",author:"Henri Bergson"},{cite:"Le style est comme le cristal, sa puret\xE9 fait son \xE9clat.",author:"Victor Hugo"},{cite:"L'homme devrait mettre autant d'ardeur \xE0 simplifier sa vie qu'il en met \xE0 la compliquer.",author:"Henri Bergson"},{cite:"Il faut agir en homme de pens\xE9e et penser en homme d'action.",author:"Henri Bergson"},{cite:"R\xEAver c'est se d\xE9sint\xE9resser.",author:"Henri Bergson"},{cite:"Quoi que tu r\xEAves d'entreprendre, commence-le. L'audace a du g\xE9nie, du pouvoir, de la magie.",author:"Johann Wolfgang Von Goethe"},{cite:"En mati\xE8re de sentiment, le manque de logique est la meilleure preuve de la sinc\xE9rit\xE9.",author:"L\xE9on Tolsto\xEF"},{cite:"Le d\xE9faut de l'\xE9galit\xE9, c'est que nous ne la voulons qu'avec nos sup\xE9rieurs.",author:"Henri Becque"},{cite:"Papillon, ce billet doux pli\xE9 cherche une adresse de fleur.",author:"Jules Renard"},{cite:"Si vous voulez que vos r\xEAves se r\xE9alisent, ne dormez pas.",author:"Proverbe juif",tags:["proverbe"]},{cite:"Si les cieux pleurent, la terre vivra.",author:"Proverbe hawaiien",tags:["proverbe"]},{cite:"Les r\xEAves d'un chat sont peupl\xE9s de souris.",author:"Proverbe libanais",tags:["proverbe"]},{cite:"Nul n'est plus chanceux que celui qui croit \xE0 sa chance.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"On peut aussi b\xE2tir quelque chose de beau avec les pierres qui entravent le chemin.",author:"Johann Wolfgang Von Goethe"},{cite:"Tout ce que tu feras sera d\xE9risoire, mais il est essentiel que tu le fasses.",author:"Gandhi"},{cite:"La rose n'a d'\xE9pines que pour celui qui veut la cueillir.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Chaque homme cache en lui un enfant qui veut jouer..",author:"Friederich Nietzsche"},{cite:"Pour savoir o\xF9 l'on va, il faut savoir o\xF9 l'on est.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Sans la musique, la vie serait une erreur.",author:"Friederich Nietzsche"},{cite:"A No\xEBl, amusons-nous, profitons-en, car No\xEBl ce n'est qu'une fois par an.",author:"Thomas Tusser"},{cite:"Un homme sans culture, tel un chat sans moustaches, se sent perdu.",author:"Anonyme"},{cite:"La science d\xE9crit la nature, la po\xE9sie la peint et l'embellit.",author:"Georges-Louis Leclerc de Buffon"},{cite:"Si on ne cultive pas le bonheur comment voulez vous qu'il pousse ?",author:"Po\xE8te inconnu"},{cite:"Une fleur fane m\xEAme si on l'aime ; une mauvaise herbe cro\xEEt m\xEAme si on ne l'aime pas.",author:"D\xF6gen"},{cite:"Quand tu lances la fl\xE8che de la v\xE9rit\xE9, trempe toujours la pointe dans du miel.",author:"Proverbe arabe",tags:["proverbe"]},{cite:"L'esp\xE9rance d'une joie est presque \xE9gale \xE0 la joie.",author:"William Shakespeare"},{cite:"Qui donne ne doit jamais s'en souvenir. Qui re\xE7oit ne doit jamais oublier.",author:"Proverbe h\xE9breu",tags:["proverbe"]},{cite:"Une fois la partie termin\xE9e, le roi et le pion retournent dans la m\xEAme bo\xEEte.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Bien \xEAtre : \xE9tat d'esprit produit par la contemplation des ennuis d'autrui.",author:"Ambrose Bierce"},{cite:"La vie, ce n'est pas d'attendre que l'orage passe, c'est d'apprendre \xE0 danser sous la pluie.",author:"S\xE9n\xE8que"},{cite:"L'humour est une disposition d'esprit qui fait qu'on exprime avec gravit\xE9 des choses frivoles et avec l\xE9g\xE8ret\xE9 des choses s\xE9rieuses.",author:"Afred Capus"},{cite:"Accepter l'id\xE9e d'une d\xE9faite, c'est \xEAtre vaincu.",author:"Mar\xE9chal Foch"},{cite:"Le but n'est pas toujours plac\xE9 pour \xEAtre atteint, mais pour servir de point de mire.",author:"Joseph Joubert"},{cite:"Si on veut conna\xEEtre un peuple, il faut \xE9couter sa musique.",author:"Platon"},{cite:"On peut peindre une fleur, mais pas son odeur.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Parmi les cinq sens, la vue, l'ou\xEFe et l'odorat connaissent moins d'interdits que le toucher et le go\xFBt.",author:"L\xE9onard de Vinci"},{cite:"On n'a jamais fait de grande d\xE9couverte sans hypoth\xE8se audacieuse.",author:"Isaac Newton",tags:["science","audace"]},{cite:"L'exp\xE9rience prouve que celui qui n'a jamais confiance en personne ne sera jamais d\xE9\xE7u.",author:"L\xE9onard de Vinci"},{cite:"L'attention de celui qui \xE9coute sert d'accompagnement dans la musique du discours.",author:"Joseph Joubert"},{cite:"L'homme n'a point de port, le temps n'a pas de rive ; Il coule et nous passons !",author:"Alphonse de Lamartine"},{cite:"On se sert des couleurs, mais on peint avec le sentiment.",author:"Jean Chardin"},{cite:"Si on ne peut pas rire au paradis, je ne tiens pas \xE0 y aller.",author:"Martin Luther"},{cite:"L'amour n'est pas seulement un sentiment, il est un art aussi.",author:"Honor\xE9 de Balzac"},{cite:"Un homme sans culture, c'est comme un z\xE8bre sans rayure. C'est un \xE2ne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Nous pesons rarement dans la m\xEAme balance des offenses que nous faisons et les offenses que l'on nous fait.",author:"Esope"},{cite:"Il faut toujours se r\xE9server le droit de rire le lendemain de ses id\xE9es de la veille.",author:"Napol\xE9on Bonaparte"},{cite:"Le cri du sentiment est toujours absurde ; mais il est sublime parce qu'il est absurde.",author:"Charles Baudelaire"},{cite:"Lorsque les hommes travaillent ensemble, les montagnes se changent en or.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il faut toujours bien faire ce qu'on fait, m\xEAme une folie.",author:"Honor\xE9 de Balzac"},{cite:"Sourire trois fois par tous les jours rend inutile tout m\xE9dicament.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le sourire est le m\xEAme dans toutes les langues.",author:"Proverbe mexicain",tags:["proverbe"]},{cite:"Tout portrait qu'on peint avec \xE2me est un portrait, non du mod\xE8le, mais de l'artiste.",author:"Oscar Wilde"},{cite:"C'est par l'adresse que vaut le b\xFBcheron, bien plus que par la force.",author:"Hom\xE8re"},{cite:"La plus perdue de toutes les journ\xE9es est celle o\xF9 l'on a pas ri.",author:"Nicolas de Chamfort"},{cite:"Nous tissons notre destin, nous le tirons de nous comme l'araign\xE9e de la toile.",author:"Fran\xE7ois Mauriac"},{cite:"Il faut faire le sacrifice de ses pr\xE9f\xE9rences mais pas celui de ses convictions.",author:"Ren\xE9 Bazin"},{cite:"La musique commence l\xE0 o\xF9 s'arr\xEAte le pouvoir des mots.",author:"Richard Wagner"},{cite:"La joie n'est pas dans les choses, elle est en nous.",author:"Richard Wagner"},{cite:"Toute ascension vers un endroit merveilleux se fait par un escalier en spirale.",author:"Fran\xE7ois Bacon"},{cite:"La nature fait les hommes semblables, la vie les rend diff\xE9rents.",author:"Confucius"},{cite:"Une heure de conversation vaut mieux que cinquante lettres.",author:"Madame de S\xE9vign\xE9"},{cite:"Sabot qui brille n'est pas toujours celui qui chausse le mieux.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Ce qui est ha\xEFssable, ne le fait pas \xE0 ton prochain ; c'est l\xE0 toute la loi. Le reste n'est que commentaire.",author:"Rabi Hillel"},{cite:"Un rire sinc\xE8re est un rayon de soleil dans une maison.",author:"William Thackeray"},{cite:"Le bonheur c'est un regard, un mot, un sourire pour ceux qui s'aiment.",author:"Delphine de Girardin"},{cite:"Nous sommes plus curieux du sens des r\xEAves que des choses que nous voyons \xE9veill\xE9s.",author:"Diog\xE8ne"},{cite:"Je ne te dis pas que tu es un bon \xE0 rien, je te dis que tu es mauvais en tout !",author:"Le schpountz"},{cite:"Trouver n'est rien, c'est le plan qui est difficile.",author:"Fiodor Dosto\xEFevski"},{cite:"Le monde ne mourra jamais par manque de merveilles mais uniquement par manque d'\xE9merveillement.",author:"Gilbert Keith Chersterton"},{cite:"La modestie est le meilleur app\xE2t pour aller \xE0 la p\xEAche aux compliments.",author:"Gilbert Keith Chersterton"},{cite:"Une civilisation me parait se d\xE9finir \xE0 la fois pas des questions qu'elle pose et par celles qu'elle ne pose pas.",author:"Andr\xE9 Malraux"},{cite:"Si vous voulez que la vie vous sourit, apportez-lui d'abord votre bonne humeur.",author:"Spinoza"},{cite:"Tant de mains pour transformer ce monde, et si peu de regards pour le contempler !",author:"Julien Gracq"},{cite:"Trois bougies repoussent les t\xE9n\xE8bres ; la v\xE9rit\xE9, la connaissance et les lois de la nature.",author:"Proverbe celtique",tags:["proverbe"]},{cite:"Aimez les yeux ouverts.",author:"Jorge Bucay",tags:["extrait"]},{cite:"La beaut\xE9 des choses existe dans l'esprit de celui qui les contemple.",author:"David Hume"},{cite:"Lire, c'est voyager ; voyager, c'est lire.",author:"Victor Hugo"},{cite:"Le bonheur n'est pas la destination, mais la mani\xE8re de voyager.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Un roman, c'est un miroir qu'on prom\xE8ne le long du chemin.",author:"Stendhal"},{cite:"Le bonheur arrive \xE0 ceux qui rient.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Le bonheur est une chose qui se multiplie quand il se divise.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Il n'est pas de plus lourd fardeau que d'avoir trop de d\xE9sirs.",author:"Lao Zi"},{cite:"Le plaisir de l'habitude est souvent plus doux encore que celui de la nouveaut\xE9.",author:"Marcel Proust"},{cite:"La nuit n'est peut-\xEAtre que la paupi\xE8re du jour.",author:"Omar Khayy\xE2m"},{cite:"La patience est l'art d'esp\xE9rer.",author:"Luc de Vauvenargues"},{cite:"Le bonheur, c'est de continuer \xE0 d\xE9sirer ce qu'on poss\xE8de.",author:"Friederich Nietzsche"},{cite:"Le parfait bonheur ne consiste qu'\xE0 rendre les hommes heureux.",author:"Jean-Baptiste Rousseau"},{cite:"Le soir de la vie apporte avec soi sa lampe.",author:"Joseph Joubert"},{cite:"Les grandes choses peuvent se manifester par de petit signes.",author:"Sigmund Freud"},{cite:"Il n'y a point de chemin vers le bonheur, le bonheur est le chemin.",author:"Lao Tseu"},{cite:"Le bonheur est un r\xEAve d'enfant r\xE9alis\xE9 \xE0 l'\xE2ge adulte.",author:"Sigmund Freud"},{cite:"Fais ton bonheur par le bonheur d'autrui.",author:"Voltaire"},{cite:"Le bonheur est en m\xEAme temps ce qu'il y a de meilleur, de plus beau et de plus agr\xE9able.",author:"Aristote"},{cite:"Il ne faut pas dire oui avec la bouche et non avec le coeur.",author:"Lao Tseu"},{cite:"Ne fais rien dans ta vie, qui te fasse redouter que ton voisin en prenne connaissance.",author:"Epicure"},{cite:"Qu'on me donne six heures pour couper un arbre, j'en passerai quatre \xE0 pr\xE9parer ma hache.",author:"Abraham Lincoln"},{cite:"On met plus de passion \xE0 obtenir ce qu'on n'a pas qu'\xE0 conserver ce qu'on a.",author:"Stendhal"},{cite:"Notre plus grande gloire n'est pas de ne jamais tomber, mais de nous relever chaque fois.",author:"Confucius"},{cite:"Les cons\xE9quences de la col\xE8re sont beaucoup plus graves que les causes.",author:"Marc Aur\xE8le"},{cite:"Chaque coup de col\xE8re est un coup de vieux, chaque sourire est un coup de jeune.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La d\xE9couverte d'un mets nouveau fait plus pour le bonheur du genre humain que la d\xE9couverte d'une \xE9toile.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La science est le savoir organis\xE9. La sagesse est la vie organis\xE9e.",author:"Emmanuel Kant"},{cite:"Si je r\xEAve tout seul, cela reste un r\xEAve. Si nous r\xEAvons ensemble, c'est le d\xE9but de la r\xE9alit\xE9.",author:"Proverbe persan",tags:["pens\xE9e positive","proverbe"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe chinois",tags:["pens\xE9e positive","proverbe"]},{cite:"L'\xE9chec est seulement l'opportunit\xE9 de recommencer d'une fa\xE7on plus intelligente.",author:"Henry Ford"},{cite:"N'attendez pas d'\xEAtre heureux pour sourire. Souriez plut\xF4t afin d'\xEAtre heureux.",author:"Edward L. Kramer"},{cite:"Cherche un arbre et laisse-lui t'apprendre le calme.",author:"Eckhart Tolle"},{cite:"S'\xE9loigner de tout rapproche un peu de l'essentiel.",author:"Lo\xEFc Peyron"},{cite:"Ceux qui r\xEAvent \xE9veill\xE9s ont connaissance de mille choses \xE9chappent \xE0 ceux qui ne r\xEAvent qu'endormis.",author:"Edgar Allan Poe"},{cite:"Qui m'aime me suive, disait le vent.",author:"Sylvain Tesson"},{cite:"Ignore toutes les choses qui t'emp\xEAchent d'avancer, en particulier celles qui sont dans ta t\xEAte.",author:"Meryl Streep"},{cite:"La vie seule ne suffit pas. On a aussi besoin d'un rayon de soleil, de libert\xE9 et d'une petite fleur.",author:"Hans Christian Andersen"},{cite:"Les deux jours les plus importants de votre vie sont le jour o\xF9 vous \xEAtes n\xE9 et le jour o\xF9 vous d\xE9couvrez pourquoi.",author:"Mark Twain"},{cite:"Le bonheur est souvent la seule chose que l'on puisse donner sans l'avoir, et c'est en le donnant qu'on l'acquiert.",author:"Voltaire"},{cite:"La vie, c'est un livre qu'on aime, c'est un enfant qui joue \xE0 vos pieds, un outil qu'on tient bien dans sa main, un banc pour se reposer le soir devant sa maison.",author:"Jean Anouilh",tags:["extrait","Antigone"]},{cite:"Je suis ma propre muse.",author:"Frida Kahlo"},{cite:"\xCAtre heureux ne signifie pas que tout est parfait. Cela signifie que vous avez d\xE9cid\xE9 de regarder au-del\xE0 des imperfections.",author:"Aristote"},{cite:"Seule, je ne peux pas changer le monde, mais je peux jeter une pierre dans l'eau et cr\xE9er de nombreuses ondulations.",author:"M\xE8re Teresa"},{cite:"Tout ce que les hommes ont fait de beau et de bien, ils l'ont fait avec leurs r\xEAves.",author:"Bernard Moitessier"},{cite:"Nous n'avons pas besoin de magie pour changer le monde. Nous portons d\xE9j\xE0 tout le pouvoir dont nous avons besoin \xE0 l'int\xE9rieur de nous.",author:"J. K. Rowling",tags:["bien-\xEAtre"]},{cite:"Un seul moment de joie chasse cent moments de tristesse.",author:"Proverbe chinois",tags:["proverbe","joie"]},{cite:"N'oubliez pas que la terre se r\xE9jouit de sentir vos pieds nus et que les vents joueraient volontiers avec vos cheveux.",author:"Khalil Gibran"},{cite:"Il n'y a pas de honte \xE0 pr\xE9f\xE9rer le bonheur.",author:"Albert Camus"},{cite:"Il n'est jamais trop tard pour devenir ce que l'on aurait pu \xEAtre.",author:"George Eliot"},{cite:"Va prendre tes le\xE7ons dans la nature.",author:"L\xE9onard de Vinci"},{cite:"Le meilleur moment pour planter un arbre, c'\xE9tait il y a vingt ans. Le second, c'est maintenant.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Je ne peux rester sans rien faire... Je vais faire la sieste.",author:"Yvan Audouard"},{cite:"La vie n'est pas faite pour se trouver ; la vie est faite pour se cr\xE9er.",author:"George Bernard Shaw"},{cite:"On voit mourir toute chose anim\xE9e lorsque du corps l'\xE2me subtile part. Je suis le corps, toi la meilleure part: O\xF9 es-tu donc, \xF6 \xE2me bien-aim\xE9e ?",author:"Louise Lab\xE9",tags:["extrait","Sonnet VII"]},{cite:"Dans la vie. Rien n'est \xE0 craindre. Tout est \xE0 comprendre.",author:"Marie Curie"},{cite:"Rien n'est jamais fini. Il suffit d'un peu de bonheur pour que tout recommence.",author:"Emile Zola",tags:["extrait","Germinal"]},{cite:"Entourez-vous de choses qui vous rendent vraiment heureux.",author:"Marie Kondo"},{cite:"Il se faut s'entraider c'est la loi de nature.",author:"Jean de La Fontaine"},{cite:"Apr\xE8s le verbe aimer, aider est le plus beau verbe du monde.",author:"Baronne Berthe Von Suttner"},{cite:"La curiosit\xE9 est une gourmandise: voir, c'est d\xE9vorer.",author:"Victor Hugo"},{cite:"La vie est un d\xE9fi \xE0 relever, un bonheur \xE0 m\xE9riter, une aventure \xE0 tenter.",author:"M\xE8re Teresa"},{cite:"Quelle musique, le silence !",author:"Jean Anouilh"},{cite:"Le temps est notre ami.",author:"Christine Cayol"},{cite:"Sans effort d'imagination, ou de r\xEAves, nous perdons l'excitation des possibilit\xE9s. Apr\xE8s tout, r\xEAver est une sorte de planification.",author:"Gloria Steinen"},{cite:"Je souhaite dans ma maison, Une femme ayant sa raison, Un chat passant parmi les livres, Des amis en toute saison Sans lesquels je ne peux pas vivre.",author:"Guillaume Apollinaire"},{cite:"Gr\xE2ce aux r\xEAves le monde a \xE9t\xE9 r\xE9invent\xE9 plus souvent qu'il n'y a d'\xE9toiles dans le ciel.",author:"Lloyd Jones"},{cite:"Ne garde rien de ce qui t'a fait tant de mal, les lettres, les photos, les listes dee courses, les partitions, les marque-pages. Ne garde rien, ne jette rien non plus, fais-en cadeau \xE0 quelqu'un qui trouvera \xE7a beau.",author:"C\xE9cile Coulon",tags:["extrait","Les Ronces"]},{cite:"Ne laissez personne vous voler votre imagination, votre cr\xE9ativit\xE9 ou votre curiosit\xE9. C'est votre place dans le monde, c'est votre vie.",author:"Mae C. Jemison"},{cite:"Si tu n'arrives pas \xE0 penser, marche ; Si tu penses trop, marche ; Si tu penses mal, marche encore.",author:"Jean Giono"},{cite:"Le ciel \xE9toil\xE9 offre une le\xE7on de sagesse \xE0 qui sait le regarder: s'y perdre. C'est se trouver.",author:"Michel Onfray"},{cite:"Ne renoncez pas \xE0 faire ce que vous voulez vraiment faire. L\xE0 o\xF9 il y a des r\xEAves, de l'amour et de l'inspiration, vous ne pourrez pas vous tromper.",author:"Ella Fitzgerald"},{cite:"Le succ\xE8s est de vous aimer, d'aimer ce que vous faites et d'aimer la fa\xE7on dont vous le faites.",author:"Maya Angelou"},{cite:"Ne cessez jamais d'\xEAtre fantasque. Et ne donnez jamais \xE0 qui que ce soit la responsabilit\xE9 de votre vie..",author:"Mary Oliver"},{cite:"La joie est en tout, il faut savoir l'extraire.",author:"Mary Oliver"},{cite:"La vie est une grande toile vierge: \xE0 vous d'y ajouter le plus de couleurs possible.",author:"Danny Kaye"},{cite:"Quand je me prom\xE8ne, je sens toujours qu'au coin de la rue. Il y a quelque chose de merveilleux qui m'attend.",author:"Sophia Loren"},{cite:"Le bonheur est un seul bouquet : confus l\xE9ger fondant sucr\xE9.",author:"Paul Eluard"},{cite:"Qui s\xE8me le silence r\xE9colte la paix.",author:"Proverbe tha\xEFlandais",tags:["proverbe"]},{cite:"La vie a beaucoup plus d'imagination que nous.",author:"Fran\xE7ois Truffaut"},{cite:"Le vrai bonheur serait de se souvenir du pr\xE9sent.",author:"Jules Renard"},{cite:"Les erreurs ne se regrettent pas, elles s'assument. La peur ne se fuit pas, elle se surmonte. L'amour ne se crie pas, il se prouve !",author:"Simone Weil"},{cite:"Il ne faut pas se mettre en col\xE8re contre les choses, cela ne leur fait absolument rien.",author:"Germaine de Sta\xEBl"},{cite:"Le bout du monde est le fond du jardin contiennent la m\xEAme quantit\xE9 de merveilles.",author:"Christian Bobin"},{cite:"Vivre c'est aider un autre \xE0 vivre.",author:"Jacques de Bourbon Busser"},{cite:"La v\xE9ritable amiti\xE9 ne g\xE8le pas en hiver.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"L'art est le plus beau des mensonges.",author:"Claude Debussy"},{cite:"Ralentissez et tout devient plus beau.",author:"David Lynch"},{cite:"Ecris sur ton coeur que chaque jour est le plus beau jour de l'ann\xE9e.",author:"Ralph Waldo Emerson"},{cite:"Le plus grand \xE9chec est de ne pas avoir le courage d'oser.",author:"Abb\xE9 Pierre"},{cite:"Avant de vous diagnostiquer comme d\xE9pressif ou en \xE9tat de faible estime de vous-m\xEAme, commencez par vous assurer que vous n'\xEAtes juste pas, en fait, entour\xE9 par des trous du cul.",author:"William Gibson"},{cite:"L'app\xE9tit vient en mangeant, la soif disparait en buvant.",author:"Fran\xE7ois Rabelais"},{cite:"Le cr\xE9ateur, en obligeant l'homme \xE0 manger pour vivre, l'y invite par l'app\xE9tit et le r\xE9compense par le plaisir.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La gourmandise commence quand on n'a plus faim.",author:"Alphonse Daudet"},{cite:"Si vous n'\xEAtes pas capable d'un peu de sorcellerie, ce n'est pas la peine de vous m\xEAler de cuisine.",author:"Colette"},{cite:"Bien manger, c'est atteindre le ciel.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Si je p\xE9tais tout ce que j'ai mang\xE9, je serais sur la lune.",author:"Camille Richard"},{cite:"La joie prolonge la vie.",author:"Ben Sira"},{cite:"La bouche garde le silence pour \xE9couter parler le coeur.",author:"Alfred de Musset"},{cite:"Il n'y a qu'une sorte d'amour, mais il y en a mille diff\xE9rentes copies.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"La vie est courte, mais un sourire ne prend qu'une seconde.",author:"Proverbe cubain",tags:["proverbe"]},{cite:"Au milieu de l'hiver, j'ai d\xE9couvert en moi un invincible \xE9t\xE9.",author:"Albert Camus"},{cite:"Le voyage est un retour vers l'essentiel.",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Le bonheur est une petite chose que l'on grignote, assis par terre, au soleil.",author:"Jean Giraudoux"},{cite:"Fais du bien \xE0 ton corps pour que ton \xE2me ait envie d'y rester.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le bonheur a les bras ouverts et les yeux ferm\xE9s.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure"},{cite:"Il faut toujours viser la lune, car m\xEAme en cas d'\xE9chec, on atterrit dans les \xE9toiles.",author:"Oscar Wilde"},{cite:"Vivre de telle sorte qu'il te faille d\xE9sirer revivre, c'est l\xE0 ton devoir.",author:"Nietzsche"},{cite:"Les oreilles et les yeux sont les portes et les fen\xEAtres de l'\xE2me.",author:"Joseph Joubert"},{cite:"Quelle flamme pourrait \xE9galer le rayon de soleil d'un jour d'hiver ?",author:"Henry David Thoreau"},{cite:"Grand est celui qui n'a pas perdu son coeur d'enfant.",author:"Meng-Tsen"},{cite:"Je cherche les petites notes qui s'aiment.",author:"Wolfgang Amadeus Mozart"},{cite:"La vrai g\xE9n\xE9rosit\xE9 envers l'avenir consiste \xE0 tout donner au pr\xE9sent.",author:"Albert Camus",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"L'\xE9t\xE9, un \xE9blouissement comme est la neige, Celle qui vient l\xE9g\xE8re et ne dure pas, et rien de nous n'en trouble la lumi\xE8re D'eau qui s'est condens\xE9e puis s'\xE9vapore.",author:"Yves Bonnefoy",tags:[]},{cite:"No\xEBl n'est pas une saison, c'est un sentiment.",author:"Edna Ferber",tags:["f\xEAte"]},{cite:"No\xEBl est l\xE0, ce joyeux no\xEBl, des cadeaux plein les bras, qui r\xE9chauffe nos coeurs et apporte la joie, jour des plus beaux souvenirs, plus beau jour de l'ann\xE9e.",author:"Washington Irving",tags:["no\xEBl"]},{cite:"La chose la plus commune, d\xE8s qu'on nous la cache, devient un d\xE9lice.",author:"Oscar Wilde",tags:["curiosit\xE9"]},{cite:"Le bonheur n'est pas chose ais\xE9e. Il est tr\xE8s difficile de le trouver en nous, il est impossible de le trouver ailleurs.",author:"Bouddha",tags:["bonheur","pens\xE9e"]},{cite:"Entre amis, il est si beau que le silence soit d'or, mais le rire bon et frais l'est beaucoup plus encore.",author:"Friederich Nietzsche",tags:["amiti\xE9"]},{cite:"L'art vise \xE0 imprimer en nous des sentiments plut\xF4t qu'\xE0 les exprimer.",author:"Henri Bergson",tags:["art"]},{cite:"Les hommes naissent ignorants, pas stupides, la stupidit\xE9 est le r\xE9sultat de l'\xE9ducation.",author:"Bertrand Russell",tags:["\xE9ducation","intelligence"]},{cite:"Il n'y a rien d'impossible quand on s'aime.",author:"George Sand",tags:["amour"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Veux-tu vivre heureux ? Voyage avec deux sacs, l'un pour donner, l'autre pour recevoir.",author:"Johann Wolfgang Von Goethe",tags:["bonheur"]},{cite:"La v\xE9ritable indulgence consiste \xE0 comprendre et \xE0 pardonner les fautes qu'on ne serait pas capable de commettre.",author:"Victor Hugo",tags:["pardon"]},{cite:"Le plus grand secret pour le bonheur, c'est d'\xEAtre bien avec soi.",author:"Bernard Le Bouyer de Fontenelle",tags:["bonheur","bien-\xEAtre"]},{cite:"L'amiti\xE9 double les joies et r\xE9duit de moiti\xE9 les peines.",author:"Francis Bacon",tags:["amiti\xE9"]},{cite:"Tous les tr\xE9sors de la terre ne valent pas le bonheur d'\xEAtre aim\xE9.",author:"Calderon",tags:["amour"]},{cite:"Il y a trois sortes de savoir : le savoir proprement dit, le savoir-faire et le savoir-vivre ; les deux derners dispensent assez bien du premier.",author:"Charles Maurice de Talleyrand-P\xE9rigord",tags:[]},{cite:"Si vous avez confiance en vous-m\xEAme, vous inspirerez confiance aux autres.",author:"Johann Wolfgang Von Goethe",tags:["confiance"]},{cite:"Aimer, ce n'est pas se regarder l'un l'autre, c'est regarder ensemble dans la m\xEAme direction.",author:"Antoine de Saint-Exup\xE9ry",tags:["amour"]},{cite:"Il n'y a qu'un chemin possible pour le bonheur, c'est de cesser de nous tracasser pour des choses qui ne d\xE9pendent pas de notre volont\xE9.",author:"Epict\xE8te",tags:["bonheur"]},{cite:"L\xE0 o\xF9 le coeur est, les pieds n'h\xE9sitent pas \xE0 y aller.",author:"Proverbe togolais",tags:["proverbe"]},{cite:"Vis comme si tu devais mourir demain, apprends comme si tu devais vivre toujours.",author:"Gandhi",tags:["motivation"]},{cite:"Le contraire de la mis\xE8re ce n'est pas la richesse. Le contraire de la mis\xE8re, c'est le partage.",author:"Abb\xE9 Pierre",tags:["partage"]},{cite:"Chaque fois que l'on refuse 1 milliard pour le logement, c'est 10 milliards que l'on pr\xE9pare pour les tribunaux, les prisons, les asiles de fous.",author:"Abb\xE9 Pierre",tags:["perspective"]},{cite:"La vie est un myst\xE8re qu'il faut vivre, et non un probl\xE8me qu'il faut r\xE9soudre.",author:"Gandhi",tags:[]},{cite:"La pens\xE9e n'est qu'un \xE9clair qu milieu de la nuit. Mais c'est un \xE9clair qui est tout.",author:"Henri Pointcar\xE9",tags:[]},{cite:"Le bonheur ne vient pas \xE0 ceux qui l'attendent assis.",author:"Baden-Powell",tags:["bonheur"]},{cite:"Le savant est fier d'avoir tant appris ; le sage est humble d'en savoir si peu.",author:"William Cowper",tags:[]},{cite:"Je ne cherche pas \xE0 conna\xEEtre les r\xE9ponses, je cherche \xE0 comprendre les questions.",author:"Confucius",tags:["savoir"]},{cite:"Rien ne peut r\xE9sister \xE0 l'assaut du rire.",author:"Mark Twain",tags:["rire"]},{cite:"Celui qui a rendu service doit se taire, c'est \xE0 celui qui l'a re\xE7u de parler.",author:"S\xE9n\xE8que",tags:[]},{cite:"Curiosit\xE9 n'est que vanit\xE9. Le plus souvent, on ne veut savoir que pour en parler.",author:"Blaise Pascal",tags:[]},{cite:"L'erreur n'annule pas la valeur de l'effort accompli.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand",tags:[]},{cite:"Le meilleur moyen de teninr sa parole est de ne jamais la donner.",author:"Napol\xE9on Bonaparte",tags:[]},{cite:"Les mots me font l'effet d'un pensionnat de petits gar\xE7ons que la phrase m\xE8ne en promenade.",author:"Georges Courteline",tags:["litt\xE9rature"]},{cite:"Chacun est une lune, avec une face cach\xE9e.",author:"Mark Twain",tags:[]},{cite:"Il faut deux ans pour apprendre \xE0 parler et toute une vie pour apprendre \xE0 se taire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Deux choses instruisent l'homme de toute sa nature : l'instinct et l'exp\xE9rience.",author:"Blaise Pascal",tags:[]},{cite:"La critique est une chose bien commode : on attaque avec un mot, il faut des pages pour se d\xE9fendre.",author:"Jean-Jacques Rousseau",tags:[]},{cite:"L'amour n'est pas aveugle, il est aveuglant.",author:"Yvan Audouard",tags:["amour"]},{cite:"Une lecture amusante est aussi utile \xE0 la sant\xE9 que l'exercice du corps.",author:"Emmanuel Kant",tags:[]},{cite:"Touch\xE9 par l'amour, tout homme devient po\xE8te.",author:"Platon",tags:["amour"]},{cite:"Il n'y a rien de plus triste qu'une vie sans hasard.",author:"Honor\xE9 de Balzac",tags:[]},{cite:"La col\xE8re est comme une avalanche qui se brise sur ce qu'elle brise.",author:"S\xE9n\xE8que",tags:[]},{cite:"Les merveilles naissent sans qu'on les s\xE8me.",author:"Proverbe proven\xE7al",tags:["proverbe"]},{cite:"Le silence est un ami qui ne trahit jamais.",author:"Confucius",tags:[]},{cite:"Ecrire c'est une fa\xE7on sans \xEAtre interrompu.",author:"Jules Renard",tags:[]},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard",tags:["connaissance"]},{cite:"C'est No\xEBl dans le coeur qui met No\xEBl dans l'air.",author:"William Thomas Ellis",tags:["no\xEBl"]},{cite:"Un mois avant, un mois apr\xE8s No\xEBl, le froid est bon et naturel.",author:"Proverbe fran\xE7ais",tags:["adage","proverbe","no\xEBl"]},{cite:"No\xEBl, c'est le printemps de l'esprit ; c'est tout promesse.",author:"Alain",tags:["no\xEBl","Emile-Auguste Chartier","extrait","Les saisons de l'esprit"]},{cite:"Il ne faut pas chercher \xE0 rajouter des ann\xE9es \xE0 sa vie, mais plut\xF4t essayer de rajouter de la vie \xE0 ses ann\xE9es.",author:"John Fitzgerald Kennedy",tags:["vie"]},{cite:"Qu'elle soit n\xE9cessaire, ou m\xEAme justifi\xE9e, ne croyez jamais que la guerre n'est pas un crime.",author:"Ernest Hemingway",tags:["guerre","crime"]},{cite:"La joie de vivre est une \xE9motion contagieuse.",author:"Edward D. Wynot",tags:["bonheur"]},{cite:"La beaut\xE9 commence le jour o\xF9 tu d\xE9cides d'\xEAtre toi-m\xEAme.",author:"Coco Chanel",tags:[]},{cite:"Quand la vie te donne un lundi, plonge-le dans les paillettes et scintille toue la journ\xE9e.",author:"Ella Woodward",tags:["bonheur","difficult\xE9e"]},{cite:"Sors des sentiers battus. Explore. R\xEAve. D\xE9couvre.",author:"Mark Twain",tags:[]},{cite:"Je ne veux d\xE9sormais collectionner que les moments de bonheur.",author:"Stendhal",tags:["bonheur"]},{cite:"Soyez vous-m\xEAme, les autres sont d\xE9j\xE0 pris.",author:"Oscar Wilde",tags:[]},{cite:"Je ne perds jamais, soit je gagne, soit j'apprends.",author:"Nelson Mandela",tags:[]},{cite:"Fais de ta vie un r\xEAve, et d'un r\xEAve une r\xE9alit\xE9.",author:"Antoinde de Saint-Exup\xE9ry",tags:["R\xEAve"]},{cite:"Il n'y a rien de mieux qu'un ami. Sauf peut-\xEAtre un ami avec du chocolat.",author:"Lynda Grayson",tags:["amiti\xE9"]},{cite:"Je peux le faire et le ferai. Vous pouvez commencer \xE0 regarder.",author:"Carry Green",tags:[]},{cite:`"C'est impossible" di la fiert\xE9. "C'est risqu\xE9" dit l'exp\xE9rience. "C'est sans issue" dit la raison."Essayons" mlurmure le coeur.`,author:"William Arthur Ward",tags:[]},{cite:"La vie, c'est comme une bo\xEEte de chocolats, on ne sait jamais sur quoi on va tomber.",author:"Winston groom",tags:["extrait","Forrest Gump"]},{cite:"Donne \xE0 chaque jour la chance de devenir le plus beau jour de ta vie.",author:"Makr Twain",tags:["bonheur"]},{cite:"Tous les enfants ont du g\xE9nie, le tout c'est de le faire appara\xEEtre.",author:"Charlie Chaplin",tags:["enfance"]},{cite:"La vie, c'est comme une bicyclette, il faut avancer pour ne pas perdre l'\xE9quilibre.",author:"Albert Einstein",tags:[]},{cite:"Il ne faut pas attendre d'\xEAtre parfait pour commencer quelque chose de bien.",author:"Abb\xE9 Pierre",tags:[]},{cite:"J'ai un petit c\xF4t\xE9 sir\xE8ne. Certains jours, on dirait que je me suis peign\xE9e avec une fourchette.",author:"Emmanuelle Cortes",tags:[]},{cite:"Il n'y a aucune limite \xE0 ce que nous pouvons accomplir en tant que filles.",author:"Michelle Obama",tags:["f\xE9minisme"]},{cite:"Il y a deux choses qui changent notre vie : les gens que nous rencontrons et les livres que nous lisons.",author:"Harvey MacKay",tags:[]},{cite:"Une journ\xE9e sans rire est une journ\xE9e de perdue.",author:"Charlie Chaplin",tags:["rire","bonheur"]},{cite:"N'oublions pas : un livre, un stylo, un enfant et un enseignant peuvent changer le monde.",author:"Malala Yousazai",tags:[]},{cite:"Don't worry, be happy.",author:"Bob Marley",tags:["Chanson"]},{cite:"I have a dream.",author:"Martin Luther King",tags:[]},{cite:"Neuf personnes sur dix aiment le chocolat ; la dixi\xE8me ment.",author:"John G. Tullius",tags:[]},{cite:"Mais alors, si le monde n'a absolument aucun sens, qu'est ce qui nous emp\xEAche d'en inventer un ?.",author:"Lewis Caroll",tags:[]},{cite:"Le bonheur vient vers ceux qui croient en lui.",author:"Ali Obn Abu Talib",tags:["bonheur"]},{cite:"Pour \xEAtre irrempla\xE7able, il faut \xEAtre diff\xE9rente.",author:"Coco Chanel",tags:[]},{cite:"\xCAtre en vacances, c'est n'avoir rien \xE0 faire et avoir toute la journ\xE9e pour le faire.",author:"Robert Orban",tags:["vacance","oisivet\xE9"]},{cite:"On n'a jamais autant besoin de vacances que lorsqu'on en revient.",author:"Ann Landers",tags:["fatigue"]},{cite:"Celui qui dit que le bonheur ne s'ach\xE8te pas \xE0 oubli\xE9 qu'il y a les petits chiots.",author:"Gene Hill",tags:["bonheur","capitalisme"]},{cite:"Le secret du bonheuret le comble de l'art, c'est de vivre comme tout le monde, en n'\xE9tant comme personne.",author:"Simone de Beauvoir",tags:[]},{cite:"La fin d'une chose marque le commencement d'une nouvelle.",author:"Antoine de Saint-Exup\xE9ry",tags:[]},{cite:"La musique donne une \xE2me \xE0 nos coeurs et des ailes \xE0 la pens\xE9e.",author:"Platon",tags:[]},{cite:"Un sourire co\xFBte moins cher que l'\xE9lectricit\xE9, mais donne autant de lumi\xE8re.",author:"Abb\xE9 Pierre",tags:[]},{cite:"Les grandes choses peuvent se manifester par de petits signes.",author:"Freud",tags:[]},{cite:"Aimer une personne pour son apparence, c'est comme aimer un livre pour sa reliure.",author:"Laure Conan",tags:["amour"]},{cite:"Si nous voulons nous pardonner les uns aux autres, commen\xE7ons d'abord par nous comprendre les uns les autres.",author:"Emma Goldman",tags:["pardon"]},{cite:"Ceux qui ne bougent pas, ne remarquent pas leur cha\xEEnes.",author:"Rosa Luxembourg",tags:["libert\xE9"]},{cite:"La r\xE9volution sera la floraison de l'humanit\xE9 comme l'amour est la floraison du coeur.",author:"Louise Michel",tags:["amour","libert\xE9"]},{cite:"Premier principe : ne jamais se laisser abattre par des personnes ou par des \xE9v\xE9nements.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","caract\xE8re"]},{cite:"Si nous faisions tout ce que nous sommes capables de faire, nous en serions abasourdis.",author:"Thomas Edison",tags:[]},{cite:"Si ta volont\xE9 te l\xE2che, d\xE9passe-la !.",author:"Emily Dickinson",tags:["ostination"]},{cite:"Que cette ann\xE9e vous soit heureuse ; que la paix, le repos et la sant\xE9 vous tiennent lieu de fortune.",author:"Madame de S\xE9vign\xE9",tags:[]},{cite:"Le v\xE9ritable amour ne conna\xEEt ni le soup\xE7on ni la m\xE9fiance.",author:"George Sand",tags:["amour"]},{cite:"Un des bonheurs de l'amiti\xE9 c'est d'avoir \xE0 qui confier un secret.",author:"Alessandro Mansoni",tags:["amiti\xE9"]},{cite:"Le bonheur tient dans la main, il suffit d'un tout petit rien, mais beaucoup de coeur pour qu'il sonne l'heure.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Tout s'arrange sous l'influence d'une pens\xE9e heureuse et optimiste.",author:"George Sand",tags:[]},{cite:"Le courage est le prix que la vie exige pour accorder la paix.",author:"Amelia Earhart",tags:["courage"]},{cite:"Impossible de bien r\xE9fl\xE9chir, de bien aimer, de bien dormir si on n'a pas mang\xE9.",author:"Virginia Woolf",tags:["nourriture"]},{cite:"Chacun rec\xE8le en lui une for\xEAt vierge, une \xE9tendue de neige o\xF9 nul oiseau n'a laiss\xE9 son empreinte.",author:"Virginia Woolf",tags:[]},{cite:"Ma devise - sans limites.",author:"Isadora Duncan",tags:[]},{cite:"Forte comme un homme, plus forte que la plupart d'entre eux.",author:"Lozen",tags:["f\xE9minisme"]},{cite:"L'amour a d'autres yeux que le commun des hommes.",author:"Jean Racine",tags:["amour"]},{cite:"N'oublions jamais que No\xEBl est le souci du vrai partage, ce n'est pas un miracle, mais une fa\xE7on de vivre quotidien.",author:"Josiane Coeijmans",tags:["No\xEBl"]},{cite:"Une lumi\xE8re ici requiert une ombre l\xE0-bas.",author:"Virginia Woolf",tags:[]},{cite:"La femme est pr\xE9cieuse, elle donne naissance aux enfants.",author:"Olympe de Gouges",tags:[]},{cite:"Les plus beaux livres sont ceux qui n'ont jamais \xE9t\xE9 \xE9crits.",author:"Anatole France",tags:["lit\xE9rature"]},{cite:"Je n'enseigne pas aux enfants, je leur donne de la joie.",author:"Isadora Duncan",tags:["bonheur"]},{cite:"La danse est le mouvement de l'univers concentr\xE9 dans un individu.",author:"Isadora Duncan",tags:[]},{cite:"La paresse peut para\xEEtre attrayante, mais le travail apporte la satisfaction.",author:"Anne Frank",tags:["travail"]},{cite:"Un livre, c'est un billet de voyage \xE0 la port\xE9e de tous.",author:"Josiane Coeijmans",tags:["lit\xE9rature"]},{cite:"Tous les secrets de l'\xE2me d'un auteur, toutes sses exp\xE9riences, toutes les qualit\xE9s de son esprit sont grav\xE9s dans son oeuvre.",author:"Virginia Woolf",tags:["lit\xE9rature"]},{cite:"N'oubliez pas qu'il faut prendre la vie avec s\xE9r\xE9nit\xE9 et joie quoi qu'il arrive.",author:"Rosa Luxembourg",tags:["bonheur","joie"]},{cite:"L'humour est le premier des dons \xE0 p\xE9rir dans une langue \xE9trang\xE8re.",author:"Virginia Woolf",tags:["humour"]},{cite:"D'une fa\xE7on g\xE9n\xE9rale, on ne doit pas oublier d'\xEAtre bon, car la bont\xE9, dans les relations avec les hommes, fait bien plus qua la s\xE9v\xE9rit\xE9.",author:"Rosa Luxembourg",tags:[]},{cite:"Prenez-moi tout mais laissez-moi l'extase et je serai plus riche que mes semblables.",author:"Emily Dickinson",tags:["plaisir"]},{cite:"Quand on a bonne conscience, c'est No\xEBl en permanence.",author:"Benjamin Franklin",tags:["honn\xEAtet\xE9"]},{cite:"Si la vie est un roman, prends ta plume et viens \xE9crire avec moi, les plus beaux chapitres.",author:"Josiane Coeijmans",tags:["amour"]},{cite:"Notre plus grande faiblesse r\xE9side dans l'abandon ; la fa\xE7on la plus s\xFBre de r\xE9ussir est d'essayer une autre fois.",author:"Thomas Edison",tags:["succ\xE8s","pers\xE9v\xE9rance"]},{cite:"Le courage croit en osant et la peur en h\xE9sitant.",author:"Proverbe romain",tags:["courage","peur"]},{cite:"Dans les grandes choses, avant l'effort qui r\xE9ussit, il y a presque toujours des efforts qui passent inaper\xE7us.",author:"Laure Conan",tags:[]},{cite:"Le bonheur, c'est cet instant, cette lueur qui embellit le jour et rejaillit sur autrui.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Les choses n'arrivent quasi jamais comme on se les imagine.",author:"Madame de S\xE9vign\xE9",tags:["hasard"]},{cite:"Il n\u2019y a pas plus de raison de trop s\u2019accuser de ses d\xE9fauts que de s\u2019en trop excuser.",author:"Madeleine de Souvr\xE9",tags:["humilit\xE9","confiance"]},{cite:"La nature est \xE9ternellement jeune, belle et g\xE9n\xE9reuse. Elle verse la po\xE9sie et la beaut\xE9 \xE0 tous les \xEAtres, \xE0 toutes les plantes, qu'on laisse s'y d\xE9velopper.",author:"George Sand",tags:[]},{cite:"La famille, c'est l'amour sans regrets et sans amertume.",author:"Ninon de Lenclos",tags:["amour"]},{cite:"Cultive tes pens\xE9es, des fleurs pourraient en fleurir.",author:"Josiane Coeijmans",tags:["pens\xE9e"]},{cite:"Il n'appartient qu'\xE0 celle que le hasard a \xE9lev\xE9e \xE0 une place \xE9minente, de donner du poids \xE0 l'essor des Droits de la Femme et d'en acc\xE9l\xE9rer les succ\xE8s.",author:"Olympe de Gouges",tags:[]},{cite:"L'amour a un caract\xE8re si particulier qu'on ne peut le cacher o\xF9 il est, ni le feindre o\xF9 il n'est pas.",author:"Madeleine de Souvr\xE9",tags:["amour"]},{cite:"La vie chante aussi dans le sable qui craque sous les pas lents et lourds des gardes, quand on sait l'\xE9couter.",author:"Rosa Luxemburg",tags:[]},{cite:"La gastronomie fait trembler d'intelligence nos narines.",author:"Charles Monselet",tags:["\xE9picurien"]},{cite:"Quand on rentre en soi-m\xEAme, on s'aper\xE7oit qu'on poss\xE8de exactement ce que l'on d\xE9sirait.",author:"Simone Weil",tags:[]},{cite:"Les choses ne sont pas bonnes parce qu'elles sont vieilles, elles sont vieilles parce qu'elles sont bonnes.",author:"A. Toulouse",tags:[]},{cite:"Nous devons croire que nous sommes dou\xE9s pour quelque chose, et que cette chose, \xE0 n'importe quel prix, doit \xEAtre atteinte.",author:"Marie Curie",tags:["confiance"]},{cite:"Soyez des hommes ou mieux : des surhommes. Soyez fid\xE8les aux buts trac\xE9s.",author:"Mary Shelley",tags:[]},{cite:"Je suis une femme libre.",author:"Olympe de Gouges",tags:["f\xE9minisme"]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:[]},{cite:"Les chefs-d'oeuvres ne sont jamais que des tentatives heureuses.",author:"George Sand",tags:["chance"]},{cite:"Les d\xE9tails font la perfection, et la perfection n'est pas un d\xE9tail.",author:"L\xE9onard de Vinci",tags:[]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:["amour"]},{cite:"Celui m\xEAme qui veut \xE9crire son r\xEAve se doit d'\xEAtre infiniment \xE9veill\xE9.",author:"Paul Val\xE9ry",tags:[]},{cite:"Le beau est ce qu'on ne peut pas vouloir change.",author:"Simone Weil",tags:[]},{cite:"C'est le miracle de l'amour de n'avoir pas besoin de mots pour se comprendre.",author:"Laure Conan",tags:["amour"]},{cite:"L'attention est la forme la plus rare et la plus pure de la g\xE9n\xE9rosit\xE9.",author:"Simone Weil",tags:[]},{cite:"La famille est le plus doux des liens.",author:"Henri-Fr\xE9d\xE9ric Amiel",tags:["famille"]},{cite:"Sans mes cadeaux, No\xEBl ne serait pas No\xEBl.",author:"Louisa May Alcott",tags:["no\xEBl"]},{cite:"L'esprit cherche et c'est le coeur qui trouve.",author:"George Sand",tags:[]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure",tags:[]},{cite:"La joie est notre \xE9vasion hors du temps.",author:"Simone Weil",tags:["joie","bonheur"]},{cite:"Dans la col\xE8re, rien ne convient mieux que le silence.",author:"Sappho",tags:["col\xE8re"]},{cite:"Pour moi, la plus belle des choses, c'est de voir quelqu'un aimer quelqu'un.",author:"Sappho",tags:["amour"]},{cite:"Nos actions agissent sur nous tout autant que nous agissons sur elles.",author:"George Eliot",tags:["responsabilit\xE9"]},{cite:"Si Zeus voulait donner une reine aux fleurs, la rose r\xE9gnerait sur toutes.",author:"Sappho",tags:["fleur"]},{cite:"Chacun cherche sa route ; nous cherchons la n\xF4tre et nous pensons que le jour o\xF9 le r\xE8gne de la libert\xE9 et de l'\xE9galit\xE9 era arriv\xE9, le genre humain sera heureux.",author:"Louise Michel",tags:[]},{cite:"La plus grande douceur de la vie, c'est d'admirer ce qu'on aime.",author:"Laure Conan",tags:["amour","contemplation"]},{cite:"Le repos est un r\xEAve ; la vie est un orage.",author:"George Sand",tags:[]},{cite:"Nous devons avoir de la pers\xE9v\xE9rance et surtout de la confiance en nous-m\xEAmes.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","confiance"]},{cite:"Vous pouvez toujours donner quelque chose, m\xEAme si c'est seulement de la gentillesse.",author:"Anne Frank",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Il n'est rien de r\xE9el que le r\xEAve et l'amour.",author:"Anna De Noailles",tags:[]},{cite:"Celui qui a bon coeur n'est jamais sot.",author:"George Sand",tags:["gentillesse","intelligence"]}],Ln=q(Cs).pipe(je(({cite:r})=>r),v((r,e)=>new ie().setId(e).setCite(r.cite).setAuthor(r.author).setTags(r.tags)),ue(),P(1));var nt=class r{static getStartYear(e){let i=1,t="",n=4;for(;e>i*365&&i<=1e4;)i*=10,t+="0",n--;let s=new Date;return s.setFullYear(parseInt(new Date().getFullYear().toString(10).substr(0,n)+t,0)),s.getFullYear()}static yearIs366Days(e){return new Date(e,1,29).getMonth()===1}static getLastDayOfMonth(e,i){return new Date(e,i+1,0).getDate()}static getNumberOfDayInCurrentYear(e,i){let t=0;for(let n=0;n<=e.getMonth();n++){if(n===e.getMonth()){t+=e.getDate();break}t+=r.getLastDayOfMonth(i,n)}return t}static getStackOfYears(e,i){let t=[],n=e.getFullYear();if(n===i)return t[n]=r.getNumberOfDayInCurrentYear(e,n),t;for(let s=i;s<=n;s++){if(s===n){t[s]=r.getNumberOfDayInCurrentYear(e,s);break}t[s]=r.yearIs366Days(s)?366:365}return t}static getCiteOfTheDay(e){let i=r.getStartYear(e.length),n=r.getStackOfYears(new Date,i).reduce((a,o)=>a+o),s=0;for(let a=1;a<=n;a++){if(s===e.length){s=0;continue}s++}return e[s]}};var pa=(()=>{let e=class e{constructor(t){this.router=t,this.originalCites=[],this.cites=new w([]),this.cites$=this.cites.asObservable().pipe(v(n=>n.map(s=>{let a=new ie;return a.setId(s.getId()).setAuthor(s.getAuthor()).setCite(s.getCite()).setTags(s.getTags()),a})),je(),P(1)),this.count=0,Ln.pipe(C(n=>this.originalCites=n),C(n=>this.count=n.length),R(()=>this.reset())).subscribe()}reset(){return h(this.originalCites).pipe(D(t=>!!t),C(t=>this.cites.next(t)))}search(t){return this.cites.getValue()?h(this.cites.getValue()).pipe(R(n=>q(n)),D(n=>t?n&&(n.getCite().toLowerCase().includes(t.toLowerCase())||n.getAuthor().toLowerCase().includes(t.toLowerCase())||n.getTags().includes(t.toLowerCase())):!0),ue()):M}searchByAuthor(t){return this.cites.getValue()?h(this.cites.getValue()).pipe(R(n=>q(n)),D(n=>n&&n.getAuthor().toLowerCase().includes(t.toLowerCase())),ue()):M}countSearchFoundCites(){return this.router.snapshot?.queryParams.q?this.count:(this.originalCites&&(this.count=this.originalCites.length),this.count)}getCiteOfTheDay(){return this.cites.pipe(v(t=>nt.getCiteOfTheDay(t)))}getRandomCite(){return this.cites.pipe(v(t=>t[Math.floor(Math.random()*t.length)]))}};e.\u0275fac=function(n){return new(n||e)(Me($))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let r=e;return r})();export{$ as a,Xn as b,rt as c,Wr as d,Zs as e,Xs as f,ea as g,ta as h,ra as i,pa as j}; +import{$ as m,A as ue,Aa as yr,B as le,Ba as Cr,D as lt,E as P,Ea as qr,F as ar,H as je,I as Me,J as k,L as ct,M as or,Ma as Sr,O as ur,Oa as Lr,Pa as Rr,R as lr,S as R,T as cr,U as C,V as L,W as S,Wa as wr,X as hr,Xa as xr,Y as ht,Ya as Ar,Z as E,_ as Te,a as d,aa as dr,b as x,ba as De,bb as Ir,c as tr,ca as Pe,d as rr,db as jr,e as st,eb as Mr,f as at,g as $,gb as Tr,h as w,ha as dt,hb as Dr,i as T,ia as pr,ib as ft,j as q,ja as mr,jb as Pr,k as h,ka as Ee,kb as Er,l as oe,la as fr,m as nr,ma as gr,mb as Ue,n as ir,nb as Or,o as v,ob as Ur,p as Ie,pa as vr,pb as gt,q as I,qa as pt,qb as Ne,r as ot,sa as mt,t as sr,u as ut,ua as M,va as Oe,wa as Q,xa as ce,y as D,ya as br,yb as Nr,z as _}from"./chunk-BTHD7Z2M.js";var p="primary",we=Symbol("RouteTitle"),qt=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function ee(r){return new qt(r)}function xn(r,e,i){let t=i.path.split("/");if(t.length>r.length||i.pathMatch==="full"&&(e.hasChildren()||t.lengtht[s]===n)}else return r===e}function Hr(r){return r.length>0?r[r.length-1]:null}function J(r){return nr(r)?r:Lr(r)?q(Promise.resolve(r)):h(r)}var In={exact:Qr,subset:Kr},_r={exact:jn,subset:Mn,ignored:()=>!0};function zr(r,e,i){return In[i.paths](r.root,e.root,i.matrixParams)&&_r[i.queryParams](r.queryParams,e.queryParams)&&!(i.fragment==="exact"&&r.fragment!==e.fragment)}function jn(r,e){return O(r,e)}function Qr(r,e,i){if(!G(r.segments,e.segments)||!ke(r.segments,e.segments,i)||r.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!r.children[t]||!Qr(r.children[t],e.children[t],i))return!1;return!0}function Mn(r,e){return Object.keys(e).length<=Object.keys(r).length&&Object.keys(e).every(i=>Gr(r[i],e[i]))}function Kr(r,e,i){return Yr(r,e,e.segments,i)}function Yr(r,e,i,t){if(r.segments.length>i.length){let n=r.segments.slice(0,i.length);return!(!G(n,i)||e.hasChildren()||!ke(n,i,t))}else if(r.segments.length===i.length){if(!G(r.segments,i)||!ke(r.segments,i,t))return!1;for(let n in e.children)if(!r.children[n]||!Kr(r.children[n],e.children[n],t))return!1;return!0}else{let n=i.slice(0,r.segments.length),s=i.slice(r.segments.length);return!G(r.segments,n)||!ke(r.segments,n,t)||!r.children[p]?!1:Yr(r.children[p],e,s,t)}}function ke(r,e,i){return e.every((t,n)=>_r[i](r[n].parameters,t.parameters))}var F=class{constructor(e=new b([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ee(this.queryParams)),this._queryParamMap}toString(){return Pn.serialize(this)}},b=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fe(this)}},W=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=ee(this.parameters)),this._parameterMap}toString(){return Xr(this)}};function Tn(r,e){return G(r,e)&&r.every((i,t)=>O(i.parameters,e[t].parameters))}function G(r,e){return r.length!==e.length?!1:r.every((i,t)=>i.path===e[t].path)}function Dn(r,e){let i=[];return Object.entries(r.children).forEach(([t,n])=>{t===p&&(i=i.concat(e(n,t)))}),Object.entries(r.children).forEach(([t,n])=>{t!==p&&(i=i.concat(e(n,t)))}),i}var Ht=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>new Je)(),providedIn:"root"});let r=e;return r})(),Je=class{parse(e){let i=new Rt(e);return new F(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${he(e.root,!0)}`,t=Un(e.queryParams),n=typeof e.fragment=="string"?`#${En(e.fragment)}`:"";return`${i}${t}${n}`}},Pn=new Je;function Fe(r){return r.segments.map(e=>Xr(e)).join("/")}function he(r,e){if(!r.hasChildren())return Fe(r);if(e){let i=r.children[p]?he(r.children[p],!1):"",t=[];return Object.entries(r.children).forEach(([n,s])=>{n!==p&&t.push(`${n}:${he(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=Dn(r,(t,n)=>n===p?[he(r.children[p],!1)]:[`${n}:${he(t,!1)}`]);return Object.keys(r.children).length===1&&r.children[p]!=null?`${Fe(r)}/${i[0]}`:`${Fe(r)}/(${i.join("//")})`}}function Zr(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ze(r){return Zr(r).replace(/%3B/gi,";")}function En(r){return encodeURI(r)}function Lt(r){return Zr(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(r){return decodeURIComponent(r)}function $r(r){return Be(r.replace(/\+/g,"%20"))}function Xr(r){return`${Lt(r.path)}${On(r.parameters)}`}function On(r){return Object.keys(r).map(e=>`;${Lt(e)}=${Lt(r[e])}`).join("")}function Un(r){let e=Object.keys(r).map(i=>{let t=r[i];return Array.isArray(t)?t.map(n=>`${ze(i)}=${ze(n)}`).join("&"):`${ze(i)}=${ze(t)}`}).filter(i=>!!i);return e.length?`?${e.join("&")}`:""}var Nn=/^[^\/()?;#]+/;function vt(r){let e=r.match(Nn);return e?e[0]:""}var zn=/^[^\/()?;=#]+/;function $n(r){let e=r.match(zn);return e?e[0]:""}var kn=/^[^=?&#]+/;function Fn(r){let e=r.match(kn);return e?e[0]:""}var Bn=/^[^&#]+/;function Jn(r){let e=r.match(Bn);return e?e[0]:""}var Rt=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[p]=new b(e,i)),t}parseSegment(){let e=vt(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new L(4009,!1);return this.capture(e),new W(Be(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=$n(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let n=vt(this.remaining);n&&(t=n,this.capture(t))}e[Be(i)]=Be(t)}parseQueryParam(e){let i=Fn(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let a=Jn(this.remaining);a&&(t=a,this.capture(t))}let n=$r(i),s=$r(t);if(e.hasOwnProperty(n)){let a=e[n];Array.isArray(a)||(a=[a],e[n]=a),a.push(s)}else e[n]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=vt(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new L(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=p);let a=this.parseChildren();i[s]=Object.keys(a).length===1?a[p]:new b([],a),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new L(4011,!1)}};function en(r){return r.segments.length>0?new b([],{[p]:r}):r}function tn(r){let e={};for(let t of Object.keys(r.children)){let n=r.children[t],s=tn(n);if(t===p&&s.segments.length===0&&s.hasChildren())for(let[a,o]of Object.entries(s.children))e[a]=o;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new b(r.segments,e);return Vn(i)}function Vn(r){if(r.numberOfChildren===1&&r.children[p]){let e=r.children[p];return new b(r.segments.concat(e.segments),e.children)}return r}function te(r){return r instanceof F}function Wn(r,e,i=null,t=null){let n=rn(r);return nn(n,e,i,t)}function rn(r){let e;function i(s){let a={};for(let l of s.children){let u=i(l);a[l.outlet]=u}let o=new b(s.url,a);return s===r&&(e=o),o}let t=i(r.root),n=en(t);return e??n}function nn(r,e,i,t){let n=r;for(;n.parent;)n=n.parent;if(e.length===0)return bt(n,n,n,i,t);let s=Gn(e);if(s.toRoot())return bt(n,n,new b([],{}),i,t);let a=Hn(s,n,r),o=a.processChildren?me(a.segmentGroup,a.index,s.commands):an(a.segmentGroup,a.index,s.commands);return bt(n,a.segmentGroup,o,i,t)}function Ve(r){return typeof r=="object"&&r!=null&&!r.outlets&&!r.segmentPath}function ve(r){return typeof r=="object"&&r!=null&&r.outlets}function bt(r,e,i,t,n){let s={};t&&Object.entries(t).forEach(([l,u])=>{s[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`});let a;r===e?a=i:a=sn(r,e,i);let o=en(tn(a));return new F(o,s,n)}function sn(r,e,i){let t={};return Object.entries(r.children).forEach(([n,s])=>{s===e?t[n]=i:t[n]=sn(s,e,i)}),new b(r.segments,t)}var We=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&Ve(t[0]))throw new L(4003,!1);let n=t.find(ve);if(n&&n!==Hr(t))throw new L(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Gn(r){if(typeof r[0]=="string"&&r.length===1&&r[0]==="/")return new We(!0,0,r);let e=0,i=!1,t=r.reduce((n,s,a)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let o={};return Object.entries(s.outlets).forEach(([l,u])=>{o[l]=typeof u=="string"?u.split("/"):u}),[...n,{outlets:o}]}if(s.segmentPath)return[...n,s.segmentPath]}return typeof s!="string"?[...n,s]:a===0?(s.split("/").forEach((o,l)=>{l==0&&o==="."||(l==0&&o===""?i=!0:o===".."?e++:o!=""&&n.push(o))}),n):[...n,s]},[]);return new We(i,e,t)}var Z=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function Hn(r,e,i){if(r.isAbsolute)return new Z(e,!0,0);if(!i)return new Z(e,!1,NaN);if(i.parent===null)return new Z(i,!0,0);let t=Ve(r.commands[0])?0:1,n=i.segments.length-1+t;return _n(i,n,r.numberOfDoubleDots)}function _n(r,e,i){let t=r,n=e,s=i;for(;s>n;){if(s-=n,t=t.parent,!t)throw new L(4005,!1);n=t.segments.length}return new Z(t,!1,n-s)}function Qn(r){return ve(r[0])?r[0].outlets:{[p]:r}}function an(r,e,i){if(r||(r=new b([],{})),r.segments.length===0&&r.hasChildren())return me(r,e,i);let t=Kn(r,e,i),n=i.slice(t.commandIndex);if(t.match&&t.pathIndexs!==p)&&r.children[p]&&r.numberOfChildren===1&&r.children[p].segments.length===0){let s=me(r.children[p],e,i);return new b(r.segments,s.children)}return Object.entries(t).forEach(([s,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(n[s]=an(r.children[s],e,a))}),Object.entries(r.children).forEach(([s,a])=>{t[s]===void 0&&(n[s]=a)}),new b(r.segments,n)}}function Kn(r,e,i){let t=0,n=e,s={match:!1,pathIndex:0,commandIndex:0};for(;n=i.length)return s;let a=r.segments[n],o=i[t];if(ve(o))break;let l=`${o}`,u=t0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!Fr(l,u,a))return s;t+=2}else{if(!Fr(l,{},a))return s;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function wt(r,e,i){let t=r.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=wt(new b([],{}),0,t))}),e}function kr(r){let e={};return Object.entries(r).forEach(([i,t])=>e[i]=`${t}`),e}function Fr(r,e,i){return r==i.path&&O(e,i.parameters)}var fe="imperative",j=class{constructor(e,i){this.id=e,this.url=i}},be=class extends j{constructor(e,i,t="imperative",n=null){super(e,i),this.type=0,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},N=class extends j{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},B=class extends j{constructor(e,i,t,n){super(e,i),this.reason=t,this.code=n,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},H=class extends j{constructor(e,i,t,n){super(e,i),this.reason=t,this.code=n,this.type=16}},ye=class extends j{constructor(e,i,t,n){super(e,i),this.error=t,this.target=n,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ge=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xt=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},At=class extends j{constructor(e,i,t,n,s){super(e,i),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},It=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jt=class extends j{constructor(e,i,t,n){super(e,i),this.urlAfterRedirects=t,this.state=n,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mt=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Tt=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Dt=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pt=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Et=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ot=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ce=class{},qe=class{constructor(e){this.url=e}};var Ut=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ze,this.attachRef=null}},Ze=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let s=this.getOrCreateContext(t);s.outlet=n,this.contexts.set(t,s)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new Ut,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),He=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=Nt(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=Nt(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=zt(e,this._root);return i.length<2?[]:i[i.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return zt(e,this._root).map(i=>i.value)}};function Nt(r,e){if(r===e.value)return e;for(let i of e.children){let t=Nt(r,i);if(t)return t}return null}function zt(r,e){if(r===e.value)return[e];for(let i of e.children){let t=zt(r,i);if(t.length)return t.unshift(e),t}return[]}var A=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function Y(r){let e={};return r&&r.children.forEach(i=>e[i.value.outlet]=i),e}var _e=class extends He{constructor(e,i){super(e),this.snapshot=i,Qt(this,e)}toString(){return this.snapshot.toString()}};function on(r,e){let i=Zn(r,e),t=new w([new W("",{})]),n=new w({}),s=new w({}),a=new w({}),o=new w(""),l=new z(t,n,a,o,s,p,e,i.root);return l.snapshot=i.root,new _e(new A(l,[]),i)}function Zn(r,e){let i={},t={},n={},s="",a=new Se([],i,n,s,t,p,e,null,{});return new Qe("",new A(a,[]))}var z=class{constructor(e,i,t,n,s,a,o,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=s,this.outlet=a,this.component=o,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(v(u=>u[we]))??h(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=n,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(v(e=>ee(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(v(e=>ee(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function _t(r,e,i="emptyOnly"){let t,{routeConfig:n}=r;return e!==null&&(i==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:d(d({},e.params),r.params),data:d(d({},e.data),r.data),resolve:d(d(d(d({},r.data),e.data),n?.data),r._resolvedData)}:t={params:r.params,data:r.data,resolve:d(d({},r.data),r._resolvedData??{})},n&&ln(n)&&(t.resolve[we]=n.title),t}var Se=class{get title(){return this.data?.[we]}constructor(e,i,t,n,s,a,o,l,u){this.url=e,this.params=i,this.queryParams=t,this.fragment=n,this.data=s,this.outlet=a,this.component=o,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ee(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ee(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},Qe=class extends He{constructor(e,i){super(i),this.url=e,Qt(this,i)}toString(){return un(this._root)}};function Qt(r,e){e.value._routerState=r,e.children.forEach(i=>Qt(r,i))}function un(r){let e=r.children.length>0?` { ${r.children.map(un).join(", ")} } `:"";return`${r.value}${e}`}function yt(r){if(r.snapshot){let e=r.snapshot,i=r._futureSnapshot;r.snapshot=i,O(e.queryParams,i.queryParams)||r.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&r.fragmentSubject.next(i.fragment),O(e.params,i.params)||r.paramsSubject.next(i.params),An(e.url,i.url)||r.urlSubject.next(i.url),O(e.data,i.data)||r.dataSubject.next(i.data)}else r.snapshot=r._futureSnapshot,r.dataSubject.next(r._futureSnapshot.data)}function $t(r,e){let i=O(r.params,e.params)&&Tn(r.url,e.url),t=!r.parent!=!e.parent;return i&&!t&&(!r.parent||$t(r.parent,e.parent))}function ln(r){return typeof r.title=="string"||r.title===null}var Xn=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=p,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.parentContexts=m(Ze),this.location=m(qr),this.changeDetector=m(Oe),this.environmentInjector=m(Ee),this.inputBinder=m(Xe,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:s}=t.name;if(n)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new L(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new L(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new L(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new L(4013,!1);this._activatedRoute=t;let s=this.location,o=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,u=new kt(t,l,s.injector);this.activated=s.createComponent(o,{index:s.length,injector:u,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=De({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Pe]});let r=e;return r})(),kt=class{constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===z?this.route:e===Ze?this.childContexts:this.parent.get(e,i)}},Xe=new E(""),Br=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,s=Ie([n.queryParams,n.params,n.data]).pipe(R(([a,o,l],u)=>(l=d(d(d({},a),o),l),u===0?h(l):Promise.resolve(l)))).subscribe(a=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let o=Or(n.component);if(!o){this.unsubscribeFromRouteData(t);return}for(let{templateName:l}of o.inputs)t.activatedComponentRef.setInput(l,a[l])});this.outletDataSubscriptions.set(t,s)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac});let r=e;return r})();function ei(r,e,i){let t=Le(r,e._root,i?i._root:void 0);return new _e(t,e)}function Le(r,e,i){if(i&&r.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let n=ti(r,e,i);return new A(t,n)}else{if(r.shouldAttach(e.value)){let s=r.retrieve(e.value);if(s!==null){let a=s.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(o=>Le(r,o)),a}}let t=ri(e.value),n=e.children.map(s=>Le(r,s));return new A(t,n)}}function ti(r,e,i){return e.children.map(t=>{for(let n of i.children)if(r.shouldReuseRoute(t.value,n.value.snapshot))return Le(r,t,n);return Le(r,t)})}function ri(r){return new z(new w(r.url),new w(r.params),new w(r.queryParams),new w(r.fragment),new w(r.data),r.outlet,r.component,r)}var cn="ngNavigationCancelingError";function hn(r,e){let{redirectTo:i,navigationBehaviorOptions:t}=te(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=dn(!1,0,e);return n.url=i,n.navigationBehaviorOptions=t,n}function dn(r,e,i){let t=new Error("NavigationCancelingError: "+(r||""));return t[cn]=!0,t.cancellationCode=e,i&&(t.url=i),t}function ni(r){return pn(r)&&te(r.url)}function pn(r){return r&&r[cn]}var ii=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=dr({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ar],decls:1,vars:0,template:function(n,s){n&1&&Sr(0,"router-outlet")},dependencies:[Xn],encapsulation:2});let r=e;return r})();function si(r,e){return r.providers&&!r._injector&&(r._injector=xr(r.providers,e,`Route: ${r.path}`)),r._injector??e}function Kt(r){let e=r.children&&r.children.map(Kt),i=e?x(d({},r),{children:e}):d({},r);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==p&&(i.component=ii),i}function U(r){return r.outlet||p}function ai(r,e){let i=r.filter(t=>U(t)===e);return i.push(...r.filter(t=>U(t)!==e)),i}function xe(r){if(!r)return null;if(r.routeConfig?._injector)return r.routeConfig._injector;for(let e=r.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var oi=(r,e,i,t)=>v(n=>(new Ft(e,n.targetRouterState,n.currentRouterState,i,t).activate(r),n)),Ft=class{constructor(e,i,t,n,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),yt(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let n=Y(i);e.children.forEach(s=>{let a=s.value.outlet;this.deactivateRoutes(s,n[a],t),delete n[a]}),Object.values(n).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let n=e.value,s=i?i.value:null;if(n===s)if(n.component){let a=t.getContext(n.outlet);a&&this.deactivateChildRoutes(e,i,a.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),n=t&&e.value.component?t.children:i,s=Y(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],n);if(t&&t.outlet){let a=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:o})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),n=t&&e.value.component?t.children:i,s=Y(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let n=Y(i);e.children.forEach(s=>{this.activateRoutes(s,n[s.value.outlet],t),this.forwardEvent(new Ot(s.value.snapshot))}),e.children.length&&this.forwardEvent(new Pt(e.value.snapshot))}activateRoutes(e,i,t){let n=e.value,s=i?i.value:null;if(yt(n),n===s)if(n.component){let a=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,i,a.children)}else this.activateChildRoutes(e,i,t);else if(n.component){let a=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let o=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),a.children.onOutletReAttached(o.contexts),a.attachRef=o.componentRef,a.route=o.route.value,a.outlet&&a.outlet.attach(o.componentRef,o.route.value),yt(o.route.value),this.activateChildRoutes(e,null,a.children)}else{let o=xe(n.snapshot);a.attachRef=null,a.route=n,a.injector=o,a.outlet&&a.outlet.activateWith(n,a.injector),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,t)}},Ke=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},X=class{constructor(e,i){this.component=e,this.route=i}};function ui(r,e,i){let t=r._root,n=e?e._root:null;return de(t,n,i,[t.value])}function li(r){let e=r.routeConfig?r.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:r,guards:e}}function ne(r,e){let i=Symbol(),t=e.get(r,i);return t===i?typeof r=="function"&&!hr(r)?r:e.get(r):t}function de(r,e,i,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let s=Y(e);return r.children.forEach(a=>{ci(a,s[a.value.outlet],i,t.concat([a.value]),n),delete s[a.value.outlet]}),Object.entries(s).forEach(([a,o])=>ge(o,i.getContext(a),n)),n}function ci(r,e,i,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let s=r.value,a=e?e.value:null,o=i?i.getContext(r.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){let l=hi(a,s,s.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new Ke(t)):(s.data=a.data,s._resolvedData=a._resolvedData),s.component?de(r,e,o?o.children:null,t,n):de(r,e,i,t,n),l&&o&&o.outlet&&o.outlet.isActivated&&n.canDeactivateChecks.push(new X(o.outlet.component,a))}else a&&ge(e,o,n),n.canActivateChecks.push(new Ke(t)),s.component?de(r,null,o?o.children:null,t,n):de(r,null,i,t,n);return n}function hi(r,e,i){if(typeof i=="function")return i(r,e);switch(i){case"pathParamsChange":return!G(r.url,e.url);case"pathParamsOrQueryParamsChange":return!G(r.url,e.url)||!O(r.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$t(r,e)||!O(r.queryParams,e.queryParams);case"paramsChange":default:return!$t(r,e)}}function ge(r,e,i){let t=Y(r),n=r.value;Object.entries(t).forEach(([s,a])=>{n.component?e?ge(a,e.children.getContext(s),i):ge(a,null,i):ge(a,e,i)}),n.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new X(e.outlet.component,n)):i.canDeactivateChecks.push(new X(null,n)):i.canDeactivateChecks.push(new X(null,n))}function Ae(r){return typeof r=="function"}function di(r){return typeof r=="boolean"}function pi(r){return r&&Ae(r.canLoad)}function mi(r){return r&&Ae(r.canActivate)}function fi(r){return r&&Ae(r.canActivateChild)}function gi(r){return r&&Ae(r.canDeactivate)}function vi(r){return r&&Ae(r.canMatch)}function mn(r){return r instanceof ir||r?.name==="EmptyError"}var $e=Symbol("INITIAL_VALUE");function re(){return R(r=>Ie(r.map(e=>e.pipe(P(1),lr($e)))).pipe(v(e=>{for(let i of e)if(i!==!0){if(i===$e)return $e;if(i===!1||i instanceof F)return i}return!0}),D(e=>e!==$e),P(1)))}function bi(r,e){return I(i=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:s,canDeactivateChecks:a}}=i;return a.length===0&&s.length===0?h(x(d({},i),{guardsResult:!0})):yi(a,t,n,r).pipe(I(o=>o&&di(o)?Ci(t,s,r,e):h(o)),v(o=>x(d({},i),{guardsResult:o})))})}function yi(r,e,i,t){return q(r).pipe(I(n=>wi(n.component,n.route,i,e,t)),k(n=>n!==!0,!0))}function Ci(r,e,i,t){return q(e).pipe(le(n=>sr(Si(n.route.parent,t),qi(n.route,t),Ri(r,n.path,i),Li(r,n.route,i))),k(n=>n!==!0,!0))}function qi(r,e){return r!==null&&e&&e(new Et(r)),h(!0)}function Si(r,e){return r!==null&&e&&e(new Dt(r)),h(!0)}function Li(r,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return h(!0);let n=t.map(s=>ut(()=>{let a=xe(e)??i,o=ne(s,a),l=mi(o)?o.canActivate(e,r):a.runInContext(()=>o(e,r));return J(l).pipe(k())}));return h(n).pipe(re())}function Ri(r,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(a=>li(a)).filter(a=>a!==null).map(a=>ut(()=>{let o=a.guards.map(l=>{let u=xe(a.node)??i,c=ne(l,u),g=fi(c)?c.canActivateChild(t,r):u.runInContext(()=>c(t,r));return J(g).pipe(k())});return h(o).pipe(re())}));return h(s).pipe(re())}function wi(r,e,i,t,n){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return h(!0);let a=s.map(o=>{let l=xe(e)??n,u=ne(o,l),c=gi(u)?u.canDeactivate(r,e,i,t):l.runInContext(()=>u(r,e,i,t));return J(c).pipe(k())});return h(a).pipe(re())}function xi(r,e,i,t){let n=e.canLoad;if(n===void 0||n.length===0)return h(!0);let s=n.map(a=>{let o=ne(a,r),l=pi(o)?o.canLoad(e,i):r.runInContext(()=>o(e,i));return J(l)});return h(s).pipe(re(),fn(t))}function fn(r){return rr(C(e=>{if(te(e))throw hn(r,e)}),v(e=>e===!0))}function Ai(r,e,i,t){let n=e.canMatch;if(!n||n.length===0)return h(!0);let s=n.map(a=>{let o=ne(a,r),l=vi(o)?o.canMatch(e,i):r.runInContext(()=>o(e,i));return J(l)});return h(s).pipe(re(),fn(t))}var Re=class{constructor(e){this.segmentGroup=e||null}},Ye=class extends Error{constructor(e){super(),this.urlTree=e}};function K(r){return oe(new Re(r))}function Ii(r){return oe(new L(4e3,!1))}function ji(r){return oe(dn(!1,3))}var Bt=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}noMatchError(e){return new L(4002,!1)}lineralizeSegments(e,i){let t=[],n=i.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return h(t);if(n.numberOfChildren>1||!n.children[p])return Ii(e.redirectTo);n=n.children[p]}}applyRedirectCommands(e,i,t){let n=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i.startsWith("/"))throw new Ye(n);return n}applyRedirectCreateUrlTree(e,i,t,n){let s=this.createSegmentGroup(e,i.root,t,n);return new F(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([n,s])=>{if(typeof s=="string"&&s.startsWith(":")){let o=s.substring(1);t[n]=i[o]}else t[n]=s}),t}createSegmentGroup(e,i,t,n){let s=this.createSegments(e,i.segments,t,n),a={};return Object.entries(i.children).forEach(([o,l])=>{a[o]=this.createSegmentGroup(e,l,t,n)}),new b(s,a)}createSegments(e,i,t,n){return i.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,n):this.findOrReturn(s,t))}findPosParam(e,i,t){let n=t[i.path.substring(1)];if(!n)throw new L(4001,!1);return n}findOrReturn(e,i){let t=0;for(let n of i){if(n.path===e.path)return i.splice(t),n;t++}return e}},Jt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mi(r,e,i,t,n){let s=Yt(r,e,i);return s.matched?(t=si(e,t),Ai(t,e,i,n).pipe(v(a=>a===!0?s:d({},Jt)))):h(s)}function Yt(r,e,i){if(e.path==="")return e.pathMatch==="full"&&(r.hasChildren()||i.length>0)?d({},Jt):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let n=(e.matcher||xn)(i,r,e);if(!n)return d({},Jt);let s={};Object.entries(n.posParams??{}).forEach(([o,l])=>{s[o]=l.path});let a=n.consumed.length>0?d(d({},s),n.consumed[n.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:n.consumed,remainingSegments:i.slice(n.consumed.length),parameters:a,positionalParamSegments:n.posParams??{}}}function Jr(r,e,i,t){return i.length>0&&Pi(r,i,t)?{segmentGroup:new b(e,Di(t,new b(i,r.children))),slicedSegments:[]}:i.length===0&&Ei(r,i,t)?{segmentGroup:new b(r.segments,Ti(r,e,i,t,r.children)),slicedSegments:i}:{segmentGroup:new b(r.segments,r.children),slicedSegments:i}}function Ti(r,e,i,t,n){let s={};for(let a of t)if(et(r,i,a)&&!n[U(a)]){let o=new b([],{});s[U(a)]=o}return d(d({},n),s)}function Di(r,e){let i={};i[p]=e;for(let t of r)if(t.path===""&&U(t)!==p){let n=new b([],{});i[U(t)]=n}return i}function Pi(r,e,i){return i.some(t=>et(r,e,t)&&U(t)!==p)}function Ei(r,e,i){return i.some(t=>et(r,e,t))}function et(r,e,i){return(r.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function Oi(r,e,i,t){return U(r)!==t&&(t===p||!et(e,i,r))?!1:r.path==="**"?!0:Yt(e,r,i).matched}function Ui(r,e,i){return e.length===0&&!r.children[i]}var Vt=class{};function Ni(r,e,i,t,n,s,a="emptyOnly"){return new Wt(r,e,i,t,n,a,s).recognize()}var zi=31,Wt=class{constructor(e,i,t,n,s,a,o){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=n,this.urlTree=s,this.paramsInheritanceStrategy=a,this.urlSerializer=o,this.applyRedirects=new Bt(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new L(4002,!1)}recognize(){let e=Jr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(v(i=>{let t=new Se([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,{},p,this.rootComponentType,null,{}),n=new A(t,i),s=new Qe("",n),a=Wn(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(s._root,null),{state:s,tree:a}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,p).pipe(_(t=>{if(t instanceof Ye)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Re?this.noMatchError(t):t}))}inheritParamsAndData(e,i){let t=e.value,n=_t(t,i,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(s=>this.inheritParamsAndData(s,t))}processSegmentGroup(e,i,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t):this.processSegment(e,i,t,t.segments,n,!0).pipe(v(s=>s instanceof A?[s]:[]))}processChildren(e,i,t){let n=[];for(let s of Object.keys(t.children))s==="primary"?n.unshift(s):n.push(s);return q(n).pipe(le(s=>{let a=t.children[s],o=ai(i,s);return this.processSegmentGroup(e,o,a,s)}),ur((s,a)=>(s.push(...a),s)),lt(null),or(),I(s=>{if(s===null)return K(t);let a=gn(s);return $i(a),h(a)}))}processSegment(e,i,t,n,s,a){return q(i).pipe(le(o=>this.processSegmentAgainstRoute(o._injector??e,i,o,t,n,s,a).pipe(_(l=>{if(l instanceof Re)return h(null);throw l}))),k(o=>!!o),_(o=>{if(mn(o))return Ui(t,n,s)?h(new Vt):K(t);throw o}))}processSegmentAgainstRoute(e,i,t,n,s,a,o){return Oi(t,n,s,a)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,s,a):this.allowRedirects&&o?this.expandSegmentAgainstRouteUsingRedirect(e,n,i,t,s,a):K(n):K(n)}expandSegmentAgainstRouteUsingRedirect(e,i,t,n,s,a){let{matched:o,consumedSegments:l,positionalParamSegments:u,remainingSegments:c}=n.path==="**"?Vr(s):Yt(i,n,s);if(!o)return K(i);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>zi&&(this.allowRedirects=!1));let g=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,u);return this.applyRedirects.lineralizeSegments(n,g).pipe(I(f=>this.processSegment(e,t,i,f.concat(c),a,!1)))}matchSegmentAgainstRoute(e,i,t,n,s){let a;return t.path==="**"?(a=h(Vr(n)),i.children={}):a=Mi(i,t,n,e,this.urlSerializer),a.pipe(R(o=>o.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(R(({routes:l})=>{let u=t._loadedInjector??e,{consumedSegments:c,remainingSegments:g,parameters:f}=o,y=new Se(c,f,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(t),U(t),t.component??t._loadedComponent??null,t,Bi(t)),{segmentGroup:se,slicedSegments:ae}=Jr(i,c,g,l);if(ae.length===0&&se.hasChildren())return this.processChildren(u,l,se).pipe(v(V=>V===null?null:new A(y,V)));if(l.length===0&&ae.length===0)return h(new A(y,[]));let it=U(t)===s;return this.processSegment(u,l,se,ae,it?p:s,!0).pipe(v(V=>new A(y,V instanceof A?[V]:[])))}))):K(i)))}getChildConfig(e,i,t){return i.children?h({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?h({routes:i._loadedRoutes,injector:i._loadedInjector}):xi(e,i,t,this.urlSerializer).pipe(I(n=>n?this.configLoader.loadChildren(e,i).pipe(C(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):ji(i))):h({routes:[],injector:e})}};function $i(r){r.sort((e,i)=>e.value.outlet===p?-1:i.value.outlet===p?1:e.value.outlet.localeCompare(i.value.outlet))}function ki(r){let e=r.value.routeConfig;return e&&e.path===""}function gn(r){let e=[],i=new Set;for(let t of r){if(!ki(t)){e.push(t);continue}let n=e.find(s=>t.value.routeConfig===s.value.routeConfig);n!==void 0?(n.children.push(...t.children),i.add(n)):e.push(t)}for(let t of i){let n=gn(t.children);e.push(new A(t.value,n))}return e.filter(t=>!i.has(t))}function Fi(r){return r.data||{}}function Bi(r){return r.resolve||{}}function Vr(r){return{matched:!0,parameters:r.length>0?Hr(r).parameters:{},consumedSegments:r,remainingSegments:[],positionalParamSegments:{}}}function Ji(r,e,i,t,n,s){return I(a=>Ni(r,e,i,t,a.extractedUrl,n,s).pipe(v(({state:o,tree:l})=>x(d({},a),{targetSnapshot:o,urlAfterRedirects:l}))))}function Vi(r,e){return I(i=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=i;if(!n.length)return h(i);let s=n.map(u=>u.route),a=new Set(s),o=vn(s[0].parent).slice(1),l=0;return q(o).pipe(le(u=>a.has(u)?Wi(u,t,r,e):(u.data=_t(u,u.parent,r).resolve,h(void 0))),C(()=>l++),ct(1),I(u=>l===o.length?h(i):T))})}function vn(r){let e=r.children.map(i=>vn(i)).flat();return[r,...e]}function Wi(r,e,i,t){let n=r.routeConfig,s=r._resolve;return n?.title!==void 0&&!ln(n)&&(s[we]=n.title),Gi(s,r,e,t).pipe(v(a=>(r._resolvedData=a,r.data=_t(r,r.parent,i).resolve,null)))}function Gi(r,e,i,t){let n=St(r);if(n.length===0)return h({});let s={};return q(n).pipe(I(a=>Hi(r[a],e,i,t).pipe(k(),C(o=>{s[a]=o}))),ct(1),ar(s),_(a=>mn(a)?T:oe(a)))}function Hi(r,e,i,t){let n=xe(e)??t,s=ne(r,n),a=s.resolve?s.resolve(e,i):n.runInContext(()=>s(e,i));return J(a)}function Ct(r){return R(e=>{let i=r(e);return i?q(i).pipe(v(()=>e)):h(e)})}var bn=(()=>{let e=class e{buildTitle(t){let n,s=t.root;for(;s!==void 0;)n=this.getResolvedTitleForRoute(s)??n,s=s.children.find(a=>a.outlet===p);return n}getResolvedTitleForRoute(t){return t.data[we]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(_i))(),providedIn:"root"});let r=e;return r})(),_i=(()=>{let e=class e extends bn{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(Te(Nr))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),tt=new E("",{providedIn:"root",factory:()=>({})}),Zt=new E("ROUTES"),Qi=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(ft)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return h(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=J(t.loadComponent()).pipe(v(yn),C(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),Me(()=>{this.componentLoaders.delete(t)})),s=new at(n,()=>new $).pipe(st());return this.componentLoaders.set(t,s),s}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return h({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let a=Ki(n,this.compiler,t,this.onLoadEndListener).pipe(Me(()=>{this.childrenLoaders.delete(n)})),o=new at(a,()=>new $).pipe(st());return this.childrenLoaders.set(n,o),o}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Ki(r,e,i,t){return J(r.loadChildren()).pipe(v(yn),I(n=>n instanceof wr||Array.isArray(n)?h(n):q(e.compileModuleAsync(n))),v(n=>{t&&t(r);let s,a,o=!1;return Array.isArray(n)?(a=n,o=!0):(s=n.create(i).injector,a=s.get(Zt,[],{optional:!0,self:!0}).flat()),{routes:a.map(Kt),injector:s}}))}function Yi(r){return r&&typeof r=="object"&&"default"in r}function yn(r){return Yi(r)?r.default:r}var Xt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(Zi))(),providedIn:"root"});let r=e;return r})(),Zi=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Cn=new E(""),qn=new E("");function Xi(r,e,i){let t=r.get(qn),n=r.get(Ur);return r.get(ce).runOutsideAngular(()=>{if(!n.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,Promise.resolve();let s,a=new Promise(u=>{s=u}),o=n.startViewTransition(()=>(s(),es(r))),{onViewTransitionCreated:l}=t;return l&&fr(r,()=>l({transition:o,from:e,to:i})),a})}function es(r){return new Promise(e=>{br(e,{injector:r})})}var ts=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new $,this.transitionAbortSubject=new $,this.configLoader=m(Qi),this.environmentInjector=m(Ee),this.urlSerializer=m(Ht),this.rootContexts=m(Ze),this.location=m(Ne),this.inputBindingEnabled=m(Xe,{optional:!0})!==null,this.titleStrategy=m(bn),this.options=m(tt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(Xt),this.createViewTransition=m(Cn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>h(void 0),this.rootComponentType=null;let t=s=>this.events.next(new Mt(s)),n=s=>this.events.next(new Tt(s));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(x(d(d({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,s){return this.transitions=new w({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:fe,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(D(a=>a.id!==0),v(a=>x(d({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),R(a=>{this.currentTransition=a;let o=!1,l=!1;return h(a).pipe(C(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?x(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),R(u=>{let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=u.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&g!=="reload"){let f="";return this.events.next(new H(u.id,this.urlSerializer.serialize(u.rawUrl),f,0)),u.resolve(null),T}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return h(u).pipe(R(f=>{let y=this.transitions?.getValue();return this.events.next(new be(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),y!==this.transitions?.getValue()?T:Promise.resolve(f)}),Ji(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),C(f=>{a.targetSnapshot=f.targetSnapshot,a.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=x(d({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let y=new Ge(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(y)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:y,source:se,restoredState:ae,extras:it}=u,V=new be(f,this.urlSerializer.serialize(y),se,ae);this.events.next(V);let Rn=on(y,this.rootComponentType).snapshot;return this.currentTransition=a=x(d({},u),{targetSnapshot:Rn,urlAfterRedirects:y,extras:x(d({},it),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,h(a)}else{let f="";return this.events.next(new H(u.id,this.urlSerializer.serialize(u.extractedUrl),f,1)),u.resolve(null),T}}),C(u=>{let c=new xt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),v(u=>(this.currentTransition=a=x(d({},u),{guards:ui(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),a)),bi(this.environmentInjector,u=>this.events.next(u)),C(u=>{if(a.guardsResult=u.guardsResult,te(u.guardsResult))throw hn(this.urlSerializer,u.guardsResult);let c=new At(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),D(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",3),!1)),Ct(u=>{if(u.guards.canActivateChecks.length)return h(u).pipe(C(c=>{let g=new It(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(g)}),R(c=>{let g=!1;return h(c).pipe(Vi(this.paramsInheritanceStrategy,this.environmentInjector),C({next:()=>g=!0,complete:()=>{g||this.cancelNavigationTransition(c,"",2)}}))}),C(c=>{let g=new jt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(g)}))}),Ct(u=>{let c=g=>{let f=[];g.routeConfig?.loadComponent&&!g.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(g.routeConfig).pipe(C(y=>{g.component=y}),v(()=>{})));for(let y of g.children)f.push(...c(y));return f};return Ie(c(u.targetSnapshot.root)).pipe(lt(),P(1))}),Ct(()=>this.afterPreactivation()),R(()=>{let{currentSnapshot:u,targetSnapshot:c}=a,g=this.createViewTransition?.(this.environmentInjector,u.root,c.root);return g?q(g).pipe(v(()=>a)):h(a)}),v(u=>{let c=ei(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=a=x(d({},u),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,a}),C(()=>{this.events.next(new Ce)}),oi(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),P(1),C({next:u=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new N(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{o=!0}}),cr(this.transitionAbortSubject.pipe(C(u=>{throw u}))),Me(()=>{if(!o&&!l){let u="";this.cancelNavigationTransition(a,u,1)}this.currentNavigation?.id===a.id&&(this.currentNavigation=null)}),_(u=>{if(l=!0,pn(u))this.events.next(new B(a.id,this.urlSerializer.serialize(a.extractedUrl),u.message,u.cancellationCode)),ni(u)?this.events.next(new qe(u.url)):a.resolve(!1);else{this.events.next(new ye(a.id,this.urlSerializer.serialize(a.extractedUrl),u,a.targetSnapshot??void 0));try{a.resolve(t.errorHandler(u))}catch(c){a.reject(c)}}return T}))}))}cancelNavigationTransition(t,n,s){let a=new B(t.id,this.urlSerializer.serialize(t.extractedUrl),n,s);this.events.next(a),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function rs(r){return r!==fe}var ns=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(is))(),providedIn:"root"});let r=e;return r})(),Gt=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},is=(()=>{let e=class e extends Gt{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=dt(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Sn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:()=>(()=>m(ss))(),providedIn:"root"});let r=e;return r})(),ss=(()=>{let e=class e extends Sn{constructor(){super(...arguments),this.location=m(Ne),this.urlSerializer=m(Ht),this.options=m(tt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(Xt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new F,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=on(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof be)this.stateMemento=this.createStateMemento();else if(t instanceof H)this.rawUrlTree=n.initialUrl;else if(t instanceof Ge){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(s,n)}}else t instanceof Ce?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof B&&(t.code===3||t.code===2)?this.restoreHistory(n):t instanceof ye?this.restoreHistory(n,!0):t instanceof N&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let s=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(s)||n.extras.replaceUrl){let a=this.browserPageId,o=d(d({},n.extras.state),this.generateNgRouterState(n.id,a));this.location.replaceState(s,"",o)}else{let a=d(d({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(s,"",a)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,a=this.currentPageId-s;a!==0?this.location.historyGo(a):this.currentUrlTree===t.finalUrl&&a===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=dt(e)))(s||e)}})(),e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),pe=function(r){return r[r.COMPLETE=0]="COMPLETE",r[r.FAILED=1]="FAILED",r[r.REDIRECTING=2]="REDIRECTING",r}(pe||{});function as(r,e){r.events.pipe(D(i=>i instanceof N||i instanceof B||i instanceof ye||i instanceof H),v(i=>i instanceof N||i instanceof H?pe.COMPLETE:(i instanceof B?i.code===0||i.code===1:!1)?pe.REDIRECTING:pe.FAILED),D(i=>i!==pe.REDIRECTING),P(1)).subscribe(()=>{e()})}function os(r){throw r}var us={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ls={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},rt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=m(Tr),this.stateManager=m(Sn),this.options=m(tt,{optional:!0})||{},this.pendingTasks=m(Dr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(ts),this.urlSerializer=m(Ht),this.location=m(Ne),this.urlHandlingStrategy=m(Xt),this._events=new $,this.errorHandler=this.options.errorHandler||os,this.navigated=!1,this.routeReuseStrategy=m(ns),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(Zt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m(Xe,{optional:!0}),this.eventsSubscription=new tr,this.isNgZoneEnabled=m(ce)instanceof ce&&ce.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let s=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(s!==null&&a!==null){if(this.stateManager.handleRouterEvent(n,a),n instanceof B&&n.code!==0&&n.code!==1)this.navigated=!0;else if(n instanceof N)this.navigated=!0;else if(n instanceof qe){let o=this.urlHandlingStrategy.merge(n.url,s.currentRawUrl),l={skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||rs(s.source)};this.scheduleNavigation(o,fe,null,l,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}hs(n)&&this._events.next(n)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)}))}navigateToSyncWithBrowser(t,n,s){let a={replaceUrl:!0},o=s?.navigationId?s:null;if(s){let u=d({},s);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(a.state=u)}let l=this.parseUrl(t);this.scheduleNavigation(l,n,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Kt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:s,queryParams:a,fragment:o,queryParamsHandling:l,preserveFragment:u}=n,c=u?this.currentUrlTree.fragment:o,g=null;switch(l){case"merge":g=d(d({},this.currentUrlTree.queryParams),a);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=a||null}g!==null&&(g=this.removeEmptyProps(g));let f;try{let y=s?s.snapshot:this.routerState.snapshot.root;f=rn(y)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),f=this.currentUrlTree.root}return nn(f,t,g,c??null)}navigateByUrl(t,n={skipLocationChange:!1}){let s=te(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,fe,null,n)}navigate(t,n={skipLocationChange:!1}){return cs(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let s;if(n===!0?s=d({},us):n===!1?s=d({},ls):s=n,te(t))return zr(this.currentUrlTree,t,s);let a=this.parseUrl(t);return zr(this.currentUrlTree,a,s)}removeEmptyProps(t){return Object.keys(t).reduce((n,s)=>{let a=t[s];return a!=null&&(n[s]=a),n},{})}scheduleNavigation(t,n,s,a,o){if(this.disposed)return Promise.resolve(!1);let l,u,c;o?(l=o.resolve,u=o.reject,c=o.promise):c=new Promise((f,y)=>{l=f,u=y});let g=this.pendingTasks.add();return as(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:l,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function cs(r){for(let e=0;e{let e=class e{constructor(t,n,s,a,o,l){this.router=t,this.route=n,this.tabIndexAttribute=s,this.renderer=a,this.el=o,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new $,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof N&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,n,s,a,o){if(this.urlTree===null||this.isAnchorElement&&(t!==0||n||s||a||o||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let t=this.href===null?null:vr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,n){let s=this.renderer,a=this.el.nativeElement;n!==null?s.setAttribute(a,t,n):s.removeAttribute(a,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(n){return new(n||e)(M(rt),M(z),pr("tabindex"),M(mt),M(pt),M(gt))},e.\u0275dir=De({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,s){n&1&&Rr("click",function(o){return s.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),n&2&&Cr("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ue],skipLocationChange:["skipLocationChange","skipLocationChange",Ue],replaceUrl:["replaceUrl","replaceUrl",Ue],routerLink:"routerLink"},standalone:!0,features:[yr,Pe]});let r=e;return r})(),Zs=(()=>{let e=class e{get isActive(){return this._isActive}constructor(t,n,s,a,o){this.router=t,this.element=n,this.renderer=s,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Q,this.routerEventsSubscription=t.events.subscribe(l=>{l instanceof N&&this.update()})}ngAfterContentInit(){h(this.links.changes,h(null)).pipe(ot()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=q(t).pipe(ot()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(t){let n=Array.isArray(t)?t:t.split(" ");this.classes=n.filter(s=>!!s)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(n=>{t?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){let n=ds(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>s.urlTree?t.isActive(s.urlTree,n):!1}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}};e.\u0275fac=function(n){return new(n||e)(M(rt),M(pt),M(mt),M(Oe),M(Wr,8))},e.\u0275dir=De({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,s,a){if(n&1&&jr(a,Wr,5),n&2){let o;Ir(o=Mr())&&(s.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Pe]});let r=e;return r})();function ds(r){return!!r.paths}var ps=new E("");function Xs(r,...e){return mr([{provide:Zt,multi:!0,useValue:r},[],{provide:z,useFactory:ms,deps:[rt]},{provide:Pr,multi:!0,useFactory:fs},e.map(i=>i.\u0275providers)])}function ms(r){return r.routerState.root}function er(r,e){return{\u0275kind:r,\u0275providers:e}}function fs(){let r=m(gr);return e=>{let i=r.get(Er);if(e!==i.components[0])return;let t=r.get(rt),n=r.get(gs);r.get(vs)===1&&t.initialNavigation(),r.get(bs,null,ht.Optional)?.setUpPreloading(),r.get(ps,null,ht.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var gs=new E("",{factory:()=>new $}),vs=new E("",{providedIn:"root",factory:()=>1});var bs=new E("");function ea(r){return er(5,[{provide:tt,useValue:r}])}function ta(){return er(8,[Br,{provide:Xe,useExisting:Br}])}function ra(r){let e=[{provide:Cn,useValue:Xi},{provide:qn,useValue:d({skipNextTransition:!!r?.skipInitialTransition},r)}];return er(9,e)}var ie=class{constructor(){this.tags=[],this.tags=[]}getId(){return this.id}setId(e){return this.id=e,this}getAuthor(){return this.author}setAuthor(e){return this.author=e,this}getCite(){return this.cite}setCite(e){return this.cite=e,this}getTags(){return this.tags??[]}setTags(e=[]){return e===void 0?this:(this.tags=e,this)}addTag(e){return this.tags&&!this.tags.includes(e.trim())&&this.tags.push(e.trim()),this}hasTags(){return!!this.tags.length}};var Cs=[{cite:"Chaque commencement rec\xE8le une magie cach\xE9e.",author:"Hermann Hesse",tags:["espoir"]},{cite:"Rarement nous pensons \xE0 ce que nous avons, mais souvent \xE0 ce qui nous manque.",author:"Arthur Schopenhauer",tags:["simplicit\xE9"]},{cite:"Comme le dauphin j'ai le dos fin.",author:"Ma\xEEtre Reiki Kanak"},{cite:"L'\xE2me porte les couleurs de tes pens\xE9es.",author:"Marc Aur\xE8le"},{cite:"Apprenons \xE0 tendre la main pas seulement pour recevoir, mais \xE9galement pour donner.",author:"Wembo Jah Olela",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Peu importe o\xF9 nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.",author:"Fynn Kliemann",tags:["amour"]},{cite:"Pour faire du bien, personne n'a besoin de r\xE9fl\xE9chir.",author:"Johann Wolfgang Von Goethe",tags:["bienveillance"]},{cite:"Il n'y a que deux fa\xE7ons de vivre sa vie : l'une en faisant comme si rien n'\xE9tait un miracle, l'autre en faisant comme si tout \xE9tait un miracle.",author:"Albert Einstein",tags:["joie"]},{cite:"La facult\xE9 de se mettre dans la peau des autres et de r\xE9fl\xE9chir \xE0 la mani\xE8re dont on agirait \xE0 leur place est tr\xE8s utile si on veut apprendre \xE0 aimer quelqu'un.",author:"Dalai Lama",tags:["amour"]},{cite:"R\xE9pands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; r\xE9pands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.",author:"Cl\xE9obus de Lindos",tags:["amiti\xE9"]},{cite:"Souris au monde et le monde te sourira.",author:"Soeur Emmanuelle",tags:["joie"]},{cite:"L'humour a non seulement quelque chose de lib\xE9rateur, mais encore quelque chose de sublime et d'\xE9lev\xE9.",author:"Sigmund Freud",tags:["rire"]},{cite:"On ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Seuls les sens peuvent gu\xE9rir l'\xE2me, tout comme l'\xE2me seule peut gu\xE9rir les sens.",author:"Oscar Wilde"},{cite:"L'amour n'est pas dans l'autre, il est en nous-m\xEAmes ; nous le r\xE9veillons. Mais pour ce r\xE9veil, nous avons besoin de l'autre.",author:"Paulo Coelho"},{cite:"L'ornement de la main, ce sont ses doigts.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'optimiste rit pour oublier ; le pessimiste oublie de rire.",author:"Anonyme"},{cite:"Parfois on ne per\xE7oit l'amour car la vie quotidienne peut nous rendre aveugle.",author:"Anonyme"},{cite:"Ecouter, c'est aimer.",author:"Fran\xE7ois Lelord",tags:["amour"]},{cite:"Si tu veux la lune, ne te cache pas durant la nuit. Si tu veux une rose, n'aie pas peur des \xE9pines. Si tu veux l'amour, ne cache pas ta vrai personne.",author:"Rumi",tags:["amour"]},{cite:"Les r\xEAves \xE9veill\xE9s maintiennent notre \xE9quilibre mental.",author:"Elisabeth Maria Maurer"},{cite:"L'\xE9nergie suit les pens\xE9es.",author:"Tony Robbins"},{cite:"Les questions sont les cl\xE9s pour acc\xE9der au tr\xE9sors.",author:"Georg-Wilhelm Exler"},{cite:"L'amour ne voit pas avec les yeux mais avec l'\xE2me.",author:"William Shakespeare"},{cite:"L'espoir, c'est rentrer sous la pluie et sortir sous un beau soleil.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Les folies sont les seules choses qu'on ne regrette jamais.",author:"Oscar Wilde"},{cite:"Un sourire est une clef secr\xE8te qui ouvre bien des coeurs.",author:"Baden-Powell"},{cite:"Le chocolat plonge des \xEAtres par ailleurs normaux dans d'\xE9tranges \xE9tats extatiques.",author:"John West"},{cite:"On a deux vies. La deuxi\xE8me commence le jour o\xF9 on r\xE9alise qu'on en a juste une.",author:"Confucius"},{cite:"Je vais \xEAtre jaloux de cette tour. Elle est plus c\xE9l\xE8bre que moi.",author:"Gustave Eiffel"},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard"},{cite:"Nous portons en nous des merveilles que nous cherchons en dehors de nous.",author:"Thomas Browne"},{cite:"L\xE0 o\xF9 l'on s'aime il ne fait jamais nuit.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Le risque de prendre une mauvaise d\xE9cision n'est rien compar\xE9 \xE0 la terreur de l'ind\xE9cision.",author:"Maimonide"},{cite:"En tentant l'impossible, on peut atteindre le plus haut niveau du possible.",author:"August Strindberg"},{cite:"Souris \xE0 la vie pour qu'elle te sourit.",author:"Proverbe tunisien",tags:["proverbe"]},{cite:"A coeur vaillant rien d'impossible.",author:"Jacques Coeur"},{cite:"L'important n'est pas ce que l'on regarde mais ce que l'on voit.",author:"Henry David Thoreau"},{cite:"A travers les feuilles d'un bon livre, on pourra entendre un \xE9cho qui ressemble aux bruits des f\xF4rets.",author:"Henry David Thoreau"},{cite:"Assure-toi que la bougie est allum\xE9e avant d'\xE9teindre l'allumette.",author:"Proverbe cr\xE9ole",tags:["proverbe"]},{cite:"Quand l'amour grandit en toi, la beaut\xE9 fat de m\xEAme. Car l'amour est la beaut\xE9 de l'\xE2me.",author:"Marcel Proust"},{cite:"Le v\xE9ritable voyage de d\xE9couverte ne consiste pas \xE0 chercher de nouveaux paysages, mais \xE0 avoir de nouveaux yeux.",author:"Marcel Proust"},{cite:"Dans la vie tu as deux choix le matin : soit tu te recouches pour poursuivre ton r\xEAve, soit tu te l\xE8ves pour le r\xE9aliser.",author:"Axel Albanel"},{cite:"La diplomatie, c'est faire et dire les plus vilaines choses de la mani\xE8re la plus \xE9l\xE9gante.",author:"Isaac Goldberg"},{cite:"Choisissez un travail que vous aimez et vous n'aurez pas \xE0 travailler un seul jour de votre vie.",author:"Confucius"},{cite:"L'imagination vaut bien des voyages et elle co\xFBte moins cher.",author:"George William Curtis"},{cite:"Faites que le r\xEAve d\xE9vore votre vie, afin que la vie ne d\xE9vore votre r\xEAve.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Deviens sans cesse celui que tu es, sois le ma\xEEtre et le sculpteur de toi-m\xEAme.",author:"Friederich Nietzsche"},{cite:"La nature nous a donn\xE9 une langue et deux oreilles, afin que nous \xE9coutions le double de ce que nous disons.",author:"Z\xE9non"},{cite:"Chaque baiser est un tremblement de terre.",author:"George Gordon Byron"},{cite:"Un grand \xE9crivain se remarque au nombre de pages qu'il ne publie pas.",author:"St\xE9phane Mallarm\xE9"},{cite:"Fais ce que tu aimes et fais-le souvent.",author:"Anonyme"},{cite:"Aimer savoir est humain, savoir aimer est divin.",author:"Joseph Roux"},{cite:"Plus le visage est s\xE9rieux, plus le sourire est beau.",author:"Fran\xE7ois Ren\xE9 de Chateaubriand"},{cite:"Le sourire que tu envoies revient vers toi.",author:"Proverbe hindou",tags:["proverbe"]},{cite:"Le sourire fait fondre la glace, installe la confiance et gu\xE9rit les blessures, c'est la clef des relations humaines sinc\xE8res.",author:"Voltaire"},{cite:"On n'est jamais puni pour avoir fait mourir de rire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a autant de beaut\xE9s qu'il y a de mani\xE8res habituelles de chercher le bonheur.",author:"Charles Baudelaire"},{cite:"Toute r\xE9v\xE9lation d'un secret est la faute de celui qui l'a confi\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"A celui qui sait attendre tout vient \xE0 temps .",author:"Fran\xE7ois Rabelais"},{cite:"On voyage pour changer, non de lieu, mais d'id\xE9es.",author:"Hippolyte Taine"},{cite:"Fruits et racines ont m\xEAme commune mesure qui est l'arbre.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"La beaut\xE9 est dans les yeux de celui qui regarde.",author:"Oscar Wilde"},{cite:"Les amis sont des compagnons de voyage, qui nous aident \xE0 avancer sur le chemin d\u2019une vie plus heureuse.",author:"Pythagore"},{cite:"Le plaisir est le bonheur des fous, le bonheur est le plaisir des sages.",author:"Jules Barbey d'Aurevilly"},{cite:"La joie est en tout, il suffit de savoir l'extraire.",author:"Confucius"},{cite:"La table est l'entremetteuse de l'amiti\xE9.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Le g\xE9nie, c'est l'enfance retrouv\xE9e \xE0 volont\xE9.",author:"Charles Baudelaire"},{cite:"Le rem\xE8de \xE0 l'ennui c'est la curiosit\xE9. La curiosit\xE9 elle, est sans rem\xE8de.",author:"Anonyme"},{cite:"Il n'est pas de plaisir plus doux que de surprendre un homme en lui donnant plus qu'il n'esp\xE8re.",author:"Charles Baudelaire"},{cite:"Sachez vous \xE9loigner car, lorsque vous reviendrez \xE0 votre travail votre jugement sera plus s\xFBr.",author:"L\xE9onard de Vinci"},{cite:"C'est l'incertitude qui nous charme. Tout devient merveilleux dans la brume.",author:"Oscar Wilde"},{cite:"La bonne volont\xE9 raccourcit le chemin.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Bonne cuisine et bon vin, c'est le paradis sur terre.",author:"Henri IV"},{cite:"La musique est la langue des \xE9motions.",author:"Emmanuel Kant"},{cite:"Gu\xE9rir parfois, soulager souvent, \xE9couter toujours.",author:"Louis Pasteur"},{cite:"Les mots manquent aux \xE9motions.",author:"Victor Hugo"},{cite:"Le plaisir se ramasse la joie se cueille et le bonheur se cultive.",author:"Bouddha"},{cite:"Que ton baiser ait l'ardeur du soleil et la rose te donnera tout son parfum.",author:"Proverbe kurde",tags:["proverbe"]},{cite:"Quand ce que vous pensez, ce que vous dites et ce que vous faites sont en harmonie, le bonheur vous appartient.",author:"Gandhi"},{cite:"Qui veut faire le bonheur des autres a d\xE9j\xE0 fait le sien.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La sagesse, c'est d'avoir des r\xEAves suffisamment grands pour ne pas les perdre de vue lorsqu'on les poursuit.",author:"Oscar Wilde"},{cite:"Eclaire demain avec aujourd'hui !",author:"Elizabeth Barret Browning"},{cite:"Apprends \xE0 \xE9crire tes blessures dans le sable et \xE0 graver tes joies dans la pierre.",author:"Lao Tseu"},{cite:"Maison de paille o\xF9 l'on rit vaut mieux qu'un palais o\xF9 l'on pleure.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Toute l'invention consiste \xE0 faire quelque chose de rien.",author:"Jean Racine"},{cite:"L'id\xE9al de l'amiti\xE9 c'est de se sentir un et de rester deux.",author:"Anne Sophie Swetchine"},{cite:"Un seul homme arm\xE9 de courage vaut une majorit\xE9.",author:"Andrew Jackson"},{cite:"La Tour Eiffel ne devait durer que 20 ans, ... elle est devenue aussi \xE9ternelle que Paris !",author:"Anonyme"},{cite:"En se posant sur la branche, le papillon craint de la briser.",author:"Proverbe arm\xE9nien",tags:["proverbe"]},{cite:"Il ne faut avoir aucun regret pour le pass\xE9, aucun remords pour le pr\xE9sent, et une confiance in\xE9branlable pour l'avenir.",author:"Jean Jaur\xE8s"},{cite:"Un peu de jalousie \xE9veille un amour heureux qui s'endort.",author:"Mme Deshouli\xE8res"},{cite:"La simplicit\xE9 est la sophistication supr\xEAme.",author:"L\xE9onard de Vinci"},{cite:"Supprimons de la vie toute raison d'ennuis : car il est court le temps qui nous est imparti !",author:"M\xE9nandre"},{cite:"Quelque d\xE9licat que l'on soit en amour, on pardonne plus de fautes que dans l'amiti\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"Le travail, en autres avantages, a celui de raccourcir les journ\xE9es et d'\xE9tendre la vie.",author:"Denis Diderot"},{cite:"Si nous prenons la nature pour guide, nous ne nous \xE9garerons jamais.",author:"Cic\xE9ron"},{cite:"L'accent circonflexe est l'hirondelle de l'\xE9criture.",author:"Jules Renard"},{cite:"L'\xE9motion artistique cesse o\xF9 l'analyse et la pens\xE9e interviennent.",author:"Max Jacob"},{cite:"La pens\xE9e n'est qu'un \xE9clair au milieu de la nuit. Mais c'est cet \xE9clair qui est tout.",author:"Henri Poincar\xE9"},{cite:"L'accent est l'\xE2me du discours, il lui donne le sentiment et la v\xE9rit\xE9.",author:"Jean-Jacques Rousseau"},{cite:"La crainte du danger est mille fois plus terrifiante que le danger pr\xE9sent.",author:"Daniel Defoe"},{cite:"La lutte donne au triomphe la saveur de la passion, et la victoire embellit la conqu\xEAte.",author:"Georges Meredith"},{cite:"De toutes les passions, la seule vraiment respectable me parait \xEAtre la gourmandise.",author:"Guy de Maupassant"},{cite:"Jamais les mots ne manquent aux id\xE9es ; ce sont les id\xE9es qui manquent aux mots.",author:"Joseph Joubert"},{cite:"L'\xE2ge auquel on partage tout est g\xE9n\xE9ralement l'\xE2ge o\xF9 on n'a rien.",author:"Alphonse Karr"},{cite:"Une erreur originale vaut mieux qu'une v\xE9rit\xE9 banale.",author:"Fiodor Dosto\xEFevski"},{cite:"Le veinard est celui qui arrive \xE0 tout ; le malchanceux est celui \xE0 qui tout arrive.",author:"Eug\xE8ne Labiche"},{cite:"La seule limite \xE0 notre \xE9panouissement de demain sera nos doutes d'aujourd'hui.",author:"Franklin Delano Roosevelt"},{cite:"Il n'y a pas de moyen pour polir le h\xE9risson.",author:"Aristophane"},{cite:"L'amour qui na\xEEt subitement est le plus long \xE0 gu\xE9rir.",author:"Jean de La Bruy\xE8re"},{cite:"Il n'y a pas de plus grande joie que celle qu'on n'attend pas.",author:"Sophocle"},{cite:"Quand la col\xE8re emplit ton coeur, ne laisse pas ta langue aboyer en vain.",author:"Sappho"},{cite:"Un grain de gaiet\xE9 assaisonne tout.",author:"Baltasar Gracian"},{cite:"Qui rougit est d\xE9j\xE0 coupable, la vraie innocence n'a honte de rien.",author:"Jean-Jacques Rousseau"},{cite:"Il n'y a point de g\xE9nie sans grain de folie.",author:"Aristote"},{cite:"J'aime le lit, c'est le seul endroit o\xF9, comme le chat, je puis faire le mort en respirant, tout en \xE9tant vivant.",author:"Arthur Cravan"},{cite:"Le seul homme \xE0 ne jamais faire d'erreur est celui qui ne fait rien.",author:"Th\xE9odore Roosevelt"},{cite:"Le plus grand voyageur est celui qui a su faire une fois le tour de lui-m\xEAme.",author:"Confucius"},{cite:"C'est la nuit qu'il est beau de croire \xE0 la lumi\xE8re.",author:"Edmond Rostand"},{cite:"Pour l'amour d'une rose, le jardinier devient l'esclave de mille \xE9pines.",author:"Proverbe turc",tags:["proverbe"]},{cite:"D\xE9ploie ton jeune courage, enfant ; c'est ainsi qu'on s'\xE9l\xE8ve jusqu'aux astres.",author:"Virgile"},{cite:"Nul ne veut le bien public que quand il s'accorde avec le sien.",author:"Jean-Jacques Rousseau"},{cite:"On avale \xE0 pleine gorg\xE9e le mensonge qui nous flatte, et l'on boit goutte \xE0 goutte une v\xE9rit\xE9 qui nous est am\xE8re.",author:"Denis Diderot"},{cite:"Appelons hommes de g\xE9nie qui font vite ce que nous faisons lentement.",author:"Joseph Joubert"},{cite:"Rien n'est s\xE9rieux en ce bas monde que le rire.",author:"Gustave Flaubert"},{cite:"Les soucis enlaidissent, c'est la joie qui fait fleurir.",author:"Proverbe berb\xE8re",tags:["proverbe"]},{cite:"Qui fait rire l'esprit se rend ma\xEEtre du coeur.",author:"Cardinal de Bernis"},{cite:"On ne peut apprendre au crabe \xE0 marcher droit.",author:"Aristophane"},{cite:"Ferme les yeux et tu verras.",author:"Joseph Joubert"},{cite:"L'homme le plus heureux est celui qui fait le bonheur d'un plus grand nombre d'autres.",author:"Denis Diderot"},{cite:"A l'oiseau, le nid; \xE0 l'araign\xE9e, la toile; \xE0 l'homme, l'amiti\xE9.",author:"William Blake"},{cite:"Rien ne s'accomplit dans ce monde sans passion.",author:"Georg Whilhelm Friedrich Hegel"},{cite:"N'engage pas de d\xE9bat lors d'un d\xEEner car celui qui n'a pas faim aura le dernier mot.",author:"Richard Whately"},{cite:"Les paroles sages tombent quelquefois dans l'oreille d'un sourd ; mais un mot gentil n'est jamais perdu.",author:"Arthur Helps"},{cite:"Je crois beaucoup en la chance, et je constate que plus je travaille, plus elle me sourit.",author:"Thomas Jefferson"},{cite:"L'exp\xE9rience est un peigne que la nature nous donne une fois que nous sommes chauves.",author:"Proverbe belge",tags:["proverbe"]},{cite:"Le rire et le sommeil sont les meilleurs rem\xE8des du monde.",author:"Proverbe irlandais",tags:["proverbe"]},{cite:"L'enfance est un papillon qui se h\xE2te de br\xFBler ses blanches ailes aux flammes de la jeunesse.",author:"Aloysius Bertrand"},{cite:"La puissance, c'est imposer sa volont\xE9 aux autres. La force, c'est se l'imposer \xE0 soi-m\xEAme.",author:"Lao Zi"},{cite:"A No\xEBl, je n'ai pas plus envie de rose que je ne voudrais de neige au printemps. J'aime chaque saison pour ce qu'elle apporte.",author:"William Shakespeare"},{cite:"Le meilleur secret pour ne jamais tomber c'est de rester toujours assis.",author:"Stendhal"},{cite:"La vari\xE9t\xE9 est la v\xE9ritable \xE9pice de la vie. Qui lui donne toute sa saveur.",author:"William Cowper"},{cite:"Pour retrouver sa jeunesse, il n'y a qu'\xE0 recommencer ses folies.",author:"Th\xE9odore Roosevelt"},{cite:"Le rire que tu offres te sera rendu au centuple.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Pour les habits, rien ne vaut les neufs, pour les amis, rien ne vaut les vieux.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a toujours un peu de folie dans l'amour mais il y a toujours un peu de raison dans la folie.",author:"Friederich Nietzsche"},{cite:"Faire caca, c'est se lib\xE9rer d'un poids.",author:"Camille Richard"},{cite:"L'exp\xE9rience est le nom que l'on donne \xE0 ses erreurs.",author:"Oscar Wilde"},{cite:"Le bonheur est la plus grande des conqu\xEAtes, celle qu'on fait contre le destin qui nous est impos\xE9.",author:"Albert Camus"},{cite:"On ne devrait vivre que pour le plaisir. Rien ne vieillit comme le bonheur.",author:"Oscar Wilde"},{cite:"Ne juge aucun homme avant d'avoir march\xE9 avec ses mocassins durant deux lunes.",author:"Proverbe am\xE9rindien",tags:["proverbe"]},{cite:"Vous ne parviendrez jamais \xE0 faire des sages si vous ne faites d'abord des polissons.",author:"Jean-Jacques Rousseau"},{cite:"Ce qui \xE9tonne, \xE9tonne une fois, mais ce qui est admirable est de plus en plus admir\xE9.",author:"Joseph Joubert"},{cite:"Ce qui est admirable, ce n'est pas que le champ des \xE9toiles soit si vaste, c'est que l'homme l'ait mesur\xE9.",author:"Anatole France"},{cite:"Le tout c'est d'avoir du g\xE9nie \xE0 vingt ans et du talent \xE0 quatre-vingts.",author:"Camille Corot"},{cite:"Une image vaut mille mots.",author:"Confucius"},{cite:"La mesure de l'amour c'est d'aimer sans mesure.",author:"Saint-Augustin"},{cite:"No\xEBl n'est pas un jour ni une saison, c'est un \xE9tat d'esprit.",author:"John Calvin Coolidge"},{cite:"Il n'est pas d'hiver sans neige, de printemps sans soleil, et de joie sans \xEAtre partag\xE9e.",author:"Proverbe serbe",tags:["proverbe"]},{cite:"Les plus beaux mots du monde ne sont que des sons inutiles si vous ne pouvez pas les comprendre.",author:"Anatole France"},{cite:"Si haut que parvienne une chose lanc\xE9e, c'est \xE0 terre qu'elle retourne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"H\xE2te-toi de bien vivre et songe que chaque jour est \xE0 lui seul une vie.",author:"S\xE9n\xE8que"},{cite:"Tout \xE2ge porte ses fruits, il faut savoir les cueillir.",author:"Raymond Radiguet"},{cite:"Nul devoir n'est plus sous-estim\xE9 que celui d'\xEAtre heureux.",author:"Robert Louis Stevenson"},{cite:"Peu de gens ont le courage d'\xEAtre l\xE2ches devant t\xE9moins.",author:"Th\xE9ophile Gautier"},{cite:"L'or te donne la terre, la terre te donne de l'or.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le regard est le m\xE9diateur des coeurs.",author:"Anonyme"},{cite:"Ce n'est pas parce que les choses sont difficiles que nous n'osons pas, c'est parce que nous n'osons pas qu'elles sont difficiles.",author:"S\xE9n\xE8que"},{cite:"En art comme en amour, l'instinct suffit.",author:"Anatole France"},{cite:"Le cadeau, dira-t-on, n'a rien de somptueux, mais venant d'un ami, tout nous est pr\xE9cieux.",author:"Th\xE9ocrite"},{cite:"La franchise ne consiste pas \xE0 dire tout ce que l'on pense mais \xE0 penser tout ce que l'on dit.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Les petits cadeaux entretiennent l'amiti\xE9. Le premier qui a dit dela voulait se faire donner quelque chose.",author:"Eug\xE8ne Scribe"},{cite:"Les premiers sentiments sont toujours les plus naturels.",author:"Madame de S\xE9vign\xE9"},{cite:"Qui ne peut comme il veut, doit vouloir comme il peut.",author:"T\xE9rence"},{cite:"Etre jeune, c'est avoir un esprit qui calcule et un coeur qui ne calcule pas.",author:"Ren\xE9 Bazin"},{cite:"La s\xE9duction supr\xEAme n'est pas d'exprimer ses sentiments. C'est de les faire soup\xE7onner.",author:"Jules Barbey d'Aurevilly"},{cite:"L'action ne doit pas \xEAtre une r\xE9action mais une cr\xE9ation.",author:"Censier (droit f\xE9odal)"},{cite:"On ne devrait s'\xE9tonner que de pouvoir encore s'\xE9tonner.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"Le coeur n'a pas de ma\xEEtre, il n'est pas un esclave, et de toute contrainte il sait briser l'entrave.",author:"Adam Mickiewicz"},{cite:"Le pass\xE9 est un phare, et non un port.",author:"Proverbe russe",tags:["proverbe"]},{cite:"La parole est moiti\xE9 \xE0 celui qui parle, moiti\xE9 \xE0 celui qui \xE9coute.",author:"Michel de Montaigne"},{cite:"Un po\xE8me est un myst\xE8re dont le lecteur doit chercher la clef.",author:"St\xE9phane Mallarm\xE9"},{cite:"La vie est trop courte pour \xEAtre petite.",author:"Proverbe anglais",tags:["proverbe"]},{cite:"Dans une avalanche, aucun flocon ne se sent jamais responsable.",author:"Voltaire"},{cite:"A vingt ans, c'est la volont\xE9 qui r\xE8gne, \xE0 trente ans l'esprit, et \xE0 quarante le jugement.",author:"Benjamin Franklin"},{cite:"Ayez le courage de ne pas savoir un grand nombre de choses afin d'\xE9viter la certitude de ne rien savoir.",author:"Sydney Smith"},{cite:"Je crois pouvoir dire d'un poste \xE9minent et d\xE9licat qu'on y monte plus ais\xE9ment qu'on ne s'y conserve.",author:"Jean de La Bruy\xE8re"},{cite:"Ecrire, c'est d\xE9j\xE0 mettre du noir sur du blanc.",author:"St\xE9phane Mallarm\xE9"},{cite:"Il est temps de vivre la vie que tu t'es imagin\xE9e.",author:"Henry James"},{cite:"Qu'importe aux coeurs unis ce qui change autour d'eux.",author:"Alphonse de Lamartine"},{cite:"N'allez pas l\xE0 o\xF9 le chemin peut mener. Allez l\xE0 o\xF9 il n'y a pas de chemin et laissez une trace.",author:"Ralph Waldo Emerson"},{cite:"Lorsqu'on tire sur un seul fil de la nature, on d\xE9couvre qu'il est attach\xE9 au reste du monde.",author:"John Muir"},{cite:"L'exp\xE9rience est une lanterne que l'on porte sur le dos et qui n'\xE9claire jamais que le chemin parcouru.",author:"Confucius"},{cite:"La nature fait les choses sans se presser, et pourtant tout est accompli.",author:"Lao Zi"},{cite:"Apprends comme si tu devais vivre pour toujours et vis comme si tu devais mourir ce soir !",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Si tu veux \xEAtre heureux, sois-le.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le grand inconv\xE9nient des livres nouveaux est de nous emp\xEAcher de lire les anciens.",author:"Joseph Joubert"},{cite:"On ne doit pas juger du m\xE9rite d'un homme par ses grandes qualit\xE9s, mais par l'usage qu'il en sait faire.",author:"Jean de La Bruy\xE8re"},{cite:"J'ai d\xE9cid\xE9 d'\xEAtre heureux, c'est meilleur pour la sant\xE9.",author:"Voltaire"},{cite:"Un instant de bonheur vaut mille ans dans l'histoire.",author:"Voltaire"},{cite:"Toute beaut\xE9 est une joie \xE9ternelle.",author:"John Keats"},{cite:"J'ai toujours pr\xE9f\xE9r\xE9 la folie des passions \xE0 la sagesse de l'indiff\xE9rence.",author:"Anatole France"},{cite:"Une joie partag\xE9e est une double joie, un chagrin partag\xE9 est un demi-chagrin.",author:"Jacques Deval"},{cite:"Un seul \xEAtre vous manque et tout est d\xE9peupl\xE9.",author:"Alphonse de Lamartine"},{cite:"Si votre coeur est une rose, votre bouche dira des mots parfum\xE9s.",author:"Proverbe russe",tags:["proverbe"]},{cite:"Ce que l'on con\xE7oit bien s'\xE9nonce clairement, et les mots pour le dire arrivent ais\xE9ment.",author:"Nicolas Boileau"},{cite:"Ann\xE9es de cerises rouges met le rire sur les bouches.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Quelle noblesse d'avoir un ami, mais combien plus noble d'\xEAtre un ami.",author:"Richard Wagner"},{cite:"Pour les femmes, la douceur est le meilleur moyen d'avoir raison.",author:"Madame de Maintenon"},{cite:"La perfection est un chemin, non une fin.",author:"Proverbe cor\xE9en",tags:["proverbe"]},{cite:"Quiconque a bu une tasse de chocolat r\xE9siste \xE0 une journ\xE9e de voyage.",author:"Johann Wolfgang Von Goethe"},{cite:"Un des bonheurs de l'amiti\xE9, c'est de savoir \xE0 qui confier un secret.",author:"Alessandro Manzoni"},{cite:"Dis-toi d'abord ce que tu veux \xEAtre, puis fais ce qu'il faut pour le devenir.",author:"Epict\xE8te"},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand"},{cite:"L'art d'\xEAtre tant\xF4t tr\xE8s audacieux et tant\xF4t tr\xE8s prudent est l'art de r\xE9ussir.",author:"Napol\xE9on Bonaparte"},{cite:"L\u2019amour, c\u2019est la fusion, l\u2019identification de deux \xEAtres qui s\u2019admirent et s\u2019adorent l\u2019un l\u2019autre.",author:"George Sand"},{cite:"L'art de l'\xE9crivain consiste surtout \xE0 nous faire oublier qu'il emploie des mots.",author:"Henri Bergson"},{cite:"Le d\xE9sordre est simplement l'ordre que nous ne cherchons pas.",author:"Henri Bergson"},{cite:"Le style est comme le cristal, sa puret\xE9 fait son \xE9clat.",author:"Victor Hugo"},{cite:"L'homme devrait mettre autant d'ardeur \xE0 simplifier sa vie qu'il en met \xE0 la compliquer.",author:"Henri Bergson"},{cite:"Il faut agir en homme de pens\xE9e et penser en homme d'action.",author:"Henri Bergson"},{cite:"R\xEAver c'est se d\xE9sint\xE9resser.",author:"Henri Bergson"},{cite:"Quoi que tu r\xEAves d'entreprendre, commence-le. L'audace a du g\xE9nie, du pouvoir, de la magie.",author:"Johann Wolfgang Von Goethe"},{cite:"En mati\xE8re de sentiment, le manque de logique est la meilleure preuve de la sinc\xE9rit\xE9.",author:"L\xE9on Tolsto\xEF"},{cite:"Le d\xE9faut de l'\xE9galit\xE9, c'est que nous ne la voulons qu'avec nos sup\xE9rieurs.",author:"Henri Becque"},{cite:"Papillon, ce billet doux pli\xE9 cherche une adresse de fleur.",author:"Jules Renard"},{cite:"Si vous voulez que vos r\xEAves se r\xE9alisent, ne dormez pas.",author:"Proverbe juif",tags:["proverbe"]},{cite:"Si les cieux pleurent, la terre vivra.",author:"Proverbe hawaiien",tags:["proverbe"]},{cite:"Les r\xEAves d'un chat sont peupl\xE9s de souris.",author:"Proverbe libanais",tags:["proverbe"]},{cite:"Nul n'est plus chanceux que celui qui croit \xE0 sa chance.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"On peut aussi b\xE2tir quelque chose de beau avec les pierres qui entravent le chemin.",author:"Johann Wolfgang Von Goethe"},{cite:"Tout ce que tu feras sera d\xE9risoire, mais il est essentiel que tu le fasses.",author:"Gandhi"},{cite:"La rose n'a d'\xE9pines que pour celui qui veut la cueillir.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Chaque homme cache en lui un enfant qui veut jouer..",author:"Friederich Nietzsche"},{cite:"Pour savoir o\xF9 l'on va, il faut savoir o\xF9 l'on est.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Sans la musique, la vie serait une erreur.",author:"Friederich Nietzsche"},{cite:"A No\xEBl, amusons-nous, profitons-en, car No\xEBl ce n'est qu'une fois par an.",author:"Thomas Tusser"},{cite:"Un homme sans culture, tel un chat sans moustaches, se sent perdu.",author:"Anonyme"},{cite:"La science d\xE9crit la nature, la po\xE9sie la peint et l'embellit.",author:"Georges-Louis Leclerc de Buffon"},{cite:"Si on ne cultive pas le bonheur comment voulez vous qu'il pousse ?",author:"Po\xE8te inconnu"},{cite:"Une fleur fane m\xEAme si on l'aime ; une mauvaise herbe cro\xEEt m\xEAme si on ne l'aime pas.",author:"D\xF6gen"},{cite:"Quand tu lances la fl\xE8che de la v\xE9rit\xE9, trempe toujours la pointe dans du miel.",author:"Proverbe arabe",tags:["proverbe"]},{cite:"L'esp\xE9rance d'une joie est presque \xE9gale \xE0 la joie.",author:"William Shakespeare"},{cite:"Qui donne ne doit jamais s'en souvenir. Qui re\xE7oit ne doit jamais oublier.",author:"Proverbe h\xE9breu",tags:["proverbe"]},{cite:"Une fois la partie termin\xE9e, le roi et le pion retournent dans la m\xEAme bo\xEEte.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Bien \xEAtre : \xE9tat d'esprit produit par la contemplation des ennuis d'autrui.",author:"Ambrose Bierce"},{cite:"La vie, ce n'est pas d'attendre que l'orage passe, c'est d'apprendre \xE0 danser sous la pluie.",author:"S\xE9n\xE8que"},{cite:"L'humour est une disposition d'esprit qui fait qu'on exprime avec gravit\xE9 des choses frivoles et avec l\xE9g\xE8ret\xE9 des choses s\xE9rieuses.",author:"Afred Capus"},{cite:"Accepter l'id\xE9e d'une d\xE9faite, c'est \xEAtre vaincu.",author:"Mar\xE9chal Foch"},{cite:"Le but n'est pas toujours plac\xE9 pour \xEAtre atteint, mais pour servir de point de mire.",author:"Joseph Joubert"},{cite:"Si on veut conna\xEEtre un peuple, il faut \xE9couter sa musique.",author:"Platon"},{cite:"On peut peindre une fleur, mais pas son odeur.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Parmi les cinq sens, la vue, l'ou\xEFe et l'odorat connaissent moins d'interdits que le toucher et le go\xFBt.",author:"L\xE9onard de Vinci"},{cite:"On n'a jamais fait de grande d\xE9couverte sans hypoth\xE8se audacieuse.",author:"Isaac Newton",tags:["science","audace"]},{cite:"L'exp\xE9rience prouve que celui qui n'a jamais confiance en personne ne sera jamais d\xE9\xE7u.",author:"L\xE9onard de Vinci"},{cite:"L'attention de celui qui \xE9coute sert d'accompagnement dans la musique du discours.",author:"Joseph Joubert"},{cite:"L'homme n'a point de port, le temps n'a pas de rive ; Il coule et nous passons !",author:"Alphonse de Lamartine"},{cite:"On se sert des couleurs, mais on peint avec le sentiment.",author:"Jean Chardin"},{cite:"Si on ne peut pas rire au paradis, je ne tiens pas \xE0 y aller.",author:"Martin Luther"},{cite:"L'amour n'est pas seulement un sentiment, il est un art aussi.",author:"Honor\xE9 de Balzac"},{cite:"Un homme sans culture, c'est comme un z\xE8bre sans rayure. C'est un \xE2ne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Nous pesons rarement dans la m\xEAme balance des offenses que nous faisons et les offenses que l'on nous fait.",author:"Esope"},{cite:"Il faut toujours se r\xE9server le droit de rire le lendemain de ses id\xE9es de la veille.",author:"Napol\xE9on Bonaparte"},{cite:"Le cri du sentiment est toujours absurde ; mais il est sublime parce qu'il est absurde.",author:"Charles Baudelaire"},{cite:"Lorsque les hommes travaillent ensemble, les montagnes se changent en or.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il faut toujours bien faire ce qu'on fait, m\xEAme une folie.",author:"Honor\xE9 de Balzac"},{cite:"Sourire trois fois par tous les jours rend inutile tout m\xE9dicament.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le sourire est le m\xEAme dans toutes les langues.",author:"Proverbe mexicain",tags:["proverbe"]},{cite:"Tout portrait qu'on peint avec \xE2me est un portrait, non du mod\xE8le, mais de l'artiste.",author:"Oscar Wilde"},{cite:"C'est par l'adresse que vaut le b\xFBcheron, bien plus que par la force.",author:"Hom\xE8re"},{cite:"La plus perdue de toutes les journ\xE9es est celle o\xF9 l'on a pas ri.",author:"Nicolas de Chamfort"},{cite:"Nous tissons notre destin, nous le tirons de nous comme l'araign\xE9e de la toile.",author:"Fran\xE7ois Mauriac"},{cite:"Il faut faire le sacrifice de ses pr\xE9f\xE9rences mais pas celui de ses convictions.",author:"Ren\xE9 Bazin"},{cite:"La musique commence l\xE0 o\xF9 s'arr\xEAte le pouvoir des mots.",author:"Richard Wagner"},{cite:"La joie n'est pas dans les choses, elle est en nous.",author:"Richard Wagner"},{cite:"Toute ascension vers un endroit merveilleux se fait par un escalier en spirale.",author:"Fran\xE7ois Bacon"},{cite:"La nature fait les hommes semblables, la vie les rend diff\xE9rents.",author:"Confucius"},{cite:"Une heure de conversation vaut mieux que cinquante lettres.",author:"Madame de S\xE9vign\xE9"},{cite:"Sabot qui brille n'est pas toujours celui qui chausse le mieux.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Ce qui est ha\xEFssable, ne le fait pas \xE0 ton prochain ; c'est l\xE0 toute la loi. Le reste n'est que commentaire.",author:"Rabi Hillel"},{cite:"Un rire sinc\xE8re est un rayon de soleil dans une maison.",author:"William Thackeray"},{cite:"Le bonheur c'est un regard, un mot, un sourire pour ceux qui s'aiment.",author:"Delphine de Girardin"},{cite:"Nous sommes plus curieux du sens des r\xEAves que des choses que nous voyons \xE9veill\xE9s.",author:"Diog\xE8ne"},{cite:"Je ne te dis pas que tu es un bon \xE0 rien, je te dis que tu es mauvais en tout !",author:"Le schpountz"},{cite:"Trouver n'est rien, c'est le plan qui est difficile.",author:"Fiodor Dosto\xEFevski"},{cite:"Le monde ne mourra jamais par manque de merveilles mais uniquement par manque d'\xE9merveillement.",author:"Gilbert Keith Chersterton"},{cite:"La modestie est le meilleur app\xE2t pour aller \xE0 la p\xEAche aux compliments.",author:"Gilbert Keith Chersterton"},{cite:"Une civilisation me parait se d\xE9finir \xE0 la fois pas des questions qu'elle pose et par celles qu'elle ne pose pas.",author:"Andr\xE9 Malraux"},{cite:"Si vous voulez que la vie vous sourit, apportez-lui d'abord votre bonne humeur.",author:"Spinoza"},{cite:"Tant de mains pour transformer ce monde, et si peu de regards pour le contempler !",author:"Julien Gracq"},{cite:"Trois bougies repoussent les t\xE9n\xE8bres ; la v\xE9rit\xE9, la connaissance et les lois de la nature.",author:"Proverbe celtique",tags:["proverbe"]},{cite:"Aimez les yeux ouverts.",author:"Jorge Bucay",tags:["extrait"]},{cite:"La beaut\xE9 des choses existe dans l'esprit de celui qui les contemple.",author:"David Hume"},{cite:"Lire, c'est voyager ; voyager, c'est lire.",author:"Victor Hugo"},{cite:"Le bonheur n'est pas la destination, mais la mani\xE8re de voyager.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Un roman, c'est un miroir qu'on prom\xE8ne le long du chemin.",author:"Stendhal"},{cite:"Le bonheur arrive \xE0 ceux qui rient.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Le bonheur est une chose qui se multiplie quand il se divise.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Il n'est pas de plus lourd fardeau que d'avoir trop de d\xE9sirs.",author:"Lao Zi"},{cite:"Le plaisir de l'habitude est souvent plus doux encore que celui de la nouveaut\xE9.",author:"Marcel Proust"},{cite:"La nuit n'est peut-\xEAtre que la paupi\xE8re du jour.",author:"Omar Khayy\xE2m"},{cite:"La patience est l'art d'esp\xE9rer.",author:"Luc de Vauvenargues"},{cite:"Le bonheur, c'est de continuer \xE0 d\xE9sirer ce qu'on poss\xE8de.",author:"Friederich Nietzsche"},{cite:"Le parfait bonheur ne consiste qu'\xE0 rendre les hommes heureux.",author:"Jean-Baptiste Rousseau"},{cite:"Le soir de la vie apporte avec soi sa lampe.",author:"Joseph Joubert"},{cite:"Les grandes choses peuvent se manifester par de petit signes.",author:"Sigmund Freud"},{cite:"Il n'y a point de chemin vers le bonheur, le bonheur est le chemin.",author:"Lao Tseu"},{cite:"Le bonheur est un r\xEAve d'enfant r\xE9alis\xE9 \xE0 l'\xE2ge adulte.",author:"Sigmund Freud"},{cite:"Fais ton bonheur par le bonheur d'autrui.",author:"Voltaire"},{cite:"Le bonheur est en m\xEAme temps ce qu'il y a de meilleur, de plus beau et de plus agr\xE9able.",author:"Aristote"},{cite:"Il ne faut pas dire oui avec la bouche et non avec le coeur.",author:"Lao Tseu"},{cite:"Ne fais rien dans ta vie, qui te fasse redouter que ton voisin en prenne connaissance.",author:"Epicure"},{cite:"Qu'on me donne six heures pour couper un arbre, j'en passerai quatre \xE0 pr\xE9parer ma hache.",author:"Abraham Lincoln"},{cite:"On met plus de passion \xE0 obtenir ce qu'on n'a pas qu'\xE0 conserver ce qu'on a.",author:"Stendhal"},{cite:"Notre plus grande gloire n'est pas de ne jamais tomber, mais de nous relever chaque fois.",author:"Confucius"},{cite:"Les cons\xE9quences de la col\xE8re sont beaucoup plus graves que les causes.",author:"Marc Aur\xE8le"},{cite:"Chaque coup de col\xE8re est un coup de vieux, chaque sourire est un coup de jeune.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La d\xE9couverte d'un mets nouveau fait plus pour le bonheur du genre humain que la d\xE9couverte d'une \xE9toile.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La science est le savoir organis\xE9. La sagesse est la vie organis\xE9e.",author:"Emmanuel Kant"},{cite:"Si je r\xEAve tout seul, cela reste un r\xEAve. Si nous r\xEAvons ensemble, c'est le d\xE9but de la r\xE9alit\xE9.",author:"Proverbe persan",tags:["pens\xE9e positive","proverbe"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe chinois",tags:["pens\xE9e positive","proverbe"]},{cite:"L'\xE9chec est seulement l'opportunit\xE9 de recommencer d'une fa\xE7on plus intelligente.",author:"Henry Ford"},{cite:"N'attendez pas d'\xEAtre heureux pour sourire. Souriez plut\xF4t afin d'\xEAtre heureux.",author:"Edward L. Kramer"},{cite:"Cherche un arbre et laisse-lui t'apprendre le calme.",author:"Eckhart Tolle"},{cite:"S'\xE9loigner de tout rapproche un peu de l'essentiel.",author:"Lo\xEFc Peyron"},{cite:"Ceux qui r\xEAvent \xE9veill\xE9s ont connaissance de mille choses \xE9chappent \xE0 ceux qui ne r\xEAvent qu'endormis.",author:"Edgar Allan Poe"},{cite:"Qui m'aime me suive, disait le vent.",author:"Sylvain Tesson"},{cite:"Ignore toutes les choses qui t'emp\xEAchent d'avancer, en particulier celles qui sont dans ta t\xEAte.",author:"Meryl Streep"},{cite:"La vie seule ne suffit pas. On a aussi besoin d'un rayon de soleil, de libert\xE9 et d'une petite fleur.",author:"Hans Christian Andersen"},{cite:"Les deux jours les plus importants de votre vie sont le jour o\xF9 vous \xEAtes n\xE9 et le jour o\xF9 vous d\xE9couvrez pourquoi.",author:"Mark Twain"},{cite:"Le bonheur est souvent la seule chose que l'on puisse donner sans l'avoir, et c'est en le donnant qu'on l'acquiert.",author:"Voltaire"},{cite:"La vie, c'est un livre qu'on aime, c'est un enfant qui joue \xE0 vos pieds, un outil qu'on tient bien dans sa main, un banc pour se reposer le soir devant sa maison.",author:"Jean Anouilh",tags:["extrait","Antigone"]},{cite:"Je suis ma propre muse.",author:"Frida Kahlo"},{cite:"\xCAtre heureux ne signifie pas que tout est parfait. Cela signifie que vous avez d\xE9cid\xE9 de regarder au-del\xE0 des imperfections.",author:"Aristote"},{cite:"Seule, je ne peux pas changer le monde, mais je peux jeter une pierre dans l'eau et cr\xE9er de nombreuses ondulations.",author:"M\xE8re Teresa"},{cite:"Tout ce que les hommes ont fait de beau et de bien, ils l'ont fait avec leurs r\xEAves.",author:"Bernard Moitessier"},{cite:"Nous n'avons pas besoin de magie pour changer le monde. Nous portons d\xE9j\xE0 tout le pouvoir dont nous avons besoin \xE0 l'int\xE9rieur de nous.",author:"J. K. Rowling",tags:["bien-\xEAtre"]},{cite:"Un seul moment de joie chasse cent moments de tristesse.",author:"Proverbe chinois",tags:["proverbe","joie"]},{cite:"N'oubliez pas que la terre se r\xE9jouit de sentir vos pieds nus et que les vents joueraient volontiers avec vos cheveux.",author:"Khalil Gibran"},{cite:"Il n'y a pas de honte \xE0 pr\xE9f\xE9rer le bonheur.",author:"Albert Camus"},{cite:"Il n'est jamais trop tard pour devenir ce que l'on aurait pu \xEAtre.",author:"George Eliot"},{cite:"Va prendre tes le\xE7ons dans la nature.",author:"L\xE9onard de Vinci"},{cite:"Le meilleur moment pour planter un arbre, c'\xE9tait il y a vingt ans. Le second, c'est maintenant.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Je ne peux rester sans rien faire... Je vais faire la sieste.",author:"Yvan Audouard"},{cite:"La vie n'est pas faite pour se trouver ; la vie est faite pour se cr\xE9er.",author:"George Bernard Shaw"},{cite:"On voit mourir toute chose anim\xE9e lorsque du corps l'\xE2me subtile part. Je suis le corps, toi la meilleure part: O\xF9 es-tu donc, \xF6 \xE2me bien-aim\xE9e ?",author:"Louise Lab\xE9",tags:["extrait","Sonnet VII"]},{cite:"Dans la vie. Rien n'est \xE0 craindre. Tout est \xE0 comprendre.",author:"Marie Curie"},{cite:"Rien n'est jamais fini. Il suffit d'un peu de bonheur pour que tout recommence.",author:"Emile Zola",tags:["extrait","Germinal"]},{cite:"Entourez-vous de choses qui vous rendent vraiment heureux.",author:"Marie Kondo"},{cite:"Il se faut s'entraider c'est la loi de nature.",author:"Jean de La Fontaine"},{cite:"Apr\xE8s le verbe aimer, aider est le plus beau verbe du monde.",author:"Baronne Berthe Von Suttner"},{cite:"La curiosit\xE9 est une gourmandise: voir, c'est d\xE9vorer.",author:"Victor Hugo"},{cite:"La vie est un d\xE9fi \xE0 relever, un bonheur \xE0 m\xE9riter, une aventure \xE0 tenter.",author:"M\xE8re Teresa"},{cite:"Quelle musique, le silence !",author:"Jean Anouilh"},{cite:"Le temps est notre ami.",author:"Christine Cayol"},{cite:"Sans effort d'imagination, ou de r\xEAves, nous perdons l'excitation des possibilit\xE9s. Apr\xE8s tout, r\xEAver est une sorte de planification.",author:"Gloria Steinen"},{cite:"Je souhaite dans ma maison, Une femme ayant sa raison, Un chat passant parmi les livres, Des amis en toute saison Sans lesquels je ne peux pas vivre.",author:"Guillaume Apollinaire"},{cite:"Gr\xE2ce aux r\xEAves le monde a \xE9t\xE9 r\xE9invent\xE9 plus souvent qu'il n'y a d'\xE9toiles dans le ciel.",author:"Lloyd Jones"},{cite:"Ne garde rien de ce qui t'a fait tant de mal, les lettres, les photos, les listes dee courses, les partitions, les marque-pages. Ne garde rien, ne jette rien non plus, fais-en cadeau \xE0 quelqu'un qui trouvera \xE7a beau.",author:"C\xE9cile Coulon",tags:["extrait","Les Ronces"]},{cite:"Ne laissez personne vous voler votre imagination, votre cr\xE9ativit\xE9 ou votre curiosit\xE9. C'est votre place dans le monde, c'est votre vie.",author:"Mae C. Jemison"},{cite:"Si tu n'arrives pas \xE0 penser, marche ; Si tu penses trop, marche ; Si tu penses mal, marche encore.",author:"Jean Giono"},{cite:"Le ciel \xE9toil\xE9 offre une le\xE7on de sagesse \xE0 qui sait le regarder: s'y perdre. C'est se trouver.",author:"Michel Onfray"},{cite:"Ne renoncez pas \xE0 faire ce que vous voulez vraiment faire. L\xE0 o\xF9 il y a des r\xEAves, de l'amour et de l'inspiration, vous ne pourrez pas vous tromper.",author:"Ella Fitzgerald"},{cite:"Le succ\xE8s est de vous aimer, d'aimer ce que vous faites et d'aimer la fa\xE7on dont vous le faites.",author:"Maya Angelou"},{cite:"Ne cessez jamais d'\xEAtre fantasque. Et ne donnez jamais \xE0 qui que ce soit la responsabilit\xE9 de votre vie..",author:"Mary Oliver"},{cite:"La joie est en tout, il faut savoir l'extraire.",author:"Mary Oliver"},{cite:"La vie est une grande toile vierge: \xE0 vous d'y ajouter le plus de couleurs possible.",author:"Danny Kaye"},{cite:"Quand je me prom\xE8ne, je sens toujours qu'au coin de la rue. Il y a quelque chose de merveilleux qui m'attend.",author:"Sophia Loren"},{cite:"Le bonheur est un seul bouquet : confus l\xE9ger fondant sucr\xE9.",author:"Paul Eluard"},{cite:"Qui s\xE8me le silence r\xE9colte la paix.",author:"Proverbe tha\xEFlandais",tags:["proverbe"]},{cite:"La vie a beaucoup plus d'imagination que nous.",author:"Fran\xE7ois Truffaut"},{cite:"Le vrai bonheur serait de se souvenir du pr\xE9sent.",author:"Jules Renard"},{cite:"Les erreurs ne se regrettent pas, elles s'assument. La peur ne se fuit pas, elle se surmonte. L'amour ne se crie pas, il se prouve !",author:"Simone Weil"},{cite:"Il ne faut pas se mettre en col\xE8re contre les choses, cela ne leur fait absolument rien.",author:"Germaine de Sta\xEBl"},{cite:"Le bout du monde est le fond du jardin contiennent la m\xEAme quantit\xE9 de merveilles.",author:"Christian Bobin"},{cite:"Vivre c'est aider un autre \xE0 vivre.",author:"Jacques de Bourbon Busser"},{cite:"La v\xE9ritable amiti\xE9 ne g\xE8le pas en hiver.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"L'art est le plus beau des mensonges.",author:"Claude Debussy"},{cite:"Ralentissez et tout devient plus beau.",author:"David Lynch"},{cite:"Ecris sur ton coeur que chaque jour est le plus beau jour de l'ann\xE9e.",author:"Ralph Waldo Emerson"},{cite:"Le plus grand \xE9chec est de ne pas avoir le courage d'oser.",author:"Abb\xE9 Pierre"},{cite:"Avant de vous diagnostiquer comme d\xE9pressif ou en \xE9tat de faible estime de vous-m\xEAme, commencez par vous assurer que vous n'\xEAtes juste pas, en fait, entour\xE9 par des trous du cul.",author:"William Gibson"},{cite:"L'app\xE9tit vient en mangeant, la soif disparait en buvant.",author:"Fran\xE7ois Rabelais"},{cite:"Le cr\xE9ateur, en obligeant l'homme \xE0 manger pour vivre, l'y invite par l'app\xE9tit et le r\xE9compense par le plaisir.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La gourmandise commence quand on n'a plus faim.",author:"Alphonse Daudet"},{cite:"Si vous n'\xEAtes pas capable d'un peu de sorcellerie, ce n'est pas la peine de vous m\xEAler de cuisine.",author:"Colette"},{cite:"Bien manger, c'est atteindre le ciel.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Si je p\xE9tais tout ce que j'ai mang\xE9, je serais sur la lune.",author:"Camille Richard"},{cite:"La joie prolonge la vie.",author:"Ben Sira"},{cite:"La bouche garde le silence pour \xE9couter parler le coeur.",author:"Alfred de Musset"},{cite:"Il n'y a qu'une sorte d'amour, mais il y en a mille diff\xE9rentes copies.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"La vie est courte, mais un sourire ne prend qu'une seconde.",author:"Proverbe cubain",tags:["proverbe"]},{cite:"Au milieu de l'hiver, j'ai d\xE9couvert en moi un invincible \xE9t\xE9.",author:"Albert Camus"},{cite:"Le voyage est un retour vers l'essentiel.",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Le bonheur est une petite chose que l'on grignote, assis par terre, au soleil.",author:"Jean Giraudoux"},{cite:"Fais du bien \xE0 ton corps pour que ton \xE2me ait envie d'y rester.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le bonheur a les bras ouverts et les yeux ferm\xE9s.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure"},{cite:"Il faut toujours viser la lune, car m\xEAme en cas d'\xE9chec, on atterrit dans les \xE9toiles.",author:"Oscar Wilde"},{cite:"Vivre de telle sorte qu'il te faille d\xE9sirer revivre, c'est l\xE0 ton devoir.",author:"Nietzsche"},{cite:"Les oreilles et les yeux sont les portes et les fen\xEAtres de l'\xE2me.",author:"Joseph Joubert"},{cite:"Quelle flamme pourrait \xE9galer le rayon de soleil d'un jour d'hiver ?",author:"Henry David Thoreau"},{cite:"Grand est celui qui n'a pas perdu son coeur d'enfant.",author:"Meng-Tsen"},{cite:"Je cherche les petites notes qui s'aiment.",author:"Wolfgang Amadeus Mozart"},{cite:"La vrai g\xE9n\xE9rosit\xE9 envers l'avenir consiste \xE0 tout donner au pr\xE9sent.",author:"Albert Camus",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"L'\xE9t\xE9, un \xE9blouissement comme est la neige, Celle qui vient l\xE9g\xE8re et ne dure pas, et rien de nous n'en trouble la lumi\xE8re D'eau qui s'est condens\xE9e puis s'\xE9vapore.",author:"Yves Bonnefoy",tags:[]},{cite:"No\xEBl n'est pas une saison, c'est un sentiment.",author:"Edna Ferber",tags:["f\xEAte"]},{cite:"No\xEBl est l\xE0, ce joyeux no\xEBl, des cadeaux plein les bras, qui r\xE9chauffe nos coeurs et apporte la joie, jour des plus beaux souvenirs, plus beau jour de l'ann\xE9e.",author:"Washington Irving",tags:["no\xEBl"]},{cite:"La chose la plus commune, d\xE8s qu'on nous la cache, devient un d\xE9lice.",author:"Oscar Wilde",tags:["curiosit\xE9"]},{cite:"Le bonheur n'est pas chose ais\xE9e. Il est tr\xE8s difficile de le trouver en nous, il est impossible de le trouver ailleurs.",author:"Bouddha",tags:["bonheur","pens\xE9e"]},{cite:"Entre amis, il est si beau que le silence soit d'or, mais le rire bon et frais l'est beaucoup plus encore.",author:"Friederich Nietzsche",tags:["amiti\xE9"]},{cite:"L'art vise \xE0 imprimer en nous des sentiments plut\xF4t qu'\xE0 les exprimer.",author:"Henri Bergson",tags:["art"]},{cite:"Les hommes naissent ignorants, pas stupides, la stupidit\xE9 est le r\xE9sultat de l'\xE9ducation.",author:"Bertrand Russell",tags:["\xE9ducation","intelligence"]},{cite:"Il n'y a rien d'impossible quand on s'aime.",author:"George Sand",tags:["amour"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Veux-tu vivre heureux ? Voyage avec deux sacs, l'un pour donner, l'autre pour recevoir.",author:"Johann Wolfgang Von Goethe",tags:["bonheur"]},{cite:"La v\xE9ritable indulgence consiste \xE0 comprendre et \xE0 pardonner les fautes qu'on ne serait pas capable de commettre.",author:"Victor Hugo",tags:["pardon"]},{cite:"Le plus grand secret pour le bonheur, c'est d'\xEAtre bien avec soi.",author:"Bernard Le Bouyer de Fontenelle",tags:["bonheur","bien-\xEAtre"]},{cite:"L'amiti\xE9 double les joies et r\xE9duit de moiti\xE9 les peines.",author:"Francis Bacon",tags:["amiti\xE9"]},{cite:"Tous les tr\xE9sors de la terre ne valent pas le bonheur d'\xEAtre aim\xE9.",author:"Calderon",tags:["amour"]},{cite:"Il y a trois sortes de savoir : le savoir proprement dit, le savoir-faire et le savoir-vivre ; les deux derners dispensent assez bien du premier.",author:"Charles Maurice de Talleyrand-P\xE9rigord",tags:[]},{cite:"Si vous avez confiance en vous-m\xEAme, vous inspirerez confiance aux autres.",author:"Johann Wolfgang Von Goethe",tags:["confiance"]},{cite:"Aimer, ce n'est pas se regarder l'un l'autre, c'est regarder ensemble dans la m\xEAme direction.",author:"Antoine de Saint-Exup\xE9ry",tags:["amour"]},{cite:"Il n'y a qu'un chemin possible pour le bonheur, c'est de cesser de nous tracasser pour des choses qui ne d\xE9pendent pas de notre volont\xE9.",author:"Epict\xE8te",tags:["bonheur"]},{cite:"L\xE0 o\xF9 le coeur est, les pieds n'h\xE9sitent pas \xE0 y aller.",author:"Proverbe togolais",tags:["proverbe"]},{cite:"Vis comme si tu devais mourir demain, apprends comme si tu devais vivre toujours.",author:"Gandhi",tags:["motivation"]},{cite:"Le contraire de la mis\xE8re ce n'est pas la richesse. Le contraire de la mis\xE8re, c'est le partage.",author:"Abb\xE9 Pierre",tags:["partage"]},{cite:"Chaque fois que l'on refuse 1 milliard pour le logement, c'est 10 milliards que l'on pr\xE9pare pour les tribunaux, les prisons, les asiles de fous.",author:"Abb\xE9 Pierre",tags:["perspective"]},{cite:"La vie est un myst\xE8re qu'il faut vivre, et non un probl\xE8me qu'il faut r\xE9soudre.",author:"Gandhi",tags:[]},{cite:"La pens\xE9e n'est qu'un \xE9clair qu milieu de la nuit. Mais c'est un \xE9clair qui est tout.",author:"Henri Pointcar\xE9",tags:[]},{cite:"Le bonheur ne vient pas \xE0 ceux qui l'attendent assis.",author:"Baden-Powell",tags:["bonheur"]},{cite:"Le savant est fier d'avoir tant appris ; le sage est humble d'en savoir si peu.",author:"William Cowper",tags:[]},{cite:"Je ne cherche pas \xE0 conna\xEEtre les r\xE9ponses, je cherche \xE0 comprendre les questions.",author:"Confucius",tags:["savoir"]},{cite:"Rien ne peut r\xE9sister \xE0 l'assaut du rire.",author:"Mark Twain",tags:["rire"]},{cite:"Celui qui a rendu service doit se taire, c'est \xE0 celui qui l'a re\xE7u de parler.",author:"S\xE9n\xE8que",tags:[]},{cite:"Curiosit\xE9 n'est que vanit\xE9. Le plus souvent, on ne veut savoir que pour en parler.",author:"Blaise Pascal",tags:[]},{cite:"L'erreur n'annule pas la valeur de l'effort accompli.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand",tags:[]},{cite:"Le meilleur moyen de teninr sa parole est de ne jamais la donner.",author:"Napol\xE9on Bonaparte",tags:[]},{cite:"Les mots me font l'effet d'un pensionnat de petits gar\xE7ons que la phrase m\xE8ne en promenade.",author:"Georges Courteline",tags:["litt\xE9rature"]},{cite:"Chacun est une lune, avec une face cach\xE9e.",author:"Mark Twain",tags:[]},{cite:"Il faut deux ans pour apprendre \xE0 parler et toute une vie pour apprendre \xE0 se taire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Deux choses instruisent l'homme de toute sa nature : l'instinct et l'exp\xE9rience.",author:"Blaise Pascal",tags:[]},{cite:"La critique est une chose bien commode : on attaque avec un mot, il faut des pages pour se d\xE9fendre.",author:"Jean-Jacques Rousseau",tags:[]},{cite:"L'amour n'est pas aveugle, il est aveuglant.",author:"Yvan Audouard",tags:["amour"]},{cite:"Une lecture amusante est aussi utile \xE0 la sant\xE9 que l'exercice du corps.",author:"Emmanuel Kant",tags:[]},{cite:"Touch\xE9 par l'amour, tout homme devient po\xE8te.",author:"Platon",tags:["amour"]},{cite:"Il n'y a rien de plus triste qu'une vie sans hasard.",author:"Honor\xE9 de Balzac",tags:[]},{cite:"La col\xE8re est comme une avalanche qui se brise sur ce qu'elle brise.",author:"S\xE9n\xE8que",tags:[]},{cite:"Les merveilles naissent sans qu'on les s\xE8me.",author:"Proverbe proven\xE7al",tags:["proverbe"]},{cite:"Le silence est un ami qui ne trahit jamais.",author:"Confucius",tags:[]},{cite:"Ecrire c'est une fa\xE7on sans \xEAtre interrompu.",author:"Jules Renard",tags:[]},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard",tags:["connaissance"]},{cite:"C'est No\xEBl dans le coeur qui met No\xEBl dans l'air.",author:"William Thomas Ellis",tags:["no\xEBl"]},{cite:"Un mois avant, un mois apr\xE8s No\xEBl, le froid est bon et naturel.",author:"Proverbe fran\xE7ais",tags:["adage","proverbe","no\xEBl"]},{cite:"No\xEBl, c'est le printemps de l'esprit ; c'est tout promesse.",author:"Alain",tags:["no\xEBl","Emile-Auguste Chartier","extrait","Les saisons de l'esprit"]},{cite:"Il ne faut pas chercher \xE0 rajouter des ann\xE9es \xE0 sa vie, mais plut\xF4t essayer de rajouter de la vie \xE0 ses ann\xE9es.",author:"John Fitzgerald Kennedy",tags:["vie"]},{cite:"Qu'elle soit n\xE9cessaire, ou m\xEAme justifi\xE9e, ne croyez jamais que la guerre n'est pas un crime.",author:"Ernest Hemingway",tags:["guerre","crime"]},{cite:"La joie de vivre est une \xE9motion contagieuse.",author:"Edward D. Wynot",tags:["bonheur"]},{cite:"La beaut\xE9 commence le jour o\xF9 tu d\xE9cides d'\xEAtre toi-m\xEAme.",author:"Coco Chanel",tags:[]},{cite:"Quand la vie te donne un lundi, plonge-le dans les paillettes et scintille toue la journ\xE9e.",author:"Ella Woodward",tags:["bonheur","difficult\xE9e"]},{cite:"Sors des sentiers battus. Explore. R\xEAve. D\xE9couvre.",author:"Mark Twain",tags:[]},{cite:"Je ne veux d\xE9sormais collectionner que les moments de bonheur.",author:"Stendhal",tags:["bonheur"]},{cite:"Soyez vous-m\xEAme, les autres sont d\xE9j\xE0 pris.",author:"Oscar Wilde",tags:[]},{cite:"Je ne perds jamais, soit je gagne, soit j'apprends.",author:"Nelson Mandela",tags:[]},{cite:"Fais de ta vie un r\xEAve, et d'un r\xEAve une r\xE9alit\xE9.",author:"Antoinde de Saint-Exup\xE9ry",tags:["R\xEAve"]},{cite:"Il n'y a rien de mieux qu'un ami. Sauf peut-\xEAtre un ami avec du chocolat.",author:"Lynda Grayson",tags:["amiti\xE9"]},{cite:"Je peux le faire et le ferai. Vous pouvez commencer \xE0 regarder.",author:"Carry Green",tags:[]},{cite:`"C'est impossible" di la fiert\xE9. "C'est risqu\xE9" dit l'exp\xE9rience. "C'est sans issue" dit la raison."Essayons" mlurmure le coeur.`,author:"William Arthur Ward",tags:[]},{cite:"La vie, c'est comme une bo\xEEte de chocolats, on ne sait jamais sur quoi on va tomber.",author:"Winston groom",tags:["extrait","Forrest Gump"]},{cite:"Donne \xE0 chaque jour la chance de devenir le plus beau jour de ta vie.",author:"Makr Twain",tags:["bonheur"]},{cite:"Tous les enfants ont du g\xE9nie, le tout c'est de le faire appara\xEEtre.",author:"Charlie Chaplin",tags:["enfance"]},{cite:"La vie, c'est comme une bicyclette, il faut avancer pour ne pas perdre l'\xE9quilibre.",author:"Albert Einstein",tags:[]},{cite:"Il ne faut pas attendre d'\xEAtre parfait pour commencer quelque chose de bien.",author:"Abb\xE9 Pierre",tags:[]},{cite:"J'ai un petit c\xF4t\xE9 sir\xE8ne. Certains jours, on dirait que je me suis peign\xE9e avec une fourchette.",author:"Emmanuelle Cortes",tags:[]},{cite:"Il n'y a aucune limite \xE0 ce que nous pouvons accomplir en tant que filles.",author:"Michelle Obama",tags:["f\xE9minisme"]},{cite:"Il y a deux choses qui changent notre vie : les gens que nous rencontrons et les livres que nous lisons.",author:"Harvey MacKay",tags:[]},{cite:"Une journ\xE9e sans rire est une journ\xE9e de perdue.",author:"Charlie Chaplin",tags:["rire","bonheur"]},{cite:"N'oublions pas : un livre, un stylo, un enfant et un enseignant peuvent changer le monde.",author:"Malala Yousazai",tags:[]},{cite:"Don't worry, be happy.",author:"Bob Marley",tags:["Chanson"]},{cite:"I have a dream.",author:"Martin Luther King",tags:[]},{cite:"Neuf personnes sur dix aiment le chocolat ; la dixi\xE8me ment.",author:"John G. Tullius",tags:[]},{cite:"Mais alors, si le monde n'a absolument aucun sens, qu'est ce qui nous emp\xEAche d'en inventer un ?.",author:"Lewis Caroll",tags:[]},{cite:"Le bonheur vient vers ceux qui croient en lui.",author:"Ali Obn Abu Talib",tags:["bonheur"]},{cite:"Pour \xEAtre irrempla\xE7able, il faut \xEAtre diff\xE9rente.",author:"Coco Chanel",tags:[]},{cite:"\xCAtre en vacances, c'est n'avoir rien \xE0 faire et avoir toute la journ\xE9e pour le faire.",author:"Robert Orban",tags:["vacance","oisivet\xE9"]},{cite:"On n'a jamais autant besoin de vacances que lorsqu'on en revient.",author:"Ann Landers",tags:["fatigue"]},{cite:"Celui qui dit que le bonheur ne s'ach\xE8te pas \xE0 oubli\xE9 qu'il y a les petits chiots.",author:"Gene Hill",tags:["bonheur","capitalisme"]},{cite:"Le secret du bonheuret le comble de l'art, c'est de vivre comme tout le monde, en n'\xE9tant comme personne.",author:"Simone de Beauvoir",tags:[]},{cite:"La fin d'une chose marque le commencement d'une nouvelle.",author:"Antoine de Saint-Exup\xE9ry",tags:[]},{cite:"La musique donne une \xE2me \xE0 nos coeurs et des ailes \xE0 la pens\xE9e.",author:"Platon",tags:[]},{cite:"Un sourire co\xFBte moins cher que l'\xE9lectricit\xE9, mais donne autant de lumi\xE8re.",author:"Abb\xE9 Pierre",tags:[]},{cite:"Les grandes choses peuvent se manifester par de petits signes.",author:"Freud",tags:[]},{cite:"Aimer une personne pour son apparence, c'est comme aimer un livre pour sa reliure.",author:"Laure Conan",tags:["amour"]},{cite:"Si nous voulons nous pardonner les uns aux autres, commen\xE7ons d'abord par nous comprendre les uns les autres.",author:"Emma Goldman",tags:["pardon"]},{cite:"Ceux qui ne bougent pas, ne remarquent pas leur cha\xEEnes.",author:"Rosa Luxembourg",tags:["libert\xE9"]},{cite:"La r\xE9volution sera la floraison de l'humanit\xE9 comme l'amour est la floraison du coeur.",author:"Louise Michel",tags:["amour","libert\xE9"]},{cite:"Premier principe : ne jamais se laisser abattre par des personnes ou par des \xE9v\xE9nements.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","caract\xE8re"]},{cite:"Si nous faisions tout ce que nous sommes capables de faire, nous en serions abasourdis.",author:"Thomas Edison",tags:[]},{cite:"Si ta volont\xE9 te l\xE2che, d\xE9passe-la !.",author:"Emily Dickinson",tags:["ostination"]},{cite:"Que cette ann\xE9e vous soit heureuse ; que la paix, le repos et la sant\xE9 vous tiennent lieu de fortune.",author:"Madame de S\xE9vign\xE9",tags:[]},{cite:"Le v\xE9ritable amour ne conna\xEEt ni le soup\xE7on ni la m\xE9fiance.",author:"George Sand",tags:["amour"]},{cite:"Un des bonheurs de l'amiti\xE9 c'est d'avoir \xE0 qui confier un secret.",author:"Alessandro Mansoni",tags:["amiti\xE9"]},{cite:"Le bonheur tient dans la main, il suffit d'un tout petit rien, mais beaucoup de coeur pour qu'il sonne l'heure.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Tout s'arrange sous l'influence d'une pens\xE9e heureuse et optimiste.",author:"George Sand",tags:[]},{cite:"Le courage est le prix que la vie exige pour accorder la paix.",author:"Amelia Earhart",tags:["courage"]},{cite:"Impossible de bien r\xE9fl\xE9chir, de bien aimer, de bien dormir si on n'a pas mang\xE9.",author:"Virginia Woolf",tags:["nourriture"]},{cite:"Chacun rec\xE8le en lui une for\xEAt vierge, une \xE9tendue de neige o\xF9 nul oiseau n'a laiss\xE9 son empreinte.",author:"Virginia Woolf",tags:[]},{cite:"Ma devise - sans limites.",author:"Isadora Duncan",tags:[]},{cite:"Forte comme un homme, plus forte que la plupart d'entre eux.",author:"Lozen",tags:["f\xE9minisme"]},{cite:"L'amour a d'autres yeux que le commun des hommes.",author:"Jean Racine",tags:["amour"]},{cite:"N'oublions jamais que No\xEBl est le souci du vrai partage, ce n'est pas un miracle, mais une fa\xE7on de vivre quotidien.",author:"Josiane Coeijmans",tags:["No\xEBl"]},{cite:"Une lumi\xE8re ici requiert une ombre l\xE0-bas.",author:"Virginia Woolf",tags:[]},{cite:"La femme est pr\xE9cieuse, elle donne naissance aux enfants.",author:"Olympe de Gouges",tags:[]},{cite:"Les plus beaux livres sont ceux qui n'ont jamais \xE9t\xE9 \xE9crits.",author:"Anatole France",tags:["lit\xE9rature"]},{cite:"Je n'enseigne pas aux enfants, je leur donne de la joie.",author:"Isadora Duncan",tags:["bonheur"]},{cite:"La danse est le mouvement de l'univers concentr\xE9 dans un individu.",author:"Isadora Duncan",tags:[]},{cite:"La paresse peut para\xEEtre attrayante, mais le travail apporte la satisfaction.",author:"Anne Frank",tags:["travail"]},{cite:"Un livre, c'est un billet de voyage \xE0 la port\xE9e de tous.",author:"Josiane Coeijmans",tags:["lit\xE9rature"]},{cite:"Tous les secrets de l'\xE2me d'un auteur, toutes sses exp\xE9riences, toutes les qualit\xE9s de son esprit sont grav\xE9s dans son oeuvre.",author:"Virginia Woolf",tags:["lit\xE9rature"]},{cite:"N'oubliez pas qu'il faut prendre la vie avec s\xE9r\xE9nit\xE9 et joie quoi qu'il arrive.",author:"Rosa Luxembourg",tags:["bonheur","joie"]},{cite:"L'humour est le premier des dons \xE0 p\xE9rir dans une langue \xE9trang\xE8re.",author:"Virginia Woolf",tags:["humour"]},{cite:"D'une fa\xE7on g\xE9n\xE9rale, on ne doit pas oublier d'\xEAtre bon, car la bont\xE9, dans les relations avec les hommes, fait bien plus qua la s\xE9v\xE9rit\xE9.",author:"Rosa Luxembourg",tags:[]},{cite:"Prenez-moi tout mais laissez-moi l'extase et je serai plus riche que mes semblables.",author:"Emily Dickinson",tags:["plaisir"]},{cite:"Quand on a bonne conscience, c'est No\xEBl en permanence.",author:"Benjamin Franklin",tags:["honn\xEAtet\xE9"]},{cite:"Si la vie est un roman, prends ta plume et viens \xE9crire avec moi, les plus beaux chapitres.",author:"Josiane Coeijmans",tags:["amour"]},{cite:"Notre plus grande faiblesse r\xE9side dans l'abandon ; la fa\xE7on la plus s\xFBre de r\xE9ussir est d'essayer une autre fois.",author:"Thomas Edison",tags:["succ\xE8s","pers\xE9v\xE9rance"]},{cite:"Le courage croit en osant et la peur en h\xE9sitant.",author:"Proverbe romain",tags:["courage","peur"]},{cite:"Dans les grandes choses, avant l'effort qui r\xE9ussit, il y a presque toujours des efforts qui passent inaper\xE7us.",author:"Laure Conan",tags:[]},{cite:"Le bonheur, c'est cet instant, cette lueur qui embellit le jour et rejaillit sur autrui.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Les choses n'arrivent quasi jamais comme on se les imagine.",author:"Madame de S\xE9vign\xE9",tags:["hasard"]},{cite:"Il n\u2019y a pas plus de raison de trop s\u2019accuser de ses d\xE9fauts que de s\u2019en trop excuser.",author:"Madeleine de Souvr\xE9",tags:["humilit\xE9","confiance"]},{cite:"La nature est \xE9ternellement jeune, belle et g\xE9n\xE9reuse. Elle verse la po\xE9sie et la beaut\xE9 \xE0 tous les \xEAtres, \xE0 toutes les plantes, qu'on laisse s'y d\xE9velopper.",author:"George Sand",tags:[]},{cite:"La famille, c'est l'amour sans regrets et sans amertume.",author:"Ninon de Lenclos",tags:["amour"]},{cite:"Cultive tes pens\xE9es, des fleurs pourraient en fleurir.",author:"Josiane Coeijmans",tags:["pens\xE9e"]},{cite:"Il n'appartient qu'\xE0 celle que le hasard a \xE9lev\xE9e \xE0 une place \xE9minente, de donner du poids \xE0 l'essor des Droits de la Femme et d'en acc\xE9l\xE9rer les succ\xE8s.",author:"Olympe de Gouges",tags:[]},{cite:"L'amour a un caract\xE8re si particulier qu'on ne peut le cacher o\xF9 il est, ni le feindre o\xF9 il n'est pas.",author:"Madeleine de Souvr\xE9",tags:["amour"]},{cite:"La vie chante aussi dans le sable qui craque sous les pas lents et lourds des gardes, quand on sait l'\xE9couter.",author:"Rosa Luxemburg",tags:[]},{cite:"La gastronomie fait trembler d'intelligence nos narines.",author:"Charles Monselet",tags:["\xE9picurien"]},{cite:"Quand on rentre en soi-m\xEAme, on s'aper\xE7oit qu'on poss\xE8de exactement ce que l'on d\xE9sirait.",author:"Simone Weil",tags:[]},{cite:"Les choses ne sont pas bonnes parce qu'elles sont vieilles, elles sont vieilles parce qu'elles sont bonnes.",author:"A. Toulouse",tags:[]},{cite:"Nous devons croire que nous sommes dou\xE9s pour quelque chose, et que cette chose, \xE0 n'importe quel prix, doit \xEAtre atteinte.",author:"Marie Curie",tags:["confiance"]},{cite:"Soyez des hommes ou mieux : des surhommes. Soyez fid\xE8les aux buts trac\xE9s.",author:"Mary Shelley",tags:[]},{cite:"Je suis une femme libre.",author:"Olympe de Gouges",tags:["f\xE9minisme"]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:[]},{cite:"Les chefs-d'oeuvres ne sont jamais que des tentatives heureuses.",author:"George Sand",tags:["chance"]},{cite:"Les d\xE9tails font la perfection, et la perfection n'est pas un d\xE9tail.",author:"L\xE9onard de Vinci",tags:[]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:["amour"]},{cite:"Celui m\xEAme qui veut \xE9crire son r\xEAve se doit d'\xEAtre infiniment \xE9veill\xE9.",author:"Paul Val\xE9ry",tags:[]},{cite:"Le beau est ce qu'on ne peut pas vouloir change.",author:"Simone Weil",tags:[]},{cite:"C'est le miracle de l'amour de n'avoir pas besoin de mots pour se comprendre.",author:"Laure Conan",tags:["amour"]},{cite:"L'attention est la forme la plus rare et la plus pure de la g\xE9n\xE9rosit\xE9.",author:"Simone Weil",tags:[]},{cite:"La famille est le plus doux des liens.",author:"Henri-Fr\xE9d\xE9ric Amiel",tags:["famille"]},{cite:"Sans mes cadeaux, No\xEBl ne serait pas No\xEBl.",author:"Louisa May Alcott",tags:["no\xEBl"]},{cite:"L'esprit cherche et c'est le coeur qui trouve.",author:"George Sand",tags:[]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure",tags:[]},{cite:"La joie est notre \xE9vasion hors du temps.",author:"Simone Weil",tags:["joie","bonheur"]},{cite:"Dans la col\xE8re, rien ne convient mieux que le silence.",author:"Sappho",tags:["col\xE8re"]},{cite:"Pour moi, la plus belle des choses, c'est de voir quelqu'un aimer quelqu'un.",author:"Sappho",tags:["amour"]},{cite:"Nos actions agissent sur nous tout autant que nous agissons sur elles.",author:"George Eliot",tags:["responsabilit\xE9"]},{cite:"Si Zeus voulait donner une reine aux fleurs, la rose r\xE9gnerait sur toutes.",author:"Sappho",tags:["fleur"]},{cite:"Chacun cherche sa route ; nous cherchons la n\xF4tre et nous pensons que le jour o\xF9 le r\xE8gne de la libert\xE9 et de l'\xE9galit\xE9 era arriv\xE9, le genre humain sera heureux.",author:"Louise Michel",tags:[]},{cite:"La plus grande douceur de la vie, c'est d'admirer ce qu'on aime.",author:"Laure Conan",tags:["amour","contemplation"]},{cite:"Le repos est un r\xEAve ; la vie est un orage.",author:"George Sand",tags:[]},{cite:"Nous devons avoir de la pers\xE9v\xE9rance et surtout de la confiance en nous-m\xEAmes.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","confiance"]},{cite:"Vous pouvez toujours donner quelque chose, m\xEAme si c'est seulement de la gentillesse.",author:"Anne Frank",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Il n'est rien de r\xE9el que le r\xEAve et l'amour.",author:"Anna De Noailles",tags:[]},{cite:"Celui qui a bon coeur n'est jamais sot.",author:"George Sand",tags:["gentillesse","intelligence"]},{cite:"Il n'y a point de tableau plus charmant que celui de la famille.",author:"Jean-Jacques Rousseau",tags:[]},{cite:"Il ne faut pas regarder quel bien nous fait un ami, mais seulement le d\xE9sir qu'il a de nous en faire.",author:"Madeleine de Souvr\xE9",tags:[]},{cite:"Pour moi aussi, l'amour \xE9tait (ou est) toujours plus important et plus sacr\xE9 que l'objet qui le suscite.",author:"Rosa Luxemburg",tags:["amour","extrait","la vie"]},{cite:"Soyez donc des hommes, ou mieux : des surhommes ! Soyez fid\xE8les aux buts trac\xE9s.",author:"Marc Shelley",tags:["objectif"]},{cite:"L'avenir peut s'\xE9veiller plus beau que le pass\xE9.",author:"George Sand",tags:[]}],Ln=q(Cs).pipe(je(({cite:r})=>r),v((r,e)=>new ie().setId(e).setCite(r.cite).setAuthor(r.author).setTags(r.tags)),ue(),P(1));var nt=class r{static getStartYear(e){let i=1,t="",n=4;for(;e>i*365&&i<=1e4;)i*=10,t+="0",n--;let s=new Date;return s.setFullYear(parseInt(new Date().getFullYear().toString(10).substr(0,n)+t,0)),s.getFullYear()}static yearIs366Days(e){return new Date(e,1,29).getMonth()===1}static getLastDayOfMonth(e,i){return new Date(e,i+1,0).getDate()}static getNumberOfDayInCurrentYear(e,i){let t=0;for(let n=0;n<=e.getMonth();n++){if(n===e.getMonth()){t+=e.getDate();break}t+=r.getLastDayOfMonth(i,n)}return t}static getStackOfYears(e,i){let t=[],n=e.getFullYear();if(n===i)return t[n]=r.getNumberOfDayInCurrentYear(e,n),t;for(let s=i;s<=n;s++){if(s===n){t[s]=r.getNumberOfDayInCurrentYear(e,s);break}t[s]=r.yearIs366Days(s)?366:365}return t}static getCiteOfTheDay(e){let i=r.getStartYear(e.length),n=r.getStackOfYears(new Date,i).reduce((a,o)=>a+o),s=0;for(let a=1;a<=n;a++){if(s===e.length){s=0;continue}s++}return e[s]}};var pa=(()=>{let e=class e{constructor(t){this.router=t,this.originalCites=[],this.cites=new w([]),this.cites$=this.cites.asObservable().pipe(v(n=>n.map(s=>{let a=new ie;return a.setId(s.getId()).setAuthor(s.getAuthor()).setCite(s.getCite()).setTags(s.getTags()),a})),je(),P(1)),this.count=0,Ln.pipe(C(n=>this.originalCites=n),C(n=>this.count=n.length),R(()=>this.reset())).subscribe()}reset(){return h(this.originalCites).pipe(D(t=>!!t),C(t=>this.cites.next(t)))}search(t){return this.cites.getValue()?h(this.cites.getValue()).pipe(R(n=>q(n)),D(n=>t?n&&(n.getCite().toLowerCase().includes(t.toLowerCase())||n.getAuthor().toLowerCase().includes(t.toLowerCase())||n.getTags().includes(t.toLowerCase())):!0),ue()):T}searchByAuthor(t){return this.cites.getValue()?h(this.cites.getValue()).pipe(R(n=>q(n)),D(n=>n&&n.getAuthor().toLowerCase().includes(t.toLowerCase())),ue()):T}countSearchFoundCites(){return this.router.snapshot?.queryParams.q?this.count:(this.originalCites&&(this.count=this.originalCites.length),this.count)}getCiteOfTheDay(){return this.cites.pipe(v(t=>nt.getCiteOfTheDay(t)))}getRandomCite(){return this.cites.pipe(v(t=>t[Math.floor(Math.random()*t.length)]))}};e.\u0275fac=function(n){return new(n||e)(Te(z))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let r=e;return r})();export{z as a,Xn as b,rt as c,Wr as d,Zs as e,Xs as f,ea as g,ta as h,ra as i,pa as j}; diff --git a/docs/citations/browser/chunk-O7XFWA6S.js b/docs/citations/browser/chunk-HM3HMCXS.js similarity index 90% rename from docs/citations/browser/chunk-O7XFWA6S.js rename to docs/citations/browser/chunk-HM3HMCXS.js index 955ee36..13eb044 100644 --- a/docs/citations/browser/chunk-O7XFWA6S.js +++ b/docs/citations/browser/chunk-HM3HMCXS.js @@ -1 +1 @@ -import{j as I}from"./chunk-3X2RCJ2E.js";import{A as f,E as l,H as g,K as y,Q as k,S as v,W as x,_ as F,h as d,j as L,o as n,q as N,s as j}from"./chunk-GQQKX57E.js";var a=class{constructor(e,$=1){this.name=e,this.count=$}getName(){return this.name}getCount(){return this.count}addCount(){return this.count++,this.count}};var U=(()=>{let e=class e{constructor(u){this.citeService=u,this.authors=new d([]),this.authors$=this.authors.asObservable().pipe(n(t=>t.map(r=>new a(r.getName(),r.getCount()))),g(),l(1)),this.count=0;let s=[];u.cites$.pipe(v(t=>L(t)),n(t=>t.getAuthor()),n(t=>{let r;if(s.find(o=>o.getName()===t)){let o=s.findIndex(m=>m.getName()===t);s[o].addCount(),r=s[o]}else r=new a(t),s.push(r);return r}),g(),k(u.cites$),y(t=>t.getName().toLowerCase().includes("proverbe")),N(t=>t.pipe(f(),n(r=>r.sort((o,m)=>{let c=o.getName().split(" "),p=m.getName().split(" "),w=(c.length>1?c.pop():c.shift())??"",h=c[0],C=(p.length>1?p.pop():p.shift())??"",b=p[0];return w.toLowerCase()C.toLowerCase()?1:h?h.toLowerCase()b.toLowerCase()?1:0:0})))),j(),f(),l(1)).subscribe(t=>{this.authors.next(t)})}};e.\u0275fac=function(s){return new(s||e)(F(I))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let i=e;return i})();export{U as a}; +import{j as I}from"./chunk-HKLPJZQ3.js";import{A as f,E as l,H as g,K as y,Q as k,S as v,W as x,_ as F,h as d,j as L,o as n,q as N,s as j}from"./chunk-BTHD7Z2M.js";var a=class{constructor(e,$=1){this.name=e,this.count=$}getName(){return this.name}getCount(){return this.count}addCount(){return this.count++,this.count}};var U=(()=>{let e=class e{constructor(u){this.citeService=u,this.authors=new d([]),this.authors$=this.authors.asObservable().pipe(n(t=>t.map(r=>new a(r.getName(),r.getCount()))),g(),l(1)),this.count=0;let s=[];u.cites$.pipe(v(t=>L(t)),n(t=>t.getAuthor()),n(t=>{let r;if(s.find(o=>o.getName()===t)){let o=s.findIndex(m=>m.getName()===t);s[o].addCount(),r=s[o]}else r=new a(t),s.push(r);return r}),g(),k(u.cites$),y(t=>t.getName().toLowerCase().includes("proverbe")),N(t=>t.pipe(f(),n(r=>r.sort((o,m)=>{let c=o.getName().split(" "),p=m.getName().split(" "),w=(c.length>1?c.pop():c.shift())??"",h=c[0],C=(p.length>1?p.pop():p.shift())??"",b=p[0];return w.toLowerCase()C.toLowerCase()?1:h?h.toLowerCase()b.toLowerCase()?1:0:0})))),j(),f(),l(1)).subscribe(t=>{this.authors.next(t)})}};e.\u0275fac=function(s){return new(s||e)(F(I))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let i=e;return i})();export{U as a}; diff --git a/docs/citations/browser/chunk-IASJQZPG.js b/docs/citations/browser/chunk-IASJQZPG.js deleted file mode 100644 index c45386c..0000000 --- a/docs/citations/browser/chunk-IASJQZPG.js +++ /dev/null @@ -1 +0,0 @@ -import{a as I}from"./chunk-O7XFWA6S.js";import{a as B,b as L}from"./chunk-AZBP4WHL.js";import{b as k}from"./chunk-5K6CMPT6.js";import{d as A}from"./chunk-3X2RCJ2E.js";import{$a as h,Da as p,Ia as y,Ja as x,Ka as s,La as a,Pa as m,Ra as b,Sa as l,Ua as d,Wa as C,Za as _,_a as T,aa as f,sb as P,ta as o,ua as u,za as v,zb as S}from"./chunk-GQQKX57E.js";var $=(i,e)=>e.getName();function D(i,e){if(i&1&&(s(0,"li",9)(1,"a",10),l(2),s(3,"small"),l(4),a()()()),i&2){let c=e.$implicit;o(1),b("routerLink","/authors/",c.getName(),""),o(1),d("",c.getName()," "),o(2),d("(",c.getCount(),")")}}var F=(i,e)=>({"font-semibold":i,"font-normal":e}),N=i=>({itemPerPage:i}),H=(()=>{let e=class e extends B{constructor(r,n,t){super(),this.authorService=r,this.title=n,this.device=t,this.authors=[],this.paginatedAuthors=[],this.itemsPerPage=11,this.sort="text",this.title.setTitle("Citations - Liste des auteurs"),this.itemsPerPage=11,t.isMobile()&&(this.itemsPerPage=8)}ngOnInit(){this.sortByAlpha()}sortByAlpha(){this.sort="text",this.authorService.authors$.subscribe({next:r=>{this.authors=r},complete:()=>{this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}sortByCount(){this.sort="total",this.authorService.authors$.subscribe({next:r=>{this.authors=r.sort((n,t)=>n.getCount()>t.getCount()?-1:n.getCount(){this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}isSortByText(){return this.sort==="text"}isSortByTotal(){return this.sort==="total"}setPaginatedList(r){this.paginatedAuthors=r}};e.\u0275fac=function(n){return new(n||e)(u(I),u(S),u(k))},e.\u0275cmp=f({type:e,selectors:[["app-list-authors"]],standalone:!0,features:[C([]),v,_],decls:14,vars:15,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["title","Trier par nom",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full","mr-2",3,"ngClass","disabled","click"],["title","Trier par total de citations",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full",3,"ngClass","disabled","click"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"p-1"],[3,"routerLink"],["class","p-1"]],template:function(n,t){n&1&&(s(0,"div",0)(1,"h1",1),l(2),a(),s(3,"button",2),m("click",function(){return t.sortByAlpha()}),l(4," Trier par nom "),a(),s(5,"button",3),m("click",function(){return t.sortByCount()}),l(6," Trier par total "),a(),s(7,"ul",4),y(8,D,5,3,"li",11,$),a()(),s(10,"div",5)(11,"div",6)(12,"section",7)(13,"app-pager",8),m("paginatedList$",function(E){return t.setPaginatedList(E)}),a()()()()),n&2&&(o(2),d(" ",t.authors.length," Auteurs. "),o(1),p("ngClass",h(7,F,t.isSortByText()===!0,t.isSortByText()===!1))("disabled",t.isSortByText()),o(2),p("ngClass",h(10,F,t.isSortByTotal()===!0,t.isSortByTotal()===!1))("disabled",t.isSortByTotal()),o(3),x(t.paginatedAuthors),o(5),p("list",t.authors)("options",T(13,N,t.getItemsPerPage())))},dependencies:[P,A,L],encapsulation:2});let i=e;return i})();export{H as ListAuthorsComponent}; diff --git a/docs/citations/browser/chunk-B65LRI2D.js b/docs/citations/browser/chunk-J55U6K2W.js similarity index 71% rename from docs/citations/browser/chunk-B65LRI2D.js rename to docs/citations/browser/chunk-J55U6K2W.js index 0cebb57..4413fbe 100644 --- a/docs/citations/browser/chunk-B65LRI2D.js +++ b/docs/citations/browser/chunk-J55U6K2W.js @@ -1 +1 @@ -import{d as m}from"./chunk-3X2RCJ2E.js";import{Ca as r,Ka as s,La as u,Ra as p,Sa as l,Ua as d,Za as c,aa as o,ta as a}from"./chunk-GQQKX57E.js";var y=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["app-link-cites-by-author"]],inputs:{author:"author"},standalone:!0,features:[c],decls:2,vars:4,consts:[[3,"routerLink","title"]],template:function(e,i){e&1&&(s(0,"a",0),l(1),u()),e&2&&(p("routerLink","/authors/",i.author,"")("title","Liste des citations de ",i.author,""),r("aria-label","Liste des citations de ",i.author,""),a(1),d(" ",i.author," "))},dependencies:[m],encapsulation:2});let n=t;return n})();export{y as a}; +import{d as m}from"./chunk-HKLPJZQ3.js";import{Ca as r,Ka as s,La as u,Ra as p,Sa as l,Ua as d,Ya as c,aa as o,ta as a}from"./chunk-BTHD7Z2M.js";var y=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["app-link-cites-by-author"]],inputs:{author:"author"},standalone:!0,features:[c],decls:2,vars:4,consts:[[3,"routerLink","title"]],template:function(e,i){e&1&&(s(0,"a",0),l(1),u()),e&2&&(p("routerLink","/authors/",i.author,"")("title","Liste des citations de ",i.author,""),r("aria-label","Liste des citations de ",i.author,""),a(1),d(" ",i.author," "))},dependencies:[m],encapsulation:2});let n=t;return n})();export{y as a}; diff --git a/docs/citations/browser/chunk-L5L6XINX.js b/docs/citations/browser/chunk-L5L6XINX.js new file mode 100644 index 0000000..830104f --- /dev/null +++ b/docs/citations/browser/chunk-L5L6XINX.js @@ -0,0 +1 @@ +import{a as B}from"./chunk-CNTN2D3E.js";import{a as w}from"./chunk-J55U6K2W.js";import{j as A}from"./chunk-HKLPJZQ3.js";import{$ as o,$a as y,Da as h,Fa as u,Ga as x,Ka as s,La as a,Ma as b,P as c,S as p,Sa as C,U as d,Ua as v,Ya as g,aa as f,ab as k,h as m,ta as r,ub as S,yb as T}from"./chunk-BTHD7Z2M.js";function M(e,t){e&1&&(s(0,"h1",0),C(1),a(),s(2,"p",1),b(3,"app-link-cites-by-author",2),a()),e&2&&(r(1),v(" ",t.getCite()," "),r(2),h("author",t.getAuthor()))}var P=(()=>{let t=class t{constructor(){this.cite=new m({}),this.cite$=this.cite.asObservable().pipe(c(1)),this.citesService=o(A),this.click=o(B),this.title=o(T),this.title.setTitle("Citations - Citation al\xE9atoire"),this.click.refresh$.pipe(d(i=>console.info("refresh subscribe",i)),p(()=>this.citesService.getRandomCite())).subscribe({next:i=>this.cite.next(i)})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=f({type:t,selectors:[["app-random"]],standalone:!0,features:[g],decls:2,vars:3,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(n,F){if(n&1&&(u(0,M,4,2),y(1,"async")),n&2){let l;x(0,(l=k(1,1,F.cite$))?0:-1,l)}},dependencies:[S,w],encapsulation:2});let e=t;return e})();export{P as RandomComponent}; diff --git a/docs/citations/browser/chunk-PFO66XOK.js b/docs/citations/browser/chunk-PFO66XOK.js new file mode 100644 index 0000000..31b5c62 --- /dev/null +++ b/docs/citations/browser/chunk-PFO66XOK.js @@ -0,0 +1 @@ +import{a as B,b as S}from"./chunk-EUSOWPMZ.js";import{b as D}from"./chunk-X475HLLW.js";import{j as T}from"./chunk-HKLPJZQ3.js";import{Da as u,Fa as d,Ga as _,Ia as x,Ja as P,Ka as a,La as l,Pa as v,Qa as c,Sa as p,Ua as h,Va as g,Ya as b,Za as y,aa as C,sb as I,ta as r,tb as L,ua as m,yb as A,za as f}from"./chunk-BTHD7Z2M.js";var F=(t,e)=>e.getId();function $(t,e){if(t&1&&p(0),t&2){let i=c(2);h('Aucune citation de "',i.author,'"\xA0')}}function j(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citation de "',i.author,'":\xA0')}}function w(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citations de "',i.author,'":\xA0')}}function M(t,e){if(t&1&&(a(0,"h1",7),d(1,$,1,1,"ng-template",8)(2,j,1,2,"ng-template",9)(3,w,1,2,"ng-template",10),l()),t&2){let i=c();u("ngPlural",i.cites.length)}}function k(t,e){if(t&1&&(a(0,"li",11)(1,"cite"),p(2),l()()),t&2){let i=e.$implicit;r(2),h("\u201D",i.getCite(),"\u201D")}}var N=t=>({itemPerPage:t}),R=(()=>{let e=class e extends B{constructor(n,o,s){super(),this.citeService=n,this.title=o,this.device=s,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,s.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.searchByAuthor(this.author).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach(o=>{this.cites.push(o)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(o){return new(o||e)(m(T),m(A),m(D))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[f,b],decls:9,vars:5,consts:[[1,"container","mb-36"],["class","text-3xl font-bold text-stone-900 mb-2",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-3xl","font-bold","text-stone-900","mb-2",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],["class","p-1"]],template:function(o,s){o&1&&(a(0,"div",0),d(1,M,4,1,"h1",1),a(2,"ul",2),x(3,k,3,1,"li",12,F),l()(),a(5,"div",3)(6,"div",4)(7,"section",5)(8,"app-pager",6),v("paginatedList$",function(E){return s.setPaginatedList(E)}),l()()()()),o&2&&(r(1),_(1,s.author?1:-1),r(2),P(s.paginatedCites),r(5),u("list",s.cites)("options",y(3,N,s.getItemsPerPage())))},dependencies:[I,L,S],encapsulation:2});let t=e;return t})();export{R as ListCitesByAuthorsComponent}; diff --git a/docs/citations/browser/chunk-SPRGSFS6.js b/docs/citations/browser/chunk-SPRGSFS6.js deleted file mode 100644 index bdf8a07..0000000 --- a/docs/citations/browser/chunk-SPRGSFS6.js +++ /dev/null @@ -1 +0,0 @@ -import{a as S,b as D}from"./chunk-AZBP4WHL.js";import{b as F}from"./chunk-5K6CMPT6.js";import{j as B}from"./chunk-3X2RCJ2E.js";import{Da as u,Fa as d,Ga as _,Ia as x,Ja as P,Ka as a,La as l,Pa as v,Qa as c,Sa as p,Ua as h,Va as g,Wa as b,Za as y,_a as I,aa as C,ta as r,tb as L,ua as m,ub as A,za as f,zb as T}from"./chunk-GQQKX57E.js";var $=(t,e)=>e.getId();function j(t,e){if(t&1&&p(0),t&2){let i=c(2);h('Aucune citation de "',i.author,'"\xA0')}}function w(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citation de "',i.author,'":\xA0')}}function M(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citations de "',i.author,'":\xA0')}}function k(t,e){if(t&1&&(a(0,"h1",7),d(1,j,1,1,"ng-template",8)(2,w,1,2,"ng-template",9)(3,M,1,2,"ng-template",10),l()),t&2){let i=c();u("ngPlural",i.cites.length)}}function N(t,e){if(t&1&&(a(0,"li",11)(1,"cite"),p(2),l()()),t&2){let i=e.$implicit;r(2),h("\u201D",i.getCite(),"\u201D")}}var z=t=>({itemPerPage:t}),U=(()=>{let e=class e extends S{constructor(n,s,o){super(),this.citeService=n,this.title=s,this.device=o,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,o.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.searchByAuthor(this.author).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach((s,o)=>{this.cites.push(s)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(s){return new(s||e)(m(B),m(T),m(F))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[b([]),f,y],decls:9,vars:5,consts:[[1,"container","mb-36"],["class","text-3xl font-bold text-stone-900 mb-2",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-3xl","font-bold","text-stone-900","mb-2",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],["class","p-1"]],template:function(s,o){s&1&&(a(0,"div",0),d(1,k,4,1,"h1",1),a(2,"ul",2),x(3,N,3,1,"li",12,$),l()(),a(5,"div",3)(6,"div",4)(7,"section",5)(8,"app-pager",6),v("paginatedList$",function(E){return o.setPaginatedList(E)}),l()()()()),s&2&&(r(1),_(1,o.author?1:-1),r(2),P(o.paginatedCites),r(5),u("list",o.cites)("options",I(3,z,o.getItemsPerPage())))},dependencies:[L,A,D],encapsulation:2});let t=e;return t})();export{U as ListCitesByAuthorsComponent}; diff --git a/docs/citations/browser/chunk-URXUJ4E4.js b/docs/citations/browser/chunk-URXUJ4E4.js new file mode 100644 index 0000000..bf8a8bd --- /dev/null +++ b/docs/citations/browser/chunk-URXUJ4E4.js @@ -0,0 +1 @@ +import{a as S}from"./chunk-J55U6K2W.js";import{j as l}from"./chunk-HKLPJZQ3.js";import{$a as g,Da as s,Fa as C,Ga as v,Ka as f,La as u,Ma as c,Sa as x,Ua as y,Ya as p,aa as a,ab as T,ta as d,ua as o,ub as b,yb as m}from"./chunk-BTHD7Z2M.js";var j=(()=>{let t=class t{constructor(n,e){this.citesService=n,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(o(l),o(m))},t.\u0275cmp=a({type:t,selectors:[["app-cite"]],inputs:{cite:"cite"},standalone:!0,features:[p],decls:4,vars:2,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(e,r){e&1&&(f(0,"h1",0),x(1),u(),f(2,"p",1),c(3,"app-link-cites-by-author",2),u()),e&2&&(d(1),y(" ",r.cite.getCite()," "),d(2),s("author",r.cite.getAuthor()))},dependencies:[S],encapsulation:2});let i=t;return i})();function M(i,t){i&1&&c(0,"app-cite",0),i&2&&s("cite",t)}var E=(()=>{let t=class t{constructor(n,e){this.citesService=n,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(o(l),o(m))},t.\u0275cmp=a({type:t,selectors:[["app-home"]],standalone:!0,features:[p],decls:2,vars:3,consts:[[3,"cite"]],template:function(e,r){if(e&1&&(C(0,M,1,1,"app-cite",0),g(1,"async")),e&2){let h;v(0,(h=T(1,1,r.citesService.getCiteOfTheDay()))?0:-1,h)}},dependencies:[b,j],encapsulation:2});let i=t;return i})();export{E as HomeComponent}; diff --git a/docs/citations/browser/chunk-WD4UYMZH.js b/docs/citations/browser/chunk-WD4UYMZH.js deleted file mode 100644 index 9acbf28..0000000 --- a/docs/citations/browser/chunk-WD4UYMZH.js +++ /dev/null @@ -1 +0,0 @@ -import{a as B}from"./chunk-5FRWEQTB.js";import{a as F}from"./chunk-B65LRI2D.js";import{j as A}from"./chunk-3X2RCJ2E.js";import{$ as o,Da as h,Fa as u,Ga as x,Ka as s,La as a,Ma as b,P as c,S as p,Sa as C,U as d,Ua as v,Wa as g,Za as y,aa as f,ab as k,bb as S,h as m,ta as r,vb as T,zb as w}from"./chunk-GQQKX57E.js";function M(e,t){e&1&&(s(0,"h1",0),C(1),a(),s(2,"p",1),b(3,"app-link-cites-by-author",2),a()),e&2&&(r(1),v(" ",t.getCite()," "),r(2),h("author",t.getAuthor()))}var q=(()=>{let t=class t{constructor(){this.cite=new m({}),this.cite$=this.cite.asObservable().pipe(c(1)),this.citesService=o(A),this.click=o(B),this.title=o(w),this.title.setTitle("Citations - Citation al\xE9atoire"),this.click.refresh$.pipe(d(i=>console.info("refresh subscribe",i)),p(()=>this.citesService.getRandomCite())).subscribe({next:i=>this.cite.next(i)})}ngOnInit(){}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=f({type:t,selectors:[["app-random"]],standalone:!0,features:[g([]),y],decls:2,vars:3,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(n,I){if(n&1&&(u(0,M,4,2),k(1,"async")),n&2){let l;x(0,(l=S(1,1,I.cite$))?0:-1,l)}},dependencies:[T,F],encapsulation:2});let e=t;return e})();export{q as RandomComponent}; diff --git a/docs/citations/browser/chunk-WSAZWB3R.js b/docs/citations/browser/chunk-WSAZWB3R.js deleted file mode 100644 index 15d1571..0000000 --- a/docs/citations/browser/chunk-WSAZWB3R.js +++ /dev/null @@ -1 +0,0 @@ -import{a as S}from"./chunk-B65LRI2D.js";import{j as d}from"./chunk-3X2RCJ2E.js";import{Da as s,Fa as v,Ga as x,Ka as f,La as h,Ma as p,Sa as y,Ua as g,Wa as c,Za as m,aa as a,ab as T,bb as b,ta as u,ua as n,vb as F,zb as l}from"./chunk-GQQKX57E.js";var j=(()=>{let t=class t{constructor(o,e){this.citesService=o,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(n(d),n(l))},t.\u0275cmp=a({type:t,selectors:[["app-cite"]],inputs:{cite:"cite"},standalone:!0,features:[c([]),m],decls:4,vars:2,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(e,r){e&1&&(f(0,"h1",0),y(1),h(),f(2,"p",1),p(3,"app-link-cites-by-author",2),h()),e&2&&(u(1),g(" ",r.cite.getCite()," "),u(2),s("author",r.cite.getAuthor()))},dependencies:[S],encapsulation:2});let i=t;return i})();function M(i,t){i&1&&p(0,"app-cite",0),i&2&&s("cite",t)}var L=(()=>{let t=class t{constructor(o,e){this.citesService=o,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(n(d),n(l))},t.\u0275cmp=a({type:t,selectors:[["app-home"]],standalone:!0,features:[c([]),m],decls:2,vars:3,consts:[[3,"cite"]],template:function(e,r){if(e&1&&(v(0,M,1,1,"app-cite",0),T(1,"async")),e&2){let C;x(0,(C=b(1,1,r.citesService.getCiteOfTheDay()))?0:-1,C)}},dependencies:[F,j],encapsulation:2});let i=t;return i})();export{L as HomeComponent}; diff --git a/docs/citations/server/chunk-B6CYFCU2.mjs b/docs/citations/browser/chunk-X475HLLW.js similarity index 84% rename from docs/citations/server/chunk-B6CYFCU2.mjs rename to docs/citations/browser/chunk-X475HLLW.js index 831abfc..8cdb11a 100644 --- a/docs/citations/server/chunk-B6CYFCU2.mjs +++ b/docs/citations/browser/chunk-X475HLLW.js @@ -1,2 +1 @@ -import './polyfills.server.mjs'; -import{U as u,f as d,m,w as o}from"./chunk-XUIXZ2OS.mjs";var w=(()=>{let t=class t{isMobile(){return Object.keys(navigator).length?navigator.userAgent.includes("Mobile"):!1}isDesktop(){return!this.isMobile()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac});let s=t;return s})();var P=class{constructor(t){this.pager=[],this.pagerFirstEdges=[],this.pagerLastEdges=[],this.pagerNumbers=[],this.pager=t,this.pagerFirstEdges=this.pager.filter((h,e)=>e<2),this.pagerLastEdges=this.pager.slice().reverse().filter((h,e)=>e<2).reverse(),this.pagerNumbers=this.pager.filter((h,e)=>!this.pagerFirstEdges.includes(h)&&!this.pagerLastEdges.includes(h))}getAll(){return this.pager}getFirstEdges(){return this.pagerFirstEdges}getLastEdges(){return this.pagerLastEdges}getNumbers(){return this.pagerNumbers}};var l=class extends Error{},a=class extends Error{},g=class extends Error{},n=class extends Error{},f=class extends Error{};var x=class extends Error{},O=(()=>{let t=class t{constructor(){this.originalList=[],this.itemPerPage=5,this.maxPagerItem=5,this.firstPage=1,this.totalPage=1,this.lastPage=1,this.previousPage=1,this.nextPage=1,this.currentPage=new d(1),this.pagerIndexList=[],this.pagerItemList={},this.currentPage$=this.currentPage.asObservable().pipe(o(e=>!!e)),this.currentOffset$=this.currentPage.asObservable().pipe(o(e=>!!e),m(e=>this.getOffsetForPage(e)))}init(e,r){typeof e!="object"?this.originalList=new Array(e).fill(0):this.originalList=e,this.setOptions(r).resetPage().setTotalPage(e).calculateLastPage().calculateCurrentPage().calculatePreviousPage().calculateNextPage().createIndexList().buildPagerList()}isCurrentPage(e){return this.currentPage.getValue()===e}getOffset(){return this.getOffsetForPage(this.getCurrentPage())}getOffsetForPage(e){if(e=0?e:this.firstPage,this}resetPage(){return this.currentPage.next(this.firstPage),this}calculateLastPage(){if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;return this.lastPage=this.totalPage-1+this.firstPage,this}calculateCurrentPage(){if(this.lastPage===null)throw new g;if(this.firstPage===null)throw new a;let e=this.getCurrentPage();return this.currentPage.next(this.currentPage.getValue()this.lastPage?this.lastPage:e),this}calculatePreviousPage(){if(this.currentPage===null)throw new n;if(this.firstPage===null)throw new a;let e=this.currentPage.getValue()-1;return this.previousPage=e>=this.firstPage?e:this.firstPage,this}calculateNextPage(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;let e=this.currentPage.getValue()+1;return this.nextPage=e<=this.lastPage?e:this.lastPage,this}createIndexList(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;let e=Math.floor(this.maxPagerItem/2),r=this.lastPage-this.maxPagerItem+1,i;this.currentPage.getValue()<=e?i=this.firstPage:this.lastPage-this.currentPage.getValue()<=e?i=r<=this.firstPage?this.firstPage:r:i=this.currentPage.getValue()-e;let p=i+(this.maxPagerItem-1),L=p>this.lastPage?this.lastPage:p;this.pagerIndexList=[];for(let c=i;c<=L;c++)this.pagerIndexList.push(c);return this}buildPagerList(){let e=[];return this.pagerIndexList.length&&(this.pagerIndexList.forEach(r=>{e.push({index:r,label:r.toString()})}),e=e.filter((r,i)=>i"}),e.push({index:this.getLastPage(),label:">>"}),this.pagerItemList=new P(e),this.pagerItemList}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();export{O as a,w as b}; +import{W as u,h as d,o as m,y as o}from"./chunk-BTHD7Z2M.js";var w=(()=>{let t=class t{isMobile(){return Object.keys(navigator).length?navigator.userAgent.includes("Mobile"):!1}isDesktop(){return!this.isMobile()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac});let s=t;return s})();var P=class{constructor(t){this.pager=[],this.pagerFirstEdges=[],this.pagerLastEdges=[],this.pagerNumbers=[],this.pager=t,this.pagerFirstEdges=this.pager.filter((h,e)=>e<2),this.pagerLastEdges=this.pager.slice().reverse().filter((h,e)=>e<2).reverse(),this.pagerNumbers=this.pager.filter(h=>!this.pagerFirstEdges.includes(h)&&!this.pagerLastEdges.includes(h))}getAll(){return this.pager}getFirstEdges(){return this.pagerFirstEdges}getLastEdges(){return this.pagerLastEdges}getNumbers(){return this.pagerNumbers}};var l=class extends Error{},a=class extends Error{},g=class extends Error{},n=class extends Error{},f=class extends Error{};var p=class extends Error{},O=(()=>{let t=class t{constructor(){this.originalList=[],this.itemPerPage=5,this.maxPagerItem=5,this.firstPage=1,this.totalPage=1,this.lastPage=1,this.previousPage=1,this.nextPage=1,this.currentPage=new d(1),this.pagerIndexList=[],this.pagerItemList={},this.currentPage$=this.currentPage.asObservable().pipe(o(e=>!!e)),this.currentOffset$=this.currentPage.asObservable().pipe(o(e=>!!e),m(e=>this.getOffsetForPage(e)))}init(e,r){typeof e!="object"?this.originalList=new Array(e).fill(0):this.originalList=e,this.setOptions(r).resetPage().setTotalPage(e).calculateLastPage().calculateCurrentPage().calculatePreviousPage().calculateNextPage().createIndexList().buildPagerList()}isCurrentPage(e){return this.currentPage.getValue()===e}getOffset(){return this.getOffsetForPage(this.getCurrentPage())}getOffsetForPage(e){if(e=0?e:this.firstPage,this}resetPage(){return this.currentPage.next(this.firstPage),this}calculateLastPage(){if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;return this.lastPage=this.totalPage-1+this.firstPage,this}calculateCurrentPage(){if(this.lastPage===null)throw new g;if(this.firstPage===null)throw new a;let e=this.getCurrentPage();return this.currentPage.next(this.currentPage.getValue()this.lastPage?this.lastPage:e),this}calculatePreviousPage(){if(this.currentPage===null)throw new n;if(this.firstPage===null)throw new a;let e=this.currentPage.getValue()-1;return this.previousPage=e>=this.firstPage?e:this.firstPage,this}calculateNextPage(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;let e=this.currentPage.getValue()+1;return this.nextPage=e<=this.lastPage?e:this.lastPage,this}createIndexList(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;let e=Math.floor(this.maxPagerItem/2),r=this.lastPage-this.maxPagerItem+1,i;this.currentPage.getValue()<=e?i=this.firstPage:this.lastPage-this.currentPage.getValue()<=e?i=r<=this.firstPage?this.firstPage:r:i=this.currentPage.getValue()-e;let x=i+(this.maxPagerItem-1),L=x>this.lastPage?this.lastPage:x;this.pagerIndexList=[];for(let c=i;c<=L;c++)this.pagerIndexList.push(c);return this}buildPagerList(){let e=[];return this.pagerIndexList.length&&(this.pagerIndexList.forEach(r=>{e.push({index:r,label:r.toString()})}),e=e.filter((r,i)=>i"}),e.push({index:this.getLastPage(),label:">>"}),this.pagerItemList=new P(e),this.pagerItemList}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();export{O as a,w as b}; diff --git a/docs/citations/browser/chunk-ZJTXMD3N.js b/docs/citations/browser/chunk-ZJTXMD3N.js deleted file mode 100644 index c64e299..0000000 --- a/docs/citations/browser/chunk-ZJTXMD3N.js +++ /dev/null @@ -1 +0,0 @@ -import{a as D,b as B}from"./chunk-AZBP4WHL.js";import{b as $}from"./chunk-5K6CMPT6.js";import{a as k}from"./chunk-B65LRI2D.js";import{d as F,j as A}from"./chunk-3X2RCJ2E.js";import{Da as p,Fa as h,Ga as _,Ia as v,Ja as P,Ka as l,La as r,Ma as y,Pa as b,Qa as m,Sa as c,Ua as d,Va as g,Wa as L,Za as S,_a as I,aa as C,ca as f,ta as o,tb as q,ua as u,ub as E,za as x,zb as T}from"./chunk-GQQKX57E.js";var w=(t,e)=>e.getId();function M(t,e){if(t&1&&c(0),t&2){let i=m(2);d('Aucune citation trouv\xE9e pour la recherche "',i.q,'"\xA0')}}function N(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citation trouv\xE9e pour la recherche "',i.q,'":\xA0')}}function O(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citations trouv\xE9es pour la recherche "',i.q,'":\xA0')}}function z(t,e){if(t&1&&(l(0,"h2",9),h(1,M,1,1,"ng-template",10)(2,N,1,2,"ng-template",11)(3,O,1,2,"ng-template",12),r()),t&2){let i=m();p("ngPlural",i.cites.length)}}function R(t,e){if(t&1&&(l(0,"li",13)(1,"cite"),c(2),r(),c(3," de "),y(4,"app-link-cites-by-author",14),r()),t&2){let i=e.$implicit;o(2),d("\u201D",i.getCite(),"\u201D"),o(2),p("author",i.getAuthor())}}var G=t=>({itemPerPage:t}),tt=(()=>{let e=class e extends D{constructor(n,s,a){super(),this.citeService=n,this.title=s,this.device=a,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,a.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.cites$.subscribe({next:n=>{this.fillCites(n)}}),this.findCitesBySearch()}ngOnChanges(){this.findCitesBySearch()}findCitesBySearch(){if(this.q&&this.q.trim()===""){this.citeService.reset().subscribe();return}this.citeService.search(this.q).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach((s,a)=>{this.cites.push(s)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(s){return new(s||e)(u(A),u(T),u($))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[L([]),x,f,S],decls:12,vars:7,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams"],["class","text-md text-gray-600",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],[3,"author"],["class","p-1"]],template:function(s,a){s&1&&(l(0,"div",0)(1,"h1",1)(2,"a",2),c(3),r()(),h(4,z,4,1,"h2",3),l(5,"ul",4),v(6,R,5,2,"li",15,w),r()(),l(8,"div",5)(9,"div",6)(10,"section",7)(11,"app-pager",8),b("paginatedList$",function(j){return a.setPaginatedList(j)}),r()()()()),s&2&&(o(2),p("queryParams",null),o(1),d("",a.citeService.countSearchFoundCites()," Citations."),o(1),_(4,a.q?4:-1),o(2),P(a.paginatedCites),o(5),p("list",a.cites)("options",I(5,G,a.getItemsPerPage())))},dependencies:[F,q,E,k,B],encapsulation:2});let t=e;return t})();export{tt as ListCitesComponent}; diff --git a/docs/citations/browser/cites/index.html b/docs/citations/browser/cites/index.html index 94ef865..28fa5b2 100644 --- a/docs/citations/browser/cites/index.html +++ b/docs/citations/browser/cites/index.html @@ -26,10 +26,10 @@ + -

564 Citations.

  • ”Chaque commencement recèle une magie cachée.” de Hermann Hesse
  • ”Rarement nous pensons à ce que nous avons, mais souvent à ce qui nous manque.” de Arthur Schopenhauer
  • ”Comme le dauphin j'ai le dos fin.” de Maître Reiki Kanak
  • ”L'âme porte les couleurs de tes pensées.” de Marc Aurèle
  • ”Apprenons à tendre la main pas seulement pour recevoir, mais également pour donner.” de Wembo Jah Olela
  • ”Peu importe où nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.” de Fynn Kliemann
  • ”Pour faire du bien, personne n'a besoin de réfléchir.” de Johann Wolfgang Von Goethe
  • ”Il n'y a que deux façons de vivre sa vie : l'une en faisant comme si rien n'était un miracle, l'autre en faisant comme si tout était un miracle.” de Albert Einstein
  • ”La faculté de se mettre dans la peau des autres et de réfléchir à la manière dont on agirait à leur place est très utile si on veut apprendre à aimer quelqu'un.” de Dalai Lama
  • ”Répands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; répands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.” de Cléobus de Lindos
  • ”Souris au monde et le monde te sourira.” de Soeur Emmanuelle
  • ”L'humour a non seulement quelque chose de libérateur, mais encore quelque chose de sublime et d'élevé.” de Sigmund Freud
+

569 Citations.

  • ”Chaque commencement recèle une magie cachée.” de Hermann Hesse
  • ”Rarement nous pensons à ce que nous avons, mais souvent à ce qui nous manque.” de Arthur Schopenhauer
  • ”Comme le dauphin j'ai le dos fin.” de Maître Reiki Kanak
  • ”L'âme porte les couleurs de tes pensées.” de Marc Aurèle
  • ”Apprenons à tendre la main pas seulement pour recevoir, mais également pour donner.” de Wembo Jah Olela
  • ”Peu importe où nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.” de Fynn Kliemann
  • ”Pour faire du bien, personne n'a besoin de réfléchir.” de Johann Wolfgang Von Goethe
  • ”Il n'y a que deux façons de vivre sa vie : l'une en faisant comme si rien n'était un miracle, l'autre en faisant comme si tout était un miracle.” de Albert Einstein
  • ”La faculté de se mettre dans la peau des autres et de réfléchir à la manière dont on agirait à leur place est très utile si on veut apprendre à aimer quelqu'un.” de Dalai Lama
  • ”Répands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; répands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.” de Cléobus de Lindos
  • ”Souris au monde et le monde te sourira.” de Soeur Emmanuelle
  • ”L'humour a non seulement quelque chose de libérateur, mais encore quelque chose de sublime et d'élevé.” de Sigmund Freud
- + \ No newline at end of file diff --git a/docs/citations/browser/index.html b/docs/citations/browser/index.html index 31c0250..3c20e86 100644 --- a/docs/citations/browser/index.html +++ b/docs/citations/browser/index.html @@ -26,10 +26,10 @@ + -

Il n'y a point de chemin vers le bonheur, le bonheur est le chemin.

Lao Tseu

+

La nuit n'est peut-être que la paupière du jour.

Omar Khayyâm

- + \ No newline at end of file diff --git a/docs/citations/browser/main-KH4RCMLD.js b/docs/citations/browser/main-VBSAGUYR.js similarity index 98% rename from docs/citations/browser/main-KH4RCMLD.js rename to docs/citations/browser/main-VBSAGUYR.js index c39844d..8bca4d0 100644 --- a/docs/citations/browser/main-KH4RCMLD.js +++ b/docs/citations/browser/main-VBSAGUYR.js @@ -1 +1 @@ -import{a as Pi}from"./chunk-O7XFWA6S.js";import{a as Ci,b as Mi}from"./chunk-5K6CMPT6.js";import{a as He}from"./chunk-5FRWEQTB.js";import{a as _i,b as vi,c as Ei,d as Qe,e as $e,f as Si,g as bi,h as wi,i as Ti,j as Ai}from"./chunk-3X2RCJ2E.js";import{Ab as yi,C as ei,Da as Q,E as oe,G as ti,Ka as S,La as T,Ma as C,N as ii,Pa as Be,S as Te,Sa as ce,T as si,U as ni,V as E,W as ae,Z as ri,Za as te,_ as ee,a as Zt,aa as K,cb as ci,db as hi,fa as q,fb as ui,g as qe,ga as x,gb as di,ha as xe,ja as oi,k as Ve,l as Xt,lb as Ke,ma as ai,mb as fi,na as gt,o as Z,oa as yt,pb as mi,ra as li,t as Jt,ta as U,u as mt,ua as le,v as we,w as pt,wb as _t,x as ge,xa as ze,xb as pi,y as ye,yb as gi,za as je,zb as Ue}from"./chunk-GQQKX57E.js";var Ce="Service workers are disabled or not supported by this browser";function vs(n){return mt(()=>Xt(new Error(n)))}var _e=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=vs(Ce);else{let i=we(e,"controllerchange").pipe(Z(()=>e.controller)),s=mt(()=>Ve(e.controller)),r=Jt(s,i);this.worker=r.pipe(ye(h=>!!h)),this.registration=this.worker.pipe(Te(()=>e.getRegistration()));let c=we(e,"message").pipe(Z(h=>h.data)).pipe(ye(h=>h&&h.type)).pipe(ii());c.connect(),this.events=c}}postMessage(e,t){return this.worker.pipe(oe(1),ni(i=>{i.postMessage(Zt({action:e},t))})).toPromise().then(()=>{})}postMessageWithOperation(e,t,i){let s=this.waitForOperationCompleted(i),r=this.postMessage(e,t);return Promise.all([r,s]).then(([,o])=>o)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(e){let t;return typeof e=="string"?t=i=>i.type===e:t=i=>e.includes(i.type),this.events.pipe(ye(t))}nextEventOfType(e){return this.eventsOfType(e).pipe(oe(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(ye(t=>t.nonce===e),oe(1),Z(t=>{if(t.result!==void 0)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Es=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,this.pushManager=null,this.subscriptionChanges=new qe,!i.isEnabled){this.messages=ge,this.notificationClicks=ge,this.subscription=ge;return}this.messages=this.sw.eventsOfType("PUSH").pipe(Z(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Z(r=>r.data)),this.pushManager=this.sw.registration.pipe(Z(r=>r.pushManager));let s=this.pushManager.pipe(Te(r=>r.getSubscription()));this.subscription=pt(s,this.subscriptionChanges)}requestSubscription(i){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ce));let s={userVisibleOnly:!0},r=this.decodeBase64(i.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length));for(let a=0;aa.subscribe(s)),oe(1)).toPromise().then(a=>(this.subscriptionChanges.next(a),a))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ce));let i=s=>{if(s===null)throw new Error("Not subscribed to push notifications.");return s.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(oe(1),Te(i)).toPromise()}decodeBase64(i){return atob(i)}};e.\u0275fac=function(s){return new(s||e)(ee(_e))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})(),Ss=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,!i.isEnabled){this.versionUpdates=ge,this.unrecoverable=ge;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ce));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:i},i)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ce));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:i},i)}};e.\u0275fac=function(s){return new(s||e)(ee(_e))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();var ki=new ri("NGSW_REGISTER_SCRIPT");function bs(n,e,t,i){return()=>{if(!(_t(i)&&"serviceWorker"in navigator&&t.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let s;if(typeof t.registrationStrategy=="function")s=t.registrationStrategy();else{let[o,...a]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(o){case"registerImmediately":s=Ve(null);break;case"registerWithDelay":s=Di(+a[0]||0);break;case"registerWhenStable":s=a[0]?pt(Ni(n),Di(+a[0])):Ni(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}n.get(ze).runOutsideAngular(()=>s.pipe(oe(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:t.scope}).catch(o=>console.error("Service worker registration failed with:",o))))}}function Di(n){return Ve(null).pipe(ti(n))}function Ni(n){return n.get(Ke).isStable.pipe(ye(t=>t))}function ws(n,e){return new _e(_t(e)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Ae=class{};function Fi(n,e={}){return oi([Es,Ss,{provide:ki,useValue:n},{provide:Ae,useValue:e},{provide:_e,useFactory:ws,deps:[Ae,gt]},{provide:di,useFactory:bs,deps:[ai,ki,Ae,gt],multi:!0}])}var Li=[{path:"",loadComponent:()=>import("./chunk-WSAZWB3R.js").then(n=>n.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-ZJTXMD3N.js").then(n=>n.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-IASJQZPG.js").then(n=>n.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-SPRGSFS6.js").then(n=>n.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-WD4UYMZH.js").then(n=>n.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-ZJTXMD3N.js").then(n=>n.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-U67HH4WJ.js").then(n=>n.PageNotFoundComponent)}];var $="*";function Oi(n,e=null){return{type:2,steps:n,options:e}}function vt(n){return{type:6,styles:n,offset:null}}var ie=class{constructor(e=0,t=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=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Me=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,s=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==r&&this._onFinish()}),o.onDestroy(()=>{++i==r&&this._onDestroy()}),o.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(i=>{let s=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(s)})}getPosition(){let e=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},We="!";function Ri(n){return new E(3e3,!1)}function Ts(){return new E(3100,!1)}function As(){return new E(3101,!1)}function Cs(n){return new E(3001,!1)}function Ms(n){return new E(3003,!1)}function Ps(n){return new E(3004,!1)}function ks(n,e){return new E(3005,!1)}function Ds(){return new E(3006,!1)}function Ns(){return new E(3007,!1)}function Fs(n,e){return new E(3008,!1)}function Ls(n){return new E(3002,!1)}function Os(n,e,t,i,s){return new E(3010,!1)}function Rs(){return new E(3011,!1)}function Is(){return new E(3012,!1)}function qs(){return new E(3200,!1)}function Vs(){return new E(3202,!1)}function xs(){return new E(3013,!1)}function zs(n){return new E(3014,!1)}function js(n){return new E(3015,!1)}function Bs(n){return new E(3016,!1)}function Ks(n,e){return new E(3404,!1)}function Us(n){return new E(3502,!1)}function Qs(n){return new E(3503,!1)}function $s(){return new E(3300,!1)}function Hs(n){return new E(3504,!1)}function Ws(n){return new E(3301,!1)}function Gs(n,e){return new E(3302,!1)}function Ys(n){return new E(3303,!1)}function Zs(n,e){return new E(3400,!1)}function Xs(n){return new E(3401,!1)}function Js(n){return new E(3402,!1)}function en(n,e){return new E(3505,!1)}function se(n){switch(n.length){case 0:return new ie;case 1:return n[0];default:return new Me(n)}}function Gi(n,e,t=new Map,i=new Map){let s=[],r=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),h=c==o,u=h&&a||new Map;l.forEach((_,y)=>{let f=y,g=_;if(y!=="offset")switch(f=n.normalizePropertyName(f,s),g){case We:g=t.get(y);break;case $:g=i.get(y);break;default:g=n.normalizeStyleValue(y,f,g,s);break}u.set(f,g)}),h||r.push(u),a=u,o=c}),s.length)throw Us(s);return r}function jt(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Et(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Et(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Et(t,"destroy",n)));break}}function Et(n,e,t){let i=t.totalTime,s=!!t.disabled,r=Bt(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,s),o=n._data;return o!=null&&(r._data=o),r}function Bt(n,e,t,i,s="",r=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function R(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function Ii(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var tn=(()=>typeof document>"u"?null:document.documentElement)();function Kt(n){let e=n.parentNode||n.host||null;return e===tn?null:e}function sn(n){return n.substring(1,6)=="ebkit"}var ue=null,qi=!1;function nn(n){ue||(ue=rn()||{},qi=ue.style?"WebkitAppearance"in ue.style:!1);let e=!0;return ue.style&&!sn(n)&&(e=n in ue.style,!e&&qi&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in ue.style)),e}function rn(){return typeof document<"u"?document.body:null}function Yi(n,e){for(;e;){if(e===n)return!0;e=Kt(e)}return!1}function Zi(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var Ut=(()=>{let e=class e{validateStyleProperty(i){return nn(i)}matchesElement(i,s){return!1}containsElement(i,s){return Yi(i,s)}getParentElement(i){return Kt(i)}query(i,s,r){return Zi(i,s,r)}computeStyle(i,s,r){return r||""}animate(i,s,r,o,a,l=[],c){return new ie(r,o)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})(),Oe=(()=>{let e=class e{};e.NOOP=new Ut;let n=e;return n})(),me=class{};var on=1e3,Xi="{{",an="}}",Ji="ng-enter",Ct="ng-leave",Ge="ng-trigger",et=".ng-trigger",Vi="ng-animating",Mt=".ng-animating";function X(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Pt(parseFloat(e[1]),e[2])}function Pt(n,e){switch(e){case"s":return n*on;default:return n}}function tt(n,e,t){return n.hasOwnProperty("duration")?n:ln(n,e,t)}function ln(n,e,t){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,s,r=0,o="";if(typeof n=="string"){let a=n.match(i);if(a===null)return e.push(Ri(n)),{duration:0,delay:0,easing:""};s=Pt(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=Pt(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else s=n;if(!t){let a=!1,l=e.length;s<0&&(e.push(Ts()),a=!0),r<0&&(e.push(As()),a=!0),a&&e.splice(l,0,Ri(n))}return{duration:s,delay:r,easing:o}}function Re(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function es(n){let e=new Map;return Object.keys(n).forEach(t=>{let i=n[t];e.set(t,i)}),e}function cn(n){return n.length?n[0]instanceof Map?n:n.map(e=>es(e)):[]}function Ee(n,e=new Map,t){if(t)for(let[i,s]of t)e.set(i,s);for(let[i,s]of n)e.set(i,s);return e}function H(n,e,t){e.forEach((i,s)=>{let r=Qt(s);t&&!t.has(s)&&t.set(s,n.style[r]),n.style[r]=i})}function fe(n,e){e.forEach((t,i)=>{let s=Qt(i);n.style[s]=""})}function Pe(n){return Array.isArray(n)?n.length==1?n[0]:Oi(n):n}function hn(n,e,t){let i=e.params||{},s=ts(n);s.length&&s.forEach(r=>{i.hasOwnProperty(r)||t.push(Cs(r))})}var kt=new RegExp(`${Xi}\\s*(.+?)\\s*${an}`,"g");function ts(n){let e=[];if(typeof n=="string"){let t;for(;t=kt.exec(n);)e.push(t[1]);kt.lastIndex=0}return e}function De(n,e,t){let i=n.toString(),s=i.replace(kt,(r,o)=>{let a=e[o];return a==null&&(t.push(Ms(o)),a=""),a.toString()});return s==i?n:s}function it(n){let e=[],t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}var un=/-+([a-z0-9])/g;function Qt(n){return n.replace(un,(...e)=>e[1].toUpperCase())}function dn(n,e){return n===0||e===0}function fn(n,e,t){if(t.size&&e.length){let i=e[0],s=[];if(t.forEach((r,o)=>{i.has(o)||s.push(o),i.set(o,r)}),s.length)for(let r=1;ro.set(a,is(n,a)))}}return e}function O(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw Ps(e.type)}}function is(n,e){return window.getComputedStyle(n)[e]}var mn=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"]),st=class extends me{normalizePropertyName(e,t){return Qt(e)}normalizeStyleValue(e,t,i,s){let r="",o=i.toString().trim();if(mn.has(t)&&i!==0&&i!=="0")if(typeof i=="number")r="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&s.push(ks(e,i))}return o+r}};var nt="*";function pn(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>gn(i,t,e)):t.push(n),t}function gn(n,e,t){if(n[0]==":"){let l=yn(n,t);if(typeof l=="function"){e.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(js(n)),e;let s=i[1],r=i[2],o=i[3];e.push(xi(s,o));let a=s==nt&&o==nt;r[0]=="<"&&!a&&e.push(xi(o,s))}function yn(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}var Ye=new Set(["true","1"]),Ze=new Set(["false","0"]);function xi(n,e){let t=Ye.has(n)||Ze.has(n),i=Ye.has(e)||Ze.has(e);return(s,r)=>{let o=n==nt||n==s,a=e==nt||e==r;return!o&&t&&typeof s=="boolean"&&(o=s?Ye.has(n):Ze.has(n)),!a&&i&&typeof r=="boolean"&&(a=r?Ye.has(e):Ze.has(e)),o&&a}}var ss=":self",_n=new RegExp(`s*${ss}s*,?`,"g");function ns(n,e,t,i){return new Dt(n).build(e,t,i)}var zi="",Dt=class{constructor(e){this._driver=e}build(e,t,i){let s=new Nt(t);return this._resetContextStyleTimingState(s),O(this,Pe(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector=zi,e.collectedStyles=new Map,e.collectedStyles.set(zi,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,s=t.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(Ds()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==0){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=c}else if(a.type==1){let l=this.visitTransition(a,t);i+=l.queryCount,s+=l.depCount,o.push(l)}else t.errors.push(Ns())}),{type:7,name:e.name,states:r,transitions:o,queryCount:i,depCount:s,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(i.containsDynamicStyles){let r=new Set,o=s||{};if(i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{ts(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size){let a=it(r.values());t.errors.push(Fs(e.name,a))}}return{type:0,name:e.name,style:i,options:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=O(this,Pe(e.animation),t);return{type:1,matchers:pn(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:de(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>O(this,i,t)),options:de(e.options)}}visitGroup(e,t){let i=t.currentTime,s=0,r=e.steps.map(o=>{t.currentTime=i;let a=O(this,o,t);return s=Math.max(s,t.currentTime),a});return t.currentTime=s,{type:3,steps:r,options:de(e.options)}}visitAnimate(e,t){let i=bn(e.timings,t.errors);t.currentAnimateTimings=i;let s,r=e.styles?e.styles:vt({});if(r.type==5)s=this.visitKeyframes(r,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=vt(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,s=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:s,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of s)typeof a=="string"?a===$?i.push(a):t.errors.push(Ls(a)):i.push(es(a));let r=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r)){for(let l of a.values())if(l.toString().indexOf(Xi)>=0){r=!0;break}}}),{type:6,styles:i,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,s=t.currentTime,r=t.currentTime;i&&r>0&&(r-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),h=c.get(l),u=!0;h&&(r!=s&&r>=h.startTime&&s<=h.endTime&&(t.errors.push(Os(l,h.startTime,h.endTime,r,s)),u=!1),r=h.startTime),u&&c.set(l,{startTime:r,endTime:s}),t.options&&hn(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Rs()),i;let s=1,r=0,o=[],a=!1,l=!1,c=0,h=e.steps.map(A=>{let M=this._makeStyleAst(A,t),N=M.offset!=null?M.offset:Sn(M.styles),k=0;return N!=null&&(r++,k=M.offset=N),l=l||k<0||k>1,a=a||k0&&r{let N=_>0?M==y?1:_*M:o[M],k=N*b;t.currentTime=f+g.delay+k,g.duration=k,this._validateStyleAst(A,t),A.offset=N,i.styles.push(A)}),i}visitReference(e,t){return{type:8,animation:O(this,Pe(e.animation),t),options:de(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:de(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:de(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;let[r,o]=vn(e.selector);t.currentQuerySelector=i.length?i+" "+r:r,R(t.collectedStyles,t.currentQuerySelector,new Map);let a=O(this,Pe(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:de(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(xs());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:tt(e.timings,t.errors,!0);return{type:12,animation:O(this,Pe(e.animation),t),timings:i,options:null}}};function vn(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ss);return e&&(n=n.replace(_n,"")),n=n.replace(/@\*/g,et).replace(/@\w+/g,t=>et+"-"+t.slice(1)).replace(/:animating/g,Mt),[n,e]}function En(n){return n?Re(n):null}var Nt=class{constructor(e){this.errors=e,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 Sn(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function bn(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=tt(n,e).duration;return St(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=St(0,0,"");return r.dynamic=!0,r.strValue=t,r}let s=tt(t,e);return St(s.duration,s.delay,s.easing)}function de(n){return n?(n=Re(n),n.params&&(n.params=En(n.params))):n={},n}function St(n,e,t){return{duration:n,delay:e,easing:t}}function $t(n,e,t,i,s,r,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}var Ne=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},wn=1,Tn=":enter",An=new RegExp(Tn,"g"),Cn=":leave",Mn=new RegExp(Cn,"g");function rs(n,e,t,i,s,r=new Map,o=new Map,a,l,c=[]){return new Ft().buildKeyframes(n,e,t,i,s,r,o,a,l,c)}var Ft=class{buildKeyframes(e,t,i,s,r,o,a,l,c,h=[]){c=c||new Ne;let u=new Lt(e,t,c,s,r,h,[]);u.options=l;let _=l.delay?X(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([o],null,u.errors,l),O(this,i,u);let y=u.timelines.filter(f=>f.containsAnimation());if(y.length&&a.size){let f;for(let g=y.length-1;g>=0;g--){let b=y[g];if(b.element===t){f=b;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,u.errors,l)}return y.length?y.map(f=>f.buildKeyframes()):[$t(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let s=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,s,s.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let s of e){let r=s?.delay;if(r){let o=typeof r=="number"?r:X(De(r,s?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let r=t.currentTimeline.currentTime,o=i.duration!=null?X(i.duration):null,a=i.delay!=null?X(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,s=t,r=e.options;if(r&&(r.params||r.delay)&&(s=t.createSubContext(r),s.transformIntoNewTimeline(),r.delay!=null)){s.previousNode.type==6&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=rt);let o=X(r.delay);s.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>O(this,o,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],s=t.currentTimeline.currentTime,r=e.options&&e.options.delay?X(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);r&&a.delayNextStep(r),O(this,o,a),s=Math.max(s,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,s=t.params?De(i,t.params,t.errors):i;return tt(s,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),s=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),s.snapshotCurrentStyles());let r=e.style;r.type==5?this.visitKeyframes(r,t):(t.incrementTime(i.duration),this.visitStyle(r,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,s=t.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();let r=s&&s.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(r):i.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,s=t.currentTimeline.duration,r=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*r),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(s+r),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,s=e.options||{},r=s.delay?X(s.delay):0;r&&(t.previousNode.type===6||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=rt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,h)=>{t.currentQueryIndex=h;let u=t.createSubContext(e.options,c);r&&u.delayNextStep(r),c===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;o=Math.max(o,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,s=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let u=h.currentTime;O(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=s.currentTime-u+(s.startTime-i.currentTimeline.startTime)}},rt={},Lt=class n{constructor(e,t,i,s,r,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=rt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ot(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,s=this.options;i.duration!=null&&(s.duration=X(i.duration)),i.delay!=null&&(s.delay=X(i.delay));let r=i.params;if(r){let o=s.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=De(r[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(s=>{i[s]=t[s]})}}return e}createSubContext(e=null,t,i){let s=t||this.element,r=new n(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=rt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let s={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},r=new Ot(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,s,r,o){let a=[];if(s&&a.push(this.element),e.length>0){e=e.replace(An,"."+this._enterClassName),e=e.replace(Mn,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!r&&a.length==0&&o.push(zs(t)),a}},ot=class n{constructor(e,t,i,s){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||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+=wn,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||$),this._currentKeyframe.set(t,$);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,s){t&&this._previousKeyframe.set("easing",t);let r=s&&s.params||{},o=Pn(e,this._globalTimelineStyles);for(let[a,l]of o){let c=De(l,r,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??$),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let s=this._styleSummary.get(i);(!s||t.time>s.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,s=[];this._keyframes.forEach((a,l)=>{let c=Ee(a,new Map,this._backFill);c.forEach((h,u)=>{h===We?e.add(u):h===$&&t.add(u)}),i||c.set("offset",l/this.duration),s.push(c)});let r=e.size?it(e.values()):[],o=t.size?it(t.values()):[];if(i){let a=s[0],l=new Map(a);a.set("offset",0),l.set("offset",1),s=[a,l]}return $t(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}},Ot=class extends ot{constructor(e,t,i,s,r,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],o=i+t,a=t/o,l=Ee(e[0]);l.set("offset",0),r.push(l);let c=Ee(e[0]);c.set("offset",ji(a)),r.push(c);let h=e.length-1;for(let u=1;u<=h;u++){let _=Ee(e[u]),y=_.get("offset"),f=t+y*i;_.set("offset",ji(f/o)),r.push(_)}i=o,t=0,s="",e=r}return $t(this.element,e,this.preStyleProps,this.postStyleProps,i,t,s,!0)}};function ji(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Pn(n,e){let t=new Map,i;return n.forEach(s=>{if(s==="*"){i=i||e.keys();for(let r of i)t.set(r,$)}else Ee(s,t)}),t}function Bi(n,e,t,i,s,r,o,a,l,c,h,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:s,fromState:t,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:u,errors:_}}var bt={},at=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,s){return kn(this.ast.matchers,e,t,i,s)}buildStyles(e,t,i){let s=this._stateStyles.get("*");return e!==void 0&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(t,i):new Map}build(e,t,i,s,r,o,a,l,c,h){let u=[],_=this.ast.options&&this.ast.options.params||bt,y=a&&a.params||bt,f=this.buildStyles(i,y,u),g=l&&l.params||bt,b=this.buildStyles(s,g,u),A=new Set,M=new Map,N=new Map,k=s==="void",pe={params:Dn(g,_),delay:this.ast.options?.delay},j=h?[]:rs(e,t,this.ast.animation,r,o,f,b,pe,c,u),F=0;if(j.forEach(G=>{F=Math.max(G.duration+G.delay,F)}),u.length)return Bi(t,this._triggerName,i,s,k,f,b,[],[],M,N,F,u);j.forEach(G=>{let Y=G.element,Ht=R(M,Y,new Set);G.preStyleProps.forEach(ne=>Ht.add(ne));let be=R(N,Y,new Set);G.postStyleProps.forEach(ne=>be.add(ne)),Y!==t&&A.add(Y)});let W=it(A.values());return Bi(t,this._triggerName,i,s,k,f,b,j,W,M,N,F)}};function kn(n,e,t,i,s){return n.some(r=>r(e,t,i,s))}function Dn(n,e){let t=Re(e);for(let i in n)n.hasOwnProperty(i)&&n[i]!=null&&(t[i]=n[i]);return t}var Rt=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,s=Re(this.defaultParams);return Object.keys(e).forEach(r=>{let o=e[r];o!==null&&(s[r]=o)}),this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,a)=>{o&&(o=De(o,s,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function Nn(n,e,t){return new It(n,e,t)}var It=class{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(s=>{let r=s.options&&s.options.params||{};this.states.set(s.name,new Rt(s.style,r,i))}),Ki(this.states,"true","1"),Ki(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new at(e,s,this.states))}),this.fallbackTransition=Fn(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,s){return this.transitionFactories.find(o=>o.match(e,t,i,s))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function Fn(n,e,t){let r={type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0};return new at(n,r,e)}function Ki(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var Ln=new Ne,qt=class{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let i=[],s=[],r=ns(this._driver,t,i,s);if(i.length)throw Qs(i);s.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,i){let s=e.element,r=Gi(this._normalizer,e.keyframes,t,i);return this._driver.animate(s,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let s=[],r=this._animations.get(e),o,a=new Map;if(r?(o=rs(this._driver,t,r,Ji,Ct,new Map,new Map,i,Ln,s),o.forEach(h=>{let u=R(a,h.element,new Map);h.postStyleProps.forEach(_=>u.set(_,null))})):(s.push($s()),o=[]),s.length)throw Hs(s);a.forEach((h,u)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(u,y,$))})});let l=o.map(h=>{let u=a.get(h.element);return this._buildPlayer(h,new Map,u)}),c=se(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ws(e);return t}listen(e,t,i,s){let r=Bt(t,"","","");return jt(this._getPlayer(e),i,r,s),()=>{}}command(e,t,i,s){if(i=="register"){this.register(e,s[0]);return}if(i=="create"){let o=s[0]||{};this.create(e,t,o);return}let r=this._getPlayer(e);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e);break}}},Ui="ng-animate-queued",On=".ng-animate-queued",wt="ng-animate-disabled",Rn=".ng-animate-disabled",In="ng-star-inserted",qn=".ng-star-inserted",Vn=[],os={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",Fe=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),s=i?e.value:e;if(this.value=jn(s),i){let r=Re(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(s=>{i[s]==null&&(i[s]=t[s])})}}},ke="void",Tt=new Fe(ke),Vt=class{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,V(t,this._hostClassName)}listen(e,t,i,s){if(!this._triggers.has(t))throw Gs(i,t);if(i==null||i.length==0)throw Ys(t);if(!Bn(i))throw Zs(i,t);let r=R(this._elementListeners,e,[]),o={name:t,phase:i,callback:s};r.push(o);let a=R(this._engine.statesByElement,e,new Map);return a.has(t)||(V(e,Ge),V(e,Ge+"-"+t),a.set(t,Tt)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Xs(e);return t}trigger(e,t,i,s=!0){let r=this._getTrigger(t),o=new Le(this.id,t,e),a=this._engine.statesByElement.get(e);a||(V(e,Ge),V(e,Ge+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new Fe(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Tt),!(c.value===ke)&&l.value===c.value){if(!Qn(l.params,c.params)){let g=[],b=r.matchStyles(l.value,l.params,g),A=r.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{fe(e,b),H(e,A)})}return}let _=R(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,c.value,e,c.params),f=!1;if(!y){if(!s)return;y=r.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:c,player:o,isFallbackTransition:f}),f||(V(e,Ui),o.onStart(()=>{ve(e,Ui)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let b=this._engine.playersByElement.get(e);if(b){let A=b.indexOf(o);A>=0&&b.splice(A,1)}}),this.players.push(o),_.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,et,!0);i.forEach(s=>{if(s[z])return;let r=this._engine.fetchNamespacesByElement(s);r.size?r.forEach(o=>o.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,t,i,s){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let a=[];if(r.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let h=this.trigger(e,c,ke,s);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&se(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let s=new Set;t.forEach(r=>{let o=r.name;if(s.has(o))return;s.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Tt,h=new Fe(ke),u=new Le(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:h,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(i.totalAnimations){let r=i.players.length?i.playersByQueriedElement.get(e):[];if(r&&r.length)s=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)i.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===os)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){V(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let s=i.player;if(s.destroyed)return;let r=i.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=Bt(r,i.triggerName,i.fromState.value,i.toState.value);l._data=e,jt(i.player,a.phase,l,a.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(i)}),this._queue=[],t.sort((i,s)=>{let r=i.transition.ast.depCount,o=s.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},xt=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,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=(s,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new Vt(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=s.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return s.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let s=this._namespaceLookup[e];s&&s.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let s of i.values())if(s.namespaceId){let r=this._fetchNamespace(s.namespaceId);r&&t.add(r)}}return t}trigger(e,t,i,s){if(Xe(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,i,s),!0}return!1}insertNode(e,t,i,s){if(!Xe(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),V(e,wt)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ve(e,wt))}removeNode(e,t,i){if(Xe(t)){let s=e?this._fetchNamespace(e):null;s?s.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,s,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,i,s,r){return Xe(t)?this._fetchNamespace(e).listen(t,i,s,r):()=>{}}_buildInstruction(e,t,i,s,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,s,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,et,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Mt,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return se(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=os,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(wt)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Rn,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?se(t).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(e){throw Js(e)}_flushAnimations(e,t){let i=new Ne,s=[],r=new Map,o=[],a=new Map,l=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(d=>{h.add(d);let m=this.driver.query(d,On,!0);for(let p=0;p{let p=Ji+g++;f.set(m,p),d.forEach(v=>V(v,p))});let b=[],A=new Set,M=new Set;for(let d=0;dA.add(v)):M.add(m))}let N=new Map,k=Hi(_,Array.from(A));k.forEach((d,m)=>{let p=Ct+g++;N.set(m,p),d.forEach(v=>V(v,p))}),e.push(()=>{y.forEach((d,m)=>{let p=f.get(m);d.forEach(v=>ve(v,p))}),k.forEach((d,m)=>{let p=N.get(m);d.forEach(v=>ve(v,p))}),b.forEach(d=>{this.processLeaveNode(d)})});let pe=[],j=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(t).forEach(p=>{let v=p.player,P=p.element;if(pe.push(v),this.collectedEnterElements.length){let D=P[z];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(p.triggerName)){let re=D.previousTriggersValues.get(p.triggerName),I=this.statesByElement.get(p.element);if(I&&I.has(p.triggerName)){let Ie=I.get(p.triggerName);Ie.value=re,I.set(p.triggerName,Ie)}}v.destroy();return}}let B=!u||!this.driver.containsElement(u,P),L=N.get(P),J=f.get(P),w=this._buildInstruction(p,i,J,L,B);if(w.errors&&w.errors.length){j.push(w);return}if(B){v.onStart(()=>fe(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}if(p.isFallbackTransition){v.onStart(()=>fe(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}let Yt=[];w.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||Yt.push(D)}),w.timelines=Yt,i.append(P,w.timelines);let gs={instruction:w,player:v,element:P};o.push(gs),w.queriedElements.forEach(D=>R(a,D,[]).push(v)),w.preStyleProps.forEach((D,re)=>{if(D.size){let I=l.get(re);I||l.set(re,I=new Set),D.forEach((Ie,ft)=>I.add(ft))}}),w.postStyleProps.forEach((D,re)=>{let I=c.get(re);I||c.set(re,I=new Set),D.forEach((Ie,ft)=>I.add(ft))})});if(j.length){let d=[];j.forEach(m=>{d.push(en(m.triggerName,m.errors))}),pe.forEach(m=>m.destroy()),this.reportError(d)}let F=new Map,W=new Map;o.forEach(d=>{let m=d.element;i.has(m)&&(W.set(m,m),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,F))}),s.forEach(d=>{let m=d.element;this._getPreviousPlayers(m,!1,d.namespaceId,d.triggerName,null).forEach(v=>{R(F,m,[]).push(v),v.destroy()})});let G=b.filter(d=>Wi(d,l,c)),Y=new Map;$i(Y,this.driver,M,c,$).forEach(d=>{Wi(d,l,c)&&G.push(d)});let be=new Map;y.forEach((d,m)=>{$i(be,this.driver,new Set(d),l,We)}),G.forEach(d=>{let m=Y.get(d),p=be.get(d);Y.set(d,new Map([...m?.entries()??[],...p?.entries()??[]]))});let ne=[],Wt=[],Gt={};o.forEach(d=>{let{element:m,player:p,instruction:v}=d;if(i.has(m)){if(h.has(m)){p.onDestroy(()=>H(m,v.toStyles)),p.disabled=!0,p.overrideTotalTime(v.totalTime),s.push(p);return}let P=Gt;if(W.size>1){let L=m,J=[];for(;L=L.parentNode;){let w=W.get(L);if(w){P=w;break}J.push(L)}J.forEach(w=>W.set(w,P))}let B=this._buildAnimation(p.namespaceId,v,F,r,be,Y);if(p.setRealPlayer(B),P===Gt)ne.push(p);else{let L=this.playersByElement.get(P);L&&L.length&&(p.parentPlayer=se(L)),s.push(p)}}else fe(m,v.fromStyles),p.onDestroy(()=>H(m,v.toStyles)),Wt.push(p),h.has(m)&&s.push(p)}),Wt.forEach(d=>{let m=r.get(d.element);if(m&&m.length){let p=se(m);d.setRealPlayer(p)}}),s.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d!B.destroyed);P.length?Kn(this,m,P):this.processLeaveNode(m)}return b.length=0,ne.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();let m=this.players.indexOf(d);this.players.splice(m,1)}),d.play()}),ne}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,s,r){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!r||r==ke;a.forEach(c=>{c.queued||!l&&c.triggerName!=s||o.push(c)})}}return(i||s)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||s&&s!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let s=t.triggerName,r=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:s;for(let l of t.timelines){let c=l.element,h=c!==r,u=R(i,c,[]);this._getPreviousPlayers(c,h,o,a,t.toState).forEach(y=>{let f=y.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),y.destroy(),u.push(y)})}fe(r,t.fromStyles)}_buildAnimation(e,t,i,s,r,o){let a=t.triggerName,l=t.element,c=[],h=new Set,u=new Set,_=t.timelines.map(f=>{let g=f.element;h.add(g);let b=g[z];if(b&&b.removedBeforeQueried)return new ie(f.duration,f.delay);let A=g!==l,M=Un((i.get(g)||Vn).map(F=>F.getRealPlayer())).filter(F=>{let W=F;return W.element?W.element===g:!1}),N=r.get(g),k=o.get(g),pe=Gi(this._normalizer,f.keyframes,N,k),j=this._buildPlayer(f,pe,M);if(f.subTimeline&&s&&u.add(g),A){let F=new Le(e,a,g);F.setRealPlayer(j),c.push(F)}return j});c.forEach(f=>{R(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>zn(this.playersByQueriedElement,f.element,f))}),h.forEach(f=>V(f,Vi));let y=se(_);return y.onDestroy(()=>{h.forEach(f=>ve(f,Vi)),H(l,t.toStyles)}),u.forEach(f=>{R(s,f,[]).push(y)}),y}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new ie(e.duration,e.delay)}},Le=class{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new ie,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(s=>jt(e,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){R(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function zn(n,e,t){let i=n.get(e);if(i){if(i.length){let s=i.indexOf(t);i.splice(s,1)}i.length==0&&n.delete(e)}return i}function jn(n){return n??null}function Xe(n){return n&&n.nodeType===1}function Bn(n){return n=="start"||n=="done"}function Qi(n,e){let t=n.style.display;return n.style.display=e??"none",t}function $i(n,e,t,i,s){let r=[];t.forEach(l=>r.push(Qi(l)));let o=[];i.forEach((l,c)=>{let h=new Map;l.forEach(u=>{let _=e.computeStyle(c,u,s);h.set(u,_),(!_||_.length==0)&&(c[z]=xn,o.push(c))}),n.set(c,h)});let a=0;return t.forEach(l=>Qi(l,r[a++])),o}function Hi(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,s=new Set(e),r=new Map;function o(a){if(!a)return i;let l=r.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:s.has(c)?l=i:l=o(c),r.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function V(n,e){n.classList?.add(e)}function ve(n,e){n.classList?.remove(e)}function Kn(n,e,t){se(t).onDone(()=>n.processLeaveNode(e))}function Un(n){let e=[];return as(n,e),e}function as(n,e){for(let t=0;ts.add(r)):e.set(n,i),t.delete(n),!0}var Se=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,r)=>{},this._transitionEngine=new xt(e.body,t,i),this._timelineEngine=new qt(e.body,t,i),this._transitionEngine.onRemovalComplete=(s,r)=>this.onRemovalComplete(s,r)}registerTrigger(e,t,i,s,r){let o=e+"-"+s,a=this._triggerCache[o];if(!a){let l=[],c=[],h=ns(this._driver,r,l,c);if(l.length)throw Ks(s,l);c.length&&void 0,a=Nn(s,h,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,s,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,s){this._transitionEngine.insertNode(e,t,i,s)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,s){if(i.charAt(0)=="@"){let[r,o]=Ii(i),a=s;this._timelineEngine.command(r,t,o,a)}else this._transitionEngine.trigger(e,t,i,s)}listen(e,t,i,s,r){if(i.charAt(0)=="@"){let[o,a]=Ii(i);return this._timelineEngine.listen(o,t,a,r)}return this._transitionEngine.listen(e,t,i,s,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function $n(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=At(e[0]),e.length>1&&(i=At(e[e.length-1]))):e instanceof Map&&(t=At(e)),t||i?new Hn(n,t,i):null}var Hn=(()=>{let e=class e{constructor(i,s,r){this._element=i,this._startStyles=s,this._endStyles=r,this._state=0;let o=e.initialStylesByElement.get(i);o||e.initialStylesByElement.set(i,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&H(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(H(this._element,this._initialStyles),this._endStyles&&(H(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(fe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fe(this._element,this._endStyles),this._endStyles=null),H(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let n=e;return n})();function At(n){let e=null;return n.forEach((t,i)=>{Wn(i)&&(e=e||new Map,e.set(i,t))}),e}function Wn(n){return n==="display"||n==="position"}var lt=class{constructor(e,t,i,s){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=s,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{s!=="offset"&&e.set(s,this._finished?i:is(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},ct=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return Yi(e,t)}getParentElement(e){return Kt(e)}query(e,t,i){return Zi(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,s,r,o=[]){let a=s==0?"both":"forwards",l={duration:i,delay:s,fill:a};r&&(l.easing=r);let c=new Map,h=o.filter(y=>y instanceof lt);dn(i,s)&&h.forEach(y=>{y.currentSnapshot.forEach((f,g)=>c.set(g,f))});let u=cn(t).map(y=>Ee(y));u=fn(e,u,c);let _=$n(e,u);return new lt(e,u,l,_)}};var Je="@",ls="@.disabled",ht=class{constructor(e,t,i,s){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=s,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,s=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,s)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,s){this.delegate.setAttribute(e,t,i,s)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,s){this.delegate.setStyle(e,t,i,s)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==Je&&t==ls?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},zt=class extends ht{constructor(e,t,i,s,r){super(t,i,s,r),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==Je?t.charAt(1)=="."&&t==ls?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if(t.charAt(0)==Je){let s=Gn(e),r=t.slice(1),o="";return r.charAt(0)!=Je&&([r,o]=Yn(r)),this.engine.listen(this.namespaceId,s,r,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(e,t,i)}};function Gn(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Yn(n){let e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}var ut=class{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(s,r)=>{let o=r?.parentNode(s);o&&r.removeChild(o,s)}}createRenderer(e,t){let i="",s=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,h=c.get(s);if(!h){let u=()=>c.delete(s);h=new ht(i,s,this.engine,u),c.set(s,h)}return h}let r=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,o,e,c.name,c)};return t.data.animation.forEach(a),new zt(this,o,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&et(i));return}let s=this._animationCallbacksBuffer;s.length==0&&queueMicrotask(()=>{this._zone.run(()=>{s.forEach(r=>{let[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),s.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Xn=(()=>{let e=class e extends Se{constructor(i,s,r,o){super(i,s,r)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(s){return new(s||e)(ee(mi),ee(Oe),ee(me),ee(Ke))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();function Jn(){return new st}function er(n,e,t){return new ut(n,e,t)}var cs=[{provide:me,useFactory:Jn},{provide:Se,useClass:Xn},{provide:li,useFactory:er,deps:[pi,Se,ze]}],tr=[{provide:Oe,useFactory:()=>new ct},{provide:yt,useValue:"BrowserAnimations"},...cs],Tr=[{provide:Oe,useClass:Ut},{provide:yt,useValue:"NoopAnimations"},...cs];function hs(){return[...tr]}var us={providers:[Si(Li,wi(),bi({onSameUrlNavigation:"reload"}),Ti()),Fi("ngsw-worker.js",{enabled:!fi(),registrationStrategy:"registerWhenStable:30000"}),yi(),hs(),Pi,Ai,He,Ue,Ci,Mi]};var dt=(()=>{let e=class e{constructor(i){this.click=i}refreshRandom(){this.click.click()}};e.\u0275fac=function(s){return new(s||e)(le(He))},e.\u0275cmp=K({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(s,r){},encapsulation:2});let n=e;return n})();var ds=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=xe(e)))(r||e)}})(),e.\u0275cmp=K({type:e,selectors:[["app-navbar-mobile"]],standalone:!0,features:[je,te],decls:26,vars:4,consts:[["id","bottom-navigation",1,"md:hidden","block","fixed","inset-x-0","bottom-0","z-10","bg-white","shadow"],["id","tabs",1,"flex","justify-between"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42","fill","none","xmlns","http://www.w3.org/2000/svg",1,"inline-block","mb-1"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],[1,"tab","tab-home","block","text-xs"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42",1,"inline-block","mb-1"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],[1,"tab","tab-kategori","block","text-xs"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],[1,"tab","tab-explore","block","text-xs"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],[1,"tab","tab-whishlist","block","text-xs"]],template:function(s,r){s&1&&(S(0,"section",0)(1,"div",1)(2,"a",2),q(),S(3,"svg",3)(4,"svg",4),C(5,"path",5),T()(),x(),S(6,"span",6),ce(7,"Aujourd'hui"),T()(),S(8,"a",7),q(),S(9,"svg",8)(10,"svg",4),C(11,"path",9),T()(),x(),S(12,"span",10),ce(13,"Citations"),T()(),S(14,"a",11),q(),S(15,"svg",8)(16,"svg",4),C(17,"path",12),T()(),x(),S(18,"span",13),ce(19,"Auteurs"),T()(),S(20,"a",14),Be("click",function(){return r.refreshRandom()}),q(),S(21,"svg",8)(22,"svg",4),C(23,"path",15),T()(),x(),S(24,"span",16),ce(25,"Al\xE9atoire"),T()()()()),s&2&&(U(2),Q("queryParams",null),U(6),Q("queryParams",null),U(6),Q("queryParams",null),U(6),Q("queryParams",null))},dependencies:[Qe,$e],encapsulation:2});let n=e;return n})();var ir=["elSearchCite"],fs=(()=>{let e=class e{constructor(i,s){this.activatedRouter=i,this.router=s,this.ngUnsubscribe=new qe}ngOnInit(){this.activatedRouter.queryParamMap.subscribe(i=>{if(!i.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){we(this.elSearchCite.nativeElement,"keyup").pipe(Z(i=>i.currentTarget.value),ei(500),si(this.ngUnsubscribe)).subscribe({next:i=>{this.router.navigate(["/search"],{queryParams:{q:i}})}})}};e.\u0275fac=function(s){return new(s||e)(le(_i),le(Ei))},e.\u0275cmp=K({type:e,selectors:[["app-search"]],viewQuery:function(s,r){if(s&1&&hi(ir,7),s&2){let o;ci(o=ui())&&(r.elSearchCite=o.first)}},standalone:!0,features:[te],decls:2,vars:0,consts:[["id","search_input","type","text","placeholder","Rechercher...",1,""],["elSearchCite",""]],template:function(s,r){s&1&&C(0,"input",0,1)},encapsulation:2});let n=e;return n})();var ms=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=xe(e)))(r||e)}})(),e.\u0275cmp=K({type:e,selectors:[["app-navbar-desktop"]],standalone:!0,features:[je,te],decls:30,vars:4,consts:[[1,"flex","items-center","justify-between","p-6","container","mx-auto"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour"],["version","1.1","width","200","height","36","preserveAspectRatio","xMidYMid meet","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["d","M11.86,16.55a4.31,4.31,0,0,0-2.11.56,14.44,14.44,0,0,1,4.36-6,1.1,1.1,0,0,0-1.4-1.7c-4,3.25-5.78,7.75-5.78,10.54A5.08,5.08,0,0,0,10,24.58a4.4,4.4,0,0,0,1.88.44,4.24,4.24,0,1,0,0-8.47Z"],["d","M23,16.55a4.29,4.29,0,0,0-2.11.56,14.5,14.5,0,0,1,4.35-6,1.1,1.1,0,1,0-1.39-1.7c-4,3.25-5.78,7.75-5.78,10.54a5.08,5.08,0,0,0,3,4.61A4.37,4.37,0,0,0,23,25a4.24,4.24,0,1,0,0-8.47Z"],["x","0","y","0","width","200","height","36","fill-opacity","0"],["x","36","y","35",1,"text-4xl","text-violet-700","font-sans","subpixel-antialiased"],[1,"text-sm","text-gray-600","sm:flex",2,"padding-top","16px"],[1,"text-lg","hidden","lg:flex"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],["href","https://github.com/Rebolon/citations-papillotes","title","Acc\xE8s au code source","aria-label","Acc\xE8s au code source",1,"block","lg:inline-block","hover:text-violet-800","transform","motion-safe:hover:scale-110","lg:mt-0","mr-10"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 20L14 4M18 8L22 12L18 16M6 16L2 12L6 8"]],template:function(s,r){s&1&&(S(0,"nav",0)(1,"a",1),q(),S(2,"svg",2),C(3,"path",3)(4,"path",4)(5,"rect",5),S(6,"text",6),ce(7," Citations "),T()()(),x(),C(8,"app-search",7),S(9,"div",8)(10,"a",9),q(),S(11,"svg",10)(12,"svg",11),C(13,"path",12),T()()(),x(),S(14,"a",13),q(),S(15,"svg",10)(16,"svg",11),C(17,"path",14),T()()(),x(),S(18,"a",15),q(),S(19,"svg",10)(20,"svg",11),C(21,"path",16),T()()(),x(),S(22,"a",17),Be("click",function(){return r.refreshRandom()}),q(),S(23,"svg",10)(24,"svg",11),C(25,"path",18),T()()(),x(),S(26,"a",19),q(),S(27,"svg",10)(28,"svg",11),C(29,"path",20),T()()()()()),s&2&&(U(10),Q("queryParams",null),U(4),Q("queryParams",null),U(4),Q("queryParams",null),U(4),Q("queryParams",null))},dependencies:[Qe,fs,$e],encapsulation:2});let n=e;return n})();var ps=(()=>{let e=class e{constructor(i){this.title=i,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(s){return new(s||e)(le(Ue))},e.\u0275cmp=K({type:e,selectors:[["app-root"]],standalone:!0,features:[te],decls:7,vars:0,consts:[["id","app",1,"container","min-h-screen","flex","flex-col"],[1,"top-0","fixed","bg-white","w-full"],[1,"grow","p-4","pt-24"],[1,"w-full"]],template:function(s,r){s&1&&(S(0,"div",0)(1,"header",1),C(2,"app-navbar-desktop"),T(),S(3,"main",2),C(4,"router-outlet"),T(),S(5,"footer",3),C(6,"app-navbar-mobile"),T()())},dependencies:[ms,vi,ds],encapsulation:2});let n=e;return n})();gi(ps,us).catch(n=>console.error(n)); +import{a as Pi}from"./chunk-HM3HMCXS.js";import{a as Ci,b as Mi}from"./chunk-X475HLLW.js";import{a as He}from"./chunk-CNTN2D3E.js";import{a as _i,b as vi,c as Ei,d as Qe,e as $e,f as Si,g as bi,h as wi,i as Ti,j as Ai}from"./chunk-HKLPJZQ3.js";import{C as ei,Da as Q,E as oe,G as ti,Ka as S,La as T,Ma as C,N as ii,Pa as Be,S as Te,Sa as ce,T as si,U as ni,V as E,W as ae,Ya as te,Z as ri,_ as ee,a as Zt,aa as K,bb as ci,cb as hi,eb as ui,fa as q,fb as di,g as qe,ga as x,ha as xe,ja as oi,k as Ve,kb as Ke,l as Xt,lb as fi,ma as ai,na as gt,o as Z,oa as yt,ob as mi,ra as li,t as Jt,ta as U,u as mt,ua as le,v as we,vb as _t,w as pt,wb as pi,x as ge,xa as ze,xb as gi,y as ye,yb as Ue,za as je,zb as yi}from"./chunk-BTHD7Z2M.js";var Ce="Service workers are disabled or not supported by this browser";function vs(n){return mt(()=>Xt(new Error(n)))}var _e=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=vs(Ce);else{let i=we(e,"controllerchange").pipe(Z(()=>e.controller)),s=mt(()=>Ve(e.controller)),r=Jt(s,i);this.worker=r.pipe(ye(h=>!!h)),this.registration=this.worker.pipe(Te(()=>e.getRegistration()));let c=we(e,"message").pipe(Z(h=>h.data)).pipe(ye(h=>h&&h.type)).pipe(ii());c.connect(),this.events=c}}postMessage(e,t){return this.worker.pipe(oe(1),ni(i=>{i.postMessage(Zt({action:e},t))})).toPromise().then(()=>{})}postMessageWithOperation(e,t,i){let s=this.waitForOperationCompleted(i),r=this.postMessage(e,t);return Promise.all([r,s]).then(([,o])=>o)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(e){let t;return typeof e=="string"?t=i=>i.type===e:t=i=>e.includes(i.type),this.events.pipe(ye(t))}nextEventOfType(e){return this.eventsOfType(e).pipe(oe(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(ye(t=>t.nonce===e),oe(1),Z(t=>{if(t.result!==void 0)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Es=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,this.pushManager=null,this.subscriptionChanges=new qe,!i.isEnabled){this.messages=ge,this.notificationClicks=ge,this.subscription=ge;return}this.messages=this.sw.eventsOfType("PUSH").pipe(Z(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Z(r=>r.data)),this.pushManager=this.sw.registration.pipe(Z(r=>r.pushManager));let s=this.pushManager.pipe(Te(r=>r.getSubscription()));this.subscription=pt(s,this.subscriptionChanges)}requestSubscription(i){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ce));let s={userVisibleOnly:!0},r=this.decodeBase64(i.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length));for(let a=0;aa.subscribe(s)),oe(1)).toPromise().then(a=>(this.subscriptionChanges.next(a),a))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ce));let i=s=>{if(s===null)throw new Error("Not subscribed to push notifications.");return s.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(oe(1),Te(i)).toPromise()}decodeBase64(i){return atob(i)}};e.\u0275fac=function(s){return new(s||e)(ee(_e))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})(),Ss=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,!i.isEnabled){this.versionUpdates=ge,this.unrecoverable=ge;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ce));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:i},i)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ce));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:i},i)}};e.\u0275fac=function(s){return new(s||e)(ee(_e))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();var ki=new ri("NGSW_REGISTER_SCRIPT");function bs(n,e,t,i){return()=>{if(!(_t(i)&&"serviceWorker"in navigator&&t.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let s;if(typeof t.registrationStrategy=="function")s=t.registrationStrategy();else{let[o,...a]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(o){case"registerImmediately":s=Ve(null);break;case"registerWithDelay":s=Di(+a[0]||0);break;case"registerWhenStable":s=a[0]?pt(Ni(n),Di(+a[0])):Ni(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}n.get(ze).runOutsideAngular(()=>s.pipe(oe(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:t.scope}).catch(o=>console.error("Service worker registration failed with:",o))))}}function Di(n){return Ve(null).pipe(ti(n))}function Ni(n){return n.get(Ke).isStable.pipe(ye(t=>t))}function ws(n,e){return new _e(_t(e)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Ae=class{};function Fi(n,e={}){return oi([Es,Ss,{provide:ki,useValue:n},{provide:Ae,useValue:e},{provide:_e,useFactory:ws,deps:[Ae,gt]},{provide:di,useFactory:bs,deps:[ai,ki,Ae,gt],multi:!0}])}var Li=[{path:"",loadComponent:()=>import("./chunk-URXUJ4E4.js").then(n=>n.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-3EZNDDDF.js").then(n=>n.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-2WSYTRVD.js").then(n=>n.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-PFO66XOK.js").then(n=>n.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-L5L6XINX.js").then(n=>n.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-3EZNDDDF.js").then(n=>n.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-5KQLBYUZ.js").then(n=>n.PageNotFoundComponent)}];var $="*";function Oi(n,e=null){return{type:2,steps:n,options:e}}function vt(n){return{type:6,styles:n,offset:null}}var ie=class{constructor(e=0,t=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=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Me=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,s=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==r&&this._onFinish()}),o.onDestroy(()=>{++i==r&&this._onDestroy()}),o.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(i=>{let s=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(s)})}getPosition(){let e=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},We="!";function Ri(n){return new E(3e3,!1)}function Ts(){return new E(3100,!1)}function As(){return new E(3101,!1)}function Cs(n){return new E(3001,!1)}function Ms(n){return new E(3003,!1)}function Ps(n){return new E(3004,!1)}function ks(n,e){return new E(3005,!1)}function Ds(){return new E(3006,!1)}function Ns(){return new E(3007,!1)}function Fs(n,e){return new E(3008,!1)}function Ls(n){return new E(3002,!1)}function Os(n,e,t,i,s){return new E(3010,!1)}function Rs(){return new E(3011,!1)}function Is(){return new E(3012,!1)}function qs(){return new E(3200,!1)}function Vs(){return new E(3202,!1)}function xs(){return new E(3013,!1)}function zs(n){return new E(3014,!1)}function js(n){return new E(3015,!1)}function Bs(n){return new E(3016,!1)}function Ks(n,e){return new E(3404,!1)}function Us(n){return new E(3502,!1)}function Qs(n){return new E(3503,!1)}function $s(){return new E(3300,!1)}function Hs(n){return new E(3504,!1)}function Ws(n){return new E(3301,!1)}function Gs(n,e){return new E(3302,!1)}function Ys(n){return new E(3303,!1)}function Zs(n,e){return new E(3400,!1)}function Xs(n){return new E(3401,!1)}function Js(n){return new E(3402,!1)}function en(n,e){return new E(3505,!1)}function se(n){switch(n.length){case 0:return new ie;case 1:return n[0];default:return new Me(n)}}function Gi(n,e,t=new Map,i=new Map){let s=[],r=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),h=c==o,u=h&&a||new Map;l.forEach((_,y)=>{let f=y,g=_;if(y!=="offset")switch(f=n.normalizePropertyName(f,s),g){case We:g=t.get(y);break;case $:g=i.get(y);break;default:g=n.normalizeStyleValue(y,f,g,s);break}u.set(f,g)}),h||r.push(u),a=u,o=c}),s.length)throw Us(s);return r}function jt(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Et(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Et(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Et(t,"destroy",n)));break}}function Et(n,e,t){let i=t.totalTime,s=!!t.disabled,r=Bt(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,s),o=n._data;return o!=null&&(r._data=o),r}function Bt(n,e,t,i,s="",r=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function R(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function Ii(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var tn=(()=>typeof document>"u"?null:document.documentElement)();function Kt(n){let e=n.parentNode||n.host||null;return e===tn?null:e}function sn(n){return n.substring(1,6)=="ebkit"}var ue=null,qi=!1;function nn(n){ue||(ue=rn()||{},qi=ue.style?"WebkitAppearance"in ue.style:!1);let e=!0;return ue.style&&!sn(n)&&(e=n in ue.style,!e&&qi&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in ue.style)),e}function rn(){return typeof document<"u"?document.body:null}function Yi(n,e){for(;e;){if(e===n)return!0;e=Kt(e)}return!1}function Zi(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var Ut=(()=>{let e=class e{validateStyleProperty(i){return nn(i)}matchesElement(i,s){return!1}containsElement(i,s){return Yi(i,s)}getParentElement(i){return Kt(i)}query(i,s,r){return Zi(i,s,r)}computeStyle(i,s,r){return r||""}animate(i,s,r,o,a,l=[],c){return new ie(r,o)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})(),Oe=(()=>{let e=class e{};e.NOOP=new Ut;let n=e;return n})(),me=class{};var on=1e3,Xi="{{",an="}}",Ji="ng-enter",Ct="ng-leave",Ge="ng-trigger",et=".ng-trigger",Vi="ng-animating",Mt=".ng-animating";function X(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Pt(parseFloat(e[1]),e[2])}function Pt(n,e){switch(e){case"s":return n*on;default:return n}}function tt(n,e,t){return n.hasOwnProperty("duration")?n:ln(n,e,t)}function ln(n,e,t){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,s,r=0,o="";if(typeof n=="string"){let a=n.match(i);if(a===null)return e.push(Ri(n)),{duration:0,delay:0,easing:""};s=Pt(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=Pt(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else s=n;if(!t){let a=!1,l=e.length;s<0&&(e.push(Ts()),a=!0),r<0&&(e.push(As()),a=!0),a&&e.splice(l,0,Ri(n))}return{duration:s,delay:r,easing:o}}function Re(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function es(n){let e=new Map;return Object.keys(n).forEach(t=>{let i=n[t];e.set(t,i)}),e}function cn(n){return n.length?n[0]instanceof Map?n:n.map(e=>es(e)):[]}function Ee(n,e=new Map,t){if(t)for(let[i,s]of t)e.set(i,s);for(let[i,s]of n)e.set(i,s);return e}function H(n,e,t){e.forEach((i,s)=>{let r=Qt(s);t&&!t.has(s)&&t.set(s,n.style[r]),n.style[r]=i})}function fe(n,e){e.forEach((t,i)=>{let s=Qt(i);n.style[s]=""})}function Pe(n){return Array.isArray(n)?n.length==1?n[0]:Oi(n):n}function hn(n,e,t){let i=e.params||{},s=ts(n);s.length&&s.forEach(r=>{i.hasOwnProperty(r)||t.push(Cs(r))})}var kt=new RegExp(`${Xi}\\s*(.+?)\\s*${an}`,"g");function ts(n){let e=[];if(typeof n=="string"){let t;for(;t=kt.exec(n);)e.push(t[1]);kt.lastIndex=0}return e}function De(n,e,t){let i=n.toString(),s=i.replace(kt,(r,o)=>{let a=e[o];return a==null&&(t.push(Ms(o)),a=""),a.toString()});return s==i?n:s}function it(n){let e=[],t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}var un=/-+([a-z0-9])/g;function Qt(n){return n.replace(un,(...e)=>e[1].toUpperCase())}function dn(n,e){return n===0||e===0}function fn(n,e,t){if(t.size&&e.length){let i=e[0],s=[];if(t.forEach((r,o)=>{i.has(o)||s.push(o),i.set(o,r)}),s.length)for(let r=1;ro.set(a,is(n,a)))}}return e}function O(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw Ps(e.type)}}function is(n,e){return window.getComputedStyle(n)[e]}var mn=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"]),st=class extends me{normalizePropertyName(e,t){return Qt(e)}normalizeStyleValue(e,t,i,s){let r="",o=i.toString().trim();if(mn.has(t)&&i!==0&&i!=="0")if(typeof i=="number")r="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&s.push(ks(e,i))}return o+r}};var nt="*";function pn(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>gn(i,t,e)):t.push(n),t}function gn(n,e,t){if(n[0]==":"){let l=yn(n,t);if(typeof l=="function"){e.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(js(n)),e;let s=i[1],r=i[2],o=i[3];e.push(xi(s,o));let a=s==nt&&o==nt;r[0]=="<"&&!a&&e.push(xi(o,s))}function yn(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}var Ye=new Set(["true","1"]),Ze=new Set(["false","0"]);function xi(n,e){let t=Ye.has(n)||Ze.has(n),i=Ye.has(e)||Ze.has(e);return(s,r)=>{let o=n==nt||n==s,a=e==nt||e==r;return!o&&t&&typeof s=="boolean"&&(o=s?Ye.has(n):Ze.has(n)),!a&&i&&typeof r=="boolean"&&(a=r?Ye.has(e):Ze.has(e)),o&&a}}var ss=":self",_n=new RegExp(`s*${ss}s*,?`,"g");function ns(n,e,t,i){return new Dt(n).build(e,t,i)}var zi="",Dt=class{constructor(e){this._driver=e}build(e,t,i){let s=new Nt(t);return this._resetContextStyleTimingState(s),O(this,Pe(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector=zi,e.collectedStyles=new Map,e.collectedStyles.set(zi,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,s=t.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(Ds()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==0){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=c}else if(a.type==1){let l=this.visitTransition(a,t);i+=l.queryCount,s+=l.depCount,o.push(l)}else t.errors.push(Ns())}),{type:7,name:e.name,states:r,transitions:o,queryCount:i,depCount:s,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(i.containsDynamicStyles){let r=new Set,o=s||{};if(i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{ts(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size){let a=it(r.values());t.errors.push(Fs(e.name,a))}}return{type:0,name:e.name,style:i,options:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=O(this,Pe(e.animation),t);return{type:1,matchers:pn(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:de(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>O(this,i,t)),options:de(e.options)}}visitGroup(e,t){let i=t.currentTime,s=0,r=e.steps.map(o=>{t.currentTime=i;let a=O(this,o,t);return s=Math.max(s,t.currentTime),a});return t.currentTime=s,{type:3,steps:r,options:de(e.options)}}visitAnimate(e,t){let i=bn(e.timings,t.errors);t.currentAnimateTimings=i;let s,r=e.styles?e.styles:vt({});if(r.type==5)s=this.visitKeyframes(r,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=vt(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,s=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:s,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of s)typeof a=="string"?a===$?i.push(a):t.errors.push(Ls(a)):i.push(es(a));let r=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r)){for(let l of a.values())if(l.toString().indexOf(Xi)>=0){r=!0;break}}}),{type:6,styles:i,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,s=t.currentTime,r=t.currentTime;i&&r>0&&(r-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),h=c.get(l),u=!0;h&&(r!=s&&r>=h.startTime&&s<=h.endTime&&(t.errors.push(Os(l,h.startTime,h.endTime,r,s)),u=!1),r=h.startTime),u&&c.set(l,{startTime:r,endTime:s}),t.options&&hn(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Rs()),i;let s=1,r=0,o=[],a=!1,l=!1,c=0,h=e.steps.map(A=>{let M=this._makeStyleAst(A,t),N=M.offset!=null?M.offset:Sn(M.styles),k=0;return N!=null&&(r++,k=M.offset=N),l=l||k<0||k>1,a=a||k0&&r{let N=_>0?M==y?1:_*M:o[M],k=N*b;t.currentTime=f+g.delay+k,g.duration=k,this._validateStyleAst(A,t),A.offset=N,i.styles.push(A)}),i}visitReference(e,t){return{type:8,animation:O(this,Pe(e.animation),t),options:de(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:de(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:de(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;let[r,o]=vn(e.selector);t.currentQuerySelector=i.length?i+" "+r:r,R(t.collectedStyles,t.currentQuerySelector,new Map);let a=O(this,Pe(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:de(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(xs());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:tt(e.timings,t.errors,!0);return{type:12,animation:O(this,Pe(e.animation),t),timings:i,options:null}}};function vn(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ss);return e&&(n=n.replace(_n,"")),n=n.replace(/@\*/g,et).replace(/@\w+/g,t=>et+"-"+t.slice(1)).replace(/:animating/g,Mt),[n,e]}function En(n){return n?Re(n):null}var Nt=class{constructor(e){this.errors=e,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 Sn(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function bn(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=tt(n,e).duration;return St(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=St(0,0,"");return r.dynamic=!0,r.strValue=t,r}let s=tt(t,e);return St(s.duration,s.delay,s.easing)}function de(n){return n?(n=Re(n),n.params&&(n.params=En(n.params))):n={},n}function St(n,e,t){return{duration:n,delay:e,easing:t}}function $t(n,e,t,i,s,r,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}var Ne=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},wn=1,Tn=":enter",An=new RegExp(Tn,"g"),Cn=":leave",Mn=new RegExp(Cn,"g");function rs(n,e,t,i,s,r=new Map,o=new Map,a,l,c=[]){return new Ft().buildKeyframes(n,e,t,i,s,r,o,a,l,c)}var Ft=class{buildKeyframes(e,t,i,s,r,o,a,l,c,h=[]){c=c||new Ne;let u=new Lt(e,t,c,s,r,h,[]);u.options=l;let _=l.delay?X(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([o],null,u.errors,l),O(this,i,u);let y=u.timelines.filter(f=>f.containsAnimation());if(y.length&&a.size){let f;for(let g=y.length-1;g>=0;g--){let b=y[g];if(b.element===t){f=b;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,u.errors,l)}return y.length?y.map(f=>f.buildKeyframes()):[$t(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let s=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,s,s.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let s of e){let r=s?.delay;if(r){let o=typeof r=="number"?r:X(De(r,s?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let r=t.currentTimeline.currentTime,o=i.duration!=null?X(i.duration):null,a=i.delay!=null?X(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,s=t,r=e.options;if(r&&(r.params||r.delay)&&(s=t.createSubContext(r),s.transformIntoNewTimeline(),r.delay!=null)){s.previousNode.type==6&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=rt);let o=X(r.delay);s.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>O(this,o,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],s=t.currentTimeline.currentTime,r=e.options&&e.options.delay?X(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);r&&a.delayNextStep(r),O(this,o,a),s=Math.max(s,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,s=t.params?De(i,t.params,t.errors):i;return tt(s,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),s=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),s.snapshotCurrentStyles());let r=e.style;r.type==5?this.visitKeyframes(r,t):(t.incrementTime(i.duration),this.visitStyle(r,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,s=t.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();let r=s&&s.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(r):i.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,s=t.currentTimeline.duration,r=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*r),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(s+r),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,s=e.options||{},r=s.delay?X(s.delay):0;r&&(t.previousNode.type===6||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=rt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,h)=>{t.currentQueryIndex=h;let u=t.createSubContext(e.options,c);r&&u.delayNextStep(r),c===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;o=Math.max(o,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,s=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let u=h.currentTime;O(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=s.currentTime-u+(s.startTime-i.currentTimeline.startTime)}},rt={},Lt=class n{constructor(e,t,i,s,r,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=rt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ot(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,s=this.options;i.duration!=null&&(s.duration=X(i.duration)),i.delay!=null&&(s.delay=X(i.delay));let r=i.params;if(r){let o=s.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=De(r[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(s=>{i[s]=t[s]})}}return e}createSubContext(e=null,t,i){let s=t||this.element,r=new n(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=rt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let s={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},r=new Ot(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,s,r,o){let a=[];if(s&&a.push(this.element),e.length>0){e=e.replace(An,"."+this._enterClassName),e=e.replace(Mn,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!r&&a.length==0&&o.push(zs(t)),a}},ot=class n{constructor(e,t,i,s){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||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+=wn,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||$),this._currentKeyframe.set(t,$);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,s){t&&this._previousKeyframe.set("easing",t);let r=s&&s.params||{},o=Pn(e,this._globalTimelineStyles);for(let[a,l]of o){let c=De(l,r,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??$),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let s=this._styleSummary.get(i);(!s||t.time>s.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,s=[];this._keyframes.forEach((a,l)=>{let c=Ee(a,new Map,this._backFill);c.forEach((h,u)=>{h===We?e.add(u):h===$&&t.add(u)}),i||c.set("offset",l/this.duration),s.push(c)});let r=e.size?it(e.values()):[],o=t.size?it(t.values()):[];if(i){let a=s[0],l=new Map(a);a.set("offset",0),l.set("offset",1),s=[a,l]}return $t(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}},Ot=class extends ot{constructor(e,t,i,s,r,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],o=i+t,a=t/o,l=Ee(e[0]);l.set("offset",0),r.push(l);let c=Ee(e[0]);c.set("offset",ji(a)),r.push(c);let h=e.length-1;for(let u=1;u<=h;u++){let _=Ee(e[u]),y=_.get("offset"),f=t+y*i;_.set("offset",ji(f/o)),r.push(_)}i=o,t=0,s="",e=r}return $t(this.element,e,this.preStyleProps,this.postStyleProps,i,t,s,!0)}};function ji(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Pn(n,e){let t=new Map,i;return n.forEach(s=>{if(s==="*"){i=i||e.keys();for(let r of i)t.set(r,$)}else Ee(s,t)}),t}function Bi(n,e,t,i,s,r,o,a,l,c,h,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:s,fromState:t,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:u,errors:_}}var bt={},at=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,s){return kn(this.ast.matchers,e,t,i,s)}buildStyles(e,t,i){let s=this._stateStyles.get("*");return e!==void 0&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(t,i):new Map}build(e,t,i,s,r,o,a,l,c,h){let u=[],_=this.ast.options&&this.ast.options.params||bt,y=a&&a.params||bt,f=this.buildStyles(i,y,u),g=l&&l.params||bt,b=this.buildStyles(s,g,u),A=new Set,M=new Map,N=new Map,k=s==="void",pe={params:Dn(g,_),delay:this.ast.options?.delay},j=h?[]:rs(e,t,this.ast.animation,r,o,f,b,pe,c,u),F=0;if(j.forEach(G=>{F=Math.max(G.duration+G.delay,F)}),u.length)return Bi(t,this._triggerName,i,s,k,f,b,[],[],M,N,F,u);j.forEach(G=>{let Y=G.element,Ht=R(M,Y,new Set);G.preStyleProps.forEach(ne=>Ht.add(ne));let be=R(N,Y,new Set);G.postStyleProps.forEach(ne=>be.add(ne)),Y!==t&&A.add(Y)});let W=it(A.values());return Bi(t,this._triggerName,i,s,k,f,b,j,W,M,N,F)}};function kn(n,e,t,i,s){return n.some(r=>r(e,t,i,s))}function Dn(n,e){let t=Re(e);for(let i in n)n.hasOwnProperty(i)&&n[i]!=null&&(t[i]=n[i]);return t}var Rt=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,s=Re(this.defaultParams);return Object.keys(e).forEach(r=>{let o=e[r];o!==null&&(s[r]=o)}),this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,a)=>{o&&(o=De(o,s,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function Nn(n,e,t){return new It(n,e,t)}var It=class{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(s=>{let r=s.options&&s.options.params||{};this.states.set(s.name,new Rt(s.style,r,i))}),Ki(this.states,"true","1"),Ki(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new at(e,s,this.states))}),this.fallbackTransition=Fn(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,s){return this.transitionFactories.find(o=>o.match(e,t,i,s))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function Fn(n,e,t){let r={type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0};return new at(n,r,e)}function Ki(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var Ln=new Ne,qt=class{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let i=[],s=[],r=ns(this._driver,t,i,s);if(i.length)throw Qs(i);s.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,i){let s=e.element,r=Gi(this._normalizer,e.keyframes,t,i);return this._driver.animate(s,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let s=[],r=this._animations.get(e),o,a=new Map;if(r?(o=rs(this._driver,t,r,Ji,Ct,new Map,new Map,i,Ln,s),o.forEach(h=>{let u=R(a,h.element,new Map);h.postStyleProps.forEach(_=>u.set(_,null))})):(s.push($s()),o=[]),s.length)throw Hs(s);a.forEach((h,u)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(u,y,$))})});let l=o.map(h=>{let u=a.get(h.element);return this._buildPlayer(h,new Map,u)}),c=se(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ws(e);return t}listen(e,t,i,s){let r=Bt(t,"","","");return jt(this._getPlayer(e),i,r,s),()=>{}}command(e,t,i,s){if(i=="register"){this.register(e,s[0]);return}if(i=="create"){let o=s[0]||{};this.create(e,t,o);return}let r=this._getPlayer(e);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e);break}}},Ui="ng-animate-queued",On=".ng-animate-queued",wt="ng-animate-disabled",Rn=".ng-animate-disabled",In="ng-star-inserted",qn=".ng-star-inserted",Vn=[],os={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",Fe=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),s=i?e.value:e;if(this.value=jn(s),i){let r=Re(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(s=>{i[s]==null&&(i[s]=t[s])})}}},ke="void",Tt=new Fe(ke),Vt=class{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,V(t,this._hostClassName)}listen(e,t,i,s){if(!this._triggers.has(t))throw Gs(i,t);if(i==null||i.length==0)throw Ys(t);if(!Bn(i))throw Zs(i,t);let r=R(this._elementListeners,e,[]),o={name:t,phase:i,callback:s};r.push(o);let a=R(this._engine.statesByElement,e,new Map);return a.has(t)||(V(e,Ge),V(e,Ge+"-"+t),a.set(t,Tt)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Xs(e);return t}trigger(e,t,i,s=!0){let r=this._getTrigger(t),o=new Le(this.id,t,e),a=this._engine.statesByElement.get(e);a||(V(e,Ge),V(e,Ge+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new Fe(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Tt),!(c.value===ke)&&l.value===c.value){if(!Qn(l.params,c.params)){let g=[],b=r.matchStyles(l.value,l.params,g),A=r.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{fe(e,b),H(e,A)})}return}let _=R(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,c.value,e,c.params),f=!1;if(!y){if(!s)return;y=r.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:c,player:o,isFallbackTransition:f}),f||(V(e,Ui),o.onStart(()=>{ve(e,Ui)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let b=this._engine.playersByElement.get(e);if(b){let A=b.indexOf(o);A>=0&&b.splice(A,1)}}),this.players.push(o),_.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,et,!0);i.forEach(s=>{if(s[z])return;let r=this._engine.fetchNamespacesByElement(s);r.size?r.forEach(o=>o.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,t,i,s){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let a=[];if(r.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let h=this.trigger(e,c,ke,s);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&se(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let s=new Set;t.forEach(r=>{let o=r.name;if(s.has(o))return;s.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Tt,h=new Fe(ke),u=new Le(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:h,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(i.totalAnimations){let r=i.players.length?i.playersByQueriedElement.get(e):[];if(r&&r.length)s=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)i.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===os)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){V(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let s=i.player;if(s.destroyed)return;let r=i.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=Bt(r,i.triggerName,i.fromState.value,i.toState.value);l._data=e,jt(i.player,a.phase,l,a.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(i)}),this._queue=[],t.sort((i,s)=>{let r=i.transition.ast.depCount,o=s.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},xt=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,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=(s,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new Vt(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=s.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return s.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let s=this._namespaceLookup[e];s&&s.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let s of i.values())if(s.namespaceId){let r=this._fetchNamespace(s.namespaceId);r&&t.add(r)}}return t}trigger(e,t,i,s){if(Xe(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,i,s),!0}return!1}insertNode(e,t,i,s){if(!Xe(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),V(e,wt)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ve(e,wt))}removeNode(e,t,i){if(Xe(t)){let s=e?this._fetchNamespace(e):null;s?s.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,s,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,i,s,r){return Xe(t)?this._fetchNamespace(e).listen(t,i,s,r):()=>{}}_buildInstruction(e,t,i,s,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,s,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,et,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Mt,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return se(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=os,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(wt)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Rn,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?se(t).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(e){throw Js(e)}_flushAnimations(e,t){let i=new Ne,s=[],r=new Map,o=[],a=new Map,l=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(d=>{h.add(d);let m=this.driver.query(d,On,!0);for(let p=0;p{let p=Ji+g++;f.set(m,p),d.forEach(v=>V(v,p))});let b=[],A=new Set,M=new Set;for(let d=0;dA.add(v)):M.add(m))}let N=new Map,k=Hi(_,Array.from(A));k.forEach((d,m)=>{let p=Ct+g++;N.set(m,p),d.forEach(v=>V(v,p))}),e.push(()=>{y.forEach((d,m)=>{let p=f.get(m);d.forEach(v=>ve(v,p))}),k.forEach((d,m)=>{let p=N.get(m);d.forEach(v=>ve(v,p))}),b.forEach(d=>{this.processLeaveNode(d)})});let pe=[],j=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(t).forEach(p=>{let v=p.player,P=p.element;if(pe.push(v),this.collectedEnterElements.length){let D=P[z];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(p.triggerName)){let re=D.previousTriggersValues.get(p.triggerName),I=this.statesByElement.get(p.element);if(I&&I.has(p.triggerName)){let Ie=I.get(p.triggerName);Ie.value=re,I.set(p.triggerName,Ie)}}v.destroy();return}}let B=!u||!this.driver.containsElement(u,P),L=N.get(P),J=f.get(P),w=this._buildInstruction(p,i,J,L,B);if(w.errors&&w.errors.length){j.push(w);return}if(B){v.onStart(()=>fe(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}if(p.isFallbackTransition){v.onStart(()=>fe(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}let Yt=[];w.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||Yt.push(D)}),w.timelines=Yt,i.append(P,w.timelines);let gs={instruction:w,player:v,element:P};o.push(gs),w.queriedElements.forEach(D=>R(a,D,[]).push(v)),w.preStyleProps.forEach((D,re)=>{if(D.size){let I=l.get(re);I||l.set(re,I=new Set),D.forEach((Ie,ft)=>I.add(ft))}}),w.postStyleProps.forEach((D,re)=>{let I=c.get(re);I||c.set(re,I=new Set),D.forEach((Ie,ft)=>I.add(ft))})});if(j.length){let d=[];j.forEach(m=>{d.push(en(m.triggerName,m.errors))}),pe.forEach(m=>m.destroy()),this.reportError(d)}let F=new Map,W=new Map;o.forEach(d=>{let m=d.element;i.has(m)&&(W.set(m,m),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,F))}),s.forEach(d=>{let m=d.element;this._getPreviousPlayers(m,!1,d.namespaceId,d.triggerName,null).forEach(v=>{R(F,m,[]).push(v),v.destroy()})});let G=b.filter(d=>Wi(d,l,c)),Y=new Map;$i(Y,this.driver,M,c,$).forEach(d=>{Wi(d,l,c)&&G.push(d)});let be=new Map;y.forEach((d,m)=>{$i(be,this.driver,new Set(d),l,We)}),G.forEach(d=>{let m=Y.get(d),p=be.get(d);Y.set(d,new Map([...m?.entries()??[],...p?.entries()??[]]))});let ne=[],Wt=[],Gt={};o.forEach(d=>{let{element:m,player:p,instruction:v}=d;if(i.has(m)){if(h.has(m)){p.onDestroy(()=>H(m,v.toStyles)),p.disabled=!0,p.overrideTotalTime(v.totalTime),s.push(p);return}let P=Gt;if(W.size>1){let L=m,J=[];for(;L=L.parentNode;){let w=W.get(L);if(w){P=w;break}J.push(L)}J.forEach(w=>W.set(w,P))}let B=this._buildAnimation(p.namespaceId,v,F,r,be,Y);if(p.setRealPlayer(B),P===Gt)ne.push(p);else{let L=this.playersByElement.get(P);L&&L.length&&(p.parentPlayer=se(L)),s.push(p)}}else fe(m,v.fromStyles),p.onDestroy(()=>H(m,v.toStyles)),Wt.push(p),h.has(m)&&s.push(p)}),Wt.forEach(d=>{let m=r.get(d.element);if(m&&m.length){let p=se(m);d.setRealPlayer(p)}}),s.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d!B.destroyed);P.length?Kn(this,m,P):this.processLeaveNode(m)}return b.length=0,ne.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();let m=this.players.indexOf(d);this.players.splice(m,1)}),d.play()}),ne}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,s,r){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!r||r==ke;a.forEach(c=>{c.queued||!l&&c.triggerName!=s||o.push(c)})}}return(i||s)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||s&&s!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let s=t.triggerName,r=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:s;for(let l of t.timelines){let c=l.element,h=c!==r,u=R(i,c,[]);this._getPreviousPlayers(c,h,o,a,t.toState).forEach(y=>{let f=y.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),y.destroy(),u.push(y)})}fe(r,t.fromStyles)}_buildAnimation(e,t,i,s,r,o){let a=t.triggerName,l=t.element,c=[],h=new Set,u=new Set,_=t.timelines.map(f=>{let g=f.element;h.add(g);let b=g[z];if(b&&b.removedBeforeQueried)return new ie(f.duration,f.delay);let A=g!==l,M=Un((i.get(g)||Vn).map(F=>F.getRealPlayer())).filter(F=>{let W=F;return W.element?W.element===g:!1}),N=r.get(g),k=o.get(g),pe=Gi(this._normalizer,f.keyframes,N,k),j=this._buildPlayer(f,pe,M);if(f.subTimeline&&s&&u.add(g),A){let F=new Le(e,a,g);F.setRealPlayer(j),c.push(F)}return j});c.forEach(f=>{R(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>zn(this.playersByQueriedElement,f.element,f))}),h.forEach(f=>V(f,Vi));let y=se(_);return y.onDestroy(()=>{h.forEach(f=>ve(f,Vi)),H(l,t.toStyles)}),u.forEach(f=>{R(s,f,[]).push(y)}),y}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new ie(e.duration,e.delay)}},Le=class{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new ie,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(s=>jt(e,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){R(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function zn(n,e,t){let i=n.get(e);if(i){if(i.length){let s=i.indexOf(t);i.splice(s,1)}i.length==0&&n.delete(e)}return i}function jn(n){return n??null}function Xe(n){return n&&n.nodeType===1}function Bn(n){return n=="start"||n=="done"}function Qi(n,e){let t=n.style.display;return n.style.display=e??"none",t}function $i(n,e,t,i,s){let r=[];t.forEach(l=>r.push(Qi(l)));let o=[];i.forEach((l,c)=>{let h=new Map;l.forEach(u=>{let _=e.computeStyle(c,u,s);h.set(u,_),(!_||_.length==0)&&(c[z]=xn,o.push(c))}),n.set(c,h)});let a=0;return t.forEach(l=>Qi(l,r[a++])),o}function Hi(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,s=new Set(e),r=new Map;function o(a){if(!a)return i;let l=r.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:s.has(c)?l=i:l=o(c),r.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function V(n,e){n.classList?.add(e)}function ve(n,e){n.classList?.remove(e)}function Kn(n,e,t){se(t).onDone(()=>n.processLeaveNode(e))}function Un(n){let e=[];return as(n,e),e}function as(n,e){for(let t=0;ts.add(r)):e.set(n,i),t.delete(n),!0}var Se=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,r)=>{},this._transitionEngine=new xt(e.body,t,i),this._timelineEngine=new qt(e.body,t,i),this._transitionEngine.onRemovalComplete=(s,r)=>this.onRemovalComplete(s,r)}registerTrigger(e,t,i,s,r){let o=e+"-"+s,a=this._triggerCache[o];if(!a){let l=[],c=[],h=ns(this._driver,r,l,c);if(l.length)throw Ks(s,l);c.length&&void 0,a=Nn(s,h,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,s,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,s){this._transitionEngine.insertNode(e,t,i,s)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,s){if(i.charAt(0)=="@"){let[r,o]=Ii(i),a=s;this._timelineEngine.command(r,t,o,a)}else this._transitionEngine.trigger(e,t,i,s)}listen(e,t,i,s,r){if(i.charAt(0)=="@"){let[o,a]=Ii(i);return this._timelineEngine.listen(o,t,a,r)}return this._transitionEngine.listen(e,t,i,s,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function $n(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=At(e[0]),e.length>1&&(i=At(e[e.length-1]))):e instanceof Map&&(t=At(e)),t||i?new Hn(n,t,i):null}var Hn=(()=>{let e=class e{constructor(i,s,r){this._element=i,this._startStyles=s,this._endStyles=r,this._state=0;let o=e.initialStylesByElement.get(i);o||e.initialStylesByElement.set(i,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&H(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(H(this._element,this._initialStyles),this._endStyles&&(H(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(fe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fe(this._element,this._endStyles),this._endStyles=null),H(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let n=e;return n})();function At(n){let e=null;return n.forEach((t,i)=>{Wn(i)&&(e=e||new Map,e.set(i,t))}),e}function Wn(n){return n==="display"||n==="position"}var lt=class{constructor(e,t,i,s){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=s,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{s!=="offset"&&e.set(s,this._finished?i:is(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},ct=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return Yi(e,t)}getParentElement(e){return Kt(e)}query(e,t,i){return Zi(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,s,r,o=[]){let a=s==0?"both":"forwards",l={duration:i,delay:s,fill:a};r&&(l.easing=r);let c=new Map,h=o.filter(y=>y instanceof lt);dn(i,s)&&h.forEach(y=>{y.currentSnapshot.forEach((f,g)=>c.set(g,f))});let u=cn(t).map(y=>Ee(y));u=fn(e,u,c);let _=$n(e,u);return new lt(e,u,l,_)}};var Je="@",ls="@.disabled",ht=class{constructor(e,t,i,s){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=s,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,s=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,s)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,s){this.delegate.setAttribute(e,t,i,s)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,s){this.delegate.setStyle(e,t,i,s)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==Je&&t==ls?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},zt=class extends ht{constructor(e,t,i,s,r){super(t,i,s,r),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==Je?t.charAt(1)=="."&&t==ls?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if(t.charAt(0)==Je){let s=Gn(e),r=t.slice(1),o="";return r.charAt(0)!=Je&&([r,o]=Yn(r)),this.engine.listen(this.namespaceId,s,r,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(e,t,i)}};function Gn(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Yn(n){let e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}var ut=class{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(s,r)=>{let o=r?.parentNode(s);o&&r.removeChild(o,s)}}createRenderer(e,t){let i="",s=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,h=c.get(s);if(!h){let u=()=>c.delete(s);h=new ht(i,s,this.engine,u),c.set(s,h)}return h}let r=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,o,e,c.name,c)};return t.data.animation.forEach(a),new zt(this,o,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&et(i));return}let s=this._animationCallbacksBuffer;s.length==0&&queueMicrotask(()=>{this._zone.run(()=>{s.forEach(r=>{let[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),s.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Xn=(()=>{let e=class e extends Se{constructor(i,s,r,o){super(i,s,r)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(s){return new(s||e)(ee(mi),ee(Oe),ee(me),ee(Ke))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();function Jn(){return new st}function er(n,e,t){return new ut(n,e,t)}var cs=[{provide:me,useFactory:Jn},{provide:Se,useClass:Xn},{provide:li,useFactory:er,deps:[pi,Se,ze]}],tr=[{provide:Oe,useFactory:()=>new ct},{provide:yt,useValue:"BrowserAnimations"},...cs],Tr=[{provide:Oe,useClass:Ut},{provide:yt,useValue:"NoopAnimations"},...cs];function hs(){return[...tr]}var us={providers:[Si(Li,wi(),bi({onSameUrlNavigation:"reload"}),Ti()),Fi("ngsw-worker.js",{enabled:!fi(),registrationStrategy:"registerWhenStable:30000"}),yi(),hs(),Pi,Ai,He,Ue,Ci,Mi]};var dt=(()=>{let e=class e{constructor(i){this.click=i}refreshRandom(){this.click.click()}};e.\u0275fac=function(s){return new(s||e)(le(He))},e.\u0275cmp=K({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(s,r){},encapsulation:2});let n=e;return n})();var ds=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=xe(e)))(r||e)}})(),e.\u0275cmp=K({type:e,selectors:[["app-navbar-mobile"]],standalone:!0,features:[je,te],decls:26,vars:4,consts:[["id","bottom-navigation",1,"md:hidden","block","fixed","inset-x-0","bottom-0","z-10","bg-white","shadow"],["id","tabs",1,"flex","justify-between"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42","fill","none","xmlns","http://www.w3.org/2000/svg",1,"inline-block","mb-1"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],[1,"tab","tab-home","block","text-xs"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42",1,"inline-block","mb-1"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],[1,"tab","tab-kategori","block","text-xs"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],[1,"tab","tab-explore","block","text-xs"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],[1,"tab","tab-whishlist","block","text-xs"]],template:function(s,r){s&1&&(S(0,"section",0)(1,"div",1)(2,"a",2),q(),S(3,"svg",3)(4,"svg",4),C(5,"path",5),T()(),x(),S(6,"span",6),ce(7,"Aujourd'hui"),T()(),S(8,"a",7),q(),S(9,"svg",8)(10,"svg",4),C(11,"path",9),T()(),x(),S(12,"span",10),ce(13,"Citations"),T()(),S(14,"a",11),q(),S(15,"svg",8)(16,"svg",4),C(17,"path",12),T()(),x(),S(18,"span",13),ce(19,"Auteurs"),T()(),S(20,"a",14),Be("click",function(){return r.refreshRandom()}),q(),S(21,"svg",8)(22,"svg",4),C(23,"path",15),T()(),x(),S(24,"span",16),ce(25,"Al\xE9atoire"),T()()()()),s&2&&(U(2),Q("queryParams",null),U(6),Q("queryParams",null),U(6),Q("queryParams",null),U(6),Q("queryParams",null))},dependencies:[Qe,$e],encapsulation:2});let n=e;return n})();var ir=["elSearchCite"],fs=(()=>{let e=class e{constructor(i,s){this.activatedRouter=i,this.router=s,this.ngUnsubscribe=new qe}ngOnInit(){this.activatedRouter.queryParamMap.subscribe(i=>{if(!i.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){we(this.elSearchCite.nativeElement,"keyup").pipe(Z(i=>i.currentTarget.value),ei(500),si(this.ngUnsubscribe)).subscribe({next:i=>{this.router.navigate(["/search"],{queryParams:{q:i}})}})}};e.\u0275fac=function(s){return new(s||e)(le(_i),le(Ei))},e.\u0275cmp=K({type:e,selectors:[["app-search"]],viewQuery:function(s,r){if(s&1&&hi(ir,7),s&2){let o;ci(o=ui())&&(r.elSearchCite=o.first)}},standalone:!0,features:[te],decls:2,vars:0,consts:[["id","search_input","type","text","placeholder","Rechercher...",1,""],["elSearchCite",""]],template:function(s,r){s&1&&C(0,"input",0,1)},encapsulation:2});let n=e;return n})();var ms=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=xe(e)))(r||e)}})(),e.\u0275cmp=K({type:e,selectors:[["app-navbar-desktop"]],standalone:!0,features:[je,te],decls:30,vars:4,consts:[[1,"flex","items-center","justify-between","p-6","container","mx-auto"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour"],["version","1.1","width","200","height","36","preserveAspectRatio","xMidYMid meet","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["d","M11.86,16.55a4.31,4.31,0,0,0-2.11.56,14.44,14.44,0,0,1,4.36-6,1.1,1.1,0,0,0-1.4-1.7c-4,3.25-5.78,7.75-5.78,10.54A5.08,5.08,0,0,0,10,24.58a4.4,4.4,0,0,0,1.88.44,4.24,4.24,0,1,0,0-8.47Z"],["d","M23,16.55a4.29,4.29,0,0,0-2.11.56,14.5,14.5,0,0,1,4.35-6,1.1,1.1,0,1,0-1.39-1.7c-4,3.25-5.78,7.75-5.78,10.54a5.08,5.08,0,0,0,3,4.61A4.37,4.37,0,0,0,23,25a4.24,4.24,0,1,0,0-8.47Z"],["x","0","y","0","width","200","height","36","fill-opacity","0"],["x","36","y","35",1,"text-4xl","text-violet-700","font-sans","subpixel-antialiased"],[1,"text-sm","text-gray-600","sm:flex",2,"padding-top","16px"],[1,"text-lg","hidden","lg:flex"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],["href","https://github.com/Rebolon/citations-papillotes","title","Acc\xE8s au code source","aria-label","Acc\xE8s au code source",1,"block","lg:inline-block","hover:text-violet-800","transform","motion-safe:hover:scale-110","lg:mt-0","mr-10"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 20L14 4M18 8L22 12L18 16M6 16L2 12L6 8"]],template:function(s,r){s&1&&(S(0,"nav",0)(1,"a",1),q(),S(2,"svg",2),C(3,"path",3)(4,"path",4)(5,"rect",5),S(6,"text",6),ce(7," Citations "),T()()(),x(),C(8,"app-search",7),S(9,"div",8)(10,"a",9),q(),S(11,"svg",10)(12,"svg",11),C(13,"path",12),T()()(),x(),S(14,"a",13),q(),S(15,"svg",10)(16,"svg",11),C(17,"path",14),T()()(),x(),S(18,"a",15),q(),S(19,"svg",10)(20,"svg",11),C(21,"path",16),T()()(),x(),S(22,"a",17),Be("click",function(){return r.refreshRandom()}),q(),S(23,"svg",10)(24,"svg",11),C(25,"path",18),T()()(),x(),S(26,"a",19),q(),S(27,"svg",10)(28,"svg",11),C(29,"path",20),T()()()()()),s&2&&(U(10),Q("queryParams",null),U(4),Q("queryParams",null),U(4),Q("queryParams",null),U(4),Q("queryParams",null))},dependencies:[Qe,fs,$e],encapsulation:2});let n=e;return n})();var ps=(()=>{let e=class e{constructor(i){this.title=i,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(s){return new(s||e)(le(Ue))},e.\u0275cmp=K({type:e,selectors:[["app-root"]],standalone:!0,features:[te],decls:7,vars:0,consts:[["id","app",1,"container","min-h-screen","flex","flex-col"],[1,"top-0","fixed","bg-white","w-full"],[1,"grow","p-4","pt-24"],[1,"w-full"]],template:function(s,r){s&1&&(S(0,"div",0)(1,"header",1),C(2,"app-navbar-desktop"),T(),S(3,"main",2),C(4,"router-outlet"),T(),S(5,"footer",3),C(6,"app-navbar-mobile"),T()())},dependencies:[ms,vi,ds],encapsulation:2});let n=e;return n})();gi(ps,us).catch(n=>console.error(n)); diff --git a/docs/citations/browser/ngsw.json b/docs/citations/browser/ngsw.json index 282ce89..cc1bcab 100644 --- a/docs/citations/browser/ngsw.json +++ b/docs/citations/browser/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1701981935148, + "timestamp": 1702297948445, "index": "/index.html", "assetGroups": [ { @@ -11,21 +11,21 @@ "ignoreVary": true }, "urls": [ - "/chunk-3X2RCJ2E.js", - "/chunk-5FRWEQTB.js", - "/chunk-5K6CMPT6.js", - "/chunk-AZBP4WHL.js", - "/chunk-B65LRI2D.js", - "/chunk-GQQKX57E.js", - "/chunk-IASJQZPG.js", - "/chunk-O7XFWA6S.js", - "/chunk-SPRGSFS6.js", - "/chunk-U67HH4WJ.js", - "/chunk-WD4UYMZH.js", - "/chunk-WSAZWB3R.js", - "/chunk-ZJTXMD3N.js", + "/chunk-2WSYTRVD.js", + "/chunk-3EZNDDDF.js", + "/chunk-5KQLBYUZ.js", + "/chunk-BTHD7Z2M.js", + "/chunk-CNTN2D3E.js", + "/chunk-EUSOWPMZ.js", + "/chunk-HKLPJZQ3.js", + "/chunk-HM3HMCXS.js", + "/chunk-J55U6K2W.js", + "/chunk-L5L6XINX.js", + "/chunk-PFO66XOK.js", + "/chunk-URXUJ4E4.js", + "/chunk-X475HLLW.js", "/favicon.ico", - "/main-KH4RCMLD.js", + "/main-VBSAGUYR.js", "/manifest.webmanifest", "/polyfills-LZBJRJJE.js", "/styles-ZFFCLQVE.css" @@ -94,21 +94,21 @@ "/assets/icons/ms-icon-150x150.png": "bdbca3e8c50ffb8e6b990fb8f7a978e9a656a6a3", "/assets/icons/ms-icon-310x310.png": "f33c3bded112fbecea6ca545b2789b1b80f682fc", "/assets/icons/ms-icon-70x70.png": "0456d449ef58b6f15d7cf84f16cf1ce4101d009d", - "/chunk-3X2RCJ2E.js": "c48750f52f43c4ee784d5f8fd17f132f2ca0eb72", - "/chunk-5FRWEQTB.js": "01dccbb56b6d043752986d9621ce45b6736aa012", - "/chunk-5K6CMPT6.js": "981757a7a27cf31028e99d167650b32daa3a2bfd", - "/chunk-AZBP4WHL.js": "016477a5461ecfa43fc01957790a0f33da777f33", - "/chunk-B65LRI2D.js": "170e77da81cb9013155882760d07a41bea1f6732", - "/chunk-GQQKX57E.js": "e343bff035cc723330f3f949521ed6ac5de813eb", - "/chunk-IASJQZPG.js": "556d2326ed5bd442105ed460522a5e4d73132ea3", - "/chunk-O7XFWA6S.js": "8433cd86561c3a4feb037e54006a3eba11865fb9", - "/chunk-SPRGSFS6.js": "5884140542c0a5458a7ff5372569b50053960a11", - "/chunk-U67HH4WJ.js": "57028e085db094b36114fc2ceec3183e7dbd96c1", - "/chunk-WD4UYMZH.js": "93281d6a7fac2a7ecb82dfa9a873788ad7bf8580", - "/chunk-WSAZWB3R.js": "1966eb1f514a10fdac76a60d54cb2de47cca19e1", - "/chunk-ZJTXMD3N.js": "9ad834142efddafc716a591ddd402e47f425c7ca", + "/chunk-2WSYTRVD.js": "326eb8366cbf4bed28ce6c64ad21592f1f904f0c", + "/chunk-3EZNDDDF.js": "16cd75b1df0fc54a60e3ddb793b2ae84eea2d455", + "/chunk-5KQLBYUZ.js": "f37992706d5482eac32b1aa3f99b9157f7565f32", + "/chunk-BTHD7Z2M.js": "aa0cddaf9584ff3b390c6d095d2970ce991ba71c", + "/chunk-CNTN2D3E.js": "123991482b0e23f7869ed9ab9f2e8d57a7b5ed6b", + "/chunk-EUSOWPMZ.js": "81299568d8f3cca8254cb8da0d9f03a462060739", + "/chunk-HKLPJZQ3.js": "844c6e6d63989c334f418f6515d3a215c64092e2", + "/chunk-HM3HMCXS.js": "2def0eddfb95ffad20e5c04c56a55b737b322666", + "/chunk-J55U6K2W.js": "3ae1c68f3e23c3185200e86b38661205e0ab04cf", + "/chunk-L5L6XINX.js": "cca909ee08ea70fee44169e11d69b2392d435f69", + "/chunk-PFO66XOK.js": "a930c91af815189b07623f6b2cb515f31f85db03", + "/chunk-URXUJ4E4.js": "cca237fd0af5658b733697bd0989c5a6c033691c", + "/chunk-X475HLLW.js": "9ef19bcc796448b45fa4de936291b3892a777ff5", "/favicon.ico": "800c8aabaf313c4b2a4b109094ba502b51d2b366", - "/main-KH4RCMLD.js": "484dc3208d6a50a0d8e6fa9e5b1a9a1c79a5935c", + "/main-VBSAGUYR.js": "82d6cb79a4678acdb5c5610adf6100555b2d6d99", "/manifest.webmanifest": "f385472fca63328bd8cd8761e6a7cae990ac4050", "/polyfills-LZBJRJJE.js": "fda1c82c5c620f1fa442f687b3df45a037f6fcc9", "/styles-ZFFCLQVE.css": "9ed4b8c9524702631ed0a5ea213174dbe1536ba5" diff --git a/docs/citations/browser/random/index.html b/docs/citations/browser/random/index.html index 67b1800..eac1f57 100644 --- a/docs/citations/browser/random/index.html +++ b/docs/citations/browser/random/index.html @@ -26,10 +26,10 @@ + -

C'est par l'adresse que vaut le bûcheron, bien plus que par la force.

Homère

+ - + - \ No newline at end of file + \ No newline at end of file diff --git a/docs/citations/browser/search/index.html b/docs/citations/browser/search/index.html index 0512237..59a2186 100644 --- a/docs/citations/browser/search/index.html +++ b/docs/citations/browser/search/index.html @@ -26,10 +26,10 @@ + -

564 Citations.

  • ”Chaque commencement recèle une magie cachée.” de Hermann Hesse
  • ”Rarement nous pensons à ce que nous avons, mais souvent à ce qui nous manque.” de Arthur Schopenhauer
  • ”Comme le dauphin j'ai le dos fin.” de Maître Reiki Kanak
  • ”L'âme porte les couleurs de tes pensées.” de Marc Aurèle
  • ”Apprenons à tendre la main pas seulement pour recevoir, mais également pour donner.” de Wembo Jah Olela
  • ”Peu importe où nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.” de Fynn Kliemann
  • ”Pour faire du bien, personne n'a besoin de réfléchir.” de Johann Wolfgang Von Goethe
  • ”Il n'y a que deux façons de vivre sa vie : l'une en faisant comme si rien n'était un miracle, l'autre en faisant comme si tout était un miracle.” de Albert Einstein
  • ”La faculté de se mettre dans la peau des autres et de réfléchir à la manière dont on agirait à leur place est très utile si on veut apprendre à aimer quelqu'un.” de Dalai Lama
  • ”Répands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; répands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.” de Cléobus de Lindos
  • ”Souris au monde et le monde te sourira.” de Soeur Emmanuelle
  • ”L'humour a non seulement quelque chose de libérateur, mais encore quelque chose de sublime et d'élevé.” de Sigmund Freud
+

569 Citations.

  • ”Chaque commencement recèle une magie cachée.” de Hermann Hesse
  • ”Rarement nous pensons à ce que nous avons, mais souvent à ce qui nous manque.” de Arthur Schopenhauer
  • ”Comme le dauphin j'ai le dos fin.” de Maître Reiki Kanak
  • ”L'âme porte les couleurs de tes pensées.” de Marc Aurèle
  • ”Apprenons à tendre la main pas seulement pour recevoir, mais également pour donner.” de Wembo Jah Olela
  • ”Peu importe où nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.” de Fynn Kliemann
  • ”Pour faire du bien, personne n'a besoin de réfléchir.” de Johann Wolfgang Von Goethe
  • ”Il n'y a que deux façons de vivre sa vie : l'une en faisant comme si rien n'était un miracle, l'autre en faisant comme si tout était un miracle.” de Albert Einstein
  • ”La faculté de se mettre dans la peau des autres et de réfléchir à la manière dont on agirait à leur place est très utile si on veut apprendre à aimer quelqu'un.” de Dalai Lama
  • ”Répands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; répands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.” de Cléobus de Lindos
  • ”Souris au monde et le monde te sourira.” de Soeur Emmanuelle
  • ”L'humour a non seulement quelque chose de libérateur, mais encore quelque chose de sublime et d'élevé.” de Sigmund Freud
- + \ No newline at end of file diff --git a/docs/citations/server/chunk-2N6OR53J.mjs b/docs/citations/server/chunk-2N6OR53J.mjs deleted file mode 100644 index 0800149..0000000 --- a/docs/citations/server/chunk-2N6OR53J.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as I}from"./chunk-MUV6HIBH.mjs";import{a as B,b as L}from"./chunk-VFJ7BWVT.mjs";import{b as k}from"./chunk-B6CYFCU2.mjs";import"./chunk-BAQQOPV7.mjs";import{e as A}from"./chunk-QKRI2DJ5.mjs";import{$a as C,Ea as v,Ia as p,Jb as P,Na as y,Oa as x,Pa as s,Qa as a,Ua as m,Wa as b,Xa as l,Yb as S,Za as d,_ as f,cb as _,db as T,eb as h,ya as o,za as u}from"./chunk-XUIXZ2OS.mjs";import"./chunk-KRLCULJA.mjs";var $=(i,e)=>e.getName();function D(i,e){if(i&1&&(s(0,"li",9)(1,"a",10),l(2),s(3,"small"),l(4),a()()()),i&2){let c=e.$implicit;o(1),b("routerLink","/authors/",c.getName(),""),o(1),d("",c.getName()," "),o(2),d("(",c.getCount(),")")}}var F=(i,e)=>({"font-semibold":i,"font-normal":e}),N=i=>({itemPerPage:i}),H=(()=>{let e=class e extends B{constructor(r,n,t){super(),this.authorService=r,this.title=n,this.device=t,this.authors=[],this.paginatedAuthors=[],this.itemsPerPage=11,this.sort="text",this.title.setTitle("Citations - Liste des auteurs"),this.itemsPerPage=11,t.isMobile()&&(this.itemsPerPage=8)}ngOnInit(){this.sortByAlpha()}sortByAlpha(){this.sort="text",this.authorService.authors$.subscribe({next:r=>{this.authors=r},complete:()=>{this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}sortByCount(){this.sort="total",this.authorService.authors$.subscribe({next:r=>{this.authors=r.sort((n,t)=>n.getCount()>t.getCount()?-1:n.getCount(){this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}isSortByText(){return this.sort==="text"}isSortByTotal(){return this.sort==="total"}setPaginatedList(r){this.paginatedAuthors=r}};e.\u0275fac=function(n){return new(n||e)(u(I),u(S),u(k))},e.\u0275cmp=f({type:e,selectors:[["app-list-authors"]],standalone:!0,features:[C([]),v,_],decls:14,vars:15,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["title","Trier par nom",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full","mr-2",3,"ngClass","disabled","click"],["title","Trier par total de citations",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full",3,"ngClass","disabled","click"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"p-1"],[3,"routerLink"],["class","p-1"]],template:function(n,t){n&1&&(s(0,"div",0)(1,"h1",1),l(2),a(),s(3,"button",2),m("click",function(){return t.sortByAlpha()}),l(4," Trier par nom "),a(),s(5,"button",3),m("click",function(){return t.sortByCount()}),l(6," Trier par total "),a(),s(7,"ul",4),y(8,D,5,3,"li",11,$),a()(),s(10,"div",5)(11,"div",6)(12,"section",7)(13,"app-pager",8),m("paginatedList$",function(E){return t.setPaginatedList(E)}),a()()()()),n&2&&(o(2),d(" ",t.authors.length," Auteurs. "),o(1),p("ngClass",h(7,F,t.isSortByText()===!0,t.isSortByText()===!1))("disabled",t.isSortByText()),o(2),p("ngClass",h(10,F,t.isSortByTotal()===!0,t.isSortByTotal()===!1))("disabled",t.isSortByTotal()),o(3),x(t.paginatedAuthors),o(5),p("list",t.authors)("options",T(13,N,t.getItemsPerPage())))},dependencies:[P,A,L],encapsulation:2});let i=e;return i})();export{H as ListAuthorsComponent}; diff --git a/docs/citations/server/chunk-5SGKMCZO.mjs b/docs/citations/server/chunk-5SGKMCZO.mjs new file mode 100644 index 0000000..cf94d91 --- /dev/null +++ b/docs/citations/server/chunk-5SGKMCZO.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as w}from"./chunk-AGIMZMOE.mjs";import{a as A}from"./chunk-DA4QLC2G.mjs";import{a as B}from"./chunk-SNHYI5K2.mjs";import"./chunk-IWPG2T2Y.mjs";import{Ia as h,Ka as u,La as x,Lb as S,N as c,Pa as s,Q as p,Qa as a,Ra as b,S as d,Xa as C,Xb as T,Z as o,Za as v,_ as f,bb as g,eb as y,f as m,fb as k,ya as r}from"./chunk-JHH2AAIU.mjs";import"./chunk-KRLCULJA.mjs";function M(e,t){e&1&&(s(0,"h1",0),C(1),a(),s(2,"p",1),b(3,"app-link-cites-by-author",2),a()),e&2&&(r(1),v(" ",t.getCite()," "),r(2),h("author",t.getAuthor()))}var P=(()=>{let t=class t{constructor(){this.cite=new m({}),this.cite$=this.cite.asObservable().pipe(c(1)),this.citesService=o(B),this.click=o(w),this.title=o(T),this.title.setTitle("Citations - Citation al\xE9atoire"),this.click.refresh$.pipe(d(i=>console.info("refresh subscribe",i)),p(()=>this.citesService.getRandomCite())).subscribe({next:i=>this.cite.next(i)})}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=f({type:t,selectors:[["app-random"]],standalone:!0,features:[g],decls:2,vars:3,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(n,F){if(n&1&&(u(0,M,4,2),y(1,"async")),n&2){let l;x(0,(l=k(1,1,F.cite$))?0:-1,l)}},dependencies:[S,A],encapsulation:2});let e=t;return e})();export{P as RandomComponent}; diff --git a/docs/citations/server/chunk-5LNREIAP.mjs b/docs/citations/server/chunk-AGIMZMOE.mjs similarity index 82% rename from docs/citations/server/chunk-5LNREIAP.mjs rename to docs/citations/server/chunk-AGIMZMOE.mjs index 69228f8..b55b532 100644 --- a/docs/citations/server/chunk-5LNREIAP.mjs +++ b/docs/citations/server/chunk-AGIMZMOE.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{A as s,U as i,f as r}from"./chunk-XUIXZ2OS.mjs";var n=(()=>{let e=class e{constructor(){this.refresh=new r(!1),this.refresh$=this.refresh.asObservable().pipe(s(250))}click(){this.refresh.next(!0)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=i({token:e,factory:e.\u0275fac});let t=e;return t})();export{n as a}; +import{A as s,U as i,f as r}from"./chunk-JHH2AAIU.mjs";var n=(()=>{let e=class e{constructor(){this.refresh=new r(!1),this.refresh$=this.refresh.asObservable().pipe(s(250))}click(){this.refresh.next(!0)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=i({token:e,factory:e.\u0275fac});let t=e;return t})();export{n as a}; diff --git a/docs/citations/server/chunk-BYG5FYZ4.mjs b/docs/citations/server/chunk-BYG5FYZ4.mjs deleted file mode 100644 index f12079c..0000000 --- a/docs/citations/server/chunk-BYG5FYZ4.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as S,b as D}from"./chunk-VFJ7BWVT.mjs";import{b as F}from"./chunk-B6CYFCU2.mjs";import{a as B}from"./chunk-BAQQOPV7.mjs";import"./chunk-QKRI2DJ5.mjs";import{$a as b,Ea as f,Ia as u,Ka as d,Kb as L,La as _,Lb as A,Na as x,Oa as P,Pa as a,Qa as l,Ua as v,Va as c,Xa as p,Yb as T,Za as h,_ as C,_a as g,cb as y,db as I,ya as r,za as m}from"./chunk-XUIXZ2OS.mjs";import"./chunk-KRLCULJA.mjs";var $=(t,e)=>e.getId();function j(t,e){if(t&1&&p(0),t&2){let i=c(2);h('Aucune citation de "',i.author,'"\xA0')}}function w(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citation de "',i.author,'":\xA0')}}function M(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citations de "',i.author,'":\xA0')}}function k(t,e){if(t&1&&(a(0,"h1",7),d(1,j,1,1,"ng-template",8)(2,w,1,2,"ng-template",9)(3,M,1,2,"ng-template",10),l()),t&2){let i=c();u("ngPlural",i.cites.length)}}function N(t,e){if(t&1&&(a(0,"li",11)(1,"cite"),p(2),l()()),t&2){let i=e.$implicit;r(2),h("\u201D",i.getCite(),"\u201D")}}var z=t=>({itemPerPage:t}),U=(()=>{let e=class e extends S{constructor(n,s,o){super(),this.citeService=n,this.title=s,this.device=o,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,o.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.searchByAuthor(this.author).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach((s,o)=>{this.cites.push(s)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(s){return new(s||e)(m(B),m(T),m(F))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[b([]),f,y],decls:9,vars:5,consts:[[1,"container","mb-36"],["class","text-3xl font-bold text-stone-900 mb-2",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-3xl","font-bold","text-stone-900","mb-2",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],["class","p-1"]],template:function(s,o){s&1&&(a(0,"div",0),d(1,k,4,1,"h1",1),a(2,"ul",2),x(3,N,3,1,"li",12,$),l()(),a(5,"div",3)(6,"div",4)(7,"section",5)(8,"app-pager",6),v("paginatedList$",function(E){return o.setPaginatedList(E)}),l()()()()),s&2&&(r(1),_(1,o.author?1:-1),r(2),P(o.paginatedCites),r(5),u("list",o.cites)("options",I(3,z,o.getItemsPerPage())))},dependencies:[L,A,D],encapsulation:2});let t=e;return t})();export{U as ListCitesByAuthorsComponent}; diff --git a/docs/citations/server/chunk-WESW6LFQ.mjs b/docs/citations/server/chunk-DA4QLC2G.mjs similarity index 72% rename from docs/citations/server/chunk-WESW6LFQ.mjs rename to docs/citations/server/chunk-DA4QLC2G.mjs index 97766be..fc9b6c6 100644 --- a/docs/citations/server/chunk-WESW6LFQ.mjs +++ b/docs/citations/server/chunk-DA4QLC2G.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{e as m}from"./chunk-QKRI2DJ5.mjs";import{Ha as r,Pa as s,Qa as u,Wa as p,Xa as l,Za as d,_ as o,cb as c,ya as a}from"./chunk-XUIXZ2OS.mjs";var y=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["app-link-cites-by-author"]],inputs:{author:"author"},standalone:!0,features:[c],decls:2,vars:4,consts:[[3,"routerLink","title"]],template:function(e,i){e&1&&(s(0,"a",0),l(1),u()),e&2&&(p("routerLink","/authors/",i.author,"")("title","Liste des citations de ",i.author,""),r("aria-label","Liste des citations de ",i.author,""),a(1),d(" ",i.author," "))},dependencies:[m],encapsulation:2});let n=t;return n})();export{y as a}; +import{e as m}from"./chunk-IWPG2T2Y.mjs";import{Ha as r,Pa as s,Qa as u,Wa as p,Xa as l,Za as d,_ as o,bb as c,ya as a}from"./chunk-JHH2AAIU.mjs";var y=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o({type:t,selectors:[["app-link-cites-by-author"]],inputs:{author:"author"},standalone:!0,features:[c],decls:2,vars:4,consts:[[3,"routerLink","title"]],template:function(e,i){e&1&&(s(0,"a",0),l(1),u()),e&2&&(p("routerLink","/authors/",i.author,"")("title","Liste des citations de ",i.author,""),r("aria-label","Liste des citations de ",i.author,""),a(1),d(" ",i.author," "))},dependencies:[m],encapsulation:2});let n=t;return n})();export{y as a}; diff --git a/docs/citations/server/chunk-QKRI2DJ5.mjs b/docs/citations/server/chunk-IWPG2T2Y.mjs similarity index 99% rename from docs/citations/server/chunk-QKRI2DJ5.mjs rename to docs/citations/server/chunk-IWPG2T2Y.mjs index e719ec5..5821576 100644 --- a/docs/citations/server/chunk-QKRI2DJ5.mjs +++ b/docs/citations/server/chunk-IWPG2T2Y.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{$ as Dt,Aa as xt,Ab as Un,B as ie,Ba as Z,C as G,Ca as ut,D as en,Da as gn,Eb as Pn,Fa as vn,G as Mt,Ga as mn,Gb as he,H as L,Ib as Pt,J as se,Ja as yn,K as nn,M as rn,P as sn,Q as E,R as on,Ra as Cn,S as w,T as R,Ta as wn,U as S,Ua as Rn,V as an,W as oe,X as x,Y as un,Yb as $n,Z as p,_ as cn,a as Ke,aa as Et,ab as Sn,b as Ye,bb as bn,c as te,cb as In,d as ee,e as j,f as T,fa as ae,g as _,ga as ln,h as A,hb as Tn,i as d,ia as hn,j as ot,ja as Ot,jb as An,k as Xe,ka as dn,kb as Mn,l as Je,la as fn,m as y,mb as Dn,n as At,nb as En,o as M,ob as le,p as ne,r as tn,ra as pn,s as re,sb as On,ua as ue,ub as xn,w as H,wa as ce,x as Q,z as at,za as O,zb as Ut}from"./chunk-XUIXZ2OS.mjs";import{a as h,b}from"./chunk-KRLCULJA.mjs";var f="primary",bt=Symbol("RouteTitle"),ve=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i[0]:i}return null}getAll(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function tt(e){return new ve(e)}function wr(e,t,i){let n=i.path.split("/");if(n.length>e.length||i.pathMatch==="full"&&(t.hasChildren()||n.lengthn[s]===r)}else return e===t}function Bn(e){return e.length>0?e[e.length-1]:null}function z(e){return Xe(e)?e:wn(e)?A(Promise.resolve(e)):d(e)}var Sr={exact:Hn,subset:Qn},Wn={exact:br,subset:Ir,ignored:()=>!0};function jn(e,t,i){return Sr[i.paths](e.root,t.root,i.matrixParams)&&Wn[i.queryParams](e.queryParams,t.queryParams)&&!(i.fragment==="exact"&&e.fragment!==t.fragment)}function br(e,t){return U(e,t)}function Hn(e,t,i){if(!V(e.segments,t.segments)||!Lt(e.segments,t.segments,i)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!Hn(e.children[n],t.children[n],i))return!1;return!0}function Ir(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>Vn(e[i],t[i]))}function Qn(e,t,i){return Gn(e,t,t.segments,i)}function Gn(e,t,i,n){if(e.segments.length>i.length){let r=e.segments.slice(0,i.length);return!(!V(r,i)||t.hasChildren()||!Lt(r,i,n))}else if(e.segments.length===i.length){if(!V(e.segments,i)||!Lt(e.segments,i,n))return!1;for(let r in t.children)if(!e.children[r]||!Qn(e.children[r],t.children[r],n))return!1;return!0}else{let r=i.slice(0,e.segments.length),s=i.slice(e.segments.length);return!V(e.segments,r)||!Lt(e.segments,r,n)||!e.children[f]?!1:Gn(e.children[f],t,s,n)}}function Lt(e,t,i){return t.every((n,r)=>Wn[i](e[r].parameters,n.parameters))}var N=class{constructor(t=new m([],{}),i={},n=null){this.root=t,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=tt(this.queryParams)),this._queryParamMap}toString(){return Mr.serialize(this)}},m=class{constructor(t,i){this.segments=t,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nt(this)}},q=class{constructor(t,i){this.path=t,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=tt(this.parameters)),this._parameterMap}toString(){return Kn(this)}};function Tr(e,t){return V(e,t)&&e.every((i,n)=>U(i.parameters,t[n].parameters))}function V(e,t){return e.length!==t.length?!1:e.every((i,n)=>i.path===t[n].path)}function Ar(e,t){let i=[];return Object.entries(e.children).forEach(([n,r])=>{n===f&&(i=i.concat(t(r,n)))}),Object.entries(e.children).forEach(([n,r])=>{n!==f&&(i=i.concat(t(r,n)))}),i}var qe=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>new zt)(),providedIn:"root"});let e=t;return e})(),zt=class{parse(t){let i=new Ce(t);return new N(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(t){let i=`/${ct(t.root,!0)}`,n=Or(t.queryParams),r=typeof t.fragment=="string"?`#${Dr(t.fragment)}`:"";return`${i}${n}${r}`}},Mr=new zt;function Nt(e){return e.segments.map(t=>Kn(t)).join("/")}function ct(e,t){if(!e.hasChildren())return Nt(e);if(t){let i=e.children[f]?ct(e.children[f],!1):"",n=[];return Object.entries(e.children).forEach(([r,s])=>{r!==f&&n.push(`${r}:${ct(s,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=Ar(e,(n,r)=>r===f?[ct(e.children[f],!1)]:[`${r}:${ct(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[f]!=null?`${Nt(e)}/${i[0]}`:`${Nt(e)}/(${i.join("//")})`}}function Zn(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $t(e){return Zn(e).replace(/%3B/gi,";")}function Dr(e){return encodeURI(e)}function ye(e){return Zn(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kt(e){return decodeURIComponent(e)}function Ln(e){return kt(e.replace(/\+/g,"%20"))}function Kn(e){return`${ye(e.path)}${Er(e.parameters)}`}function Er(e){return Object.keys(e).map(t=>`;${ye(t)}=${ye(e[t])}`).join("")}function Or(e){let t=Object.keys(e).map(i=>{let n=e[i];return Array.isArray(n)?n.map(r=>`${$t(i)}=${$t(r)}`).join("&"):`${$t(i)}=${$t(n)}`}).filter(i=>!!i);return t.length?`?${t.join("&")}`:""}var xr=/^[^\/()?;#]+/;function de(e){let t=e.match(xr);return t?t[0]:""}var Ur=/^[^\/()?;=#]+/;function Pr(e){let t=e.match(Ur);return t?t[0]:""}var $r=/^[^=?&#]+/;function jr(e){let t=e.match($r);return t?t[0]:""}var Lr=/^[^&#]+/;function Nr(e){let t=e.match(Lr);return t?t[0]:""}var Ce=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(i).length>0)&&(n[f]=new m(t,i)),n}parseSegment(){let t=de(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new R(4009,!1);return this.capture(t),new q(kt(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let i=Pr(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=de(this.remaining);r&&(n=r,this.capture(n))}t[kt(i)]=kt(n)}parseQueryParam(t){let i=jr(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let o=Nr(this.remaining);o&&(n=o,this.capture(n))}let r=Ln(i),s=Ln(n);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(s)}else t[r]=s}parseParens(t){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=de(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new R(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=f);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[f]:new m([],o),this.consumeOptional("//")}return i}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new R(4011,!1)}};function Yn(e){return e.segments.length>0?new m([],{[f]:e}):e}function Xn(e){let t={};for(let n of Object.keys(e.children)){let r=e.children[n],s=Xn(r);if(n===f&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))t[o]=a;else(s.segments.length>0||s.hasChildren())&&(t[n]=s)}let i=new m(e.segments,t);return kr(i)}function kr(e){if(e.numberOfChildren===1&&e.children[f]){let t=e.children[f];return new m(e.segments.concat(t.segments),t.children)}return e}function et(e){return e instanceof N}function zr(e,t,i=null,n=null){let r=Jn(e);return tr(r,t,i,n)}function Jn(e){let t;function i(s){let o={};for(let c of s.children){let u=i(c);o[c.outlet]=u}let a=new m(s.url,o);return s===e&&(t=a),a}let n=i(e.root),r=Yn(n);return t??r}function tr(e,t,i,n){let r=e;for(;r.parent;)r=r.parent;if(t.length===0)return fe(r,r,r,i,n);let s=Fr(t);if(s.toRoot())return fe(r,r,new m([],{}),i,n);let o=_r(s,r,e),a=o.processChildren?dt(o.segmentGroup,o.index,s.commands):nr(o.segmentGroup,o.index,s.commands);return fe(r,o.segmentGroup,a,i,n)}function Ft(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function gt(e){return typeof e=="object"&&e!=null&&e.outlets}function fe(e,t,i,n,r){let s={};n&&Object.entries(n).forEach(([c,u])=>{s[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;e===t?o=i:o=er(e,t,i);let a=Yn(Xn(o));return new N(a,s,r)}function er(e,t,i){let n={};return Object.entries(e.children).forEach(([r,s])=>{s===t?n[r]=i:n[r]=er(s,t,i)}),new m(e.segments,n)}var _t=class{constructor(t,i,n){if(this.isAbsolute=t,this.numberOfDoubleDots=i,this.commands=n,t&&n.length>0&&Ft(n[0]))throw new R(4003,!1);let r=n.find(gt);if(r&&r!==Bn(n))throw new R(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Fr(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new _t(!0,0,e);let t=0,i=!1,n=e.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?i=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new _t(i,t,n)}var X=class{constructor(t,i,n){this.segmentGroup=t,this.processChildren=i,this.index=n}};function _r(e,t,i){if(e.isAbsolute)return new X(t,!0,0);if(!i)return new X(t,!1,NaN);if(i.parent===null)return new X(i,!0,0);let n=Ft(e.commands[0])?0:1,r=i.segments.length-1+n;return qr(i,r,e.numberOfDoubleDots)}function qr(e,t,i){let n=e,r=t,s=i;for(;s>r;){if(s-=r,n=n.parent,!n)throw new R(4005,!1);r=n.segments.length}return new X(n,!1,r-s)}function Vr(e){return gt(e[0])?e[0].outlets:{[f]:e}}function nr(e,t,i){if(e||(e=new m([],{})),e.segments.length===0&&e.hasChildren())return dt(e,t,i);let n=Br(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndexs!==f)&&e.children[f]&&e.numberOfChildren===1&&e.children[f].segments.length===0){let s=dt(e.children[f],t,i);return new m(e.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=nr(e.children[s],t,o))}),Object.entries(e.children).forEach(([s,o])=>{n[s]===void 0&&(r[s]=o)}),new m(e.segments,r)}}function Br(e,t,i){let n=0,r=t,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let o=e.segments[r],a=i[n];if(gt(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!kn(c,u,o))return s;n+=2}else{if(!kn(c,{},o))return s;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function we(e,t,i){let n=e.segments.slice(0,t),r=0;for(;r{typeof n=="string"&&(n=[n]),n!==null&&(t[i]=we(new m([],{}),0,n))}),t}function Nn(e){let t={};return Object.entries(e).forEach(([i,n])=>t[i]=`${n}`),t}function kn(e,t,i){return e==i.path&&U(t,i.parameters)}var ft="imperative",D=class{constructor(t,i){this.id=t,this.url=i}},vt=class extends D{constructor(t,i,n="imperative",r=null){super(t,i),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},$=class extends D{constructor(t,i,n){super(t,i),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},k=class extends D{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},B=class extends D{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=16}},mt=class extends D{constructor(t,i,n,r){super(t,i),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qt=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Re=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Se=class extends D{constructor(t,i,n,r,s){super(t,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},be=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ie=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Te=class{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ae=class{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Me=class{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},De=class{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ee=class{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Oe=class{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var yt=class{},Ct=class{constructor(t){this.url=t}};var xe=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Gt,this.attachRef=null}},Gt=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let s=this.getOrCreateContext(n);s.outlet=r,this.contexts.set(n,s)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new xe,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Vt=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let i=this.pathFromRoot(t);return i.length>1?i[i.length-2]:null}children(t){let i=Ue(t,this._root);return i?i.children.map(n=>n.value):[]}firstChild(t){let i=Ue(t,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(t){let i=Pe(t,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return Pe(t,this._root).map(i=>i.value)}};function Ue(e,t){if(e===t.value)return t;for(let i of t.children){let n=Ue(e,i);if(n)return n}return null}function Pe(e,t){if(e===t.value)return[t];for(let i of t.children){let n=Pe(e,i);if(n.length)return n.unshift(t),n}return[]}var I=class{constructor(t,i){this.value=t,this.children=i}toString(){return`TreeNode(${this.value})`}};function Y(e){let t={};return e&&e.children.forEach(i=>t[i.value.outlet]=i),t}var Bt=class extends Vt{constructor(t,i){super(t),this.snapshot=i,Be(this,t)}toString(){return this.snapshot.toString()}};function rr(e,t){let i=Hr(e,t),n=new T([new q("",{})]),r=new T({}),s=new T({}),o=new T({}),a=new T(""),c=new W(n,r,o,a,s,f,t,i.root);return c.snapshot=i.root,new Bt(new I(c,[]),i)}function Hr(e,t){let i={},n={},r={},s="",o=new wt([],i,r,s,n,f,t,null,{});return new Wt("",new I(o,[]))}var W=class{constructor(t,i,n,r,s,o,a,c){this.urlSubject=t,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(y(u=>u[bt]))??d(void 0),this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(y(t=>tt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(y(t=>tt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ve(e,t,i="emptyOnly"){let n,{routeConfig:r}=e;return t!==null&&(i==="always"||r?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:h(h({},t.params),e.params),data:h(h({},t.data),e.data),resolve:h(h(h(h({},e.data),t.data),r?.data),e._resolvedData)}:n={params:e.params,data:e.data,resolve:h(h({},e.data),e._resolvedData??{})},r&&sr(r)&&(n.resolve[bt]=r.title),n}var wt=class{get title(){return this.data?.[bt]}constructor(t,i,n,r,s,o,a,c,u){this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=tt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=tt(this.queryParams)),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${i}')`}},Wt=class extends Vt{constructor(t,i){super(i),this.url=t,Be(this,i)}toString(){return ir(this._root)}};function Be(e,t){t.value._routerState=e,t.children.forEach(i=>Be(e,i))}function ir(e){let t=e.children.length>0?` { ${e.children.map(ir).join(", ")} } `:"";return`${e.value}${t}`}function pe(e){if(e.snapshot){let t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,U(t.queryParams,i.queryParams)||e.queryParamsSubject.next(i.queryParams),t.fragment!==i.fragment&&e.fragmentSubject.next(i.fragment),U(t.params,i.params)||e.paramsSubject.next(i.params),Rr(t.url,i.url)||e.urlSubject.next(i.url),U(t.data,i.data)||e.dataSubject.next(i.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function $e(e,t){let i=U(e.params,t.params)&&Tr(e.url,t.url),n=!e.parent!=!t.parent;return i&&!n&&(!e.parent||$e(e.parent,t.parent))}function sr(e){return typeof e.title=="string"||e.title===null}var Qr=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=f,this.activateEvents=new Z,this.deactivateEvents=new Z,this.attachEvents=new Z,this.detachEvents=new Z,this.parentContexts=p(Gt),this.location=p(yn),this.changeDetector=p(xt),this.environmentInjector=p(Ot),this.inputBinder=p(Zt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:s}=n.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new R(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new R(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new R(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new R(4013,!1);this._activatedRoute=n;let s=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new je(n,c,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=Dt({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Et]});let e=t;return e})(),je=class{constructor(t,i,n){this.route=t,this.childContexts=i,this.parent=n}get(t,i){return t===W?this.route:t===Gt?this.childContexts:this.parent.get(t,i)}},Zt=new x(""),zn=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,s=At([r.queryParams,r.params,r.data]).pipe(E(([o,a,c],u)=>(c=h(h(h({},o),a),c),u===0?d(c):Promise.resolve(c)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=Un(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,o[c])});this.outletDataSubscriptions.set(n,s)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Gr(e,t,i){let n=Rt(e,t._root,i?i._root:void 0);return new Bt(n,t)}function Rt(e,t,i){if(i&&e.shouldReuseRoute(t.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=t.value;let r=Zr(e,t,i);return new I(n,r)}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Rt(e,a)),o}}let n=Kr(t.value),r=t.children.map(s=>Rt(e,s));return new I(n,r)}}function Zr(e,t,i){return t.children.map(n=>{for(let r of i.children)if(e.shouldReuseRoute(n.value,r.value.snapshot))return Rt(e,n,r);return Rt(e,n)})}function Kr(e){return new W(new T(e.url),new T(e.params),new T(e.queryParams),new T(e.fragment),new T(e.data),e.outlet,e.component,e)}var or="ngNavigationCancelingError";function ar(e,t){let{redirectTo:i,navigationBehaviorOptions:n}=et(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=ur(!1,0,t);return r.url=i,r.navigationBehaviorOptions=n,r}function ur(e,t,i){let n=new Error("NavigationCancelingError: "+(e||""));return n[or]=!0,n.cancellationCode=t,i&&(n.url=i),n}function Yr(e){return cr(e)&&et(e.url)}function cr(e){return e&&e[or]}var Xr=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=cn({type:t,selectors:[["ng-component"]],standalone:!0,features:[In],decls:1,vars:0,template:function(r,s){r&1&&Cn(0,"router-outlet")},dependencies:[Qr],encapsulation:2});let e=t;return e})();function Jr(e,t){return e.providers&&!e._injector&&(e._injector=bn(e.providers,t,`Route: ${e.path}`)),e._injector??t}function We(e){let t=e.children&&e.children.map(We),i=t?b(h({},e),{children:t}):h({},e);return!i.component&&!i.loadComponent&&(t||i.loadChildren)&&i.outlet&&i.outlet!==f&&(i.component=Xr),i}function P(e){return e.outlet||f}function ti(e,t){let i=e.filter(n=>P(n)===t);return i.push(...e.filter(n=>P(n)!==t)),i}function It(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let i=t.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var ei=(e,t,i,n)=>y(r=>(new Le(t,r.targetRouterState,r.currentRouterState,i,n).activate(e),r)),Le=class{constructor(t,i,n,r,s){this.routeReuseStrategy=t,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=s}activate(t){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,t),pe(this.futureState.root),this.activateChildRoutes(i,n,t)}deactivateChildRoutes(t,i,n){let r=Y(i);t.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],n),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(r===s)if(r.component){let o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,i,o.children)}else this.deactivateChildRoutes(t,i,n);else s&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(t,i){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,i):this.deactivateRouteAndOutlet(t,i)}detachAndStoreRouteSubtree(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=Y(t);for(let o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=Y(t);for(let o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,i,n){let r=Y(i);t.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],n),this.forwardEvent(new Oe(s.value.snapshot))}),t.children.length&&this.forwardEvent(new De(t.value.snapshot))}activateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(pe(r),r===s)if(r.component){let o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,i,o.children)}else this.activateChildRoutes(t,i,n);else if(r.component){let o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),pe(a.route.value),this.activateChildRoutes(t,null,o.children)}else{let a=It(r.snapshot);o.attachRef=null,o.route=r,o.injector=a,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}},Ht=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},J=class{constructor(t,i){this.component=t,this.route=i}};function ni(e,t,i){let n=e._root,r=t?t._root:null;return lt(n,r,i,[n.value])}function ri(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function rt(e,t){let i=Symbol(),n=t.get(e,i);return n===i?typeof e=="function"&&!an(e)?e:t.get(e):n}function lt(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=Y(t);return e.children.forEach(o=>{ii(o,s[o.value.outlet],i,n.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>pt(a,i.getContext(o),r)),r}function ii(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=t?t.value:null,a=i?i.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let c=si(o,s,s.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Ht(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?lt(e,t,a?a.children:null,n,r):lt(e,t,i,n,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new J(a.outlet.component,o))}else o&&pt(t,a,r),r.canActivateChecks.push(new Ht(n)),s.component?lt(e,null,a?a.children:null,n,r):lt(e,null,i,n,r);return r}function si(e,t,i){if(typeof i=="function")return i(e,t);switch(i){case"pathParamsChange":return!V(e.url,t.url);case"pathParamsOrQueryParamsChange":return!V(e.url,t.url)||!U(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$e(e,t)||!U(e.queryParams,t.queryParams);case"paramsChange":default:return!$e(e,t)}}function pt(e,t,i){let n=Y(e),r=e.value;Object.entries(n).forEach(([s,o])=>{r.component?t?pt(o,t.children.getContext(s),i):pt(o,null,i):pt(o,t,i)}),r.component?t&&t.outlet&&t.outlet.isActivated?i.canDeactivateChecks.push(new J(t.outlet.component,r)):i.canDeactivateChecks.push(new J(null,r)):i.canDeactivateChecks.push(new J(null,r))}function Tt(e){return typeof e=="function"}function oi(e){return typeof e=="boolean"}function ai(e){return e&&Tt(e.canLoad)}function ui(e){return e&&Tt(e.canActivate)}function ci(e){return e&&Tt(e.canActivateChild)}function li(e){return e&&Tt(e.canDeactivate)}function hi(e){return e&&Tt(e.canMatch)}function lr(e){return e instanceof Je||e?.name==="EmptyError"}var jt=Symbol("INITIAL_VALUE");function nt(){return E(e=>At(e.map(t=>t.pipe(G(1),sn(jt)))).pipe(y(t=>{for(let i of t)if(i!==!0){if(i===jt)return jt;if(i===!1||i instanceof N)return i}return!0}),H(t=>t!==jt),G(1)))}function di(e,t){return M(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?d(b(h({},i),{guardsResult:!0})):fi(o,n,r,e).pipe(M(a=>a&&oi(a)?pi(n,s,e,t):d(a)),y(a=>b(h({},i),{guardsResult:a})))})}function fi(e,t,i,n){return A(e).pipe(M(r=>Ci(r.component,r.route,i,t,n)),L(r=>r!==!0,!0))}function pi(e,t,i,n){return A(t).pipe(at(r=>tn(vi(r.route.parent,n),gi(r.route,n),yi(e,r.path,i),mi(e,r.route,i))),L(r=>r!==!0,!0))}function gi(e,t){return e!==null&&t&&t(new Ee(e)),d(!0)}function vi(e,t){return e!==null&&t&&t(new Me(e)),d(!0)}function mi(e,t,i){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let r=n.map(s=>re(()=>{let o=It(t)??i,a=rt(s,o),c=ui(a)?a.canActivate(t,e):o.runInContext(()=>a(t,e));return z(c).pipe(L())}));return d(r).pipe(nt())}function yi(e,t,i){let n=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>ri(o)).filter(o=>o!==null).map(o=>re(()=>{let a=o.guards.map(c=>{let u=It(o.node)??i,l=rt(c,u),v=ci(l)?l.canActivateChild(n,e):u.runInContext(()=>l(n,e));return z(v).pipe(L())});return d(a).pipe(nt())}));return d(s).pipe(nt())}function Ci(e,t,i,n,r){let s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(a=>{let c=It(t)??r,u=rt(a,c),l=li(u)?u.canDeactivate(e,t,i,n):c.runInContext(()=>u(e,t,i,n));return z(l).pipe(L())});return d(o).pipe(nt())}function wi(e,t,i,n){let r=t.canLoad;if(r===void 0||r.length===0)return d(!0);let s=r.map(o=>{let a=rt(o,e),c=ai(a)?a.canLoad(t,i):e.runInContext(()=>a(t,i));return z(c)});return d(s).pipe(nt(),hr(n))}function hr(e){return Ye(w(t=>{if(et(t))throw ar(e,t)}),y(t=>t===!0))}function Ri(e,t,i,n){let r=t.canMatch;if(!r||r.length===0)return d(!0);let s=r.map(o=>{let a=rt(o,e),c=hi(a)?a.canMatch(t,i):e.runInContext(()=>a(t,i));return z(c)});return d(s).pipe(nt(),hr(n))}var St=class{constructor(t){this.segmentGroup=t||null}},Qt=class extends Error{constructor(t){super(),this.urlTree=t}};function K(e){return ot(new St(e))}function Si(e){return ot(new R(4e3,!1))}function bi(e){return ot(ur(!1,3))}var Ne=class{constructor(t,i){this.urlSerializer=t,this.urlTree=i}noMatchError(t){return new R(4002,!1)}lineralizeSegments(t,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return d(n);if(r.numberOfChildren>1||!r.children[f])return Si(t.redirectTo);r=r.children[f]}}applyRedirectCommands(t,i,n){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),t,n);if(i.startsWith("/"))throw new Qt(r);return r}applyRedirectCreateUrlTree(t,i,n,r){let s=this.createSegmentGroup(t,i.root,n,r);return new N(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(t,i){let n={};return Object.entries(t).forEach(([r,s])=>{if(typeof s=="string"&&s.startsWith(":")){let a=s.substring(1);n[r]=i[a]}else n[r]=s}),n}createSegmentGroup(t,i,n,r){let s=this.createSegments(t,i.segments,n,r),o={};return Object.entries(i.children).forEach(([a,c])=>{o[a]=this.createSegmentGroup(t,c,n,r)}),new m(s,o)}createSegments(t,i,n,r){return i.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,r):this.findOrReturn(s,n))}findPosParam(t,i,n){let r=n[i.path.substring(1)];if(!r)throw new R(4001,!1);return r}findOrReturn(t,i){let n=0;for(let r of i){if(r.path===t.path)return i.splice(n),r;n++}return t}},ke={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ii(e,t,i,n,r){let s=He(e,t,i);return s.matched?(n=Jr(t,n),Ri(n,t,i,r).pipe(y(o=>o===!0?s:h({},ke)))):d(s)}function He(e,t,i){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||i.length>0)?h({},ke):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(t.matcher||wr)(i,e,t);if(!r)return h({},ke);let s={};Object.entries(r.posParams??{}).forEach(([a,c])=>{s[a]=c.path});let o=r.consumed.length>0?h(h({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function Fn(e,t,i,n){return i.length>0&&Mi(e,i,n)?{segmentGroup:new m(t,Ai(n,new m(i,e.children))),slicedSegments:[]}:i.length===0&&Di(e,i,n)?{segmentGroup:new m(e.segments,Ti(e,t,i,n,e.children)),slicedSegments:i}:{segmentGroup:new m(e.segments,e.children),slicedSegments:i}}function Ti(e,t,i,n,r){let s={};for(let o of n)if(Kt(e,i,o)&&!r[P(o)]){let a=new m([],{});s[P(o)]=a}return h(h({},r),s)}function Ai(e,t){let i={};i[f]=t;for(let n of e)if(n.path===""&&P(n)!==f){let r=new m([],{});i[P(n)]=r}return i}function Mi(e,t,i){return i.some(n=>Kt(e,t,n)&&P(n)!==f)}function Di(e,t,i){return i.some(n=>Kt(e,t,n))}function Kt(e,t,i){return(e.hasChildren()||t.length>0)&&i.pathMatch==="full"?!1:i.path===""}function Ei(e,t,i,n){return P(e)!==n&&(n===f||!Kt(t,i,e))?!1:e.path==="**"?!0:He(t,e,i).matched}function Oi(e,t,i){return t.length===0&&!e.children[i]}var ze=class{};function xi(e,t,i,n,r,s,o="emptyOnly"){return new Fe(e,t,i,n,r,o,s).recognize()}var Ui=31,Fe=class{constructor(t,i,n,r,s,o,a){this.injector=t,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new Ne(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new R(4002,!1)}recognize(){let t=Fn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(y(i=>{let n=new wt([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,{},f,this.rootComponentType,null,{}),r=new I(n,i),s=new Wt("",r),o=zr(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,f).pipe(Q(n=>{if(n instanceof Qt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof St?this.noMatchError(n):n}))}inheritParamsAndData(t,i){let n=t.value,r=Ve(n,i,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(s=>this.inheritParamsAndData(s,n))}processSegmentGroup(t,i,n,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,i,n):this.processSegment(t,i,n,n.segments,r,!0).pipe(y(s=>s instanceof I?[s]:[]))}processChildren(t,i,n){let r=[];for(let s of Object.keys(n.children))s==="primary"?r.unshift(s):r.push(s);return A(r).pipe(at(s=>{let o=n.children[s],a=ti(i,s);return this.processSegmentGroup(t,a,o,s)}),rn((s,o)=>(s.push(...o),s)),ie(null),nn(),M(s=>{if(s===null)return K(n);let o=dr(s);return Pi(o),d(o)}))}processSegment(t,i,n,r,s,o){return A(i).pipe(at(a=>this.processSegmentAgainstRoute(a._injector??t,i,a,n,r,s,o).pipe(Q(c=>{if(c instanceof St)return d(null);throw c}))),L(a=>!!a),Q(a=>{if(lr(a))return Oi(n,r,s)?d(new ze):K(n);throw a}))}processSegmentAgainstRoute(t,i,n,r,s,o,a){return Ei(n,r,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,n,s,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,i,n,s,o):K(r):K(r)}expandSegmentAgainstRouteUsingRedirect(t,i,n,r,s,o){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=r.path==="**"?_n(s):He(i,r,s);if(!a)return K(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ui&&(this.allowRedirects=!1));let v=this.applyRedirects.applyRedirectCommands(c,r.redirectTo,u);return this.applyRedirects.lineralizeSegments(r,v).pipe(M(g=>this.processSegment(t,n,i,g.concat(l),o,!1)))}matchSegmentAgainstRoute(t,i,n,r,s){let o;return n.path==="**"?(o=d(_n(r)),i.children={}):o=Ii(i,n,r,t,this.urlSerializer),o.pipe(E(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,r).pipe(E(({routes:c})=>{let u=n._loadedInjector??t,{consumedSegments:l,remainingSegments:v,parameters:g}=a,C=new wt(l,g,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ji(n),P(n),n.component??n._loadedComponent??null,n,Li(n)),{segmentGroup:it,slicedSegments:st}=Fn(i,l,v,c);if(st.length===0&&it.hasChildren())return this.processChildren(u,c,it).pipe(y(F=>F===null?null:new I(C,F)));if(c.length===0&&st.length===0)return d(new I(C,[]));let Jt=P(n)===s;return this.processSegment(u,c,it,st,Jt?f:s,!0).pipe(y(F=>new I(C,F instanceof I?[F]:[])))}))):K(i)))}getChildConfig(t,i,n){return i.children?d({routes:i.children,injector:t}):i.loadChildren?i._loadedRoutes!==void 0?d({routes:i._loadedRoutes,injector:i._loadedInjector}):wi(t,i,n,this.urlSerializer).pipe(M(r=>r?this.configLoader.loadChildren(t,i).pipe(w(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):bi(i))):d({routes:[],injector:t})}};function Pi(e){e.sort((t,i)=>t.value.outlet===f?-1:i.value.outlet===f?1:t.value.outlet.localeCompare(i.value.outlet))}function $i(e){let t=e.value.routeConfig;return t&&t.path===""}function dr(e){let t=[],i=new Set;for(let n of e){if(!$i(n)){t.push(n);continue}let r=t.find(s=>n.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):t.push(n)}for(let n of i){let r=dr(n.children);t.push(new I(n.value,r))}return t.filter(n=>!i.has(n))}function ji(e){return e.data||{}}function Li(e){return e.resolve||{}}function _n(e){return{matched:!0,parameters:e.length>0?Bn(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Ni(e,t,i,n,r,s){return M(o=>xi(e,t,i,n,o.extractedUrl,r,s).pipe(y(({state:a,tree:c})=>b(h({},o),{targetSnapshot:a,urlAfterRedirects:c}))))}function ki(e,t){return M(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return d(i);let s=r.map(u=>u.route),o=new Set(s),a=fr(s[0].parent).slice(1),c=0;return A(a).pipe(at(u=>o.has(u)?zi(u,n,e,t):(u.data=Ve(u,u.parent,e).resolve,d(void 0))),w(()=>c++),se(1),M(u=>c===a.length?d(i):_))})}function fr(e){let t=e.children.map(i=>fr(i)).flat();return[e,...t]}function zi(e,t,i,n){let r=e.routeConfig,s=e._resolve;return r?.title!==void 0&&!sr(r)&&(s[bt]=r.title),Fi(s,e,t,n).pipe(y(o=>(e._resolvedData=o,e.data=Ve(e,e.parent,i).resolve,null)))}function Fi(e,t,i,n){let r=me(e);if(r.length===0)return d({});let s={};return A(r).pipe(M(o=>_i(e[o],t,i,n).pipe(L(),w(a=>{s[o]=a}))),se(1),en(s),Q(o=>lr(o)?_:ot(o)))}function _i(e,t,i,n){let r=It(t)??n,s=rt(e,r),o=s.resolve?s.resolve(t,i):r.runInContext(()=>s(t,i));return z(o)}function ge(e){return E(t=>{let i=e(t);return i?A(i).pipe(y(()=>t)):d(t)})}var pr=(()=>{let t=class t{buildTitle(n){let r,s=n.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===f);return r}getResolvedTitleForRoute(n){return n.data[bt]}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(qi))(),providedIn:"root"});let e=t;return e})(),qi=(()=>{let t=class t extends pr{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};t.\u0275fac=function(r){return new(r||t)(un($n))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Yt=new x("",{providedIn:"root",factory:()=>({})}),Qe=new x("ROUTES"),Vi=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(le)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return d(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=z(n.loadComponent()).pipe(y(gr),w(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Mt(()=>{this.componentLoaders.delete(n)})),s=new ee(r,()=>new j).pipe(te());return this.componentLoaders.set(n,s),s}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return d({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Bi(r,this.compiler,n,this.onLoadEndListener).pipe(Mt(()=>{this.childrenLoaders.delete(r)})),a=new ee(o,()=>new j).pipe(te());return this.childrenLoaders.set(r,a),a}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bi(e,t,i,n){return z(e.loadChildren()).pipe(y(gr),M(r=>r instanceof Sn||Array.isArray(r)?d(r):A(t.compileModuleAsync(r))),y(r=>{n&&n(e);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(Qe,[],{optional:!0,self:!0}).flat()),{routes:o.map(We),injector:s}}))}function Wi(e){return e&&typeof e=="object"&&"default"in e}function gr(e){return Wi(e)?e.default:e}var Ge=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(Hi))(),providedIn:"root"});let e=t;return e})(),Hi=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vr=new x(""),mr=new x("");function Qi(e,t,i){let n=e.get(mr),r=e.get(Pn);return e.get(ut).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let s,o=new Promise(u=>{s=u}),a=r.startViewTransition(()=>(s(),Gi(e))),{onViewTransitionCreated:c}=n;return c&&dn(e,()=>c({transition:a,from:t,to:i})),o})}function Gi(e){return new Promise(t=>{gn(t,{injector:e})})}var Zi=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new j,this.transitionAbortSubject=new j,this.configLoader=p(Vi),this.environmentInjector=p(Ot),this.urlSerializer=p(qe),this.rootContexts=p(Gt),this.location=p(Pt),this.inputBindingEnabled=p(Zt,{optional:!0})!==null,this.titleStrategy=p(pr),this.options=p(Yt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Ge),this.createViewTransition=p(vr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>d(void 0),this.rootComponentType=null;let n=s=>this.events.next(new Te(s)),r=s=>this.events.next(new Ae(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(b(h(h({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,s){return this.transitions=new T({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ft,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(H(o=>o.id!==0),y(o=>b(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),E(o=>{this.currentTransition=o;let a=!1,c=!1;return d(o).pipe(w(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?b(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),E(u=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&v!=="reload"){let g="";return this.events.next(new B(u.id,this.urlSerializer.serialize(u.rawUrl),g,0)),u.resolve(null),_}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return d(u).pipe(E(g=>{let C=this.transitions?.getValue();return this.events.next(new vt(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),C!==this.transitions?.getValue()?_:Promise.resolve(g)}),Ni(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),w(g=>{o.targetSnapshot=g.targetSnapshot,o.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=b(h({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let C=new qt(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(C)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:g,extractedUrl:C,source:it,restoredState:st,extras:Jt}=u,F=new vt(g,this.urlSerializer.serialize(C),it,st);this.events.next(F);let Cr=rr(C,this.rootComponentType).snapshot;return this.currentTransition=o=b(h({},u),{targetSnapshot:Cr,urlAfterRedirects:C,extras:b(h({},Jt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=C,d(o)}else{let g="";return this.events.next(new B(u.id,this.urlSerializer.serialize(u.extractedUrl),g,1)),u.resolve(null),_}}),w(u=>{let l=new Re(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),y(u=>(this.currentTransition=o=b(h({},u),{guards:ni(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),o)),di(this.environmentInjector,u=>this.events.next(u)),w(u=>{if(o.guardsResult=u.guardsResult,et(u.guardsResult))throw ar(this.urlSerializer,u.guardsResult);let l=new Se(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),H(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",3),!1)),ge(u=>{if(u.guards.canActivateChecks.length)return d(u).pipe(w(l=>{let v=new be(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}),E(l=>{let v=!1;return d(l).pipe(ki(this.paramsInheritanceStrategy,this.environmentInjector),w({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(l,"",2)}}))}),w(l=>{let v=new Ie(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}))}),ge(u=>{let l=v=>{let g=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(v.routeConfig).pipe(w(C=>{v.component=C}),y(()=>{})));for(let C of v.children)g.push(...l(C));return g};return At(l(u.targetSnapshot.root)).pipe(ie(),G(1))}),ge(()=>this.afterPreactivation()),E(()=>{let{currentSnapshot:u,targetSnapshot:l}=o,v=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return v?A(v).pipe(y(()=>o)):d(o)}),y(u=>{let l=Gr(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o=b(h({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),w(()=>{this.events.next(new yt)}),ei(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),G(1),w({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),on(this.transitionAbortSubject.pipe(w(u=>{throw u}))),Mt(()=>{if(!a&&!c){let u="";this.cancelNavigationTransition(o,u,1)}this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Q(u=>{if(c=!0,cr(u))this.events.next(new k(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),Yr(u)?this.events.next(new Ct(u.url)):o.resolve(!1);else{this.events.next(new mt(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0));try{o.resolve(n.errorHandler(u))}catch(l){o.reject(l)}}return _}))}))}cancelNavigationTransition(n,r,s){let o=new k(n.id,this.urlSerializer.serialize(n.extractedUrl),r,s);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ki(e){return e!==ft}var Yi=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(Xi))(),providedIn:"root"});let e=t;return e})(),_e=class{shouldDetach(t){return!1}store(t,i){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,i){return t.routeConfig===i.routeConfig}},Xi=(()=>{let t=class t extends _e{};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),yr=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(Ji))(),providedIn:"root"});let e=t;return e})(),Ji=(()=>{let t=class t extends yr{constructor(){super(...arguments),this.location=p(Pt),this.urlSerializer=p(qe),this.options=p(Yt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Ge),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new N,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=rr(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof vt)this.stateMemento=this.createStateMemento();else if(n instanceof B)this.rawUrlTree=r.initialUrl;else if(n instanceof qt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else n instanceof yt?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof k&&(n.code===3||n.code===2)?this.restoreHistory(r):n instanceof mt?this.restoreHistory(r,!0):n instanceof $&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let s=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=h(h({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ht=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ht||{});function ts(e,t){e.events.pipe(H(i=>i instanceof $||i instanceof k||i instanceof mt||i instanceof B),y(i=>i instanceof $||i instanceof B?ht.COMPLETE:(i instanceof k?i.code===0||i.code===1:!1)?ht.REDIRECTING:ht.FAILED),H(i=>i!==ht.REDIRECTING),G(1)).subscribe(()=>{t()})}function es(e){throw e}var ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Xt=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Dn),this.stateManager=p(yr),this.options=p(Yt,{optional:!0})||{},this.pendingTasks=p(En),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Zi),this.urlSerializer=p(qe),this.location=p(Pt),this.urlHandlingStrategy=p(Ge),this._events=new j,this.errorHandler=this.options.errorHandler||es,this.navigated=!1,this.routeReuseStrategy=p(Yi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Qe,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Zt,{optional:!0}),this.eventsSubscription=new Ke,this.isNgZoneEnabled=p(ut)instanceof ut&&ut.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof k&&r.code!==0&&r.code!==1)this.navigated=!0;else if(r instanceof $)this.navigated=!0;else if(r instanceof Ct){let a=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),c={skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Ki(s.source)};this.scheduleNavigation(a,ft,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}ss(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ft,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)}))}navigateToSyncWithBrowser(n,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let u=h({},s);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(We),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:c,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:a,v=null;switch(c){case"merge":v=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=o||null}v!==null&&(v=this.removeEmptyProps(v));let g;try{let C=s?s.snapshot:this.routerState.snapshot.root;g=Jn(C)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return tr(g,n,v,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let s=et(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,ft,null,r)}navigate(n,r={skipLocationChange:!1}){return is(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let s;if(r===!0?s=h({},ns):r===!1?s=h({},rs):s=r,et(n))return jn(this.currentUrlTree,n,s);let o=this.parseUrl(n);return jn(this.currentUrlTree,o,s)}removeEmptyProps(n){return Object.keys(n).reduce((r,s)=>{let o=n[s];return o!=null&&(r[s]=o),r},{})}scheduleNavigation(n,r,s,o,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((g,C)=>{c=g,u=C});let v=this.pendingTasks.add();return ts(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(g=>Promise.reject(g))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function is(e){for(let t=0;t{let t=class t{constructor(n,r,s,o,a,c){this.router=n,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new j,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof $&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,s,o,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||r||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:pn(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,n,r):s.removeAttribute(o,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(r){return new(r||t)(O(Xt),O(W),ln("tabindex"),O(ce),O(ue),O(he))},t.\u0275dir=Dt({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&Rn("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&mn("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ut],skipLocationChange:["skipLocationChange","skipLocationChange",Ut],replaceUrl:["replaceUrl","replaceUrl",Ut],routerLink:"routerLink"},standalone:!0,features:[vn,Et]});let e=t;return e})(),Ws=(()=>{let t=class t{get isActive(){return this._isActive}constructor(n,r,s,o,a){this.router=n,this.element=r,this.renderer=s,this.cdr=o,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Z,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof $&&this.update()})}ngAfterContentInit(){d(this.links.changes,d(null)).pipe(ne()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=A(n).pipe(ne()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(s=>!!s)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let r=os(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>s.urlTree?n.isActive(s.urlTree,r):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};t.\u0275fac=function(r){return new(r||t)(O(Xt),O(ue),O(ce),O(xt),O(qn,8))},t.\u0275dir=Dt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,s,o){if(r&1&&An(o,qn,5),r&2){let a;Tn(a=Mn())&&(s.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Et]});let e=t;return e})();function os(e){return!!e.paths}var as=new x("");function Hs(e,...t){return hn([{provide:Qe,multi:!0,useValue:e},[],{provide:W,useFactory:us,deps:[Xt]},{provide:On,multi:!0,useFactory:cs},t.map(i=>i.\u0275providers)])}function us(e){return e.routerState.root}function Ze(e,t){return{\u0275kind:e,\u0275providers:t}}function cs(){let e=p(fn);return t=>{let i=e.get(xn);if(t!==i.components[0])return;let n=e.get(Xt),r=e.get(ls);e.get(hs)===1&&n.initialNavigation(),e.get(ds,null,oe.Optional)?.setUpPreloading(),e.get(as,null,oe.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var ls=new x("",{factory:()=>new j}),hs=new x("",{providedIn:"root",factory:()=>1});var ds=new x("");function Qs(e){return Ze(5,[{provide:Yt,useValue:e}])}function Gs(){return Ze(8,[zn,{provide:Zt,useExisting:zn}])}function Zs(e){let t=[{provide:vr,useValue:Qi},{provide:mr,useValue:h({skipNextTransition:!!e?.skipInitialTransition},e)}];return Ze(9,t)}export{W as a,Qr as b,Bi as c,Xt as d,qn as e,Ws as f,Hs as g,Qs as h,Gs as i,Zs as j}; +import{$ as Dt,$a as Sn,Aa as xt,B as ie,Ba as Z,C as G,Ca as ut,D as en,Da as gn,Db as Pn,Fa as vn,Fb as he,G as Mt,Ga as mn,H as L,Hb as Pt,J as se,Ja as yn,K as nn,M as rn,P as sn,Q as E,R as on,Ra as Cn,S as w,T as R,Ta as wn,U as S,Ua as Rn,V as an,W as oe,X as x,Xb as $n,Y as un,Z as p,_ as cn,a as Ke,aa as Et,ab as bn,b as Ye,bb as In,c as te,d as ee,e as j,f as T,fa as ae,g as _,ga as ln,gb as Tn,h as A,i as d,ia as hn,ib as An,j as ot,ja as Ot,jb as Mn,k as Xe,ka as dn,l as Je,la as fn,lb as Dn,m as y,mb as En,n as At,nb as le,o as M,p as ne,r as tn,ra as pn,rb as On,s as re,tb as xn,ua as ue,w as H,wa as ce,x as Q,yb as Ut,z as at,za as O,zb as Un}from"./chunk-JHH2AAIU.mjs";import{a as h,b}from"./chunk-KRLCULJA.mjs";var f="primary",bt=Symbol("RouteTitle"),ve=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i[0]:i}return null}getAll(t){if(this.has(t)){let i=this.params[t];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function tt(e){return new ve(e)}function wr(e,t,i){let n=i.path.split("/");if(n.length>e.length||i.pathMatch==="full"&&(t.hasChildren()||n.lengthn[s]===r)}else return e===t}function Bn(e){return e.length>0?e[e.length-1]:null}function z(e){return Xe(e)?e:wn(e)?A(Promise.resolve(e)):d(e)}var Sr={exact:Hn,subset:Qn},Wn={exact:br,subset:Ir,ignored:()=>!0};function jn(e,t,i){return Sr[i.paths](e.root,t.root,i.matrixParams)&&Wn[i.queryParams](e.queryParams,t.queryParams)&&!(i.fragment==="exact"&&e.fragment!==t.fragment)}function br(e,t){return U(e,t)}function Hn(e,t,i){if(!V(e.segments,t.segments)||!Lt(e.segments,t.segments,i)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!Hn(e.children[n],t.children[n],i))return!1;return!0}function Ir(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>Vn(e[i],t[i]))}function Qn(e,t,i){return Gn(e,t,t.segments,i)}function Gn(e,t,i,n){if(e.segments.length>i.length){let r=e.segments.slice(0,i.length);return!(!V(r,i)||t.hasChildren()||!Lt(r,i,n))}else if(e.segments.length===i.length){if(!V(e.segments,i)||!Lt(e.segments,i,n))return!1;for(let r in t.children)if(!e.children[r]||!Qn(e.children[r],t.children[r],n))return!1;return!0}else{let r=i.slice(0,e.segments.length),s=i.slice(e.segments.length);return!V(e.segments,r)||!Lt(e.segments,r,n)||!e.children[f]?!1:Gn(e.children[f],t,s,n)}}function Lt(e,t,i){return t.every((n,r)=>Wn[i](e[r].parameters,n.parameters))}var N=class{constructor(t=new m([],{}),i={},n=null){this.root=t,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=tt(this.queryParams)),this._queryParamMap}toString(){return Mr.serialize(this)}},m=class{constructor(t,i){this.segments=t,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nt(this)}},q=class{constructor(t,i){this.path=t,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=tt(this.parameters)),this._parameterMap}toString(){return Kn(this)}};function Tr(e,t){return V(e,t)&&e.every((i,n)=>U(i.parameters,t[n].parameters))}function V(e,t){return e.length!==t.length?!1:e.every((i,n)=>i.path===t[n].path)}function Ar(e,t){let i=[];return Object.entries(e.children).forEach(([n,r])=>{n===f&&(i=i.concat(t(r,n)))}),Object.entries(e.children).forEach(([n,r])=>{n!==f&&(i=i.concat(t(r,n)))}),i}var qe=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>new zt)(),providedIn:"root"});let e=t;return e})(),zt=class{parse(t){let i=new Ce(t);return new N(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(t){let i=`/${ct(t.root,!0)}`,n=Or(t.queryParams),r=typeof t.fragment=="string"?`#${Dr(t.fragment)}`:"";return`${i}${n}${r}`}},Mr=new zt;function Nt(e){return e.segments.map(t=>Kn(t)).join("/")}function ct(e,t){if(!e.hasChildren())return Nt(e);if(t){let i=e.children[f]?ct(e.children[f],!1):"",n=[];return Object.entries(e.children).forEach(([r,s])=>{r!==f&&n.push(`${r}:${ct(s,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=Ar(e,(n,r)=>r===f?[ct(e.children[f],!1)]:[`${r}:${ct(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[f]!=null?`${Nt(e)}/${i[0]}`:`${Nt(e)}/(${i.join("//")})`}}function Zn(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $t(e){return Zn(e).replace(/%3B/gi,";")}function Dr(e){return encodeURI(e)}function ye(e){return Zn(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kt(e){return decodeURIComponent(e)}function Ln(e){return kt(e.replace(/\+/g,"%20"))}function Kn(e){return`${ye(e.path)}${Er(e.parameters)}`}function Er(e){return Object.keys(e).map(t=>`;${ye(t)}=${ye(e[t])}`).join("")}function Or(e){let t=Object.keys(e).map(i=>{let n=e[i];return Array.isArray(n)?n.map(r=>`${$t(i)}=${$t(r)}`).join("&"):`${$t(i)}=${$t(n)}`}).filter(i=>!!i);return t.length?`?${t.join("&")}`:""}var xr=/^[^\/()?;#]+/;function de(e){let t=e.match(xr);return t?t[0]:""}var Ur=/^[^\/()?;=#]+/;function Pr(e){let t=e.match(Ur);return t?t[0]:""}var $r=/^[^=?&#]+/;function jr(e){let t=e.match($r);return t?t[0]:""}var Lr=/^[^&#]+/;function Nr(e){let t=e.match(Lr);return t?t[0]:""}var Ce=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(i).length>0)&&(n[f]=new m(t,i)),n}parseSegment(){let t=de(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new R(4009,!1);return this.capture(t),new q(kt(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let i=Pr(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=de(this.remaining);r&&(n=r,this.capture(n))}t[kt(i)]=kt(n)}parseQueryParam(t){let i=jr(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let o=Nr(this.remaining);o&&(n=o,this.capture(n))}let r=Ln(i),s=Ln(n);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(s)}else t[r]=s}parseParens(t){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=de(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new R(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=f);let o=this.parseChildren();i[s]=Object.keys(o).length===1?o[f]:new m([],o),this.consumeOptional("//")}return i}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new R(4011,!1)}};function Yn(e){return e.segments.length>0?new m([],{[f]:e}):e}function Xn(e){let t={};for(let n of Object.keys(e.children)){let r=e.children[n],s=Xn(r);if(n===f&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))t[o]=a;else(s.segments.length>0||s.hasChildren())&&(t[n]=s)}let i=new m(e.segments,t);return kr(i)}function kr(e){if(e.numberOfChildren===1&&e.children[f]){let t=e.children[f];return new m(e.segments.concat(t.segments),t.children)}return e}function et(e){return e instanceof N}function zr(e,t,i=null,n=null){let r=Jn(e);return tr(r,t,i,n)}function Jn(e){let t;function i(s){let o={};for(let c of s.children){let u=i(c);o[c.outlet]=u}let a=new m(s.url,o);return s===e&&(t=a),a}let n=i(e.root),r=Yn(n);return t??r}function tr(e,t,i,n){let r=e;for(;r.parent;)r=r.parent;if(t.length===0)return fe(r,r,r,i,n);let s=Fr(t);if(s.toRoot())return fe(r,r,new m([],{}),i,n);let o=_r(s,r,e),a=o.processChildren?dt(o.segmentGroup,o.index,s.commands):nr(o.segmentGroup,o.index,s.commands);return fe(r,o.segmentGroup,a,i,n)}function Ft(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function gt(e){return typeof e=="object"&&e!=null&&e.outlets}function fe(e,t,i,n,r){let s={};n&&Object.entries(n).forEach(([c,u])=>{s[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;e===t?o=i:o=er(e,t,i);let a=Yn(Xn(o));return new N(a,s,r)}function er(e,t,i){let n={};return Object.entries(e.children).forEach(([r,s])=>{s===t?n[r]=i:n[r]=er(s,t,i)}),new m(e.segments,n)}var _t=class{constructor(t,i,n){if(this.isAbsolute=t,this.numberOfDoubleDots=i,this.commands=n,t&&n.length>0&&Ft(n[0]))throw new R(4003,!1);let r=n.find(gt);if(r&&r!==Bn(n))throw new R(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Fr(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new _t(!0,0,e);let t=0,i=!1,n=e.reduce((r,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:o===0?(s.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?i=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,s]},[]);return new _t(i,t,n)}var X=class{constructor(t,i,n){this.segmentGroup=t,this.processChildren=i,this.index=n}};function _r(e,t,i){if(e.isAbsolute)return new X(t,!0,0);if(!i)return new X(t,!1,NaN);if(i.parent===null)return new X(i,!0,0);let n=Ft(e.commands[0])?0:1,r=i.segments.length-1+n;return qr(i,r,e.numberOfDoubleDots)}function qr(e,t,i){let n=e,r=t,s=i;for(;s>r;){if(s-=r,n=n.parent,!n)throw new R(4005,!1);r=n.segments.length}return new X(n,!1,r-s)}function Vr(e){return gt(e[0])?e[0].outlets:{[f]:e}}function nr(e,t,i){if(e||(e=new m([],{})),e.segments.length===0&&e.hasChildren())return dt(e,t,i);let n=Br(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndexs!==f)&&e.children[f]&&e.numberOfChildren===1&&e.children[f].segments.length===0){let s=dt(e.children[f],t,i);return new m(e.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[s]=nr(e.children[s],t,o))}),Object.entries(e.children).forEach(([s,o])=>{n[s]===void 0&&(r[s]=o)}),new m(e.segments,r)}}function Br(e,t,i){let n=0,r=t,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let o=e.segments[r],a=i[n];if(gt(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!kn(c,u,o))return s;n+=2}else{if(!kn(c,{},o))return s;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function we(e,t,i){let n=e.segments.slice(0,t),r=0;for(;r{typeof n=="string"&&(n=[n]),n!==null&&(t[i]=we(new m([],{}),0,n))}),t}function Nn(e){let t={};return Object.entries(e).forEach(([i,n])=>t[i]=`${n}`),t}function kn(e,t,i){return e==i.path&&U(t,i.parameters)}var ft="imperative",D=class{constructor(t,i){this.id=t,this.url=i}},vt=class extends D{constructor(t,i,n="imperative",r=null){super(t,i),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},$=class extends D{constructor(t,i,n){super(t,i),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},k=class extends D{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},B=class extends D{constructor(t,i,n,r){super(t,i),this.reason=n,this.code=r,this.type=16}},mt=class extends D{constructor(t,i,n,r){super(t,i),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qt=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Re=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Se=class extends D{constructor(t,i,n,r,s){super(t,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},be=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ie=class extends D{constructor(t,i,n,r){super(t,i),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Te=class{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ae=class{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Me=class{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},De=class{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ee=class{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Oe=class{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var yt=class{},Ct=class{constructor(t){this.url=t}};var xe=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Gt,this.attachRef=null}},Gt=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let s=this.getOrCreateContext(n);s.outlet=r,this.contexts.set(n,s)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new xe,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Vt=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let i=this.pathFromRoot(t);return i.length>1?i[i.length-2]:null}children(t){let i=Ue(t,this._root);return i?i.children.map(n=>n.value):[]}firstChild(t){let i=Ue(t,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(t){let i=Pe(t,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return Pe(t,this._root).map(i=>i.value)}};function Ue(e,t){if(e===t.value)return t;for(let i of t.children){let n=Ue(e,i);if(n)return n}return null}function Pe(e,t){if(e===t.value)return[t];for(let i of t.children){let n=Pe(e,i);if(n.length)return n.unshift(t),n}return[]}var I=class{constructor(t,i){this.value=t,this.children=i}toString(){return`TreeNode(${this.value})`}};function Y(e){let t={};return e&&e.children.forEach(i=>t[i.value.outlet]=i),t}var Bt=class extends Vt{constructor(t,i){super(t),this.snapshot=i,Be(this,t)}toString(){return this.snapshot.toString()}};function rr(e,t){let i=Hr(e,t),n=new T([new q("",{})]),r=new T({}),s=new T({}),o=new T({}),a=new T(""),c=new W(n,r,o,a,s,f,t,i.root);return c.snapshot=i.root,new Bt(new I(c,[]),i)}function Hr(e,t){let i={},n={},r={},s="",o=new wt([],i,r,s,n,f,t,null,{});return new Wt("",new I(o,[]))}var W=class{constructor(t,i,n,r,s,o,a,c){this.urlSubject=t,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(y(u=>u[bt]))??d(void 0),this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(y(t=>tt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(y(t=>tt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ve(e,t,i="emptyOnly"){let n,{routeConfig:r}=e;return t!==null&&(i==="always"||r?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:h(h({},t.params),e.params),data:h(h({},t.data),e.data),resolve:h(h(h(h({},e.data),t.data),r?.data),e._resolvedData)}:n={params:e.params,data:e.data,resolve:h(h({},e.data),e._resolvedData??{})},r&&sr(r)&&(n.resolve[bt]=r.title),n}var wt=class{get title(){return this.data?.[bt]}constructor(t,i,n,r,s,o,a,c,u){this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=tt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=tt(this.queryParams)),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${i}')`}},Wt=class extends Vt{constructor(t,i){super(i),this.url=t,Be(this,i)}toString(){return ir(this._root)}};function Be(e,t){t.value._routerState=e,t.children.forEach(i=>Be(e,i))}function ir(e){let t=e.children.length>0?` { ${e.children.map(ir).join(", ")} } `:"";return`${e.value}${t}`}function pe(e){if(e.snapshot){let t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,U(t.queryParams,i.queryParams)||e.queryParamsSubject.next(i.queryParams),t.fragment!==i.fragment&&e.fragmentSubject.next(i.fragment),U(t.params,i.params)||e.paramsSubject.next(i.params),Rr(t.url,i.url)||e.urlSubject.next(i.url),U(t.data,i.data)||e.dataSubject.next(i.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function $e(e,t){let i=U(e.params,t.params)&&Tr(e.url,t.url),n=!e.parent!=!t.parent;return i&&!n&&(!e.parent||$e(e.parent,t.parent))}function sr(e){return typeof e.title=="string"||e.title===null}var Qr=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=f,this.activateEvents=new Z,this.deactivateEvents=new Z,this.attachEvents=new Z,this.detachEvents=new Z,this.parentContexts=p(Gt),this.location=p(yn),this.changeDetector=p(xt),this.environmentInjector=p(Ot),this.inputBinder=p(Zt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:s}=n.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new R(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new R(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new R(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new R(4013,!1);this._activatedRoute=n;let s=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new je(n,c,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=Dt({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Et]});let e=t;return e})(),je=class{constructor(t,i,n){this.route=t,this.childContexts=i,this.parent=n}get(t,i){return t===W?this.route:t===Gt?this.childContexts:this.parent.get(t,i)}},Zt=new x(""),zn=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,s=At([r.queryParams,r.params,r.data]).pipe(E(([o,a,c],u)=>(c=h(h(h({},o),a),c),u===0?d(c):Promise.resolve(c)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=Un(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,o[c])});this.outletDataSubscriptions.set(n,s)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac});let e=t;return e})();function Gr(e,t,i){let n=Rt(e,t._root,i?i._root:void 0);return new Bt(n,t)}function Rt(e,t,i){if(i&&e.shouldReuseRoute(t.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=t.value;let r=Zr(e,t,i);return new I(n,r)}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Rt(e,a)),o}}let n=Kr(t.value),r=t.children.map(s=>Rt(e,s));return new I(n,r)}}function Zr(e,t,i){return t.children.map(n=>{for(let r of i.children)if(e.shouldReuseRoute(n.value,r.value.snapshot))return Rt(e,n,r);return Rt(e,n)})}function Kr(e){return new W(new T(e.url),new T(e.params),new T(e.queryParams),new T(e.fragment),new T(e.data),e.outlet,e.component,e)}var or="ngNavigationCancelingError";function ar(e,t){let{redirectTo:i,navigationBehaviorOptions:n}=et(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=ur(!1,0,t);return r.url=i,r.navigationBehaviorOptions=n,r}function ur(e,t,i){let n=new Error("NavigationCancelingError: "+(e||""));return n[or]=!0,n.cancellationCode=t,i&&(n.url=i),n}function Yr(e){return cr(e)&&et(e.url)}function cr(e){return e&&e[or]}var Xr=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=cn({type:t,selectors:[["ng-component"]],standalone:!0,features:[In],decls:1,vars:0,template:function(r,s){r&1&&Cn(0,"router-outlet")},dependencies:[Qr],encapsulation:2});let e=t;return e})();function Jr(e,t){return e.providers&&!e._injector&&(e._injector=bn(e.providers,t,`Route: ${e.path}`)),e._injector??t}function We(e){let t=e.children&&e.children.map(We),i=t?b(h({},e),{children:t}):h({},e);return!i.component&&!i.loadComponent&&(t||i.loadChildren)&&i.outlet&&i.outlet!==f&&(i.component=Xr),i}function P(e){return e.outlet||f}function ti(e,t){let i=e.filter(n=>P(n)===t);return i.push(...e.filter(n=>P(n)!==t)),i}function It(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let i=t.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var ei=(e,t,i,n)=>y(r=>(new Le(t,r.targetRouterState,r.currentRouterState,i,n).activate(e),r)),Le=class{constructor(t,i,n,r,s){this.routeReuseStrategy=t,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=s}activate(t){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,t),pe(this.futureState.root),this.activateChildRoutes(i,n,t)}deactivateChildRoutes(t,i,n){let r=Y(i);t.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,r[o],n),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(r===s)if(r.component){let o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,i,o.children)}else this.deactivateChildRoutes(t,i,n);else s&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(t,i){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,i):this.deactivateRouteAndOutlet(t,i)}detachAndStoreRouteSubtree(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=Y(t);for(let o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,i){let n=i.getContext(t.value.outlet),r=n&&t.value.component?n.children:i,s=Y(t);for(let o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,i,n){let r=Y(i);t.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],n),this.forwardEvent(new Oe(s.value.snapshot))}),t.children.length&&this.forwardEvent(new De(t.value.snapshot))}activateRoutes(t,i,n){let r=t.value,s=i?i.value:null;if(pe(r),r===s)if(r.component){let o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,i,o.children)}else this.activateChildRoutes(t,i,n);else if(r.component){let o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),pe(a.route.value),this.activateChildRoutes(t,null,o.children)}else{let a=It(r.snapshot);o.attachRef=null,o.route=r,o.injector=a,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}},Ht=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},J=class{constructor(t,i){this.component=t,this.route=i}};function ni(e,t,i){let n=e._root,r=t?t._root:null;return lt(n,r,i,[n.value])}function ri(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function rt(e,t){let i=Symbol(),n=t.get(e,i);return n===i?typeof e=="function"&&!an(e)?e:t.get(e):n}function lt(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=Y(t);return e.children.forEach(o=>{ii(o,s[o.value.outlet],i,n.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>pt(a,i.getContext(o),r)),r}function ii(e,t,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=t?t.value:null,a=i?i.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let c=si(o,s,s.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Ht(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?lt(e,t,a?a.children:null,n,r):lt(e,t,i,n,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new J(a.outlet.component,o))}else o&&pt(t,a,r),r.canActivateChecks.push(new Ht(n)),s.component?lt(e,null,a?a.children:null,n,r):lt(e,null,i,n,r);return r}function si(e,t,i){if(typeof i=="function")return i(e,t);switch(i){case"pathParamsChange":return!V(e.url,t.url);case"pathParamsOrQueryParamsChange":return!V(e.url,t.url)||!U(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$e(e,t)||!U(e.queryParams,t.queryParams);case"paramsChange":default:return!$e(e,t)}}function pt(e,t,i){let n=Y(e),r=e.value;Object.entries(n).forEach(([s,o])=>{r.component?t?pt(o,t.children.getContext(s),i):pt(o,null,i):pt(o,t,i)}),r.component?t&&t.outlet&&t.outlet.isActivated?i.canDeactivateChecks.push(new J(t.outlet.component,r)):i.canDeactivateChecks.push(new J(null,r)):i.canDeactivateChecks.push(new J(null,r))}function Tt(e){return typeof e=="function"}function oi(e){return typeof e=="boolean"}function ai(e){return e&&Tt(e.canLoad)}function ui(e){return e&&Tt(e.canActivate)}function ci(e){return e&&Tt(e.canActivateChild)}function li(e){return e&&Tt(e.canDeactivate)}function hi(e){return e&&Tt(e.canMatch)}function lr(e){return e instanceof Je||e?.name==="EmptyError"}var jt=Symbol("INITIAL_VALUE");function nt(){return E(e=>At(e.map(t=>t.pipe(G(1),sn(jt)))).pipe(y(t=>{for(let i of t)if(i!==!0){if(i===jt)return jt;if(i===!1||i instanceof N)return i}return!0}),H(t=>t!==jt),G(1)))}function di(e,t){return M(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return o.length===0&&s.length===0?d(b(h({},i),{guardsResult:!0})):fi(o,n,r,e).pipe(M(a=>a&&oi(a)?pi(n,s,e,t):d(a)),y(a=>b(h({},i),{guardsResult:a})))})}function fi(e,t,i,n){return A(e).pipe(M(r=>Ci(r.component,r.route,i,t,n)),L(r=>r!==!0,!0))}function pi(e,t,i,n){return A(t).pipe(at(r=>tn(vi(r.route.parent,n),gi(r.route,n),yi(e,r.path,i),mi(e,r.route,i))),L(r=>r!==!0,!0))}function gi(e,t){return e!==null&&t&&t(new Ee(e)),d(!0)}function vi(e,t){return e!==null&&t&&t(new Me(e)),d(!0)}function mi(e,t,i){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let r=n.map(s=>re(()=>{let o=It(t)??i,a=rt(s,o),c=ui(a)?a.canActivate(t,e):o.runInContext(()=>a(t,e));return z(c).pipe(L())}));return d(r).pipe(nt())}function yi(e,t,i){let n=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>ri(o)).filter(o=>o!==null).map(o=>re(()=>{let a=o.guards.map(c=>{let u=It(o.node)??i,l=rt(c,u),v=ci(l)?l.canActivateChild(n,e):u.runInContext(()=>l(n,e));return z(v).pipe(L())});return d(a).pipe(nt())}));return d(s).pipe(nt())}function Ci(e,t,i,n,r){let s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(a=>{let c=It(t)??r,u=rt(a,c),l=li(u)?u.canDeactivate(e,t,i,n):c.runInContext(()=>u(e,t,i,n));return z(l).pipe(L())});return d(o).pipe(nt())}function wi(e,t,i,n){let r=t.canLoad;if(r===void 0||r.length===0)return d(!0);let s=r.map(o=>{let a=rt(o,e),c=ai(a)?a.canLoad(t,i):e.runInContext(()=>a(t,i));return z(c)});return d(s).pipe(nt(),hr(n))}function hr(e){return Ye(w(t=>{if(et(t))throw ar(e,t)}),y(t=>t===!0))}function Ri(e,t,i,n){let r=t.canMatch;if(!r||r.length===0)return d(!0);let s=r.map(o=>{let a=rt(o,e),c=hi(a)?a.canMatch(t,i):e.runInContext(()=>a(t,i));return z(c)});return d(s).pipe(nt(),hr(n))}var St=class{constructor(t){this.segmentGroup=t||null}},Qt=class extends Error{constructor(t){super(),this.urlTree=t}};function K(e){return ot(new St(e))}function Si(e){return ot(new R(4e3,!1))}function bi(e){return ot(ur(!1,3))}var Ne=class{constructor(t,i){this.urlSerializer=t,this.urlTree=i}noMatchError(t){return new R(4002,!1)}lineralizeSegments(t,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return d(n);if(r.numberOfChildren>1||!r.children[f])return Si(t.redirectTo);r=r.children[f]}}applyRedirectCommands(t,i,n){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),t,n);if(i.startsWith("/"))throw new Qt(r);return r}applyRedirectCreateUrlTree(t,i,n,r){let s=this.createSegmentGroup(t,i.root,n,r);return new N(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(t,i){let n={};return Object.entries(t).forEach(([r,s])=>{if(typeof s=="string"&&s.startsWith(":")){let a=s.substring(1);n[r]=i[a]}else n[r]=s}),n}createSegmentGroup(t,i,n,r){let s=this.createSegments(t,i.segments,n,r),o={};return Object.entries(i.children).forEach(([a,c])=>{o[a]=this.createSegmentGroup(t,c,n,r)}),new m(s,o)}createSegments(t,i,n,r){return i.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,r):this.findOrReturn(s,n))}findPosParam(t,i,n){let r=n[i.path.substring(1)];if(!r)throw new R(4001,!1);return r}findOrReturn(t,i){let n=0;for(let r of i){if(r.path===t.path)return i.splice(n),r;n++}return t}},ke={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ii(e,t,i,n,r){let s=He(e,t,i);return s.matched?(n=Jr(t,n),Ri(n,t,i,r).pipe(y(o=>o===!0?s:h({},ke)))):d(s)}function He(e,t,i){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||i.length>0)?h({},ke):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(t.matcher||wr)(i,e,t);if(!r)return h({},ke);let s={};Object.entries(r.posParams??{}).forEach(([a,c])=>{s[a]=c.path});let o=r.consumed.length>0?h(h({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function Fn(e,t,i,n){return i.length>0&&Mi(e,i,n)?{segmentGroup:new m(t,Ai(n,new m(i,e.children))),slicedSegments:[]}:i.length===0&&Di(e,i,n)?{segmentGroup:new m(e.segments,Ti(e,t,i,n,e.children)),slicedSegments:i}:{segmentGroup:new m(e.segments,e.children),slicedSegments:i}}function Ti(e,t,i,n,r){let s={};for(let o of n)if(Kt(e,i,o)&&!r[P(o)]){let a=new m([],{});s[P(o)]=a}return h(h({},r),s)}function Ai(e,t){let i={};i[f]=t;for(let n of e)if(n.path===""&&P(n)!==f){let r=new m([],{});i[P(n)]=r}return i}function Mi(e,t,i){return i.some(n=>Kt(e,t,n)&&P(n)!==f)}function Di(e,t,i){return i.some(n=>Kt(e,t,n))}function Kt(e,t,i){return(e.hasChildren()||t.length>0)&&i.pathMatch==="full"?!1:i.path===""}function Ei(e,t,i,n){return P(e)!==n&&(n===f||!Kt(t,i,e))?!1:e.path==="**"?!0:He(t,e,i).matched}function Oi(e,t,i){return t.length===0&&!e.children[i]}var ze=class{};function xi(e,t,i,n,r,s,o="emptyOnly"){return new Fe(e,t,i,n,r,o,s).recognize()}var Ui=31,Fe=class{constructor(t,i,n,r,s,o,a){this.injector=t,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new Ne(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new R(4002,!1)}recognize(){let t=Fn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(y(i=>{let n=new wt([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,{},f,this.rootComponentType,null,{}),r=new I(n,i),s=new Wt("",r),o=zr(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,f).pipe(Q(n=>{if(n instanceof Qt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof St?this.noMatchError(n):n}))}inheritParamsAndData(t,i){let n=t.value,r=Ve(n,i,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(s=>this.inheritParamsAndData(s,n))}processSegmentGroup(t,i,n,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,i,n):this.processSegment(t,i,n,n.segments,r,!0).pipe(y(s=>s instanceof I?[s]:[]))}processChildren(t,i,n){let r=[];for(let s of Object.keys(n.children))s==="primary"?r.unshift(s):r.push(s);return A(r).pipe(at(s=>{let o=n.children[s],a=ti(i,s);return this.processSegmentGroup(t,a,o,s)}),rn((s,o)=>(s.push(...o),s)),ie(null),nn(),M(s=>{if(s===null)return K(n);let o=dr(s);return Pi(o),d(o)}))}processSegment(t,i,n,r,s,o){return A(i).pipe(at(a=>this.processSegmentAgainstRoute(a._injector??t,i,a,n,r,s,o).pipe(Q(c=>{if(c instanceof St)return d(null);throw c}))),L(a=>!!a),Q(a=>{if(lr(a))return Oi(n,r,s)?d(new ze):K(n);throw a}))}processSegmentAgainstRoute(t,i,n,r,s,o,a){return Ei(n,r,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,n,s,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,i,n,s,o):K(r):K(r)}expandSegmentAgainstRouteUsingRedirect(t,i,n,r,s,o){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=r.path==="**"?_n(s):He(i,r,s);if(!a)return K(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ui&&(this.allowRedirects=!1));let v=this.applyRedirects.applyRedirectCommands(c,r.redirectTo,u);return this.applyRedirects.lineralizeSegments(r,v).pipe(M(g=>this.processSegment(t,n,i,g.concat(l),o,!1)))}matchSegmentAgainstRoute(t,i,n,r,s){let o;return n.path==="**"?(o=d(_n(r)),i.children={}):o=Ii(i,n,r,t,this.urlSerializer),o.pipe(E(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,r).pipe(E(({routes:c})=>{let u=n._loadedInjector??t,{consumedSegments:l,remainingSegments:v,parameters:g}=a,C=new wt(l,g,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ji(n),P(n),n.component??n._loadedComponent??null,n,Li(n)),{segmentGroup:it,slicedSegments:st}=Fn(i,l,v,c);if(st.length===0&&it.hasChildren())return this.processChildren(u,c,it).pipe(y(F=>F===null?null:new I(C,F)));if(c.length===0&&st.length===0)return d(new I(C,[]));let Jt=P(n)===s;return this.processSegment(u,c,it,st,Jt?f:s,!0).pipe(y(F=>new I(C,F instanceof I?[F]:[])))}))):K(i)))}getChildConfig(t,i,n){return i.children?d({routes:i.children,injector:t}):i.loadChildren?i._loadedRoutes!==void 0?d({routes:i._loadedRoutes,injector:i._loadedInjector}):wi(t,i,n,this.urlSerializer).pipe(M(r=>r?this.configLoader.loadChildren(t,i).pipe(w(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):bi(i))):d({routes:[],injector:t})}};function Pi(e){e.sort((t,i)=>t.value.outlet===f?-1:i.value.outlet===f?1:t.value.outlet.localeCompare(i.value.outlet))}function $i(e){let t=e.value.routeConfig;return t&&t.path===""}function dr(e){let t=[],i=new Set;for(let n of e){if(!$i(n)){t.push(n);continue}let r=t.find(s=>n.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):t.push(n)}for(let n of i){let r=dr(n.children);t.push(new I(n.value,r))}return t.filter(n=>!i.has(n))}function ji(e){return e.data||{}}function Li(e){return e.resolve||{}}function _n(e){return{matched:!0,parameters:e.length>0?Bn(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Ni(e,t,i,n,r,s){return M(o=>xi(e,t,i,n,o.extractedUrl,r,s).pipe(y(({state:a,tree:c})=>b(h({},o),{targetSnapshot:a,urlAfterRedirects:c}))))}function ki(e,t){return M(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return d(i);let s=r.map(u=>u.route),o=new Set(s),a=fr(s[0].parent).slice(1),c=0;return A(a).pipe(at(u=>o.has(u)?zi(u,n,e,t):(u.data=Ve(u,u.parent,e).resolve,d(void 0))),w(()=>c++),se(1),M(u=>c===a.length?d(i):_))})}function fr(e){let t=e.children.map(i=>fr(i)).flat();return[e,...t]}function zi(e,t,i,n){let r=e.routeConfig,s=e._resolve;return r?.title!==void 0&&!sr(r)&&(s[bt]=r.title),Fi(s,e,t,n).pipe(y(o=>(e._resolvedData=o,e.data=Ve(e,e.parent,i).resolve,null)))}function Fi(e,t,i,n){let r=me(e);if(r.length===0)return d({});let s={};return A(r).pipe(M(o=>_i(e[o],t,i,n).pipe(L(),w(a=>{s[o]=a}))),se(1),en(s),Q(o=>lr(o)?_:ot(o)))}function _i(e,t,i,n){let r=It(t)??n,s=rt(e,r),o=s.resolve?s.resolve(t,i):r.runInContext(()=>s(t,i));return z(o)}function ge(e){return E(t=>{let i=e(t);return i?A(i).pipe(y(()=>t)):d(t)})}var pr=(()=>{let t=class t{buildTitle(n){let r,s=n.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(o=>o.outlet===f);return r}getResolvedTitleForRoute(n){return n.data[bt]}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(qi))(),providedIn:"root"});let e=t;return e})(),qi=(()=>{let t=class t extends pr{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};t.\u0275fac=function(r){return new(r||t)(un($n))},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Yt=new x("",{providedIn:"root",factory:()=>({})}),Qe=new x("ROUTES"),Vi=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(le)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return d(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=z(n.loadComponent()).pipe(y(gr),w(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Mt(()=>{this.componentLoaders.delete(n)})),s=new ee(r,()=>new j).pipe(te());return this.componentLoaders.set(n,s),s}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return d({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Bi(r,this.compiler,n,this.onLoadEndListener).pipe(Mt(()=>{this.childrenLoaders.delete(r)})),a=new ee(o,()=>new j).pipe(te());return this.childrenLoaders.set(r,a),a}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bi(e,t,i,n){return z(e.loadChildren()).pipe(y(gr),M(r=>r instanceof Sn||Array.isArray(r)?d(r):A(t.compileModuleAsync(r))),y(r=>{n&&n(e);let s,o,a=!1;return Array.isArray(r)?(o=r,a=!0):(s=r.create(i).injector,o=s.get(Qe,[],{optional:!0,self:!0}).flat()),{routes:o.map(We),injector:s}}))}function Wi(e){return e&&typeof e=="object"&&"default"in e}function gr(e){return Wi(e)?e.default:e}var Ge=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(Hi))(),providedIn:"root"});let e=t;return e})(),Hi=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vr=new x(""),mr=new x("");function Qi(e,t,i){let n=e.get(mr),r=e.get(Pn);return e.get(ut).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let s,o=new Promise(u=>{s=u}),a=r.startViewTransition(()=>(s(),Gi(e))),{onViewTransitionCreated:c}=n;return c&&dn(e,()=>c({transition:a,from:t,to:i})),o})}function Gi(e){return new Promise(t=>{gn(t,{injector:e})})}var Zi=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new j,this.transitionAbortSubject=new j,this.configLoader=p(Vi),this.environmentInjector=p(Ot),this.urlSerializer=p(qe),this.rootContexts=p(Gt),this.location=p(Pt),this.inputBindingEnabled=p(Zt,{optional:!0})!==null,this.titleStrategy=p(pr),this.options=p(Yt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Ge),this.createViewTransition=p(vr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>d(void 0),this.rootComponentType=null;let n=s=>this.events.next(new Te(s)),r=s=>this.events.next(new Ae(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(b(h(h({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,s){return this.transitions=new T({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ft,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(H(o=>o.id!==0),y(o=>b(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),E(o=>{this.currentTransition=o;let a=!1,c=!1;return d(o).pipe(w(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?b(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),E(u=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&v!=="reload"){let g="";return this.events.next(new B(u.id,this.urlSerializer.serialize(u.rawUrl),g,0)),u.resolve(null),_}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return d(u).pipe(E(g=>{let C=this.transitions?.getValue();return this.events.next(new vt(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),C!==this.transitions?.getValue()?_:Promise.resolve(g)}),Ni(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),w(g=>{o.targetSnapshot=g.targetSnapshot,o.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=b(h({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let C=new qt(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(C)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:g,extractedUrl:C,source:it,restoredState:st,extras:Jt}=u,F=new vt(g,this.urlSerializer.serialize(C),it,st);this.events.next(F);let Cr=rr(C,this.rootComponentType).snapshot;return this.currentTransition=o=b(h({},u),{targetSnapshot:Cr,urlAfterRedirects:C,extras:b(h({},Jt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=C,d(o)}else{let g="";return this.events.next(new B(u.id,this.urlSerializer.serialize(u.extractedUrl),g,1)),u.resolve(null),_}}),w(u=>{let l=new Re(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),y(u=>(this.currentTransition=o=b(h({},u),{guards:ni(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),o)),di(this.environmentInjector,u=>this.events.next(u)),w(u=>{if(o.guardsResult=u.guardsResult,et(u.guardsResult))throw ar(this.urlSerializer,u.guardsResult);let l=new Se(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),H(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",3),!1)),ge(u=>{if(u.guards.canActivateChecks.length)return d(u).pipe(w(l=>{let v=new be(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}),E(l=>{let v=!1;return d(l).pipe(ki(this.paramsInheritanceStrategy,this.environmentInjector),w({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(l,"",2)}}))}),w(l=>{let v=new Ie(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}))}),ge(u=>{let l=v=>{let g=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(v.routeConfig).pipe(w(C=>{v.component=C}),y(()=>{})));for(let C of v.children)g.push(...l(C));return g};return At(l(u.targetSnapshot.root)).pipe(ie(),G(1))}),ge(()=>this.afterPreactivation()),E(()=>{let{currentSnapshot:u,targetSnapshot:l}=o,v=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return v?A(v).pipe(y(()=>o)):d(o)}),y(u=>{let l=Gr(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o=b(h({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),w(()=>{this.events.next(new yt)}),ei(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),G(1),w({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),on(this.transitionAbortSubject.pipe(w(u=>{throw u}))),Mt(()=>{if(!a&&!c){let u="";this.cancelNavigationTransition(o,u,1)}this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Q(u=>{if(c=!0,cr(u))this.events.next(new k(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),Yr(u)?this.events.next(new Ct(u.url)):o.resolve(!1);else{this.events.next(new mt(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0));try{o.resolve(n.errorHandler(u))}catch(l){o.reject(l)}}return _}))}))}cancelNavigationTransition(n,r,s){let o=new k(n.id,this.urlSerializer.serialize(n.extractedUrl),r,s);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ki(e){return e!==ft}var Yi=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(Xi))(),providedIn:"root"});let e=t;return e})(),_e=class{shouldDetach(t){return!1}store(t,i){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,i){return t.routeConfig===i.routeConfig}},Xi=(()=>{let t=class t extends _e{};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),yr=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:()=>(()=>p(Ji))(),providedIn:"root"});let e=t;return e})(),Ji=(()=>{let t=class t extends yr{constructor(){super(...arguments),this.location=p(Pt),this.urlSerializer=p(qe),this.options=p(Yt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Ge),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new N,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=rr(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof vt)this.stateMemento=this.createStateMemento();else if(n instanceof B)this.rawUrlTree=r.initialUrl;else if(n instanceof qt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else n instanceof yt?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof k&&(n.code===3||n.code===2)?this.restoreHistory(r):n instanceof mt?this.restoreHistory(r,!0):n instanceof $&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let s=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let o=this.browserPageId,a=h(h({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=ae(t)))(s||t)}})(),t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ht=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ht||{});function ts(e,t){e.events.pipe(H(i=>i instanceof $||i instanceof k||i instanceof mt||i instanceof B),y(i=>i instanceof $||i instanceof B?ht.COMPLETE:(i instanceof k?i.code===0||i.code===1:!1)?ht.REDIRECTING:ht.FAILED),H(i=>i!==ht.REDIRECTING),G(1)).subscribe(()=>{t()})}function es(e){throw e}var ns={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Xt=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Dn),this.stateManager=p(yr),this.options=p(Yt,{optional:!0})||{},this.pendingTasks=p(En),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Zi),this.urlSerializer=p(qe),this.location=p(Pt),this.urlHandlingStrategy=p(Ge),this._events=new j,this.errorHandler=this.options.errorHandler||es,this.navigated=!1,this.routeReuseStrategy=p(Yi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Qe,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Zt,{optional:!0}),this.eventsSubscription=new Ke,this.isNgZoneEnabled=p(ut)instanceof ut&&ut.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof k&&r.code!==0&&r.code!==1)this.navigated=!0;else if(r instanceof $)this.navigated=!0;else if(r instanceof Ct){let a=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),c={skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Ki(s.source)};this.scheduleNavigation(a,ft,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}ss(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ft,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)}))}navigateToSyncWithBrowser(n,r,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let u=h({},s);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,r,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(We),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:c,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:a,v=null;switch(c){case"merge":v=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=o||null}v!==null&&(v=this.removeEmptyProps(v));let g;try{let C=s?s.snapshot:this.routerState.snapshot.root;g=Jn(C)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return tr(g,n,v,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let s=et(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,ft,null,r)}navigate(n,r={skipLocationChange:!1}){return is(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let s;if(r===!0?s=h({},ns):r===!1?s=h({},rs):s=r,et(n))return jn(this.currentUrlTree,n,s);let o=this.parseUrl(n);return jn(this.currentUrlTree,o,s)}removeEmptyProps(n){return Object.keys(n).reduce((r,s)=>{let o=n[s];return o!=null&&(r[s]=o),r},{})}scheduleNavigation(n,r,s,o,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((g,C)=>{c=g,u=C});let v=this.pendingTasks.add();return ts(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(g=>Promise.reject(g))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function is(e){for(let t=0;t{let t=class t{constructor(n,r,s,o,a,c){this.router=n,this.route=r,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new j,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof $&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,s,o,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||r||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:pn(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){let s=this.renderer,o=this.el.nativeElement;r!==null?s.setAttribute(o,n,r):s.removeAttribute(o,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(r){return new(r||t)(O(Xt),O(W),ln("tabindex"),O(ce),O(ue),O(he))},t.\u0275dir=Dt({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,s){r&1&&Rn("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&mn("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ut],skipLocationChange:["skipLocationChange","skipLocationChange",Ut],replaceUrl:["replaceUrl","replaceUrl",Ut],routerLink:"routerLink"},standalone:!0,features:[vn,Et]});let e=t;return e})(),Ws=(()=>{let t=class t{get isActive(){return this._isActive}constructor(n,r,s,o,a){this.router=n,this.element=r,this.renderer=s,this.cdr=o,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Z,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof $&&this.update()})}ngAfterContentInit(){d(this.links.changes,d(null)).pipe(ne()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=A(n).pipe(ne()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(s=>!!s)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let r=os(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>s.urlTree?n.isActive(s.urlTree,r):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};t.\u0275fac=function(r){return new(r||t)(O(Xt),O(ue),O(ce),O(xt),O(qn,8))},t.\u0275dir=Dt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,s,o){if(r&1&&An(o,qn,5),r&2){let a;Tn(a=Mn())&&(s.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Et]});let e=t;return e})();function os(e){return!!e.paths}var as=new x("");function Hs(e,...t){return hn([{provide:Qe,multi:!0,useValue:e},[],{provide:W,useFactory:us,deps:[Xt]},{provide:On,multi:!0,useFactory:cs},t.map(i=>i.\u0275providers)])}function us(e){return e.routerState.root}function Ze(e,t){return{\u0275kind:e,\u0275providers:t}}function cs(){let e=p(fn);return t=>{let i=e.get(xn);if(t!==i.components[0])return;let n=e.get(Xt),r=e.get(ls);e.get(hs)===1&&n.initialNavigation(),e.get(ds,null,oe.Optional)?.setUpPreloading(),e.get(as,null,oe.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var ls=new x("",{factory:()=>new j}),hs=new x("",{providedIn:"root",factory:()=>1});var ds=new x("");function Qs(e){return Ze(5,[{provide:Yt,useValue:e}])}function Gs(){return Ze(8,[zn,{provide:Zt,useExisting:zn}])}function Zs(e){let t=[{provide:vr,useValue:Qi},{provide:mr,useValue:h({skipNextTransition:!!e?.skipInitialTransition},e)}];return Ze(9,t)}export{W as a,Qr as b,Bi as c,Xt as d,qn as e,Ws as f,Hs as g,Qs as h,Gs as i,Zs as j}; diff --git a/docs/citations/server/chunk-J3KYGEX7.mjs b/docs/citations/server/chunk-J3KYGEX7.mjs new file mode 100644 index 0000000..722b13b --- /dev/null +++ b/docs/citations/server/chunk-J3KYGEX7.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as S}from"./chunk-DA4QLC2G.mjs";import{a as l}from"./chunk-SNHYI5K2.mjs";import"./chunk-IWPG2T2Y.mjs";import{Ia as s,Ka as C,La as v,Lb as b,Pa as f,Qa as u,Ra as c,Xa as x,Xb as m,Za as y,_ as a,bb as p,eb as g,fb as T,ya as d,za as o}from"./chunk-JHH2AAIU.mjs";import"./chunk-KRLCULJA.mjs";var j=(()=>{let t=class t{constructor(n,e){this.citesService=n,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(o(l),o(m))},t.\u0275cmp=a({type:t,selectors:[["app-cite"]],inputs:{cite:"cite"},standalone:!0,features:[p],decls:4,vars:2,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(e,r){e&1&&(f(0,"h1",0),x(1),u(),f(2,"p",1),c(3,"app-link-cites-by-author",2),u()),e&2&&(d(1),y(" ",r.cite.getCite()," "),d(2),s("author",r.cite.getAuthor()))},dependencies:[S],encapsulation:2});let i=t;return i})();function M(i,t){i&1&&c(0,"app-cite",0),i&2&&s("cite",t)}var E=(()=>{let t=class t{constructor(n,e){this.citesService=n,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(o(l),o(m))},t.\u0275cmp=a({type:t,selectors:[["app-home"]],standalone:!0,features:[p],decls:2,vars:3,consts:[[3,"cite"]],template:function(e,r){if(e&1&&(C(0,M,1,1,"app-cite",0),g(1,"async")),e&2){let h;v(0,(h=T(1,1,r.citesService.getCiteOfTheDay()))?0:-1,h)}},dependencies:[b,j],encapsulation:2});let i=t;return i})();export{E as HomeComponent}; diff --git a/docs/citations/server/chunk-JHH2AAIU.mjs b/docs/citations/server/chunk-JHH2AAIU.mjs new file mode 100644 index 0000000..d0d1cbf --- /dev/null +++ b/docs/citations/server/chunk-JHH2AAIU.mjs @@ -0,0 +1,35 @@ +import './polyfills.server.mjs'; +import{a as X,b as ze,d as Ma}from"./chunk-KRLCULJA.mjs";function g(t){return typeof t=="function"}function pt(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var An=pt(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ge(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var $=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){e=i instanceof An?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ta(i)}catch(s){e=e??[],s instanceof An?e=[...e,...s.errors]:e.push(s)}}if(e)throw new An(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Ta(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Ge(n,e)}remove(e){let{_finalizers:n}=this;n&&Ge(n,e),e instanceof t&&e._removeParent(this)}};$.EMPTY=(()=>{let t=new $;return t.closed=!0,t})();var Mo=$.EMPTY;function Nn(t){return t instanceof $||t&&"closed"in t&&g(t.remove)&&g(t.add)&&g(t.unsubscribe)}function Ta(t){g(t)?t():t.unsubscribe()}var le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ht={setTimeout(t,e,...n){let{delegate:r}=ht;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=ht;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function On(t){ht.setTimeout(()=>{let{onUnhandledError:e}=le;if(e)e(t);else throw t})}function ee(){}var xa=(()=>To("C",void 0,void 0))();function Sa(t){return To("E",void 0,t)}function _a(t){return To("N",t,void 0)}function To(t,e,n){return{kind:t,value:e,error:n}}var We=null;function gt(t){if(le.useDeprecatedSynchronousErrorHandling){let e=!We;if(e&&(We={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=We;if(We=null,n)throw r}}else t()}function Aa(t){le.useDeprecatedSynchronousErrorHandling&&We&&(We.errorThrown=!0,We.error=t)}var qe=class extends ${constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Nn(e)&&e.add(this)):this.destination=$f}static create(e,n,r){return new be(e,n,r)}next(e){this.isStopped?So(_a(e),this):this._next(e)}error(e){this.isStopped?So(Sa(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?So(xa,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Bf=Function.prototype.bind;function xo(t,e){return Bf.call(t,e)}var _o=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Rn(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Rn(r)}else Rn(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Rn(n)}}},be=class extends qe{constructor(e,n,r){super();let o;if(g(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&le.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&xo(e.next,i),error:e.error&&xo(e.error,i),complete:e.complete&&xo(e.complete,i)}):o=e}this.destination=new _o(o)}};function Rn(t){le.useDeprecatedSynchronousErrorHandling?Aa(t):On(t)}function Hf(t){throw t}function So(t,e){let{onStoppedNotification:n}=le;n&&ht.setTimeout(()=>n(t,e))}var $f={closed:!0,next:ee,error:Hf,complete:ee};var mt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function G(t){return t}function Uf(...t){return Ao(t)}function Ao(t){return t.length===0?G:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var I=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Gf(n)?n:new be(n,r,o);return gt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Na(r),new r((o,i)=>{let s=new be({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[mt](){return this}pipe(...n){return Ao(n)(this)}toPromise(n){return n=Na(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function Na(t){var e;return(e=t??le.Promise)!==null&&e!==void 0?e:Promise}function zf(t){return t&&g(t.next)&&g(t.error)&&g(t.complete)}function Gf(t){return t&&t instanceof qe||zf(t)&&Nn(t)}var Oa=pt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=(()=>{class t extends I{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Fn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Oa}next(n){gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){gt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Mo:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,Ge(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new I;return n.source=this,n}}return t.create=(e,n)=>new Fn(e,n),t})(),Fn=class extends Z{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Mo}};var $t=class extends Z{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};function No(t){return g(t?.lift)}function m(t){return e=>{if(No(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(t,e,n,r,o){return new Ut(t,e,n,r,o)}var Ut=class extends qe{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Me(t,e){return m((n,r)=>{let o=0;n.subscribe(v(r,i=>t.call(e,i,o++)&&r.next(i)))})}function Wf(t){return Me((e,n)=>t<=n)}function Fa(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(t,e||[])).next())})}function Ra(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ze(t){return this instanceof Ze?(this.v=t,this):new Ze(t)}function Pa(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,E){i.push([f,p,h,E])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof Ze?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ka(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Ra=="function"?Ra(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var yt=t=>t&&typeof t.length=="number"&&typeof t!="function";function Pn(t){return g(t?.then)}function kn(t){return g(t[mt])}function Ln(t){return Symbol.asyncIterator&&g(t?.[Symbol.asyncIterator])}function jn(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function qf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vn=qf();function Bn(t){return g(t?.[Vn])}function Hn(t){return Pa(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Ze(n.read());if(o)return yield Ze(void 0);yield yield Ze(r)}}finally{n.releaseLock()}})}function $n(t){return g(t?.getReader)}function M(t){if(t instanceof I)return t;if(t!=null){if(kn(t))return Zf(t);if(yt(t))return Yf(t);if(Pn(t))return Qf(t);if(Ln(t))return La(t);if(Bn(t))return Kf(t);if($n(t))return Jf(t)}throw jn(t)}function Zf(t){return new I(e=>{let n=t[mt]();if(g(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Yf(t){return new I(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,On)})}function Kf(t){return new I(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function La(t){return new I(e=>{Xf(t,e).catch(n=>e.error(n))})}function Jf(t){return La(Hn(t))}function Xf(t,e){var n,r,o,i;return Fa(this,void 0,void 0,function*(){try{for(n=ka(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})}function zt(t,e){return m((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;M(t(u,l)).subscribe(o=v(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Un(t,e,n){let r=g(t)||e||n?{next:t,error:e,complete:n}:t;return r?m((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):G}function Oo(){return m((t,e)=>{let n=null;t._refCount++;let r=v(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var Gt=class extends I{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,No(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new $;let n=this.getSubject();e.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=$.EMPTY)}return e}refCount(){return Oo()(this)}};var Ro={now(){return(Ro.delegate||Date).now()},delegate:void 0};var zn=class extends ${constructor(e,n){super()}schedule(e,n=0){return this}};var Wt={setInterval(t,e,...n){let{delegate:r}=Wt;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Wt;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Gn=class extends zn{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return Wt.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Wt.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Ge(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var vt=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};vt.now=Ro.now;var Wn=class extends vt{constructor(e,n=vt.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var qt=new Wn(Gn),ja=qt;var Ye=new I(t=>t.complete());function qn(t){return t&&g(t.schedule)}function Fo(t){return t[t.length-1]}function Va(t){return g(Fo(t))?t.pop():void 0}function ve(t){return qn(Fo(t))?t.pop():void 0}function Ba(t,e){return typeof Fo(t)=="number"?t.pop():e}function Y(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function Zn(t,e=0){return m((n,r)=>{n.subscribe(v(r,o=>Y(r,t,()=>r.next(o),e),()=>Y(r,t,()=>r.complete(),e),o=>Y(r,t,()=>r.error(o),e)))})}function Yn(t,e=0){return m((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Ha(t,e){return M(t).pipe(Yn(e),Zn(e))}function $a(t,e){return M(t).pipe(Yn(e),Zn(e))}function Ua(t,e){return new I(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function za(t,e){return new I(n=>{let r;return Y(n,e,()=>{r=t[Vn](),Y(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Qn(t,e){if(!t)throw new Error("Iterable cannot be null");return new I(n=>{Y(n,e,()=>{let r=t[Symbol.asyncIterator]();Y(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ga(t,e){return Qn(Hn(t),e)}function Wa(t,e){if(t!=null){if(kn(t))return Ha(t,e);if(yt(t))return Ua(t,e);if(Pn(t))return $a(t,e);if(Ln(t))return Qn(t,e);if(Bn(t))return za(t,e);if($n(t))return Ga(t,e)}throw jn(t)}function de(t,e){return e?Wa(t,e):M(t)}function Zt(...t){let e=ve(t);return de(t,e)}function ep(t,e){let n=g(t)?t:()=>t,r=o=>o.error(n());return new I(e?o=>e.schedule(r,0,o):r)}function tp(t){return!!t&&(t instanceof I||g(t.lift)&&g(t.subscribe))}var Qe=pt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function qa(t){return t instanceof Date&&!isNaN(t)}function Te(t,e){return m((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:np}=Array;function rp(t,e){return np(e)?t(...e):t(e)}function Kn(t){return Te(e=>rp(t,e))}var{isArray:op}=Array,{getPrototypeOf:ip,prototype:sp,keys:ap}=Object;function Za(t){if(t.length===1){let e=t[0];if(op(e))return{args:e,keys:null};if(up(e)){let n=ap(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function up(t){return t&&typeof t=="object"&&ip(t)===sp}function Ya(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function cp(...t){let e=ve(t),n=Va(t),{args:r,keys:o}=Za(t);if(r.length===0)return de([],e);let i=new I(lp(r,e,o?s=>Ya(o,s):G));return n?i.pipe(Kn(n)):i}function lp(t,e,n=G){return r=>{Qa(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=de(t[u],e),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Qa(t,e,n){t?Y(n,t,e):e()}function Ka(t,e,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},p=E=>c{i&&e.next(E),c++;let O=!1;M(n(E,l++)).subscribe(v(e,A=>{o?.(A),i?p(A):e.next(A)},()=>{O=!0},void 0,()=>{if(O)try{for(c--;u.length&&ch(A)):h(A)}f()}catch(A){e.error(A)}}))};return t.subscribe(v(e,p,()=>{d=!0,f()})),()=>{a?.()}}function ie(t,e,n=1/0){return g(e)?ie((r,o)=>Te((i,s)=>e(r,i,o,s))(M(t(r,o))),n):(typeof e=="number"&&(n=e),m((r,o)=>Ka(r,o,t,n)))}function Yt(t=1/0){return ie(G,t)}function Po(){return Yt(1)}function Dt(...t){return Po()(de(t,ve(t)))}function dp(t){return new I(e=>{M(t()).subscribe(e)})}var fp=["addListener","removeListener"],pp=["addEventListener","removeEventListener"],hp=["on","off"];function ko(t,e,n,r){if(g(n)&&(r=n,n=void 0),r)return ko(t,e,n).pipe(Kn(r));let[o,i]=yp(t)?pp.map(s=>a=>t[s](e,a,n)):gp(t)?fp.map(Ja(t,e)):mp(t)?hp.map(Ja(t,e)):[];if(!o&&yt(t))return ie(s=>ko(s,e,n))(M(t));if(!o)throw new TypeError("Invalid event target");return new I(s=>{let a=(...u)=>s.next(1i(a)})}function Ja(t,e){return n=>r=>t[n](e,r)}function gp(t){return g(t.addListener)&&g(t.removeListener)}function mp(t){return g(t.on)&&g(t.off)}function yp(t){return g(t.addEventListener)&&g(t.removeEventListener)}function Xa(t=0,e,n=ja){let r=-1;return e!=null&&(qn(e)?n=e:r=e),new I(o=>{let i=qa(t)?+t-n.now():t;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Lo(...t){let e=ve(t),n=Ba(t,1/0),r=t;return r.length?r.length===1?M(r[0]):Yt(n)(de(r,e)):Ye}var vp=new I(ee);function eu(t){return m((e,n)=>{let r=null,o=!1,i;r=e.subscribe(v(n,void 0,void 0,s=>{i=M(t(s,eu(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Jn(t,e,n,r,o){return(i,s)=>{let a=n,u=e,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function tu(t,e){return m(Jn(t,e,arguments.length>=2,!1,!0))}var Dp=(t,e)=>(t.push(e),t);function wp(){return m((t,e)=>{tu(Dp,[])(t).subscribe(e)})}function nu(t,e){return g(e)?ie(t,e,1):ie(t,1)}function ru(t){return new I(e=>t.subscribe(e))}var Ep={connector:()=>new Z};function Xn(t,e=Ep){let{connector:n}=e;return m((r,o)=>{let i=n();M(t(ru(i))).subscribe(o),o.add(r.subscribe(i))})}function Ip(t,e=qt){return m((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Qt(t){return m((e,n)=>{let r=!1;e.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function Ke(t){return t<=0?()=>Ye:m((e,n)=>{let r=0;e.subscribe(v(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function ou(){return m((t,e)=>{t.subscribe(v(e,ee))})}function jo(t){return Te(()=>t)}function Vo(t,e){return e?n=>Dt(e.pipe(Ke(1),ou()),n.pipe(Vo(t))):ie((n,r)=>M(t(n,r)).pipe(Ke(1),jo(n)))}function Cp(t,e=qt){let n=Xa(t,e);return Vo(()=>n)}function bp(t,e){return m((n,r)=>{let o=new Set;n.subscribe(v(r,i=>{let s=t?t(i):i;o.has(s)||(o.add(s),r.next(i))})),e&&M(e).subscribe(v(r,()=>o.clear(),ee))})}function Bo(t,e=G){return t=t??Mp,m((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function Mp(t,e){return t===e}function er(t=Tp){return m((e,n)=>{let r=!1;e.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Tp(){return new Qe}function iu(t){return m((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Ho(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Me((o,i)=>t(o,i,r)):G,Ke(1),n?Qt(e):er(()=>new Qe))}function xp(t,e,n,r){return m((o,i)=>{let s;!e||typeof e=="function"?s=e:{duration:n,element:s,connector:r}=e;let a=new Map,u=h=>{a.forEach(h),h(i)},c=h=>u(E=>E.error(h)),l=0,d=!1,f=new Ut(i,h=>{try{let E=t(h),O=a.get(E);if(!O){a.set(E,O=r?r():new Z);let A=p(E,O);if(i.next(A),n){let j=v(O,()=>{O.complete(),j?.unsubscribe()},void 0,void 0,()=>a.delete(E));f.add(M(n(A)).subscribe(j))}}O.next(s?s(h):h)}catch(E){c(E)}},()=>u(h=>h.complete()),c,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(f);function p(h,E){let O=new I(A=>{l++;let j=E.subscribe(A);return()=>{j.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return O.key=h,O}})}function $o(t){return t<=0?()=>Ye:m((e,n)=>{let r=[];e.subscribe(v(n,o=>{r.push(o),t{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Sp(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Me((o,i)=>t(o,i,r)):G,$o(1),n?Qt(e):er(()=>new Qe))}function su(t,e){let n=g(t)?t:()=>t;return g(e)?Xn(e,{connector:n}):r=>new Gt(r,n)}function _p(t){return t?e=>Xn(t)(e):e=>su(new Z)(e)}function Ap(t,e){return m(Jn(t,e,arguments.length>=2,!0))}function tr(t={}){let{connector:e=()=>new Z,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let E=s;p(),E?.unsubscribe()};return m((E,O)=>{c++,!d&&!l&&f();let A=u=u??e();O.add(()=>{c--,c===0&&!d&&!l&&(a=Uo(h,o))}),A.subscribe(O),!s&&c>0&&(s=new be({next:j=>A.next(j),error:j=>{d=!0,f(),a=Uo(p,n,j),A.error(j)},complete:()=>{l=!0,f(),a=Uo(p,r),A.complete()}}),M(E).subscribe(s))})(i)}}function Uo(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new be({next:()=>{r.unsubscribe(),t()}});return M(e(...n)).subscribe(r)}function Np(t){return m((e,n)=>{let r=!1,o=v(n,()=>{o?.unsubscribe(),r=!0},ee);M(t).subscribe(o),e.subscribe(v(n,i=>r&&n.next(i)))})}function Op(...t){let e=ve(t);return m((n,r)=>{(e?Dt(t,n,e):Dt(t,n)).subscribe(r)})}function au(t){return m((e,n)=>{M(t).subscribe(v(n,()=>n.complete(),ee)),!n.closed&&e.subscribe(n)})}var uu=null;var zo=1;function B(t){let e=uu;return uu=t,e}var cu={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rp(t){if(!(qo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===zo)){if(!t.producerMustRecompute(t)&&!Go(t)){t.dirty=!1,t.lastCleanEpoch=zo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=zo}}function lu(t){return t&&(t.nextProducerIndex=0),B(t)}function du(t,e){if(B(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(qo(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Go(t){nr(t);for(let e=0;e0}function nr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Fp(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Pp(){throw new Error}var kp=Pp;function pu(t){kp=t}function R(t){for(let e in t)if(t[e]===R)return e;throw Error("Could not find renamed property on target object.")}function rr(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function K(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(K).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}function hu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Lp=R({__forward_ref__:R});function nc(t){return t.__forward_ref__=nc,t.toString=function(){return K(this())},t}function se(t){return rc(t)?t():t}function rc(t){return typeof t=="function"&&t.hasOwnProperty(Lp)&&t.__forward_ref__===nc}function oc(t){return t&&!!t.\u0275providers}var ic="https://g.co/ng/security#xss",w=class extends Error{constructor(e,n){super(Ur(e,n)),this.code=e}};function Ur(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var jp=R({\u0275cmp:R}),Vp=R({\u0275dir:R}),Bp=R({\u0275pipe:R}),Hp=R({\u0275mod:R}),vr=R({\u0275fac:R}),Jt=R({__NG_ELEMENT_ID__:R}),gu=R({__NG_ENV_ID__:R});function et(t){return typeof t=="string"?t:t==null?"":String(t)}function $p(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():et(t)}function Up(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,`Circular dependency in DI detected for ${t}${n}`)}function fs(t,e){let n=e?` in ${e}`:"";throw new w(-201,!1)}function zp(t,e){t==null&&Gp(e,t,null,"!=")}function Gp(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function _(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function zr(t){return mu(t,sc)||mu(t,ac)}function Rx(t){return zr(t)!==null}function mu(t,e){return t.hasOwnProperty(e)?t[e]:null}function Wp(t){let e=t&&(t[sc]||t[ac]);return e||null}function yu(t){return t&&(t.hasOwnProperty(vu)||t.hasOwnProperty(qp))?t[vu]:null}var sc=R({\u0275prov:R}),vu=R({\u0275inj:R}),ac=R({ngInjectableDef:R}),qp=R({ngInjectorDef:R}),T=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(T||{}),ui;function uc(){return ui}function Q(t){let e=ui;return ui=t,e}function cc(t,e,n){let r=zr(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(e!==void 0)return e;fs(K(t),"Injector")}var ae=globalThis;var x=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=_({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Zp={},tn=Zp,ci="__NG_DI_FLAG__",Dr="ngTempTokenPath",Yp="ngTokenPath",Qp=/\n/gm,Kp="\u0275",Du="__source",bt;function Jp(){return bt}function Re(t){let e=bt;return bt=t,e}function Xp(t,e=T.Default){if(bt===void 0)throw new w(-203,!1);return bt===null?cc(t,void 0,e):bt.get(t,e&T.Optional?null:void 0,e)}function C(t,e=T.Default){return(uc()||Xp)(se(t),e)}function N(t,e=T.Default){return C(t,Gr(e))}function Gr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function li(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):K(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Qp,` + `)}`}function Wr(t){return{toString:t}.toString()}var dc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(dc||{}),ge=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ge||{}),Tt={},ke=[];function fc(t,e,n){let r=t.length;for(;;){let o=t.indexOf(e,n);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}function di(t,e,n){let r=0;for(;re){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&fc(p,c,0)!==-1||r&2&&c!==f){if(fe(r))return!1;s=!0}}}}return fe(r)||s}function fe(t){return(t&1)===0}function ah(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!fe(s)&&(e+=Eu(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(e+=Eu(i,o)),e}function fh(t){return t.map(dh).join(",")}function ph(t){let e=[],n=[],r=1,o=2;for(;r{let e=wc(t),n=ze(X({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===dc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ge.Emulated,styles:t.styles||ke,_:null,schemas:t.schemas||null,tView:null,id:""});Ec(n);let r=t.dependencies;return n.directiveDefs=Cu(r,!1),n.pipeDefs=Cu(r,!0),n.id=yh(n),n})}function hh(t){return xe(t)||yc(t)}function gh(t){return t!==null}function Iu(t,e){if(t==null)return Tt;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}function qr(t){return Wr(()=>{let e=wc(t);return Ec(e),e})}function mc(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function xe(t){return t[jp]||null}function yc(t){return t[Vp]||null}function vc(t){return t[Bp]||null}function mh(t){let e=xe(t)||yc(t)||vc(t);return e!==null?e.standalone:!1}function Dc(t,e){let n=t[Hp]||null;if(!n&&e===!0)throw new Error(`Type ${K(t)} does not have '\u0275mod' property.`);return n}function wc(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Tt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ke,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Iu(t.inputs,e),outputs:Iu(t.outputs),debugInfo:null}}function Ec(t){t.features?.forEach(e=>e(t))}function Cu(t,e){if(!t)return null;let n=e?vc:hh;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(gh)}function yh(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var V=0,y=1,D=2,L=3,he=4,ye=5,Se=6,rn=7,U=8,xt=9,St=10,F=11,on=12,bu=13,kt=14,J=15,vn=16,wt=17,Ee=18,Zr=19,Ic=20,Fe=21,Zo=22,tt=23,P=25,ps=1,sn=6,_e=7,wr=8,_t=9,z=10,At=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(At||{});function Ie(t){return Array.isArray(t)&&typeof t[ps]=="object"}function W(t){return Array.isArray(t)&&t[ps]===!0}function Cc(t){return(t.flags&4)!==0}function Lt(t){return t.componentOffset>-1}function hs(t){return(t.flags&1)===1}function nt(t){return!!t.template}function gs(t){return(t[D]&512)!==0}function vh(t){return(t.type&16)===16}function Dh(t){return(t[D]&32)===32}function rt(t,e){let n=t.hasOwnProperty(vr);return n?t[vr]:null}var fi=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function bc(){return Mc}function Mc(t){return t.type.prototype.ngOnChanges&&(t.setInput=Eh),wh}bc.ngInherit=!0;function wh(){let t=xc(this),e=t?.current;if(e){let n=t.previous;if(n===Tt)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Eh(t,e,n,r){let o=this.declaredInputs[n],i=xc(t)||Ih(t,{previous:Tt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new fi(u&&u.currentValue,e,a===Tt),t[r]=e}var Tc="__ngSimpleChanges__";function xc(t){return t[Tc]||null}function Ih(t,e){return t[Tc]=e}var Mu=null;var De=function(t,e,n){Mu?.(t,e,n)},Sc="svg",Ch="math";function H(t){for(;Array.isArray(t);)t=t[V];return t}function _c(t){for(;Array.isArray(t);){if(typeof t[ps]=="object")return t;t=t[V]}return null}function bh(t,e){return H(e[t])}function te(t,e){return H(e[t.index])}function ms(t,e){return t.data[e]}function Mh(t,e){return t[e]}function Be(t,e){let n=e[t];return Ie(n)?n:n[V]}function Th(t){return(t[D]&4)===4}function ys(t){return(t[D]&128)===128}function xh(t){return W(t[L])}function Er(t,e){return e==null?null:t[e]}function Ac(t){t[wt]=0}function Sh(t){t[D]&1024||(t[D]|=1024,ys(t)&&Yr(t))}function _h(t,e){for(;t>0;)e=e[kt],t--;return e}function Nc(t){t[D]&9216&&Yr(t)}function Yr(t){let e=t[L];for(;e!==null&&!(W(e)&&e[D]&At.HasChildViewsToRefresh||Ie(e)&&e[D]&8192);){if(W(e))e[D]|=At.HasChildViewsToRefresh;else if(e[D]|=8192,!ys(e))break;e=e[L]}}function Oc(t,e){if((t[D]&256)===256)throw new w(911,!1);t[Fe]===null&&(t[Fe]=[]),t[Fe].push(e)}function Ah(t,e){if(t[Fe]===null)return;let n=t[Fe].indexOf(e);n!==-1&&t[Fe].splice(n,1)}var b={lFrame:Vc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nh(){return b.lFrame.elementDepthCount}function Oh(){b.lFrame.elementDepthCount++}function Rh(){b.lFrame.elementDepthCount--}function Rc(){return b.bindingsEnabled}function Dn(){return b.skipHydrationRootTNode!==null}function Fh(t){return b.skipHydrationRootTNode===t}function Ph(t){b.skipHydrationRootTNode=t}function kh(){b.skipHydrationRootTNode=null}function S(){return b.lFrame.lView}function ne(){return b.lFrame.tView}function Px(t){return b.lFrame.contextLView=t,t[U]}function kx(t){return b.lFrame.contextLView=null,t}function re(){let t=Fc();for(;t!==null&&t.type===64;)t=t.parent;return t}function Fc(){return b.lFrame.currentTNode}function Lh(){let t=b.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function wn(t,e){let n=b.lFrame;n.currentTNode=t,n.isParent=e}function Pc(){return b.lFrame.isParent}function jh(){b.lFrame.isParent=!1}function vs(){let t=b.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Vh(){return b.lFrame.bindingIndex}function Bh(t){return b.lFrame.bindingIndex=t}function En(){return b.lFrame.bindingIndex++}function Hh(t){let e=b.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function $h(){return b.lFrame.inI18n}function Uh(t,e){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=t,pi(e)}function zh(){return b.lFrame.currentDirectiveIndex}function pi(t){b.lFrame.currentDirectiveIndex=t}function kc(){return b.lFrame.currentQueryIndex}function Ds(t){b.lFrame.currentQueryIndex=t}function Gh(t){let e=t[y];return e.type===2?e.declTNode:e.type===1?t[ye]:null}function Lc(t,e,n){if(n&T.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=Gh(i),o===null||(i=i[kt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=b.lFrame=jc();return r.currentTNode=e,r.lView=t,!0}function ws(t){let e=jc(),n=t[y];b.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function jc(){let t=b.lFrame,e=t===null?null:t.child;return e===null?Vc(t):e}function Vc(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Bc(){let t=b.lFrame;return b.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Hc=Bc;function Es(){let t=Bc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Wh(t){return(b.lFrame.contextLView=_h(t,b.lFrame.contextLView))[U]}function In(){return b.lFrame.selectedIndex}function ot(t){b.lFrame.selectedIndex=t}function Qr(){let t=b.lFrame;return ms(t.tView,t.selectedIndex)}function Lx(){b.lFrame.currentNamespace=Sc}function jx(){qh()}function qh(){b.lFrame.currentNamespace=null}function $c(){return b.lFrame.currentNamespace}var Uc=!0;function Is(){return Uc}function He(t){Uc=t}function Zh(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Mc(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function Cs(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[wt]+=65536),(a>14>16&&(t[D]&3)===e&&(t[D]+=16384,Tu(a,i)):Tu(a,i)}var Mt=-1,an=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Qh(t){return t instanceof an}function Kh(t){return t!=null&&typeof t=="object"&&(t.insertBeforeIndex===null||typeof t.insertBeforeIndex=="number"||Array.isArray(t.insertBeforeIndex))}function Jh(t){return(t.flags&8)!==0}function Xh(t){return(t.flags&16)!==0}function Gc(t){return t!==Mt}function Ir(t){let e=t&32767;return t&32767}function eg(t){return t>>16}function Cr(t,e){let n=eg(t),r=e;for(;n>0;)r=r[kt],n--;return r}var hi=!0;function br(t){let e=hi;return hi=t,e}var tg=256,Wc=tg-1,qc=5,ng=0,we={};function rg(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jt)&&(r=n[Jt]),r==null&&(r=n[Jt]=ng++);let o=r&Wc,i=1<>qc)]|=i}function Zc(t,e){let n=Yc(t,e);if(n!==-1)return n;let r=e[y];r.firstCreatePass&&(t.injectorIndex=e.length,Qo(r.data,t),Qo(e,null),Qo(r.blueprint,null));let o=bs(t,e),i=t.injectorIndex;if(Gc(o)){let s=Ir(o),a=Cr(o,e),u=a[y].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function Qo(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Yc(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function bs(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=el(o),r===null)return Mt;if(n++,o=o[kt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Mt}function og(t,e,n){rg(t,e,n)}function ig(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&nt(p)&&p.type===n)return u}return null}function Nt(t,e,n,r){let o=t[n],i=e.data;if(Qh(o)){let s=o;s.resolving&&Up($p(i[n]));let a=br(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Q(s.injectImpl):null,l=Lc(t,r,T.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&Zh(n,i[n],e)}finally{c!==null&&Q(c),br(a),s.resolving=!1,Hc()}}return o}function ag(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Jt)?t[Jt]:void 0;return typeof e=="number"?e>=0?e&Wc:ug:e}function xu(t,e,n){let r=1<>qc)]&r)}function Su(t,e){return!(t&T.Self)&&!(t&T.Host&&e)}var Xe=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Jc(this._tNode,this._lView,e,Gr(r),n)}};function ug(){return new Xe(re(),S())}function Vx(t){return Wr(()=>{let e=t.prototype.constructor,n=e[vr]||gi(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[vr]||gi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function gi(t){return rc(t)?()=>{let e=gi(se(t));return e&&e()}:rt(t)}function cg(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=Xc(i,s,n,r|T.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[Ic];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=el(s),s=s[kt]}i=u}return o}function el(t){let e=t[y],n=e.type;return n===2?e.declTNode:n===1?t[ye]:null}function tl(t){return ig(re(),t)}var or="__parameters__";function lg(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function nl(t,e,n){return Wr(()=>{let r=lg(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(or)?u[or]:Object.defineProperty(u,or,{value:[]})[or];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function dg(t){let e=ae.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function fg(t){return typeof t=="function"}function pg(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Ms(n,e):e(n))}function rl(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Mr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function gg(t,e){let n=[];for(let r=0;r{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(r(d).then(p=>{a[c+f]=p,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>Eg(i));e.push(u)}),vg(),Promise.all(e).then(()=>{})}var Tr=new Map,yg=new Set;function vg(){let t=Tr;return Tr=new Map,t}function Dg(){return Tr.size===0}function wg(t){return typeof t=="string"?t:t.text()}function Eg(t){yg.delete(t)}var Cn=new x("ENVIRONMENT_INITIALIZER"),il=new x("INJECTOR",-1),sl=new x("INJECTOR_DEF_TYPES"),xr=class{get(e,n=tn){if(n===tn){let r=new Error(`NullInjectorError: No provider for ${K(e)}!`);throw r.name="NullInjectorError",r}return n}};function bn(t){return{\u0275providers:t}}function Ig(...t){return{\u0275providers:al(!0,t),\u0275fromNgModule:!0}}function al(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ms(e,s=>{let a=s;mi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ul(o,i),n}function ul(t,e){for(let n=0;n{e(i,r)})}}function mi(t,e,n,r){if(t=se(t),!t)return!1;let o=null,i=yu(t),s=!i&&xe(t);if(!i&&!s){let u=t.ngModule;if(i=yu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)mi(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ms(i.imports,l=>{mi(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&ul(c,e)}if(!a){let c=rt(o)||(()=>new o);e({provide:o,useFactory:c,deps:ke},o),e({provide:sl,useValue:o,multi:!0},o),e({provide:Cn,useValue:()=>C(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;xs(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function xs(t,e){for(let n of t)oc(n)&&(n=n.\u0275providers),Array.isArray(n)?xs(n,e):e(n)}var Cg=R({provide:String,useValue:R});function cl(t){return t!==null&&typeof t=="object"&&Cg in t}function bg(t){return!!(t&&t.useExisting)}function Mg(t){return!!(t&&t.useFactory)}function yi(t){return typeof t=="function"}var Kr=new x("Set Injector scope."),pr={},Tg={},Ko;function Ss(){return Ko===void 0&&(Ko=new xr),Ko}var Le=class{},un=class extends Le{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Di(e,s=>this.processProvider(s)),this.records.set(il,Et(void 0,this)),o.has("environment")&&this.records.set(Le,Et(void 0,this));let i=this.records.get(Kr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(sl,ke,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Re(this),r=Q(void 0),o;try{return e()}finally{Re(n),Q(r)}}get(e,n=tn,r=T.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(gu))return e[gu](this);r=Gr(r);let o,i=Re(this),s=Q(void 0);try{if(!(r&T.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Og(e)&&zr(e);c&&this.injectableDefInScope(c)?u=Et(vi(e),pr):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&T.Self?Ss():this.parent;return n=r&T.Optional&&n===tn?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Dr]=a[Dr]||[]).unshift(K(e)),i)throw a;return th(a,e,"R3InjectorError",this.source)}else throw a}finally{Q(s),Re(i)}}resolveInjectorInitializers(){let e=Re(this),n=Q(void 0),r;try{let o=this.get(Cn,ke,T.Self);for(let i of o)i()}finally{Re(e),Q(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(K(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=se(e);let n=yi(e)?e:se(e&&e.provide),r=Sg(e);if(!yi(e)&&e.multi===!0){let o=this.records.get(n);o||(o=Et(void 0,pr,!0),o.factory=()=>li(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(e,n){return n.value===pr&&(n.value=Tg,n.value=n.factory()),typeof n.value=="object"&&n.value&&Ng(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=se(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function vi(t){let e=zr(t),n=e!==null?e.factory:rt(t);if(n!==null)return n;if(t instanceof x)throw new w(204,!1);if(t instanceof Function)return xg(t);throw new w(204,!1)}function xg(t){let e=t.length;if(e>0){let r=gg(e,"?");throw new w(204,!1)}let n=Wp(t);return n!==null?()=>n.factory(t):()=>new t}function Sg(t){if(cl(t))return Et(void 0,t.useValue);{let e=_g(t);return Et(e,pr)}}function _g(t,e,n){let r;if(yi(t)){let o=se(t);return rt(o)||vi(o)}else if(cl(t))r=()=>se(t.useValue);else if(Mg(t))r=()=>t.useFactory(...li(t.deps||[]));else if(bg(t))r=()=>C(se(t.useExisting));else{let o=se(t&&(t.useClass||t.provide));if(Ag(t))r=()=>new o(...li(t.deps));else return rt(o)||vi(o)}return r}function Et(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ag(t){return!!t.deps}function Ng(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Og(t){return typeof t=="function"||typeof t=="object"&&t instanceof x}function Di(t,e){for(let n of t)Array.isArray(n)?Di(n,e):n&&oc(n)?Di(n.\u0275providers,e):e(n)}function Bx(t,e){t instanceof un&&t.assertNotDestroyed();let n,r=Re(t),o=Q(void 0);try{return e()}finally{Re(r),Q(o)}}function Rg(t){if(!uc()&&!Jp())throw new w(-203,!1)}function _u(t,e=null,n=null,r){let o=ll(t,e,n,r);return o.resolveInjectorInitializers(),o}function ll(t,e=null,n=null,r,o=new Set){let i=[n||ke,Ig(t)];return r=r||(typeof t=="object"?void 0:K(t)),new un(i,e||Ss(),r||null,o)}var Ae=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return _u({name:""},o,r,"");{let i=r.name??"";return _u({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=tn,e.NULL=new xr,e.\u0275prov=_({token:e,providedIn:"any",factory:()=>C(il)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var wi;function dl(t){wi=t}function Jr(){if(wi!==void 0)return wi;if(typeof document<"u")return document;throw new w(210,!1)}var Xr=new x("AppId",{providedIn:"root",factory:()=>Fg}),Fg="ng",_s=new x("Platform Initializer"),Ne=new x("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Hx=new x("AnimationModuleType"),As=new x("CSP nonce",{providedIn:"root",factory:()=>Jr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Pg(t){return t.ownerDocument.body}function fl(t){return t instanceof Function?t():t}function Kt(t){return(t??N(Ae)).get(Ne)==="browser"}var cn="ngSkipHydration",kg="ngskiphydration";function pl(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,Vg="\u200B$1\u200B";function Bg(t){return t.replace(Lg,e=>e.replace(jg,Vg))}var gl=new Map,Hg=0;function $g(){return Hg++}function Ug(t){gl.set(t[Zr],t)}function zg(t){gl.delete(t[Zr])}var Au="__ngContext__";function it(t,e){Ie(e)?(t[Au]=e[Zr],Ug(e)):t[Au]=e}var Gg;function Ns(t,e){return Gg(t,e)}function Os(t){let e=t[L];return W(e)?e[L]:e}function ml(t){return vl(t[on])}function yl(t){return vl(t[he])}function vl(t){for(;t!==null&&!W(t);)t=t[he];return t}function It(t,e,n,r,o){if(r!=null){let i,s=!1;W(r)?i=r:Ie(r)&&(s=!0,r=r[V]);let a=H(r);t===0&&n!==null?o==null?Cl(e,n,a):_r(e,n,a,o||null,!0):t===1&&n!==null?_r(e,n,a,o||null,!0):t===2?Ml(e,a,s):t===3&&e.destroyNode(a),i!=null&&um(e,t,i,n,o)}}function Dl(t,e){return t.createText(e)}function Wg(t,e,n){t.setValue(e,n)}function wl(t,e){return t.createComment(Bg(e))}function Rs(t,e,n){return t.createElement(e,n)}function qg(t,e){let n=e[F];Mn(t,e,n,2,null,null),e[V]=null,e[ye]=null}function Zg(t,e,n,r,o,i){r[V]=o,r[ye]=e,Mn(t,r,n,1,o,i)}function Yg(t,e){Mn(t,e,e[F],2,null,null)}function Qg(t){let e=t[on];if(!e)return Jo(t[y],t);for(;e;){let n=null;if(Ie(e))n=e[on];else{let r=e[z];r&&(n=r)}if(!n){for(;e&&!e[he]&&e!==t;)Ie(e)&&Jo(e[y],e),e=e[L];e===null&&(e=t),Ie(e)&&Jo(e[y],e),n=e&&e[he]}e=n}}function Kg(t,e,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][he]=e),r0&&(t[n-1][he]=r[he]);let i=Mr(t,z+e);qg(r[y],r);let s=i[Ee];s!==null&&s.detachView(i[y]),r[L]=null,r[he]=null,r[D]&=-129}return r}function eo(t,e){if(!(e[D]&256)){let n=e[F];e[tt]&&fu(e[tt]),n.destroyNode&&Mn(t,e,n,3,null,null),Qg(e)}}function Jo(t,e){if(!(e[D]&256)){e[D]&=-129,e[D]|=256,em(t,e),Xg(t,e),e[y].type===1&&e[F].destroy();let n=e[vn];if(n!==null&&W(e[L])){n!==e[L]&&El(n,e);let r=e[Ee];r!==null&&r.detachView(t)}zg(e)}}function Xg(t,e){let n=t.cleanup,r=e[rn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[rn]=null);let o=e[Fe];if(o!==null){e[Fe]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===ge.None||i===ge.Emulated)return null}return te(r,n)}}function _r(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Cl(t,e,n){t.appendChild(e,n)}function Nu(t,e,n,r,o){r!==null?_r(t,e,n,r,o):Cl(t,e,n)}function nm(t,e,n,r){t.removeChild(e,n,r)}function Fs(t,e){return t.parentNode(e)}function rm(t,e){return t.nextSibling(e)}function om(t,e,n){return sm(t,e,n)}function im(t,e,n){return t.type&40?te(t,n):null}var sm=im,Ou;function Ps(t,e,n,r){let o=Il(t,r,e),i=e[F],s=r.parent||e[ye],a=om(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return ir}function Ru(t){return lm()?.createScriptURL(t)||t}var Ar=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ic})`}};function to(t){return t instanceof Ar?t.changingThisBreaksApplicationSecurity:t}function Ls(t,e){let n=dm(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${ic})`)}return n===e}function dm(t){return t instanceof Ar&&t.getTypeName()||null}var fm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _l(t){return t=String(t),t.match(fm)?t:"unsafe:"+t}var no=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(no||{});function pm(t){let e=Al();return e?e.sanitize(no.URL,t)||"":Ls(t,"URL")?to(t):_l(et(t))}function hm(t){let e=Al();if(e)return Ru(e.sanitize(no.RESOURCE_URL,t)||"");if(Ls(t,"ResourceURL"))return Ru(to(t));throw new w(904,!1)}function gm(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?hm:pm}function $x(t,e,n){return gm(e,n)(t)}function Al(){let t=S();return t&&t[St].sanitizer}function mm(){let t=new $e;return N(Ne)==="browser"&&(t.store=ym(Jr(),N(Xr))),t}var $e=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function wm(t,e,n=!1){let r=t.getAttribute(en);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=n?o:i?`|${i}`:"",a={};if(r!==""){let c=e.get($e,null,{optional:!0});c!==null&&(a=c.get(Bs,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,ro(u,0,t.nextSibling)),s?t.setAttribute(en,s):t.removeAttribute(en),u}function Em(){Nl=wm}function Hs(t,e,n=!1){return Nl(t,e,n)}function Ol(t){let e=t._lView;return e[y].type===2?null:(gs(e)&&(e=e[P]),e)}function Im(t){return t.textContent?.replace(/\s/gm,"")}function Cm(t){let e=Jr(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Im(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(e.createTextNode("")):i.remove()}function ro(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function Ti(t,e){return t.segmentHeads?.[e]??null}function bm(t,e){let n=t.data,r=n[Ii]?.[e]??null;return r===null&&n[fn]?.[e]&&(r=$s(t,e)),r}function Rl(t,e){return t.data[fn]?.[e]??null}function $s(t,e){let n=Rl(t,e)??[],r=0;for(let o of n)r+=o[Ot]*(o[Nr]??1);return r}function oo(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[gr];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var xi=class{},Or=class{};function Mm(t){let e=Error(`No component factory found for ${K(t)}.`);return e[Tm]=t,e}var Tm="ngComponent";var Si=class{resolveComponentFactory(e){throw Mm(e)}},io=(()=>{let e=class e{};e.NULL=new Si;let t=e;return t})();function xm(){return jt(re(),S())}function jt(t,e){return new ut(te(t,e))}var ut=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=xm;let t=e;return t})();function Sm(t){return t instanceof ut?t.nativeElement:t}var pn=class{},Us=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>_m();let t=e;return t})();function _m(){let t=S(),e=re(),n=Be(e.index,t);return(Ie(n)?n:t)[F]}var Am=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),hn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Nm=new hn("17.0.4"),Xo={};function zs(t){let e=B(null);try{return t()}finally{B(e)}}function Fl(t){return Gs(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Om(t,e){if(Array.isArray(t))for(let n=0;ne,Ai=class{constructor(e){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=e||Rm}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,o),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new Ni(n,r),i,o)),e}_verifyReinsertion(e,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let o=n===null?this._itHead:n._next;return e._next=o,e._prev=n,o===null?this._itTail=e:o._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new Rr),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Rr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Ni=class{constructor(e,n){this.item=e,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}},Oi=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Rr=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new Oi,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,o=this.map.get(r);return o?o.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Fu(t,e,n){let r=t.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Pi(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},Pi=class{constructor(e){this.key=e,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 Pu(){return new Ws([new _i])}var Ws=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||Pu()),deps:[[e,new ol,new Ts]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new w(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:Pu});let t=e;return t})();function ku(){return new qs([new Ri])}var qs=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||ku()),deps:[[e,new ol,new Ts]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new w(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:ku});let t=e;return t})();function gn(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(H(i)),W(i)&&Pl(i,r);let s=n.type;if(s&8)gn(t,e,n.child,r);else if(s&32){let a=Ns(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=bl(e,n);if(Array.isArray(a))r.push(...a);else{let u=Os(e[J]);gn(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Pl(t,e){for(let n=z;n{Yr(t.lView)},consumerOnSignalRead(){this.lView[tt]=this}}),jm="ngOriginalError";function ei(t){return t[jm]}var me=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&ei(e);for(;n&&ei(n);)n=ei(n);return n||null}},sr=new x(""),Ll=!1,jl=new x("",{providedIn:"root",factory:()=>Ll});var Oe={};function Ux(t){Vl(ne(),S(),In()+t,!1)}function Vl(t,e,n,r){if(!r)if((e[D]&3)===3){let i=t.preOrderCheckHooks;i!==null&&lr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&dr(e,i,0,n)}ot(n)}function ue(t,e=T.Default){let n=S();if(n===null)return C(t,e);let r=re();return Jc(r,n,se(t),e)}function Vm(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rP&&Vl(t,e,P,!1),De(s?2:0,o),n(r,o)}finally{ot(i),De(s?3:1,o)}}function $l(t,e,n){if(Cc(e)){let r=B(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function zm(t){hl(t)?Tl(t):Cm(t)}function Gm(){Wl=zm}function Wm(t,e,n,r){let o=td(e);o.push(n),t.firstCreatePass&&nd(t).push(r,o.length-1)}function qm(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return Dn()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Lu(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?ju(n,e,o,i):r.hasOwnProperty(o)&&ju(n,e,r[o],i)}return n}function ju(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function Zm(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function Xm(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;Lt(n)&&sy(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||Zc(n,e),it(r,e);let s=n.initialInputs;for(let a=o;a-1&&(ln(e,r),Mr(n,r))}this._attachedToViewContainer=!1}eo(this._lView[y],this._lView)}onDestroy(e){Oc(this._lView,e)}markForCheck(){Qs(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){Nc(this._lView),this._lView[D]|=128}detectChanges(){dy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Yg(this._lView[y],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e}},ld=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=my;let t=e;return t})();function my(t){return yy(re(),S(),(t&16)===16)}function yy(t,e,n){if(Lt(t)&&!n){let r=Be(t.index,e);return new st(r,r)}else if(t.type&47){let r=e[J];return new st(r,e)}return null}var dd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=vy,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),ji=class extends dd{constructor(e){super(),this._lView=e}onDestroy(e){return Oc(this._lView,e),()=>Ah(this._lView,e)}};function vy(){return new ji(S())}var Vu=new Set;function Ue(t){Vu.has(t)||(Vu.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var Vi=class extends Z{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=ti(i),o&&(o=ti(o)),s&&(s=ti(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof $&&e.add(a),a}};function ti(t){return e=>{setTimeout(t,void 0,e)}}var pe=Vi;function Bu(...t){}function Dy(){let t=typeof ae.requestAnimationFrame=="function",e=ae[t?"requestAnimationFrame":"setTimeout"],n=ae[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var k=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Dy().nativeRequestAnimationFrame,Iy(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,wy,Bu,Bu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},wy={};function Ks(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ey(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ae,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Bi(t),t.isCheckStableRunning=!0,Ks(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Bi(t))}function Iy(t){let e=()=>{Ey(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Cy(a))return n.invokeTask(o,i,s,a);try{return Hu(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),$u(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Hu(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),$u(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Bi(t),Ks(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Bi(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Hu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function $u(t){t._nesting--,Ks(t)}var Hi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}},fd=new x("",{providedIn:"root",factory:pd});function pd(){let t=N(k),e=!0,n=new I(o=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(e),o.complete()})}),r=new I(o=>{let i;t.runOutsideAngular(()=>{i=t.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,o.next(!0))})})});let s=t.onUnstable.subscribe(()=>{k.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return Lo(n,r.pipe(tr()))}function Cy(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Ct=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ct||{}),by={destroy(){}};function My(t,e){!e&&Rg(My);let n=e?.injector??N(Ae);if(!Kt(n))return by;Ue("NgAfterNextRender");let r=n.get(hd),o=r.handler??=new Ui,i=e?.phase??Ct.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(dd).onDestroy(s),u=new $i(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var $i=class{constructor(e,n,r){this.phase=n,this.callbackFn=r,this.zone=e.get(k),this.errorHandler=e.get(me,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Ui=class{constructor(){this.executingCallbacks=!1,this.buckets={[Ct.EarlyRead]:new Set,[Ct.Write]:new Set,[Ct.MixedReadWrite]:new Set,[Ct.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new w(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let n of e)n.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},hd=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Ty(t,e){let n=Be(e,t),r=n[y];xy(r,n);let o=n[V];o!==null&&n[Se]===null&&(n[Se]=Hs(o,n[xt])),Js(r,n,n[U])}function xy(t,e){for(let n=e.length;n0&&xl(t,n,i.join(" "))}}function Py(t,e,n){let r=t.projection=[];for(let o=0;o=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=nn(o.hostAttrs,n=nn(n,o.hostAttrs))}}function ar(t){return t===Tt?{}:t===ke?[]:t}function By(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function Hy(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function $y(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function Uy(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}t.inputTransforms=n}function gd(t,e,n){return t[e]=n}function je(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function md(t,e,n,r){let o=je(t,e,n);return je(t,e+1,r)||o}function zy(t,e,n,r){let o=S(),i=En();if(je(o,i,e)){let s=ne(),a=Qr();Kl(a,o,t,e,n,r)}return zy}function Xs(t,e,n,r){return je(t,En(),n)?e+et(n)+r:Oe}function Gy(t,e,n,r,o,i){let s=Vh(),a=md(t,s,n,o);return Hh(2),a?e+et(n)+r+et(o)+i:Oe}function Wy(t,e,n,r,o,i){let s=S(),a=Xs(s,e,n,r);if(a!==Oe){let u=Qr();Kl(u,s,t,a,o,i)}return Wy}function qy(t,e,n){let r=S(),o=En();if(je(r,o,e)){let i=ne(),s=Qr();ql(i,s,r,t,e,r[F],n,!1)}return qy}function zu(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";Ys(t,n,i[s],s,r)}var qi="<-- AT THIS LOCATION";function Zy(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}function Yy(t,e){let n=`During serialization, Angular was unable to find an element in the DOM: + +`,r=`${ev(t,e,!1)} + +`,o=nv();throw new w(-502,n+r+o)}function Qy(t){let e="During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via `ViewContainerRef.createComponent` or `createComponent` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using `ngSkipHydration` on the host element of the component.\n\n",n=`${tv(t)} + +`,r=e+n+rv();return new w(-503,r)}function Ky(t){let e=[];if(t.attrs)for(let n=0;n${e}`;case 8:return"";case 4:return"";default:return`#node(${Zy(t.type)})`}}function mr(t,e="\u2026"){let n=t;switch(n.nodeType){case Node.ELEMENT_NODE:let r=n.tagName.toLowerCase(),o=Xy(n);return`<${r}${o?" "+o:""}>${e}`;case Node.TEXT_NODE:let i=n.textContent?Pr(n.textContent):"";return`#text${i?`(${i})`:""}`;case Node.COMMENT_NODE:return``;default:return`#node(${n.nodeType})`}}function ev(t,e,n){let r=" ",o="";e.prev?(o+=r+`\u2026 +`,o+=r+ni(e.prev)+` +`):e.type&&e.type&12&&(o+=r+`\u2026 +`),n?(o+=r+ni(e)+` +`,o+=r+` ${qi} +`):o+=r+ni(e)+` ${qi} +`,o+=r+`\u2026 +`;let i=e.type?Il(t[y],e,t):null;return i&&(o=mr(i,` +`+o)),o}function tv(t){let e=" ",n="",r=t;return r.previousSibling&&(n+=e+`\u2026 +`,n+=e+mr(r.previousSibling)+` +`),n+=e+mr(r)+` ${qi} +`,t.nextSibling&&(n+=e+`\u2026 +`),t.parentNode&&(n=mr(r.parentNode,` +`+n)),n}function nv(t){return`To fix this problem: + * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues + * check to see if your template has valid HTML structure + * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template + +`}function rv(){return`Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches. + +`}function ov(t){return t.replace(/\s+/gm,"")}function Pr(t,e=50){return t?(t=ov(t),t.length>e?`${t.substring(0,e-1)}\u2026`:t):""}function yd(t){let e=t[sn]??[],r=t[L][F];for(let o of e)iv(o,r);t[sn]=ke}function iv(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[Ot];for(;n0&&n[o-1]===r){let i=n[o]||1;n[o]=i+1}else n.push(r,"")}return n.join("")}function cv(t){let e=t.match(av),[n,r,o,i]=e,s=r?parseInt(r,10):o,a=[];for(let[u,c,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(c,d)}return[s,...a]}function lv(t){return!t.prev&&t.parent?.type===8}function ri(t){return t.index-P}function co(t,e,n,r){let o=null,i=ri(r),s=t.data[Mi];if(s?.[i])o=fv(s[i],n);else if(e.firstChild===r)o=t.firstChild;else{let a=r.prev===null,u=r.prev??r.parent;if(lv(r)){let c=ri(r.parent);o=Ti(t,c)}else{let c=te(u,n);if(a)o=c.firstChild;else{let l=ri(u),d=Ti(t,l);if(u.type===2&&d){let p=$s(t,l)+1;o=lo(p,d)}else o=c.nextSibling}}}return o}function lo(t,e){let n=e;for(let r=0;r0&&(i.firstChild=t,t=lo(r[Ot],t)),n.push(i)}return[t,n]}var Dd=(t,e)=>null;function mv(t,e){let n=t[sn];return!e||n===null||n.length===0?null:n[0].data[bi]===e?n.shift():(yd(t),null)}function yv(){Dd=mv}function mn(t,e){return Dd(t,e)}var Yi=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),o=Math.max(e,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(e,n){this.attach(n,this.detach(e))}};function oi(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function vv(t,e,n){let r,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let u=t.at(i),c=e[i],l=oi(i,u,i,c,n);if(l!==0){l<0&&t.updateValue(i,c),i++;continue}let d=t.at(s),f=e[a],p=oi(s,d,a,f,n);if(p!==0){p<0&&t.updateValue(s,f),s--,a--;continue}let h=n(i,u),E=n(s,d),O=n(i,c);if(Object.is(O,E)){let A=n(a,f);Object.is(A,h)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,c),i++;continue}if(r??=new Lr,o??=qu(t,i,s,n),Qi(t,r,i,O))t.updateValue(i,c),i++,s++;else if(o.has(O))r.set(h,t.detach(i)),s--;else{let A=t.create(i,e[i]);t.attach(i,A),i++,s++}}for(;i<=a;)Wu(t,r,n,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=t.at(i),l=u.value,d=oi(i,c,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{r??=new Lr,o??=qu(t,i,s,n);let f=n(i,l);if(Qi(t,r,i,f))t.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,t.detach(i)),s--}}}for(;!u.done;)Wu(t,r,n,t.length,u.value),u=a.next()}for(;i<=s;)t.destroy(t.detach(s--));r?.forEach(a=>{t.destroy(a)})}function Qi(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Wu(t,e,n,r,o){if(Qi(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function qu(t,e,n,r){let o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}var Lr=class{constructor(){this.map=new Map}has(e){let n=this.map.get(e);return n!==void 0&&n.length>0}delete(e){let n=this.map.get(e);return n!==void 0?(n.shift(),!0):!1}get(e){let n=this.map.get(e);return n!==void 0&&n.length>0?n[0]:void 0}set(e,n){if(!this.map.has(e)){this.map.set(e,[n]);return}this.map.get(e)?.push(n)}forEach(e){for(let[n,r]of this.map)for(let o of r)e(o,n)}};function fo(t,e,n,r){let o=e.tView,s=t[D]&4096?4096:16,a=so(t,o,n,s,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),u=t[e.index];a[vn]=u;let c=t[Ee];return c!==null&&(a[Ee]=c.createEmbeddedView(o)),Js(o,a,n),a}function wd(t,e){let n=z+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=Dv;let t=e;return t})();function Dv(){let t=re();return Cd(t,S())}var wv=Tn,Id=class extends wv{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return jt(this._hostTNode,this._hostLView)}get injector(){return new Xe(this._hostTNode,this._hostLView)}get parentInjector(){let e=bs(this._hostTNode,this._hostLView);if(Gc(e)){let n=Cr(e,this._hostLView),r=Ir(e),o=n[y].data[r+8];return new Xe(o,n)}else return new Xe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=Zu(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-z}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=mn(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,yn(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!fg(e),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?e:new Rt(xe(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let E=(s?c:this.parentInjector).get(Le,null);E&&(i=E)}let l=xe(u.componentType??{}),d=mn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,yn(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(xh(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[L],c=new Id(u,u[ye],u[L]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return po(s,o,i,r),e.attachToViewContainerRef(),rl(ii(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Zu(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=ln(this._lContainer,n);r&&(Mr(ii(this._lContainer),n),eo(r[y],r))}detach(e){let n=this._adjustIndex(e,-1),r=ln(this._lContainer,n);return r&&Mr(ii(this._lContainer),n)!=null?new st(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Zu(t){return t[wr]}function ii(t){return t[wr]||(t[wr]=[])}function Cd(t,e){let n,r=e[t.index];return W(r)?n=r:(n=Xl(r,e,null,t),e[t.index]=n,uo(e,n)),bd(n,e,t,r),new Id(n,t,e)}function Ev(t,e){let n=t[F],r=n.createComment(""),o=te(e,t),i=Fs(n,o);return _r(n,i,r,rm(n,o),!1),r}var bd=Md,ea=(t,e,n)=>!1;function Iv(t,e,n){return ea(t,e,n)}function Md(t,e,n,r){if(t[_e])return;let o;n.type&8?o=H(r):o=Ev(e,n),t[_e]=o}function Cv(t,e,n){if(t[_e]&&t[sn])return!0;let r=n[Se],o=e.index-P;if(!r||hr(e)||oo(r,o))return!1;let s=Ti(r,o),a=r.data[fn]?.[o],[u,c]=gv(s,a);return t[_e]=u,t[sn]=c,!0}function bv(t,e,n,r){ea(t,n,e)||Md(t,e,n,r)}function Mv(){bd=bv,ea=Cv}function Tv(t,e,n,r,o,i,s,a,u){let c=e.consts,l=ao(e,t,4,s||null,Er(c,a));Zl(e,n,l,Er(c,u)),Cs(e,l);let d=l.tView=Zs(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Ki(t,e,n,r,o,i,s,a){let u=S(),c=ne(),l=t+P,d=c.firstCreatePass?Tv(l,c,u,e,n,r,o,i,s):c.data[l];wn(d,!1);let f=Td(c,u,d,t);Is()&&Ps(c,u,f,d),it(f,u);let p=Xl(f,u,f,d);return u[l]=p,uo(u,p),Iv(p,d,u),hs(d)&&Ul(c,u,d),s!=null&&zl(u,d,a),Ki}var Td=xd;function xd(t,e,n,r){return He(!0),e[F].createComment("")}function xv(t,e,n,r){let o=e[Se],i=!o||Dn()||oo(o,r);if(He(i),i)return xd(t,e,n,r);let s=o.data[Ci]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=co(o,t,e,n);ro(o,r,a);let u=$s(o,r);return lo(u,a)}function Sv(){Td=xv}function Gx(t,e,n){Ue("NgControlFlow");let r=S(),o=En(),i=ts(r,P+t),s=0;if(je(r,o,e)){let a=B(null);try{if(Ed(i,s),e!==-1){let u=ns(r[y],P+e),c=mn(i,u.tView.ssrId),l=fo(r,u,n,{dehydratedView:c});po(i,l,s,yn(u,c))}}finally{B(a)}}else{let a=wd(i,s);a!==void 0&&(a[U]=n)}}var Ji=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function Wx(t,e){return e}var Xi=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function qx(t,e,n,r,o,i,s,a,u,c,l){Ue("NgControlFlow");let d=u!==void 0,f=S(),p=a?s.bind(f[J][U]):s,h=new Xi(d,p);f[P+t]=h,Ki(t+1,e,n,r,o,i),d&&Ki(t+2,u,c,l)}var es=class extends Yi{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-z}at(e){return this.getLView(e)[U].$implicit}attach(e,n){let r=n[Se];this.needsIndexUpdate||=e!==this.length,po(this.lContainer,n,e,yn(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,_v(this.lContainer,e)}create(e,n){let r=mn(this.lContainer,this.templateTNode.tView.ssrId);return fo(this.hostLView,this.templateTNode,new Ji(this.lContainer,n,e),{dehydratedView:r})}destroy(e){eo(e[y],e)}updateValue(e,n){this.getLView(e)[U].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(He(!0),Rs(r,o,$c()));function Rv(t,e,n,r,o,i){let s=e[Se],a=!s||Dn()||oo(s,i);if(He(a),a)return Rs(r,o,$c());let u=co(s,t,e,n);return Rl(s,i)&&ro(s,i,u.nextSibling),s&&(pl(n)||hl(u))&&Lt(n)&&(Ph(n),Tl(u)),u}function Fv(){Ad=Rv}var Pv=(t,e,n,r)=>(He(!0),wl(e[F],""));function kv(t,e,n,r){let o,i=e[Se],s=!i||Dn();if(He(s),s)return wl(e[F],"");let a=co(i,t,e,n),u=bm(i,r);return ro(i,r,a),o=lo(u,a),o}function Lv(){Pv=kv}function Yx(){return S()}var Je=void 0;function jv(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Vv=["en",[["a","p"],["AM","PM"],Je],[["AM","PM"],Je,Je],[["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"]],Je,[["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"]],Je,[["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}",Je,"{1} 'at' {0}",Je],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",jv],si={};function Nd(t){let e=Bv(t),n=Yu(e);if(n)return n;let r=e.split("-")[0];if(n=Yu(r),n)return n;if(r==="en")return Vv;throw new w(701,!1)}function Od(t){return Nd(t)[ta.PluralCase]}function Yu(t){return t in si||(si[t]=ae.ng&&ae.ng.common&&ae.ng.common.locales&&ae.ng.common.locales[t]),si[t]}var ta=function(t){return 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}(ta||{});function Bv(t){return t.toLowerCase().replace(/_/g,"-")}var Ft="en-US";var Hv=Ft;function Rd(t){zp(t,"Expected localeId to be defined"),typeof t=="string"&&(Hv=t.toLowerCase().replace(/_/g,"-"))}function ho(t){return!!t&&typeof t.then=="function"}function na(t){return!!t&&typeof t.subscribe=="function"}function $v(t,e,n,r){let o=S(),i=ne(),s=re();return zv(i,o,o[F],s,t,e,r),$v}function Uv(t,e,n,r){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function zv(t,e,n,r,o,i,s){let a=hs(r),c=t.firstCreatePass&&nd(t),l=e[U],d=td(e),f=!0;if(r.type&3||s){let E=te(r,e),O=s?s(E):E,A=d.length,j=s?Ce=>s(H(Ce[r.index])):r.index,q=null;if(!s&&a&&(q=Uv(t,e,o,r.index)),q!==null){let Ce=q.__ngLastListenerFn__||q;Ce.__ngNextListenerFn__=i,q.__ngLastListenerFn__=i,f=!1}else{i=Ku(r,e,l,i,!1);let Ce=n.listen(O,o,i);d.push(i,Ce),c&&c.push(o,j,A,A+1)}}else i=Ku(r,e,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let E=h.length;if(E)for(let O=0;O-1?Be(t.index,e):e;Qs(a);let u=Qu(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Qu(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Qx(t=1){return Wh(t)}function Gv(t,e,n,r,o){let i=S(),s=Xs(i,e,n,r);if(s!==Oe){let a=ne(),u=Qr();ql(a,u,i,t,s,i[F],o,!1)}return Gv}function Wv(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function Kx(t,e=""){let n=S(),r=ne(),o=t+P,i=r.firstCreatePass?ao(r,o,1,e,null):r.data[o],s=Fd(r,n,i,e,t);n[o]=s,Is()&&Ps(r,n,s,i),wn(i,!1)}var Fd=(t,e,n,r,o)=>(He(!0),Dl(e[F],r));function qv(t,e,n,r,o){let i=e[Se],s=!i||Dn()||oo(i,o);return He(s),s?Dl(e[F],r):co(i,t,e,n)}function Zv(){Fd=qv}function Yv(t){return Pd("",t,""),Yv}function Pd(t,e,n){let r=S(),o=Xs(r,t,e,n);return o!==Oe&&od(r,In(),o),Pd}function Qv(t,e,n,r,o){let i=S(),s=Gy(i,t,e,n,r,o);return s!==Oe&&od(i,In(),s),Qv}var Ve=class{},rs=class{};var jr=class extends Ve{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fr(this);let o=Dc(e);this._bootstrapComponents=fl(o.bootstrap),this._r3Injector=ll(e,n,[{provide:Ve,useValue:this},{provide:io,useValue:this.componentFactoryResolver},...r],K(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Vr=class extends rs{constructor(e){super(),this.moduleType=e}create(e){return new jr(this.moduleType,e,[])}};function Kv(t,e,n){return new jr(t,e,n)}var Br=class extends Ve{constructor(e){super(),this.componentFactoryResolver=new Fr(this),this.instance=null;let n=new un([...e.providers,{provide:Ve,useValue:this},{provide:io,useValue:this.componentFactoryResolver}],e.parent||Ss(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Jv(t,e,n=null){return new Br({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var Xv=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=al(!1,r.type),i=o.length>0?Jv([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=_({token:e,providedIn:"environment",factory:()=>new e(C(Le))});let t=e;return t})();function Jx(t){Ue("NgStandalone"),t.getStandaloneInjector=e=>e.get(Xv).getOrCreateStandaloneInjector(t)}function Xx(t,e,n,r){return Ld(S(),vs(),t,e,n,r)}function eS(t,e,n,r,o){return eD(S(),vs(),t,e,n,r,o)}function kd(t,e){let n=t[e];return n===Oe?void 0:n}function Ld(t,e,n,r,o,i){let s=e+n;return je(t,s,o)?gd(t,s+1,i?r.call(i,o):r(o)):kd(t,s+1)}function eD(t,e,n,r,o,i,s){let a=e+n;return md(t,a,o,i)?gd(t,a+2,s?r.call(s,o,i):r(o,i)):kd(t,a+2)}function tS(t,e){let n=ne(),r,o=t+P;n.firstCreatePass?(r=tD(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=rt(r.type,!0)),s,a=Q(ue);try{let u=br(!1),c=i();return br(u),Wv(n,S(),o,c),c}finally{Q(a)}}function tD(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function nS(t,e,n){let r=t+P,o=S(),i=Mh(o,r);return nD(o,r)?Ld(o,vs(),e,i.transform,n,i):i.transform(n)}function nD(t,e){return t[y].data[e].pure}function rD(){return this._results[Symbol.iterator]()}var os=class t{get changes(){return this._changes||(this._changes=new pe)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=rD)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=hg(e);(this._changesDetected=!pg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},Pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=sD;let t=e;return t})(),oD=Pt,iD=class extends oD{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=fo(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new st(o)}};function sD(){return ra(re(),S())}function ra(t,e){return t.type&4?new iD(e,t,jt(t,e)):null}var is=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},ss=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=z;d{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=N(hD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(ho(s))r.push(s);else if(na(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$d=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function gD(){return typeof $localize<"u"&&$localize.locale||Ft}var Vt=new x("LocaleId",{providedIn:"root",factory:()=>N(Vt,T.Optional|T.SkipSelf)||gD()});var Ud=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new $t(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ls=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},uS=(()=>{let e=class e{compileModuleSync(r){return new Vr(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Dc(r),s=fl(i.declarations).reduce((a,u)=>{let c=xe(u);return c&&a.push(new Rt(c)),a},[]);return new ls(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mD=new x("compilerOptions");var zd=new x(""),Gd=new x(""),yD=(()=>{let e=class e{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ia||(vD(i),i.addToWindow(o)),this._watchAngularEvents(),r.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:()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{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&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(C(k),C(Wd),C(Gd))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Wd=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return ia?.findTestabilityInTree(this,r,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function vD(t){ia=t}var ia,Pe=null,qd=new x("AllowMultipleToken"),sa=new x("PlatformDestroyListeners"),go=new x("appBootstrapListener");function DD(t,e,n){let r=new Vr(n);return Promise.resolve(r)}function Zd(){pu(()=>{throw new w(600,!1)})}function wD(t){return t.isBoundToModule}function ED(t){if(Pe&&!Pe.get(qd,!1))throw new w(400,!1);Zd(),Pe=t;let e=t.get(ef);return Yd(t),e}function ID(t=[]){if(Pe)return Pe;let e=Jd(t);return Pe=e,Zd(),Yd(e),e}function Yd(t){t.get(_s,null)?.forEach(n=>n())}function Qd(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=ID(r),i=[xD(),...n||[]],a=new Br({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(k);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(me,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(sa);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),nf(c,u,()=>{let p=a.get(oa);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Vt,Ft);Rd(h||Ft);let E=a.get(ct);return e!==void 0&&E.bootstrap(e),E})})})}catch(e){return Promise.reject(e)}}function Kd(t,e,n=[]){let r=`Platform: ${e}`,o=new x(r);return(i=[])=>{let s=Xd();if(!s||s.injector.get(qd,!1)){let a=[...n,...i,{provide:o,useValue:!0}];t?t(a):ED(Jd(a,r))}return CD(o)}}function CD(t){let e=Xd();if(!e)throw new w(401,!1);return e}function Jd(t=[],e){return Ae.create({name:e,providers:[{provide:Kr,useValue:"platform"},{provide:sa,useValue:new Set([()=>Pe=null])},...t]})}function Xd(){return Pe?.get(ef)??null}var ef=(()=>{let e=class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=bD(o?.ngZone,tf({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=Kv(r.moduleType,this.injector,sf(()=>i)),a=s.injector.get(me,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{yr(this._modules,s),u.unsubscribe()})}),nf(a,i,()=>{let u=s.injector.get(oa);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(Vt,Ft);return Rd(c||Ft),this._moduleDoBootstrap(s),s})})})}bootstrapModule(r,o=[]){let i=rf({},o);return DD(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(ct);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(r.instance.ngDoBootstrap)r.instance.ngDoBootstrap(o);else throw new w(-403,!1);this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let r=this._injector.get(sa,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(C(Ae))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function tf(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function bD(t="zone.js",e){return t==="noop"?new Hi:t==="zone.js"?new k(e):t}function nf(t,e,n){try{let r=n();return ho(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}function rf(t,e){return Array.isArray(e)?e.reduce(rf,t):X(X({},t),e)}var ct=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=N(of),this.zoneIsStable=N(fd),this.componentTypes=[],this.components=[],this.isStable=N(Ud).hasPendingTasks.pipe(zt(r=>r?Zt(!1):this.zoneIsStable),Bo(),tr()),this._injector=N(Le)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Or;if(!this._injector.get(oa).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&mh(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new w(405,!1)}let a;i?a=r:a=this._injector.get(io).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=wD(a)?void 0:this._injector.get(Ve),c=o||a.selector,l=a.create(Ae.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(zd,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),yr(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;yr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(go,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>yr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new w(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function yr(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Ju(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var of=new x("",{providedIn:"root",factory:()=>N(me).handleError.bind(void 0)});function MD(){let t=N(k),e=N(me);return n=>t.runOutsideAngular(()=>e.handleError(n))}var TD=(()=>{let e=class e{constructor(){this.zone=N(k),this.applicationRef=N(ct)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sf(t){return[{provide:k,useFactory:t},{provide:Cn,multi:!0,useFactory:()=>{let e=N(TD,{optional:!0});return()=>e.initialize()}},{provide:of,useFactory:MD},{provide:fd,useFactory:pd}]}function xD(t){let e=sf(()=>new k(tf(t)));return bn([[],e])}var cr;function aa(t){cr??=new WeakMap;let e=cr.get(t);if(e)return e;let n=t.isStable.pipe(Ho(r=>r)).toPromise().then(()=>{});return cr.set(t,n),t.onDestroy(()=>cr?.delete(t)),n}function cS(){return!1}var SD=Kd(null,"core",[]);var ds=class{constructor(){this.views=[],this.indexByContent=new Map}add(e){let n=JSON.stringify(e);if(!this.indexByContent.has(n)){let r=this.views.length;return this.views.push(e),this.indexByContent.set(n,r),r}return this.indexByContent.get(n)}getAll(){return this.views}},_D=0;function af(t){return t.ssrId||(t.ssrId=`t${_D++}`),t.ssrId}function uf(t,e,n){let r=[];return gn(t,e,n,r),r.length}function AD(t){let e=[];return Pl(t,e),e.length}function cf(t,e){let n=t[V];return n&&!n.hasAttribute(cn)?$r(n,t,e):null}function lf(t,e){let n=_c(t[V]),r=cf(n,e),o=H(n[V]),i=t[L],s=$r(o,i,e),a=n[F],u=`${r}|${s}`;a.setAttribute(o,en,u)}function lS(t,e){let n=new ds,r=new Map,o=t._views;for(let a of o){let u=Ol(a);if(u!==null){let c={serializedViewCollection:n,corruptedTextNodes:r};W(u)?lf(u,c):cf(u,c),RD(r,e)}}let i=n.getAll();t.injector.get($e).set(Bs,i)}function ND(t,e){let n=[],r="";for(let o=z;o0&&c===r){let l=n[n.length-1];l[Nr]??=1,l[Nr]++}else r=c,n.push(u)}return n}function ai(t,e,n){let r=e.index-P;t[Mi]??={},t[Mi][r]=hv(e,n)}function Xu(t,e){let n=e.index-P;t[gr]??=[],t[gr].includes(n)||t[gr].push(n)}function df(t,e){let n={},r=t[y];for(let o=P;o{let t=!0;return Kt()&&(t=!!N($e,{optional:!0})?.get(Bs,null)),t&&Ue("NgHydration"),t}},{provide:Cn,useValue:()=>{Kt()&&N(sr)&&(LD(),PD())},multi:!0},{provide:jl,useFactory:()=>Kt()&&N(sr)},{provide:go,useFactory:()=>{if(Kt()&&N(sr)){let t=N(ct),e=N(Ae);return()=>{kD(t,e).then(()=>{k.assertInAngularZone(),sv(t)})}}return()=>{}},multi:!0}])}function LD(){let t=Jr(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Dm){e=n;break}if(!e)throw new w(-507,!1)}function jD(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function dS(t){let e=xe(t);if(!e)return null;let n=new Rt(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}function fS(...t){return t.reduce((e,n)=>Object.assign(e,n,{providers:[...e.providers,...n.providers]}),{providers:[]})}var ca=null;function Ht(){return ca}function vf(t){ca||(ca=t)}var mo=class{},oe=new x("DocumentToken"),Df=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:()=>(()=>N(HD))(),providedIn:"platform"});let t=e;return t})();var HD=(()=>{let e=class e extends Df{constructor(){super(),this._doc=N(oe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ht().getBaseHref(this._doc)}onPopState(r){let o=Ht().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Ht().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function wf(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function hf(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function lt(t){return t&&t[0]!=="?"?"?"+t:t}var ha=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:()=>(()=>N(UD))(),providedIn:"root"});let t=e;return t})(),$D=new x("appBaseHref"),UD=(()=>{let e=class e extends ha{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??N(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return wf(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+lt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+lt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+lt(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(o){return new(o||e)(C(Df),C($D,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var zD=(()=>{let e=class e{constructor(r){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=qD(hf(gf(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+lt(o))}normalize(r){return e.stripTrailingSlash(WD(this._basePath,gf(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+lt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+lt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};e.normalizeQueryParams=lt,e.joinWithSlash=wf,e.stripTrailingSlash=hf,e.\u0275fac=function(o){return new(o||e)(C(ha))},e.\u0275prov=_({token:e,factory:()=>GD(),providedIn:"root"});let t=e;return t})();function GD(){return new zD(C(ha))}function WD(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function gf(t){return t.replace(/\/index.html$/,"")}function qD(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var Bt=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(Bt||{});var ZD=Od;var Ef=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:function(o){let i=null;return o?i=new o:i=(s=>new QD(s))(C(Vt)),i},providedIn:"root"});let t=e;return t})();function YD(t,e,n,r){let o=`=${t}`;if(e.indexOf(o)>-1||(o=n.getPluralCategory(t,r),e.indexOf(o)>-1))return o;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}var QD=(()=>{let e=class e extends Ef{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(ZD(o||this.locale)(r)){case Bt.Zero:return"zero";case Bt.One:return"one";case Bt.Two:return"two";case Bt.Few:return"few";case Bt.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(C(Vt))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function If(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var ua=/\s+/,mf=[],OS=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=mf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ua):mf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ua):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(ua).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(ue(Ws),ue(qs),ue(ut),ue(Us))},e.\u0275dir=qr({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var la=class{constructor(e,n){this._viewContainerRef=e,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}};var KD=(()=>{let e=class e{constructor(r){this._localization=r,this._caseViews={}}set ngPlural(r){this._updateView(r)}addCase(r,o){this._caseViews[r]=o}_updateView(r){this._clearViews();let o=Object.keys(this._caseViews),i=YD(r,o,this._localization);this._activateView(this._caseViews[i])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(r){r&&(this._activeView=r,this._activeView.create())}};e.\u0275fac=function(o){return new(o||e)(ue(Ef))},e.\u0275dir=qr({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),RS=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new la(i,o))}};e.\u0275fac=function(o){return new(o||e)(tl("ngPluralCase"),ue(Pt),ue(Tn),ue(KD,1))},e.\u0275dir=qr({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function JD(t,e){return new w(2100,!1)}var da=class{createSubscription(e,n){return zs(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){zs(()=>e.unsubscribe())}},fa=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},XD=new fa,ew=new da,FS=(()=>{let e=class e{constructor(r){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){return this._obj?r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue:(r&&this._subscribe(r),this._latestValue)}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(ho(r))return XD;if(na(r))return ew;throw JD(e,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(ue(ld,16))},e.\u0275pipe=mc({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var ga="browser",tw="server";function PS(t){return t===ga}function ma(t){return t===tw}var kS=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new pa(C(oe),window)});let t=e;return t})(),pa=class{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let n=nw(this.document,e);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){let n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function nw(t,e){let n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=r.nextNode()}}return null}var yf=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},yo=class{};var Do=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let o=(e.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=e.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var _f=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(_f||{}),ya=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new Do,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var wo=class t extends ya{constructor(e={}){super(e),this.type=_f.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var ow=new x("");var Cf="b",bf="h",Mf="s",Tf="st",xf="u",Sf="rt",vo=new x(""),iw=["GET","HEAD"];function sw(t,e){let l=N(vo),{isCacheActive:n}=l,r=Ma(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!iw.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=N($e),a=uw(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[Cf]:d,[Sf]:f,[bf]:p,[Mf]:h,[Tf]:E,[xf]:O}=u,A=d;switch(f){case"arraybuffer":A=new TextEncoder().encode(d).buffer;break;case"blob":A=new Blob([d]);break}let j=new Do(p);return Zt(new wo({body:A,headers:j,status:h,statusText:E,url:O}))}return e(t).pipe(Un(d=>{d instanceof wo&&s.set(a,{[Cf]:d.body,[bf]:aw(d.headers,c),[Mf]:d.status,[Tf]:d.statusText,[xf]:d.url||"",[Sf]:t.responseType})}))}function aw(t,e){if(!e)return{};let n={};for(let r of e){let o=t.getAll(r);o!==null&&(n[r]=o)}return n}function uw(t){let{params:e,method:n,responseType:r,url:o}=t,i=e.keys().sort().map(u=>`${u}=${e.getAll(u)}`).join("&"),s=n+"."+r+"."+o+"?"+i,a=cw(s);return a}function cw(t){let e=0;for(let n of t)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483647+1,e.toString()}function Af(t){return[{provide:vo,useFactory:()=>(Ue("NgHttpTransferCache"),X({isCacheActive:!0},t))},{provide:ow,useValue:sw,multi:!0,deps:[$e,vo]},{provide:go,multi:!0,useFactory:()=>{let e=N(ct),n=N(vo);return()=>{aa(e).then(()=>{n.isCacheActive=!1})}}}]}var wa=class extends mo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ea=class t extends wa{static makeCurrent(){vf(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=lw();return n==null?null:dw(n)}resetBaseElement(){xn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return If(document.cookie,e)}},xn=null;function lw(){return xn=xn||document.querySelector("base"),xn?xn.getAttribute("href"):null}var Eo;function dw(t){Eo=Eo||document.createElement("a"),Eo.setAttribute("href",t);let e=Eo.pathname;return e.charAt(0)==="/"?e:`/${e}`}var fw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ia=new x("EventManagerPlugins"),Ff=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new w(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(C(Ia),C(k))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Io=class{constructor(e){this._doc=e}},va="ng-app-id",Pf=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ma(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${va}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(va),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(va,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(C(oe),C(Xr),C(As,8),C(Ne))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Da={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/"},ba=/%COMP%/g,kf="%COMP%",pw=`_nghost-${kf}`,hw=`_ngcontent-${kf}`,gw=!0,mw=new x("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>gw});function yw(t){return hw.replace(ba,t)}function vw(t){return pw.replace(ba,t)}function Lf(t,e){return e.map(n=>n.replace(ba,t))}var Nf=(()=>{let e=class e{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ma(u),this.defaultRenderer=new Sn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ge.ShadowDom&&(o=ze(X({},o),{encapsulation:ge.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Co?i.applyToHost(r):i instanceof _n&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case ge.Emulated:s=new Co(c,l,o,this.appId,d,a,u,f);break;case ge.ShadowDom:return new Ca(c,l,r,o,a,u,this.nonce,f);default:s=new _n(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(C(Ff),C(Pf),C(Xr),C(mw),C(oe),C(Ne),C(k),C(As))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Sn=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Da[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(Of(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Of(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new w(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=Da[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Da[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(at.DashCase|at.Important)?e.style.setProperty(n,r,o&at.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&at.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Ht().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function Of(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ca=class extends Sn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Lf(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_n=class extends Sn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Lf(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Co=class extends _n{constructor(e,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(e,n,r,i,s,a,u,c),this.contentAttr=yw(c),this.hostAttr=vw(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},Dw=(()=>{let e=class e extends Io{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(C(oe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Rf=["alt","control","meta","shift"],ww={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ew={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Iw=(()=>{let e=class e extends Io{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ht().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Rf.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=ww[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Rf.forEach(a=>{if(a!==i){let u=Ew[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(C(oe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function p_(t,e){return Qd(X({rootComponent:t},Cw(e)))}function Cw(t){return{appProviders:[...Sw,...t?.providers??[]],platformProviders:xw}}function bw(){Ea.makeCurrent()}function Mw(){return new me}function Tw(){return dl(document),document}var xw=[{provide:Ne,useValue:ga},{provide:_s,useValue:bw,multi:!0},{provide:oe,useFactory:Tw,deps:[]}];var Sw=[{provide:Kr,useValue:"root"},{provide:me,useFactory:Mw,deps:[]},{provide:Ia,useClass:Dw,multi:!0,deps:[oe,k,Ne]},{provide:Ia,useClass:Iw,multi:!0,deps:[oe]},Nf,Pf,Ff,{provide:pn,useExisting:Nf},{provide:yo,useClass:fw,deps:[]},[]];function _w(){return new Aw(C(oe))}var Aw=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(o){return new(o||e)(C(oe))},e.\u0275prov=_({token:e,factory:function(o){let i=null;return o?i=new o:i=_w(),i},providedIn:"root"});let t=e;return t})();function h_(...t){let e=[],n=new Set,r=n.has(1);for(let{\u0275providers:o,\u0275kind:i}of t)n.add(i),o.length&&e.push(o);return bn([[],ff(),n.has(0)||r?[]:Af({}),e])}export{$ as a,Uf as b,Oo as c,Gt as d,Z as e,$t as f,Ye as g,de as h,Zt as i,ep as j,tp as k,Qe as l,Te as m,cp as n,ie as o,Yt as p,Po as q,Dt as r,dp as s,ko as t,Lo as u,vp as v,Me as w,eu as x,wp as y,nu as z,Ip as A,Qt as B,Ke as C,jo as D,Cp as E,bp as F,iu as G,Ho as H,xp as I,$o as J,Sp as K,_p as L,Ap as M,Wf as N,Np as O,Op as P,zt as Q,au as R,Un as S,w as T,_ as U,Rx as V,T as W,x as X,C as Y,N as Z,Fx as _,qr as $,bc as aa,Px as ba,kx as ca,Lx as da,jx as ea,Vx as fa,tl as ga,Ts as ha,bn as ia,Le as ja,Bx as ka,Ae as la,dl as ma,Xr as na,_s as oa,Ne as pa,Hx as qa,$x as ra,$e as sa,Dm as ta,ut as ua,pn as va,Us as wa,sr as xa,Ux as ya,ue as za,ld as Aa,pe as Ba,k as Ca,My as Da,jy as Ea,Uy as Fa,zy as Ga,Wy as Ha,qy as Ia,Tn as Ja,Ki as Ka,Gx as La,Wx as Ma,qx as Na,Zx as Oa,Sd as Pa,_d as Qa,Ov as Ra,Yx as Sa,ho as Ta,$v as Ua,Qx as Va,Gv as Wa,Kx as Xa,Yv as Ya,Pd as Za,Qv as _a,rs as $a,Jv as ab,Jx as bb,Xx as cb,eS as db,tS as eb,nS as fb,oS as gb,iS as hb,sS as ib,aS as jb,hD as kb,$d as lb,Ud as mb,uS as nb,zd as ob,yD as pb,qd as qb,go as rb,Kd as sb,ct as tb,aa as ub,cS as vb,SD as wb,lS as xb,jD as yb,dS as zb,fS as Ab,Ht as Bb,vf as Cb,oe as Db,Df as Eb,ha as Fb,$D as Gb,zD as Hb,OS as Ib,KD as Jb,RS as Kb,FS as Lb,tw as Mb,PS as Nb,kS as Ob,yf as Pb,yo as Qb,ow as Rb,Ea as Sb,Ia as Tb,Io as Ub,Nf as Vb,p_ as Wb,Aw as Xb,h_ as Yb}; diff --git a/docs/citations/server/chunk-OL53WL6O.mjs b/docs/citations/server/chunk-KK4XS2FZ.mjs similarity index 99% rename from docs/citations/server/chunk-OL53WL6O.mjs rename to docs/citations/server/chunk-KK4XS2FZ.mjs index 058e7fe..988cfec 100644 --- a/docs/citations/server/chunk-OL53WL6O.mjs +++ b/docs/citations/server/chunk-KK4XS2FZ.mjs @@ -1,5 +1,5 @@ import './polyfills.server.mjs'; -import{Ca as _i,Cb as Qr,Db as Ni,Eb as Ze,Fb as Un,Nb as Ai,Pb as Di,Qb as ki,Rb as Ci,Sb as Li,T as de,Tb as Mi,U as ct,Ub as Ri,Vb as Ii,Wb as Oi,X as Kr,Y as Ye,Z as si,e as ni,ha as ii,ia as ai,la as oi,ma as li,na as ci,oa as ui,pa as hi,pb as yi,qa as Bn,qb as bi,rb as Ei,sa as fi,ta as di,tb as vi,ub as Wr,va as pi,vb as Ti,wa as mi,xa as gi,xb as Si,yb as wi}from"./chunk-XUIXZ2OS.mjs";import{h as lr}from"./chunk-KRLCULJA.mjs";var Je="*";function xi(o,e=null){return{type:2,steps:o,options:e}}function jn(o){return{type:6,styles:o,offset:null}}var At=class{constructor(e=0,t=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=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},cr=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,r=0,n=0,s=this.players.length;s==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==s&&this._onFinish()}),i.onDestroy(()=>{++r==s&&this._onDestroy()}),i.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((i,a)=>Math.max(i,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},$r="!";function Pi(o){return new de(3e3,!1)}function Xo(){return new de(3100,!1)}function Yo(){return new de(3101,!1)}function Zo(o){return new de(3001,!1)}function Jo(o){return new de(3003,!1)}function el(o){return new de(3004,!1)}function tl(o,e){return new de(3005,!1)}function rl(){return new de(3006,!1)}function nl(){return new de(3007,!1)}function sl(o,e){return new de(3008,!1)}function il(o){return new de(3002,!1)}function al(o,e,t,r,n){return new de(3010,!1)}function ol(){return new de(3011,!1)}function ll(){return new de(3012,!1)}function cl(){return new de(3200,!1)}function ul(){return new de(3202,!1)}function hl(){return new de(3013,!1)}function fl(o){return new de(3014,!1)}function dl(o){return new de(3015,!1)}function pl(o){return new de(3016,!1)}function ml(o,e){return new de(3404,!1)}function gl(o){return new de(3502,!1)}function _l(o){return new de(3503,!1)}function yl(){return new de(3300,!1)}function bl(o){return new de(3504,!1)}function El(o){return new de(3301,!1)}function vl(o,e){return new de(3302,!1)}function Tl(o){return new de(3303,!1)}function Sl(o,e){return new de(3400,!1)}function wl(o){return new de(3401,!1)}function Nl(o){return new de(3402,!1)}function Al(o,e){return new de(3505,!1)}function Dt(o){switch(o.length){case 0:return new At;case 1:return o[0];default:return new cr(o)}}function Yi(o,e,t=new Map,r=new Map){let n=[],s=[],i=-1,a=null;if(e.forEach(h=>{let c=h.get("offset"),_=c==i,g=_&&a||new Map;h.forEach((b,C)=>{let I=C,M=b;if(C!=="offset")switch(I=o.normalizePropertyName(I,n),M){case $r:M=t.get(C);break;case Je:M=r.get(C);break;default:M=o.normalizeStyleValue(C,I,M,n);break}g.set(I,M)}),_||s.push(g),a=g,i=c}),n.length)throw gl(n);return s}function us(o,e,t,r){switch(e){case"start":o.onStart(()=>r(t&&Vn(t,"start",o)));break;case"done":o.onDone(()=>r(t&&Vn(t,"done",o)));break;case"destroy":o.onDestroy(()=>r(t&&Vn(t,"destroy",o)));break}}function Vn(o,e,t){let r=t.totalTime,n=!!t.disabled,s=hs(o.element,o.triggerName,o.fromState,o.toState,e||o.phaseName,r??o.totalTime,n),i=o._data;return i!=null&&(s._data=i),s}function hs(o,e,t,r,n="",s=0,i){return{element:o,triggerName:e,fromState:t,toState:r,phaseName:n,totalTime:s,disabled:!!i}}function Fe(o,e,t){let r=o.get(e);return r||o.set(e,r=t),r}function Hi(o){let e=o.indexOf(":"),t=o.substring(1,e),r=o.slice(e+1);return[t,r]}var Dl=(()=>typeof document>"u"?null:document.documentElement)();function fs(o){let e=o.parentNode||o.host||null;return e===Dl?null:e}function kl(o){return o.substring(1,6)=="ebkit"}var Ft=null,qi=!1;function Cl(o){Ft||(Ft=Ll()||{},qi=Ft.style?"WebkitAppearance"in Ft.style:!1);let e=!0;return Ft.style&&!kl(o)&&(e=o in Ft.style,!e&&qi&&(e="Webkit"+o.charAt(0).toUpperCase()+o.slice(1)in Ft.style)),e}function Ll(){return typeof document<"u"?document.body:null}function Zi(o,e){for(;e;){if(e===o)return!0;e=fs(e)}return!1}function Ji(o,e,t){if(t)return Array.from(o.querySelectorAll(e));let r=o.querySelector(e);return r?[r]:[]}var ds=(()=>{let e=class e{validateStyleProperty(r){return Cl(r)}matchesElement(r,n){return!1}containsElement(r,n){return Zi(r,n)}getParentElement(r){return fs(r)}query(r,n,s){return Ji(r,n,s)}computeStyle(r,n,s){return s||""}animate(r,n,s,i,a,h=[],c){return new At(s,i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ct({token:e,factory:e.\u0275fac});let o=e;return o})(),gr=(()=>{let e=class e{};e.NOOP=new ds;let o=e;return o})(),jt=class{};var Ml=1e3,ea="{{",Rl="}}",ta="ng-enter",$n="ng-leave",Xr="ng-trigger",tn=".ng-trigger",Fi="ng-animating",Xn=".ng-animating";function ut(o){if(typeof o=="number")return o;let e=o.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Yn(parseFloat(e[1]),e[2])}function Yn(o,e){switch(e){case"s":return o*Ml;default:return o}}function rn(o,e,t){return o.hasOwnProperty("duration")?o:Il(o,e,t)}function Il(o,e,t){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,s=0,i="";if(typeof o=="string"){let a=o.match(r);if(a===null)return e.push(Pi(o)),{duration:0,delay:0,easing:""};n=Yn(parseFloat(a[1]),a[2]);let h=a[3];h!=null&&(s=Yn(parseFloat(h),a[4]));let c=a[5];c&&(i=c)}else n=o;if(!t){let a=!1,h=e.length;n<0&&(e.push(Xo()),a=!0),s<0&&(e.push(Yo()),a=!0),a&&e.splice(h,0,Pi(o))}return{duration:n,delay:s,easing:i}}function _r(o,e={}){return Object.keys(o).forEach(t=>{e[t]=o[t]}),e}function ra(o){let e=new Map;return Object.keys(o).forEach(t=>{let r=o[t];e.set(t,r)}),e}function Ol(o){return o.length?o[0]instanceof Map?o:o.map(e=>ra(e)):[]}function Qt(o,e=new Map,t){if(t)for(let[r,n]of t)e.set(r,n);for(let[r,n]of o)e.set(r,n);return e}function et(o,e,t){e.forEach((r,n)=>{let s=ps(n);t&&!t.has(n)&&t.set(n,o.style[s]),o.style[s]=r})}function Ut(o,e){e.forEach((t,r)=>{let n=ps(r);o.style[n]=""})}function ur(o){return Array.isArray(o)?o.length==1?o[0]:xi(o):o}function xl(o,e,t){let r=e.params||{},n=na(o);n.length&&n.forEach(s=>{r.hasOwnProperty(s)||t.push(Zo(s))})}var Zn=new RegExp(`${ea}\\s*(.+?)\\s*${Rl}`,"g");function na(o){let e=[];if(typeof o=="string"){let t;for(;t=Zn.exec(o);)e.push(t[1]);Zn.lastIndex=0}return e}function fr(o,e,t){let r=o.toString(),n=r.replace(Zn,(s,i)=>{let a=e[i];return a==null&&(t.push(Jo(i)),a=""),a.toString()});return n==r?o:n}function nn(o){let e=[],t=o.next();for(;!t.done;)e.push(t.value),t=o.next();return e}var Pl=/-+([a-z0-9])/g;function ps(o){return o.replace(Pl,(...e)=>e[1].toUpperCase())}function Hl(o,e){return o===0||e===0}function ql(o,e,t){if(t.size&&e.length){let r=e[0],n=[];if(t.forEach((s,i)=>{r.has(i)||n.push(i),r.set(i,s)}),n.length)for(let s=1;si.set(a,sa(o,a)))}}return e}function qe(o,e,t){switch(e.type){case 7:return o.visitTrigger(e,t);case 0:return o.visitState(e,t);case 1:return o.visitTransition(e,t);case 2:return o.visitSequence(e,t);case 3:return o.visitGroup(e,t);case 4:return o.visitAnimate(e,t);case 5:return o.visitKeyframes(e,t);case 6:return o.visitStyle(e,t);case 8:return o.visitReference(e,t);case 9:return o.visitAnimateChild(e,t);case 10:return o.visitAnimateRef(e,t);case 11:return o.visitQuery(e,t);case 12:return o.visitStagger(e,t);default:throw el(e.type)}}function sa(o,e){return window.getComputedStyle(o)[e]}var Fl=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"]),sn=class extends jt{normalizePropertyName(e,t){return ps(e)}normalizeStyleValue(e,t,r,n){let s="",i=r.toString().trim();if(Fl.has(t)&&r!==0&&r!=="0")if(typeof r=="number")s="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(tl(e,r))}return i+s}};var an="*";function Bl(o,e){let t=[];return typeof o=="string"?o.split(/\s*,\s*/).forEach(r=>Ul(r,t,e)):t.push(o),t}function Ul(o,e,t){if(o[0]==":"){let h=jl(o,t);if(typeof h=="function"){e.push(h);return}o=h}let r=o.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return t.push(dl(o)),e;let n=r[1],s=r[2],i=r[3];e.push(Bi(n,i));let a=n==an&&i==an;s[0]=="<"&&!a&&e.push(Bi(i,n))}function jl(o,e){switch(o){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r) *"}}var Yr=new Set(["true","1"]),Zr=new Set(["false","0"]);function Bi(o,e){let t=Yr.has(o)||Zr.has(o),r=Yr.has(e)||Zr.has(e);return(n,s)=>{let i=o==an||o==n,a=e==an||e==s;return!i&&t&&typeof n=="boolean"&&(i=n?Yr.has(o):Zr.has(o)),!a&&r&&typeof s=="boolean"&&(a=s?Yr.has(e):Zr.has(e)),i&&a}}var ia=":self",Vl=new RegExp(`s*${ia}s*,?`,"g");function aa(o,e,t,r){return new Jn(o).build(e,t,r)}var Ui="",Jn=class{constructor(e){this._driver=e}build(e,t,r){let n=new es(t);return this._resetContextStyleTimingState(n),qe(this,ur(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Ui,e.collectedStyles=new Map,e.collectedStyles.set(Ui,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,s=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(rl()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==0){let h=a,c=h.name;c.toString().split(/\s*,\s*/).forEach(_=>{h.name=_,s.push(this.visitState(h,t))}),h.name=c}else if(a.type==1){let h=this.visitTransition(a,t);r+=h.queryCount,n+=h.depCount,i.push(h)}else t.errors.push(nl())}),{type:7,name:e.name,states:s,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let s=new Set,i=n||{};if(r.styles.forEach(a=>{a instanceof Map&&a.forEach(h=>{na(h).forEach(c=>{i.hasOwnProperty(c)||s.add(c)})})}),s.size){let a=nn(s.values());t.errors.push(sl(e.name,a))}}return{type:0,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=qe(this,ur(e.animation),t);return{type:1,matchers:Bl(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Bt(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(r=>qe(this,r,t)),options:Bt(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,s=e.steps.map(i=>{t.currentTime=r;let a=qe(this,i,t);return n=Math.max(n,t.currentTime),a});return t.currentTime=n,{type:3,steps:s,options:Bt(e.options)}}visitAnimate(e,t){let r=Wl(e.timings,t.errors);t.currentAnimateTimings=r;let n,s=e.styles?e.styles:jn({});if(s.type==5)n=this.visitKeyframes(s,t);else{let i=e.styles,a=!1;if(!i){a=!0;let c={};r.easing&&(c.easing=r.easing),i=jn(c)}t.currentTime+=r.duration+r.delay;let h=this.visitStyle(i,t);h.isEmptyStep=a,n=h}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of n)typeof a=="string"?a===Je?r.push(a):t.errors.push(il(a)):r.push(ra(a));let s=!1,i=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(i=a.get("easing"),a.delete("easing")),!s)){for(let h of a.values())if(h.toString().indexOf(ea)>=0){s=!0;break}}}),{type:6,styles:r,easing:i,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,s=t.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((a,h)=>{let c=t.collectedStyles.get(t.currentQuerySelector),_=c.get(h),g=!0;_&&(s!=n&&s>=_.startTime&&n<=_.endTime&&(t.errors.push(al(h,_.startTime,_.endTime,s,n)),g=!1),s=_.startTime),g&&c.set(h,{startTime:s,endTime:n}),t.options&&xl(a,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ol()),r;let n=1,s=0,i=[],a=!1,h=!1,c=0,_=e.steps.map(P=>{let w=this._makeStyleAst(P,t),v=w.offset!=null?w.offset:Kl(w.styles),N=0;return v!=null&&(s++,N=w.offset=v),h=h||N<0||N>1,a=a||N0&&s{let v=b>0?w==C?1:b*w:i[w],N=v*G;t.currentTime=I+M.delay+N,M.duration=N,this._validateStyleAst(P,t),P.offset=v,r.styles.push(P)}),r}visitReference(e,t){return{type:8,animation:qe(this,ur(e.animation),t),options:Bt(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Bt(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Bt(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[s,i]=zl(e.selector);t.currentQuerySelector=r.length?r+" "+s:s,Fe(t.collectedStyles,t.currentQuerySelector,new Map);let a=qe(this,ur(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:a,originalSelector:e.selector,options:Bt(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hl());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:rn(e.timings,t.errors,!0);return{type:12,animation:qe(this,ur(e.animation),t),timings:r,options:null}}};function zl(o){let e=!!o.split(/\s*,\s*/).find(t=>t==ia);return e&&(o=o.replace(Vl,"")),o=o.replace(/@\*/g,tn).replace(/@\w+/g,t=>tn+"-"+t.slice(1)).replace(/:animating/g,Xn),[o,e]}function Gl(o){return o?_r(o):null}var es=class{constructor(e){this.errors=e,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 Kl(o){if(typeof o=="string")return null;let e=null;if(Array.isArray(o))o.forEach(t=>{if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(o instanceof Map&&o.has("offset")){let t=o;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Wl(o,e){if(o.hasOwnProperty("duration"))return o;if(typeof o=="number"){let s=rn(o,e).duration;return zn(s,0,"")}let t=o;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=zn(0,0,"");return s.dynamic=!0,s.strValue=t,s}let n=rn(t,e);return zn(n.duration,n.delay,n.easing)}function Bt(o){return o?(o=_r(o),o.params&&(o.params=Gl(o.params))):o={},o}function zn(o,e,t){return{duration:o,delay:e,easing:t}}function ms(o,e,t,r,n,s,i=null,a=!1){return{type:1,element:o,keyframes:e,preStyleProps:t,postStyleProps:r,duration:n,delay:s,totalTime:n+s,easing:i,subTimeline:a}}var dr=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ql=1,$l=":enter",Xl=new RegExp($l,"g"),Yl=":leave",Zl=new RegExp(Yl,"g");function oa(o,e,t,r,n,s=new Map,i=new Map,a,h,c=[]){return new ts().buildKeyframes(o,e,t,r,n,s,i,a,h,c)}var ts=class{buildKeyframes(e,t,r,n,s,i,a,h,c,_=[]){c=c||new dr;let g=new rs(e,t,c,n,s,_,[]);g.options=h;let b=h.delay?ut(h.delay):0;g.currentTimeline.delayNextStep(b),g.currentTimeline.setStyles([i],null,g.errors,h),qe(this,r,g);let C=g.timelines.filter(I=>I.containsAnimation());if(C.length&&a.size){let I;for(let M=C.length-1;M>=0;M--){let G=C[M];if(G.element===t){I=G;break}}I&&!I.allowOnlyTimelineStyles()&&I.setStyles([a],null,g.errors,h)}return C.length?C.map(I=>I.buildKeyframes()):[ms(t,[],[],[],0,b,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),s=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);s!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let s=n?.delay;if(s){let i=typeof s=="number"?s:ut(fr(s,n?.params??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let s=t.currentTimeline.currentTime,i=r.duration!=null?ut(r.duration):null,a=r.delay!=null?ut(r.delay):null;return i!==0&&e.forEach(h=>{let c=t.appendInstructionToTimeline(h,i,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),qe(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,n=t,s=e.options;if(s&&(s.params||s.delay)&&(n=t.createSubContext(s),n.transformIntoNewTimeline(),s.delay!=null)){n.previousNode.type==6&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=on);let i=ut(s.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>qe(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,s=e.options&&e.options.delay?ut(e.options.delay):0;e.steps.forEach(i=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),qe(this,i,a),n=Math.max(n,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?fr(r,t.params,t.errors):r;return rn(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let s=e.style;s.type==5?this.visitKeyframes(s,t):(t.incrementTime(r.duration),this.visitStyle(s,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let s=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,s=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(h=>{let c=h.offset||0;a.forwardTime(c*s),a.setStyles(h.styles,h.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(n+s),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},s=n.delay?ut(n.delay):0;s&&(t.previousNode.type===6||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=on);let i=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let h=null;a.forEach((c,_)=>{t.currentQueryIndex=_;let g=t.createSubContext(e.options,c);s&&g.delayNextStep(s),c===t.element&&(h=g.currentTimeline),qe(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe();let b=g.currentTimeline.currentTime;i=Math.max(i,b)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),h&&(t.currentTimeline.mergeTimelineCollectedStyles(h),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,s=e.timings,i=Math.abs(s.duration),a=i*(t.currentQueryTotal-1),h=i*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":h=a-h;break;case"full":h=r.currentStaggerTime;break}let _=t.currentTimeline;h&&_.delayNextStep(h);let g=_.currentTime;qe(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-g+(n.startTime-r.currentTimeline.startTime)}},on={},rs=class o{constructor(e,t,r,n,s,i,a,h){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=s,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=on,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=h||new ln(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let r=e,n=this.options;r.duration!=null&&(n.duration=ut(r.duration)),r.delay!=null&&(n.delay=ut(r.delay));let s=r.params;if(s){let i=n.params;i||(i=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!i.hasOwnProperty(a))&&(i[a]=fr(s[a],i,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let r=e.params={};Object.keys(t).forEach(n=>{r[n]=t[n]})}}return e}createSubContext(e=null,t,r){let n=t||this.element,s=new o(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=on,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},s=new ns(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,n,s,i){let a=[];if(n&&a.push(this.element),e.length>0){e=e.replace(Xl,"."+this._enterClassName),e=e.replace(Zl,"."+this._leaveClassName);let h=r!=1,c=this._driver.query(this.element,e,h);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!s&&a.length==0&&i.push(fl(t)),a}},ln=class o{constructor(e,t,r,n){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new o(this._driver,e,t||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+=Ql,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Je),this._currentKeyframe.set(t,Je);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,n){t&&this._previousKeyframe.set("easing",t);let s=n&&n.params||{},i=Jl(e,this._globalTimelineStyles);for(let[a,h]of i){let c=fr(h,s,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Je),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{let n=this._styleSummary.get(r);(!n||t.time>n.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,h)=>{let c=Qt(a,new Map,this._backFill);c.forEach((_,g)=>{_===$r?e.add(g):_===Je&&t.add(g)}),r||c.set("offset",h/this.duration),n.push(c)});let s=e.size?nn(e.values()):[],i=t.size?nn(t.values()):[];if(r){let a=n[0],h=new Map(a);a.set("offset",0),h.set("offset",1),n=[a,h]}return ms(this.element,n,s,i,this.duration,this.startTime,this.easing,!1)}},ns=class extends ln{constructor(e,t,r,n,s,i,a=!1){super(e,t,i.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],i=r+t,a=t/i,h=Qt(e[0]);h.set("offset",0),s.push(h);let c=Qt(e[0]);c.set("offset",ji(a)),s.push(c);let _=e.length-1;for(let g=1;g<=_;g++){let b=Qt(e[g]),C=b.get("offset"),I=t+C*r;b.set("offset",ji(I/i)),s.push(b)}r=i,t=0,n="",e=s}return ms(this.element,e,this.preStyleProps,this.postStyleProps,r,t,n,!0)}};function ji(o,e=3){let t=Math.pow(10,e-1);return Math.round(o*t)/t}function Jl(o,e){let t=new Map,r;return o.forEach(n=>{if(n==="*"){r=r||e.keys();for(let s of r)t.set(s,Je)}else Qt(n,t)}),t}function Vi(o,e,t,r,n,s,i,a,h,c,_,g,b){return{type:0,element:o,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:s,toState:r,toStyles:i,timelines:a,queriedElements:h,preStyleProps:c,postStyleProps:_,totalTime:g,errors:b}}var Gn={},cn=class{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return ec(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,s,i,a,h,c,_){let g=[],b=this.ast.options&&this.ast.options.params||Gn,C=a&&a.params||Gn,I=this.buildStyles(r,C,g),M=h&&h.params||Gn,G=this.buildStyles(n,M,g),P=new Set,w=new Map,v=new Map,N=n==="void",y={params:tc(M,b),delay:this.ast.options?.delay},ne=_?[]:oa(e,t,this.ast.animation,s,i,I,G,y,c,g),ee=0;if(ne.forEach(V=>{ee=Math.max(V.duration+V.delay,ee)}),g.length)return Vi(t,this._triggerName,r,n,N,I,G,[],[],w,v,ee,g);ne.forEach(V=>{let L=V.element,H=Fe(w,L,new Set);V.preStyleProps.forEach(p=>H.add(p));let Q=Fe(v,L,new Set);V.postStyleProps.forEach(p=>Q.add(p)),L!==t&&P.add(L)});let he=nn(P.values());return Vi(t,this._triggerName,r,n,N,I,G,ne,he,w,v,ee)}};function ec(o,e,t,r,n){return o.some(s=>s(e,t,r,n))}function tc(o,e){let t=_r(e);for(let r in o)o.hasOwnProperty(r)&&o[r]!=null&&(t[r]=o[r]);return t}var ss=class{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=_r(this.defaultParams);return Object.keys(e).forEach(s=>{let i=e[s];i!==null&&(n[s]=i)}),this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((i,a)=>{i&&(i=fr(i,n,t));let h=this.normalizer.normalizePropertyName(a,t);i=this.normalizer.normalizeStyleValue(a,h,i,t),r.set(a,i)})}),r}};function rc(o,e,t){return new is(o,e,t)}var is=class{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(n=>{let s=n.options&&n.options.params||{};this.states.set(n.name,new ss(n.style,s,r))}),zi(this.states,"true","1"),zi(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new cn(e,n,this.states))}),this.fallbackTransition=nc(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(i=>i.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function nc(o,e,t){let s={type:1,animation:{type:2,steps:[],options:null},matchers:[(i,a)=>!0],options:null,queryCount:0,depCount:0};return new cn(o,s,e)}function zi(o,e,t){o.has(e)?o.has(t)||o.set(t,o.get(e)):o.has(t)&&o.set(e,o.get(t))}var sc=new dr,as=class{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let r=[],n=[],s=aa(this._driver,t,r,n);if(r.length)throw _l(r);n.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,r){let n=e.element,s=Yi(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],s=this._animations.get(e),i,a=new Map;if(s?(i=oa(this._driver,t,s,ta,$n,new Map,new Map,r,sc,n),i.forEach(_=>{let g=Fe(a,_.element,new Map);_.postStyleProps.forEach(b=>g.set(b,null))})):(n.push(yl()),i=[]),n.length)throw bl(n);a.forEach((_,g)=>{_.forEach((b,C)=>{_.set(C,this._driver.computeStyle(g,C,Je))})});let h=i.map(_=>{let g=a.get(_.element);return this._buildPlayer(_,new Map,g)}),c=Dt(h);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw El(e);return t}listen(e,t,r,n){let s=hs(t,"","","");return us(this._getPlayer(e),r,s,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Gi="ng-animate-queued",ic=".ng-animate-queued",Kn="ng-animate-disabled",ac=".ng-animate-disabled",oc="ng-star-inserted",lc=".ng-star-inserted",cc=[],la={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},uc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ke="__ng_removed",pr=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=fc(n),r){let s=_r(e);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},hr="void",Wn=new pr(hr),os=class{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ve(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw vl(r,t);if(r==null||r.length==0)throw Tl(t);if(!dc(r))throw Sl(r,t);let s=Fe(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};s.push(i);let a=Fe(this._engine.statesByElement,e,new Map);return a.has(t)||(Ve(e,Xr),Ve(e,Xr+"-"+t),a.set(t,Wn)),()=>{this._engine.afterFlush(()=>{let h=s.indexOf(i);h>=0&&s.splice(h,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw wl(e);return t}trigger(e,t,r,n=!0){let s=this._getTrigger(t),i=new mr(this.id,t,e),a=this._engine.statesByElement.get(e);a||(Ve(e,Xr),Ve(e,Xr+"-"+t),this._engine.statesByElement.set(e,a=new Map));let h=a.get(t),c=new pr(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&h&&c.absorbOptions(h.options),a.set(t,c),h||(h=Wn),!(c.value===hr)&&h.value===c.value){if(!gc(h.params,c.params)){let M=[],G=s.matchStyles(h.value,h.params,M),P=s.matchStyles(c.value,c.params,M);M.length?this._engine.reportError(M):this._engine.afterFlush(()=>{Ut(e,G),et(e,P)})}return}let b=Fe(this._engine.playersByElement,e,[]);b.forEach(M=>{M.namespaceId==this.id&&M.triggerName==t&&M.queued&&M.destroy()});let C=s.matchTransition(h.value,c.value,e,c.params),I=!1;if(!C){if(!n)return;C=s.fallbackTransition,I=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:C,fromState:h,toState:c,player:i,isFallbackTransition:I}),I||(Ve(e,Gi),i.onStart(()=>{Wt(e,Gi)})),i.onDone(()=>{let M=this.players.indexOf(i);M>=0&&this.players.splice(M,1);let G=this._engine.playersByElement.get(e);if(G){let P=G.indexOf(i);P>=0&&G.splice(P,1)}}),this.players.push(i),b.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,tn,!0);r.forEach(n=>{if(n[Ke])return;let s=this._engine.fetchNamespacesByElement(n);s.size?s.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let s=this._engine.statesByElement.get(e),i=new Map;if(s){let a=[];if(s.forEach((h,c)=>{if(i.set(c,h.value),this._triggers.has(c)){let _=this.trigger(e,c,hr,n);_&&a.push(_)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&Dt(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(s=>{let i=s.name;if(n.has(i))return;n.add(i);let h=this._triggers.get(i).fallbackTransition,c=r.get(i)||Wn,_=new pr(hr),g=new mr(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:h,fromState:c,toState:_,player:g,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let s=e[Ke];(!s||s===la)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){Ve(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let s=r.element,i=this._elementListeners.get(s);i&&i.forEach(a=>{if(a.name==r.triggerName){let h=hs(s,r.triggerName,r.fromState.value,r.toState.value);h._data=e,us(r.player,a.phase,h,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let s=r.transition.ast.depCount,i=n.transition.ast.depCount;return s==0||i==0?s-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ls=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,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=(n,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new os(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let i=!1,a=this.driver.getParentElement(t);for(;a;){let h=n.get(a);if(h){let c=r.indexOf(h);r.splice(c+1,0,e),i=!0;break}a=this.driver.getParentElement(a)}i||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let s=this._fetchNamespace(n.namespaceId);s&&t.add(s)}}return t}trigger(e,t,r,n){if(Jr(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Jr(t))return;let s=t[Ke];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ve(e,Kn)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Wt(e,Kn))}removeNode(e,t,r){if(Jr(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,s){this.collectedLeaveElements.push(t),t[Ke]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,r,n,s){return Jr(t)?this._fetchNamespace(e).listen(t,r,n,s):()=>{}}_buildInstruction(e,t,r,n,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,tn,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Xn,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Dt(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[Ke];if(t&&t.setForRemoval){if(e[Ke]=la,t.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Kn)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ac,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?Dt(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw Nl(e)}_flushAnimations(e,t){let r=new dr,n=[],s=new Map,i=[],a=new Map,h=new Map,c=new Map,_=new Set;this.disabledNodes.forEach(m=>{_.add(m);let S=this.driver.query(m,ic,!0);for(let k=0;k{let k=ta+M++;I.set(S,k),m.forEach(U=>Ve(U,k))});let G=[],P=new Set,w=new Set;for(let m=0;mP.add(U)):w.add(S))}let v=new Map,N=Qi(b,Array.from(P));N.forEach((m,S)=>{let k=$n+M++;v.set(S,k),m.forEach(U=>Ve(U,k))}),e.push(()=>{C.forEach((m,S)=>{let k=I.get(S);m.forEach(U=>Wt(U,k))}),N.forEach((m,S)=>{let k=v.get(S);m.forEach(U=>Wt(U,k))}),G.forEach(m=>{this.processLeaveNode(m)})});let y=[],ne=[];for(let m=this._namespaceList.length-1;m>=0;m--)this._namespaceList[m].drainQueuedTransitions(t).forEach(k=>{let U=k.player,W=k.element;if(y.push(U),this.collectedEnterElements.length){let ke=W[Ke];if(ke&&ke.setForMove){if(ke.previousTriggersValues&&ke.previousTriggersValues.has(k.triggerName)){let tt=ke.previousTriggersValues.get(k.triggerName),Oe=this.statesByElement.get(k.element);if(Oe&&Oe.has(k.triggerName)){let Vt=Oe.get(k.triggerName);Vt.value=tt,Oe.set(k.triggerName,Vt)}}U.destroy();return}}let ie=!g||!this.driver.containsElement(g,W),T=v.get(W),R=I.get(W),j=this._buildInstruction(k,r,R,T,ie);if(j.errors&&j.errors.length){ne.push(j);return}if(ie){U.onStart(()=>Ut(W,j.fromStyles)),U.onDestroy(()=>et(W,j.toStyles)),n.push(U);return}if(k.isFallbackTransition){U.onStart(()=>Ut(W,j.fromStyles)),U.onDestroy(()=>et(W,j.toStyles)),n.push(U);return}let le=[];j.timelines.forEach(ke=>{ke.stretchStartingKeyframe=!0,this.disabledNodes.has(ke.element)||le.push(ke)}),j.timelines=le,r.append(W,j.timelines);let Re={instruction:j,player:U,element:W};i.push(Re),j.queriedElements.forEach(ke=>Fe(a,ke,[]).push(U)),j.preStyleProps.forEach((ke,tt)=>{if(ke.size){let Oe=h.get(tt);Oe||h.set(tt,Oe=new Set),ke.forEach((Vt,Yt)=>Oe.add(Yt))}}),j.postStyleProps.forEach((ke,tt)=>{let Oe=c.get(tt);Oe||c.set(tt,Oe=new Set),ke.forEach((Vt,Yt)=>Oe.add(Yt))})});if(ne.length){let m=[];ne.forEach(S=>{m.push(Al(S.triggerName,S.errors))}),y.forEach(S=>S.destroy()),this.reportError(m)}let ee=new Map,he=new Map;i.forEach(m=>{let S=m.element;r.has(S)&&(he.set(S,S),this._beforeAnimationBuild(m.player.namespaceId,m.instruction,ee))}),n.forEach(m=>{let S=m.element;this._getPreviousPlayers(S,!1,m.namespaceId,m.triggerName,null).forEach(U=>{Fe(ee,S,[]).push(U),U.destroy()})});let V=G.filter(m=>$i(m,h,c)),L=new Map;Wi(L,this.driver,w,c,Je).forEach(m=>{$i(m,h,c)&&V.push(m)});let Q=new Map;C.forEach((m,S)=>{Wi(Q,this.driver,new Set(m),h,$r)}),V.forEach(m=>{let S=L.get(m),k=Q.get(m);L.set(m,new Map([...S?.entries()??[],...k?.entries()??[]]))});let p=[],d=[],f={};i.forEach(m=>{let{element:S,player:k,instruction:U}=m;if(r.has(S)){if(_.has(S)){k.onDestroy(()=>et(S,U.toStyles)),k.disabled=!0,k.overrideTotalTime(U.totalTime),n.push(k);return}let W=f;if(he.size>1){let T=S,R=[];for(;T=T.parentNode;){let j=he.get(T);if(j){W=j;break}R.push(T)}R.forEach(j=>he.set(j,W))}let ie=this._buildAnimation(k.namespaceId,U,ee,s,Q,L);if(k.setRealPlayer(ie),W===f)p.push(k);else{let T=this.playersByElement.get(W);T&&T.length&&(k.parentPlayer=Dt(T)),n.push(k)}}else Ut(S,U.fromStyles),k.onDestroy(()=>et(S,U.toStyles)),d.push(k),_.has(S)&&n.push(k)}),d.forEach(m=>{let S=s.get(m.element);if(S&&S.length){let k=Dt(S);m.setRealPlayer(k)}}),n.forEach(m=>{m.parentPlayer?m.syncPlayerEvents(m.parentPlayer):m.destroy()});for(let m=0;m!ie.destroyed);W.length?pc(this,S,W):this.processLeaveNode(S)}return G.length=0,p.forEach(m=>{this.players.push(m),m.onDone(()=>{m.destroy();let S=this.players.indexOf(m);this.players.splice(S,1)}),m.play()}),p}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,s){let i=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(i=a)}else{let a=this.playersByElement.get(e);if(a){let h=!s||s==hr;a.forEach(c=>{c.queued||!h&&c.triggerName!=n||i.push(c)})}}return(r||n)&&(i=i.filter(a=>!(r&&r!=a.namespaceId||n&&n!=a.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,s=t.element,i=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:n;for(let h of t.timelines){let c=h.element,_=c!==s,g=Fe(r,c,[]);this._getPreviousPlayers(c,_,i,a,t.toState).forEach(C=>{let I=C.getRealPlayer();I.beforeDestroy&&I.beforeDestroy(),C.destroy(),g.push(C)})}Ut(s,t.fromStyles)}_buildAnimation(e,t,r,n,s,i){let a=t.triggerName,h=t.element,c=[],_=new Set,g=new Set,b=t.timelines.map(I=>{let M=I.element;_.add(M);let G=M[Ke];if(G&&G.removedBeforeQueried)return new At(I.duration,I.delay);let P=M!==h,w=mc((r.get(M)||cc).map(ee=>ee.getRealPlayer())).filter(ee=>{let he=ee;return he.element?he.element===M:!1}),v=s.get(M),N=i.get(M),y=Yi(this._normalizer,I.keyframes,v,N),ne=this._buildPlayer(I,y,w);if(I.subTimeline&&n&&g.add(M),P){let ee=new mr(e,a,M);ee.setRealPlayer(ne),c.push(ee)}return ne});c.forEach(I=>{Fe(this.playersByQueriedElement,I.element,[]).push(I),I.onDone(()=>hc(this.playersByQueriedElement,I.element,I))}),_.forEach(I=>Ve(I,Fi));let C=Dt(b);return C.onDestroy(()=>{_.forEach(I=>Wt(I,Fi)),et(h,t.toStyles)}),g.forEach(I=>{Fe(n,I,[]).push(C)}),C}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new At(e.duration,e.delay)}},mr=class{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new At,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>us(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Fe(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function hc(o,e,t){let r=o.get(e);if(r){if(r.length){let n=r.indexOf(t);r.splice(n,1)}r.length==0&&o.delete(e)}return r}function fc(o){return o??null}function Jr(o){return o&&o.nodeType===1}function dc(o){return o=="start"||o=="done"}function Ki(o,e){let t=o.style.display;return o.style.display=e??"none",t}function Wi(o,e,t,r,n){let s=[];t.forEach(h=>s.push(Ki(h)));let i=[];r.forEach((h,c)=>{let _=new Map;h.forEach(g=>{let b=e.computeStyle(c,g,n);_.set(g,b),(!b||b.length==0)&&(c[Ke]=uc,i.push(c))}),o.set(c,_)});let a=0;return t.forEach(h=>Ki(h,s[a++])),i}function Qi(o,e){let t=new Map;if(o.forEach(a=>t.set(a,[])),e.length==0)return t;let r=1,n=new Set(e),s=new Map;function i(a){if(!a)return r;let h=s.get(a);if(h)return h;let c=a.parentNode;return t.has(c)?h=c:n.has(c)?h=r:h=i(c),s.set(a,h),h}return e.forEach(a=>{let h=i(a);h!==r&&t.get(h).push(a)}),t}function Ve(o,e){o.classList?.add(e)}function Wt(o,e){o.classList?.remove(e)}function pc(o,e,t){Dt(t).onDone(()=>o.processLeaveNode(e))}function mc(o){let e=[];return ca(o,e),e}function ca(o,e){for(let t=0;tn.add(s)):e.set(o,r),t.delete(o),!0}var $t=class{constructor(e,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(n,s)=>{},this._transitionEngine=new ls(e.body,t,r),this._timelineEngine=new as(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,s)=>this.onRemovalComplete(n,s)}registerTrigger(e,t,r,n,s){let i=e+"-"+n,a=this._triggerCache[i];if(!a){let h=[],c=[],_=aa(this._driver,s,h,c);if(h.length)throw ml(n,h);c.length&&void 0,a=rc(n,_,this._normalizer),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[s,i]=Hi(r),a=n;this._timelineEngine.command(s,t,i,a)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,s){if(r.charAt(0)=="@"){let[i,a]=Hi(r);return this._timelineEngine.listen(i,t,a,s)}return this._transitionEngine.listen(e,t,r,n,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function _c(o,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=Qn(e[0]),e.length>1&&(r=Qn(e[e.length-1]))):e instanceof Map&&(t=Qn(e)),t||r?new yc(o,t,r):null}var yc=(()=>{let e=class e{constructor(r,n,s){this._element=r,this._startStyles=n,this._endStyles=s,this._state=0;let i=e.initialStylesByElement.get(r);i||e.initialStylesByElement.set(r,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&et(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(et(this._element,this._initialStyles),this._endStyles&&(et(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Ut(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ut(this._element,this._endStyles),this._endStyles=null),et(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let o=e;return o})();function Qn(o){let e=null;return o.forEach((t,r)=>{bc(r)&&(e=e||new Map,e.set(r,t))}),e}function bc(o){return o==="display"||o==="position"}var un=class{constructor(e,t,r,n){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,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=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&e.set(n,this._finished?r:sa(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},hn=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return Zi(e,t)}getParentElement(e){return fs(e)}query(e,t,r){return Ji(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}animate(e,t,r,n,s,i=[]){let a=n==0?"both":"forwards",h={duration:r,delay:n,fill:a};s&&(h.easing=s);let c=new Map,_=i.filter(C=>C instanceof un);Hl(r,n)&&_.forEach(C=>{C.currentSnapshot.forEach((I,M)=>c.set(M,I))});let g=Ol(t).map(C=>Qt(C));g=ql(e,g,c);let b=_c(e,g);return new un(e,g,h,b)}};var en="@",ua="@.disabled",fn=class{constructor(e,t,r,n){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==en&&t==ua?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},cs=class extends fn{constructor(e,t,r,n,s){super(t,r,n,s),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==en?t.charAt(1)=="."&&t==ua?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if(t.charAt(0)==en){let n=Ec(e),s=t.slice(1),i="";return s.charAt(0)!=en&&([s,i]=vc(s)),this.engine.listen(this.namespaceId,n,s,i,a=>{let h=a._data||-1;this.factory.scheduleListenerCallback(h,r,a)})}return this.delegate.listen(e,t,r)}};function Ec(o){switch(o){case"body":return document.body;case"document":return document;case"window":return window;default:return o}}function vc(o){let e=o.indexOf("."),t=o.substring(0,e),r=o.slice(e+1);return[t,r]}var dn=class{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(n,s)=>{let i=s?.parentNode(n);i&&s.removeChild(i,n)}}createRenderer(e,t){let r="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,_=c.get(n);if(!_){let g=()=>c.delete(n);_=new fn(r,n,this.engine,g),c.set(n,_)}return _}let s=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,i,e,c.name,c)};return t.data.animation.forEach(a),new cs(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&et(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(s=>{let[i,a]=s;i(a)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Ac=(()=>{let e=class e extends $t{constructor(r,n,s,i){super(r,n,s)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(Ye(Ze),Ye(gr),Ye(jt),Ye(Wr))},e.\u0275prov=ct({token:e,factory:e.\u0275fac});let o=e;return o})();function Dc(){return new sn}function kc(o,e,t){return new dn(o,e,t)}var ha=[{provide:jt,useFactory:Dc},{provide:$t,useClass:Ac},{provide:pi,useFactory:kc,deps:[Oi,$t,_i]}],Cc=[{provide:gr,useFactory:()=>new hn},{provide:Bn,useValue:"BrowserAnimations"},...ha],Lc=[{provide:gr,useClass:ds},{provide:Bn,useValue:"NoopAnimations"},...ha];function Eu(){return[...Cc]}function fa(){return[...Lc]}var Mc=Object.getOwnPropertyNames,J=(o,e)=>function(){return e||(0,o[Mc(o)[0]])((e={exports:{}}).exports,e),e.exports},yr=J({"external/npm/node_modules/domino/lib/Event.js"(o,e){"use strict";e.exports=t,t.CAPTURING_PHASE=1,t.AT_TARGET=2,t.BUBBLING_PHASE=3;function t(r,n){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=t.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,r&&(this.type=r),n)for(var s in n)this[s]=n[s]}t.prototype=Object.create(Object.prototype,{constructor:{value:t},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(n,s,i){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=n,this.bubbles=s,this.cancelable=i)}}})}}),da=J({"external/npm/node_modules/domino/lib/UIEvent.js"(o,e){"use strict";var t=yr();e.exports=r;function r(){t.call(this),this.view=null,this.detail=0}r.prototype=Object.create(t.prototype,{constructor:{value:r},initUIEvent:{value:function(n,s,i,a,h){this.initEvent(n,s,i),this.view=a,this.detail=h}}})}}),pa=J({"external/npm/node_modules/domino/lib/MouseEvent.js"(o,e){"use strict";var t=da();e.exports=r;function r(){t.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}r.prototype=Object.create(t.prototype,{constructor:{value:r},initMouseEvent:{value:function(n,s,i,a,h,c,_,g,b,C,I,M,G,P,w){switch(this.initEvent(n,s,i,a,h),this.screenX=c,this.screenY=_,this.clientX=g,this.clientY=b,this.ctrlKey=C,this.altKey=I,this.shiftKey=M,this.metaKey=G,this.button=P,P){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=w}},getModifierState:{value:function(n){switch(n){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})}}),ys=J({"external/npm/node_modules/domino/lib/DOMException.js"(o,e){"use strict";e.exports=L;var t=1,r=3,n=4,s=5,i=7,a=8,h=9,c=11,_=12,g=13,b=14,C=15,I=17,M=18,G=19,P=20,w=21,v=22,N=23,y=24,ne=25,ee=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],he=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],V={INDEX_SIZE_ERR:t,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:r,WRONG_DOCUMENT_ERR:n,INVALID_CHARACTER_ERR:s,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:i,NOT_FOUND_ERR:a,NOT_SUPPORTED_ERR:h,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:c,SYNTAX_ERR:_,INVALID_MODIFICATION_ERR:g,NAMESPACE_ERR:b,INVALID_ACCESS_ERR:C,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:I,SECURITY_ERR:M,NETWORK_ERR:G,ABORT_ERR:P,URL_MISMATCH_ERR:w,QUOTA_EXCEEDED_ERR:v,TIMEOUT_ERR:N,INVALID_NODE_TYPE_ERR:y,DATA_CLONE_ERR:ne};function L(p){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=p,this.message=he[p],this.name=ee[p]}L.prototype.__proto__=Error.prototype;for(Q in V)H={value:V[Q]},Object.defineProperty(L,Q,H),Object.defineProperty(L.prototype,Q,H);var H,Q}}),bs=J({"external/npm/node_modules/domino/lib/config.js"(o){o.isApiWritable=!globalThis.__domino_frozen__}}),De=J({"external/npm/node_modules/domino/lib/utils.js"(o){"use strict";var e=ys(),t=e,r=bs().isApiWritable;o.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"},o.IndexSizeError=function(){throw new e(t.INDEX_SIZE_ERR)},o.HierarchyRequestError=function(){throw new e(t.HIERARCHY_REQUEST_ERR)},o.WrongDocumentError=function(){throw new e(t.WRONG_DOCUMENT_ERR)},o.InvalidCharacterError=function(){throw new e(t.INVALID_CHARACTER_ERR)},o.NoModificationAllowedError=function(){throw new e(t.NO_MODIFICATION_ALLOWED_ERR)},o.NotFoundError=function(){throw new e(t.NOT_FOUND_ERR)},o.NotSupportedError=function(){throw new e(t.NOT_SUPPORTED_ERR)},o.InvalidStateError=function(){throw new e(t.INVALID_STATE_ERR)},o.SyntaxError=function(){throw new e(t.SYNTAX_ERR)},o.InvalidModificationError=function(){throw new e(t.INVALID_MODIFICATION_ERR)},o.NamespaceError=function(){throw new e(t.NAMESPACE_ERR)},o.InvalidAccessError=function(){throw new e(t.INVALID_ACCESS_ERR)},o.TypeMismatchError=function(){throw new e(t.TYPE_MISMATCH_ERR)},o.SecurityError=function(){throw new e(t.SECURITY_ERR)},o.NetworkError=function(){throw new e(t.NETWORK_ERR)},o.AbortError=function(){throw new e(t.ABORT_ERR)},o.UrlMismatchError=function(){throw new e(t.URL_MISMATCH_ERR)},o.QuotaExceededError=function(){throw new e(t.QUOTA_EXCEEDED_ERR)},o.TimeoutError=function(){throw new e(t.TIMEOUT_ERR)},o.InvalidNodeTypeError=function(){throw new e(t.INVALID_NODE_TYPE_ERR)},o.DataCloneError=function(){throw new e(t.DATA_CLONE_ERR)},o.nyi=function(){throw new Error("NotYetImplemented")},o.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")},o.assert=function(n,s){if(!n)throw new Error("Assertion failed: "+(s||"")+` +import{Bb as Qr,Ca as _i,Cb as Ni,Db as Ze,Eb as Un,Mb as Ai,Ob as Di,Pb as ki,Qb as Ci,Rb as Li,Sb as Mi,T as de,Tb as Ri,U as ct,Ub as Ii,Vb as Oi,X as Kr,Y as Ye,Z as si,e as ni,ha as ii,ia as ai,la as oi,ma as li,na as ci,oa as ui,ob as yi,pa as hi,pb as bi,qa as Bn,qb as Ei,sa as fi,sb as vi,ta as di,tb as Wr,ub as Ti,va as pi,wa as mi,wb as Si,xa as gi,xb as wi}from"./chunk-JHH2AAIU.mjs";import{h as lr}from"./chunk-KRLCULJA.mjs";var Je="*";function xi(o,e=null){return{type:2,steps:o,options:e}}function jn(o){return{type:6,styles:o,offset:null}}var At=class{constructor(e=0,t=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=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},cr=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,r=0,n=0,s=this.players.length;s==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==s&&this._onFinish()}),i.onDestroy(()=>{++r==s&&this._onDestroy()}),i.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((i,a)=>Math.max(i,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},$r="!";function Pi(o){return new de(3e3,!1)}function Xo(){return new de(3100,!1)}function Yo(){return new de(3101,!1)}function Zo(o){return new de(3001,!1)}function Jo(o){return new de(3003,!1)}function el(o){return new de(3004,!1)}function tl(o,e){return new de(3005,!1)}function rl(){return new de(3006,!1)}function nl(){return new de(3007,!1)}function sl(o,e){return new de(3008,!1)}function il(o){return new de(3002,!1)}function al(o,e,t,r,n){return new de(3010,!1)}function ol(){return new de(3011,!1)}function ll(){return new de(3012,!1)}function cl(){return new de(3200,!1)}function ul(){return new de(3202,!1)}function hl(){return new de(3013,!1)}function fl(o){return new de(3014,!1)}function dl(o){return new de(3015,!1)}function pl(o){return new de(3016,!1)}function ml(o,e){return new de(3404,!1)}function gl(o){return new de(3502,!1)}function _l(o){return new de(3503,!1)}function yl(){return new de(3300,!1)}function bl(o){return new de(3504,!1)}function El(o){return new de(3301,!1)}function vl(o,e){return new de(3302,!1)}function Tl(o){return new de(3303,!1)}function Sl(o,e){return new de(3400,!1)}function wl(o){return new de(3401,!1)}function Nl(o){return new de(3402,!1)}function Al(o,e){return new de(3505,!1)}function Dt(o){switch(o.length){case 0:return new At;case 1:return o[0];default:return new cr(o)}}function Yi(o,e,t=new Map,r=new Map){let n=[],s=[],i=-1,a=null;if(e.forEach(h=>{let c=h.get("offset"),_=c==i,g=_&&a||new Map;h.forEach((b,C)=>{let I=C,M=b;if(C!=="offset")switch(I=o.normalizePropertyName(I,n),M){case $r:M=t.get(C);break;case Je:M=r.get(C);break;default:M=o.normalizeStyleValue(C,I,M,n);break}g.set(I,M)}),_||s.push(g),a=g,i=c}),n.length)throw gl(n);return s}function us(o,e,t,r){switch(e){case"start":o.onStart(()=>r(t&&Vn(t,"start",o)));break;case"done":o.onDone(()=>r(t&&Vn(t,"done",o)));break;case"destroy":o.onDestroy(()=>r(t&&Vn(t,"destroy",o)));break}}function Vn(o,e,t){let r=t.totalTime,n=!!t.disabled,s=hs(o.element,o.triggerName,o.fromState,o.toState,e||o.phaseName,r??o.totalTime,n),i=o._data;return i!=null&&(s._data=i),s}function hs(o,e,t,r,n="",s=0,i){return{element:o,triggerName:e,fromState:t,toState:r,phaseName:n,totalTime:s,disabled:!!i}}function Fe(o,e,t){let r=o.get(e);return r||o.set(e,r=t),r}function Hi(o){let e=o.indexOf(":"),t=o.substring(1,e),r=o.slice(e+1);return[t,r]}var Dl=(()=>typeof document>"u"?null:document.documentElement)();function fs(o){let e=o.parentNode||o.host||null;return e===Dl?null:e}function kl(o){return o.substring(1,6)=="ebkit"}var Ft=null,qi=!1;function Cl(o){Ft||(Ft=Ll()||{},qi=Ft.style?"WebkitAppearance"in Ft.style:!1);let e=!0;return Ft.style&&!kl(o)&&(e=o in Ft.style,!e&&qi&&(e="Webkit"+o.charAt(0).toUpperCase()+o.slice(1)in Ft.style)),e}function Ll(){return typeof document<"u"?document.body:null}function Zi(o,e){for(;e;){if(e===o)return!0;e=fs(e)}return!1}function Ji(o,e,t){if(t)return Array.from(o.querySelectorAll(e));let r=o.querySelector(e);return r?[r]:[]}var ds=(()=>{let e=class e{validateStyleProperty(r){return Cl(r)}matchesElement(r,n){return!1}containsElement(r,n){return Zi(r,n)}getParentElement(r){return fs(r)}query(r,n,s){return Ji(r,n,s)}computeStyle(r,n,s){return s||""}animate(r,n,s,i,a,h=[],c){return new At(s,i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ct({token:e,factory:e.\u0275fac});let o=e;return o})(),gr=(()=>{let e=class e{};e.NOOP=new ds;let o=e;return o})(),jt=class{};var Ml=1e3,ea="{{",Rl="}}",ta="ng-enter",$n="ng-leave",Xr="ng-trigger",tn=".ng-trigger",Fi="ng-animating",Xn=".ng-animating";function ut(o){if(typeof o=="number")return o;let e=o.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Yn(parseFloat(e[1]),e[2])}function Yn(o,e){switch(e){case"s":return o*Ml;default:return o}}function rn(o,e,t){return o.hasOwnProperty("duration")?o:Il(o,e,t)}function Il(o,e,t){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,s=0,i="";if(typeof o=="string"){let a=o.match(r);if(a===null)return e.push(Pi(o)),{duration:0,delay:0,easing:""};n=Yn(parseFloat(a[1]),a[2]);let h=a[3];h!=null&&(s=Yn(parseFloat(h),a[4]));let c=a[5];c&&(i=c)}else n=o;if(!t){let a=!1,h=e.length;n<0&&(e.push(Xo()),a=!0),s<0&&(e.push(Yo()),a=!0),a&&e.splice(h,0,Pi(o))}return{duration:n,delay:s,easing:i}}function _r(o,e={}){return Object.keys(o).forEach(t=>{e[t]=o[t]}),e}function ra(o){let e=new Map;return Object.keys(o).forEach(t=>{let r=o[t];e.set(t,r)}),e}function Ol(o){return o.length?o[0]instanceof Map?o:o.map(e=>ra(e)):[]}function Qt(o,e=new Map,t){if(t)for(let[r,n]of t)e.set(r,n);for(let[r,n]of o)e.set(r,n);return e}function et(o,e,t){e.forEach((r,n)=>{let s=ps(n);t&&!t.has(n)&&t.set(n,o.style[s]),o.style[s]=r})}function Ut(o,e){e.forEach((t,r)=>{let n=ps(r);o.style[n]=""})}function ur(o){return Array.isArray(o)?o.length==1?o[0]:xi(o):o}function xl(o,e,t){let r=e.params||{},n=na(o);n.length&&n.forEach(s=>{r.hasOwnProperty(s)||t.push(Zo(s))})}var Zn=new RegExp(`${ea}\\s*(.+?)\\s*${Rl}`,"g");function na(o){let e=[];if(typeof o=="string"){let t;for(;t=Zn.exec(o);)e.push(t[1]);Zn.lastIndex=0}return e}function fr(o,e,t){let r=o.toString(),n=r.replace(Zn,(s,i)=>{let a=e[i];return a==null&&(t.push(Jo(i)),a=""),a.toString()});return n==r?o:n}function nn(o){let e=[],t=o.next();for(;!t.done;)e.push(t.value),t=o.next();return e}var Pl=/-+([a-z0-9])/g;function ps(o){return o.replace(Pl,(...e)=>e[1].toUpperCase())}function Hl(o,e){return o===0||e===0}function ql(o,e,t){if(t.size&&e.length){let r=e[0],n=[];if(t.forEach((s,i)=>{r.has(i)||n.push(i),r.set(i,s)}),n.length)for(let s=1;si.set(a,sa(o,a)))}}return e}function qe(o,e,t){switch(e.type){case 7:return o.visitTrigger(e,t);case 0:return o.visitState(e,t);case 1:return o.visitTransition(e,t);case 2:return o.visitSequence(e,t);case 3:return o.visitGroup(e,t);case 4:return o.visitAnimate(e,t);case 5:return o.visitKeyframes(e,t);case 6:return o.visitStyle(e,t);case 8:return o.visitReference(e,t);case 9:return o.visitAnimateChild(e,t);case 10:return o.visitAnimateRef(e,t);case 11:return o.visitQuery(e,t);case 12:return o.visitStagger(e,t);default:throw el(e.type)}}function sa(o,e){return window.getComputedStyle(o)[e]}var Fl=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"]),sn=class extends jt{normalizePropertyName(e,t){return ps(e)}normalizeStyleValue(e,t,r,n){let s="",i=r.toString().trim();if(Fl.has(t)&&r!==0&&r!=="0")if(typeof r=="number")s="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(tl(e,r))}return i+s}};var an="*";function Bl(o,e){let t=[];return typeof o=="string"?o.split(/\s*,\s*/).forEach(r=>Ul(r,t,e)):t.push(o),t}function Ul(o,e,t){if(o[0]==":"){let h=jl(o,t);if(typeof h=="function"){e.push(h);return}o=h}let r=o.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return t.push(dl(o)),e;let n=r[1],s=r[2],i=r[3];e.push(Bi(n,i));let a=n==an&&i==an;s[0]=="<"&&!a&&e.push(Bi(i,n))}function jl(o,e){switch(o){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r) *"}}var Yr=new Set(["true","1"]),Zr=new Set(["false","0"]);function Bi(o,e){let t=Yr.has(o)||Zr.has(o),r=Yr.has(e)||Zr.has(e);return(n,s)=>{let i=o==an||o==n,a=e==an||e==s;return!i&&t&&typeof n=="boolean"&&(i=n?Yr.has(o):Zr.has(o)),!a&&r&&typeof s=="boolean"&&(a=s?Yr.has(e):Zr.has(e)),i&&a}}var ia=":self",Vl=new RegExp(`s*${ia}s*,?`,"g");function aa(o,e,t,r){return new Jn(o).build(e,t,r)}var Ui="",Jn=class{constructor(e){this._driver=e}build(e,t,r){let n=new es(t);return this._resetContextStyleTimingState(n),qe(this,ur(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Ui,e.collectedStyles=new Map,e.collectedStyles.set(Ui,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,s=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(rl()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==0){let h=a,c=h.name;c.toString().split(/\s*,\s*/).forEach(_=>{h.name=_,s.push(this.visitState(h,t))}),h.name=c}else if(a.type==1){let h=this.visitTransition(a,t);r+=h.queryCount,n+=h.depCount,i.push(h)}else t.errors.push(nl())}),{type:7,name:e.name,states:s,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let s=new Set,i=n||{};if(r.styles.forEach(a=>{a instanceof Map&&a.forEach(h=>{na(h).forEach(c=>{i.hasOwnProperty(c)||s.add(c)})})}),s.size){let a=nn(s.values());t.errors.push(sl(e.name,a))}}return{type:0,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=qe(this,ur(e.animation),t);return{type:1,matchers:Bl(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Bt(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(r=>qe(this,r,t)),options:Bt(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,s=e.steps.map(i=>{t.currentTime=r;let a=qe(this,i,t);return n=Math.max(n,t.currentTime),a});return t.currentTime=n,{type:3,steps:s,options:Bt(e.options)}}visitAnimate(e,t){let r=Wl(e.timings,t.errors);t.currentAnimateTimings=r;let n,s=e.styles?e.styles:jn({});if(s.type==5)n=this.visitKeyframes(s,t);else{let i=e.styles,a=!1;if(!i){a=!0;let c={};r.easing&&(c.easing=r.easing),i=jn(c)}t.currentTime+=r.duration+r.delay;let h=this.visitStyle(i,t);h.isEmptyStep=a,n=h}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of n)typeof a=="string"?a===Je?r.push(a):t.errors.push(il(a)):r.push(ra(a));let s=!1,i=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(i=a.get("easing"),a.delete("easing")),!s)){for(let h of a.values())if(h.toString().indexOf(ea)>=0){s=!0;break}}}),{type:6,styles:r,easing:i,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,s=t.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((a,h)=>{let c=t.collectedStyles.get(t.currentQuerySelector),_=c.get(h),g=!0;_&&(s!=n&&s>=_.startTime&&n<=_.endTime&&(t.errors.push(al(h,_.startTime,_.endTime,s,n)),g=!1),s=_.startTime),g&&c.set(h,{startTime:s,endTime:n}),t.options&&xl(a,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ol()),r;let n=1,s=0,i=[],a=!1,h=!1,c=0,_=e.steps.map(P=>{let w=this._makeStyleAst(P,t),v=w.offset!=null?w.offset:Kl(w.styles),N=0;return v!=null&&(s++,N=w.offset=v),h=h||N<0||N>1,a=a||N0&&s{let v=b>0?w==C?1:b*w:i[w],N=v*G;t.currentTime=I+M.delay+N,M.duration=N,this._validateStyleAst(P,t),P.offset=v,r.styles.push(P)}),r}visitReference(e,t){return{type:8,animation:qe(this,ur(e.animation),t),options:Bt(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Bt(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Bt(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[s,i]=zl(e.selector);t.currentQuerySelector=r.length?r+" "+s:s,Fe(t.collectedStyles,t.currentQuerySelector,new Map);let a=qe(this,ur(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:a,originalSelector:e.selector,options:Bt(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hl());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:rn(e.timings,t.errors,!0);return{type:12,animation:qe(this,ur(e.animation),t),timings:r,options:null}}};function zl(o){let e=!!o.split(/\s*,\s*/).find(t=>t==ia);return e&&(o=o.replace(Vl,"")),o=o.replace(/@\*/g,tn).replace(/@\w+/g,t=>tn+"-"+t.slice(1)).replace(/:animating/g,Xn),[o,e]}function Gl(o){return o?_r(o):null}var es=class{constructor(e){this.errors=e,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 Kl(o){if(typeof o=="string")return null;let e=null;if(Array.isArray(o))o.forEach(t=>{if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(o instanceof Map&&o.has("offset")){let t=o;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Wl(o,e){if(o.hasOwnProperty("duration"))return o;if(typeof o=="number"){let s=rn(o,e).duration;return zn(s,0,"")}let t=o;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=zn(0,0,"");return s.dynamic=!0,s.strValue=t,s}let n=rn(t,e);return zn(n.duration,n.delay,n.easing)}function Bt(o){return o?(o=_r(o),o.params&&(o.params=Gl(o.params))):o={},o}function zn(o,e,t){return{duration:o,delay:e,easing:t}}function ms(o,e,t,r,n,s,i=null,a=!1){return{type:1,element:o,keyframes:e,preStyleProps:t,postStyleProps:r,duration:n,delay:s,totalTime:n+s,easing:i,subTimeline:a}}var dr=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ql=1,$l=":enter",Xl=new RegExp($l,"g"),Yl=":leave",Zl=new RegExp(Yl,"g");function oa(o,e,t,r,n,s=new Map,i=new Map,a,h,c=[]){return new ts().buildKeyframes(o,e,t,r,n,s,i,a,h,c)}var ts=class{buildKeyframes(e,t,r,n,s,i,a,h,c,_=[]){c=c||new dr;let g=new rs(e,t,c,n,s,_,[]);g.options=h;let b=h.delay?ut(h.delay):0;g.currentTimeline.delayNextStep(b),g.currentTimeline.setStyles([i],null,g.errors,h),qe(this,r,g);let C=g.timelines.filter(I=>I.containsAnimation());if(C.length&&a.size){let I;for(let M=C.length-1;M>=0;M--){let G=C[M];if(G.element===t){I=G;break}}I&&!I.allowOnlyTimelineStyles()&&I.setStyles([a],null,g.errors,h)}return C.length?C.map(I=>I.buildKeyframes()):[ms(t,[],[],[],0,b,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),s=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);s!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let s=n?.delay;if(s){let i=typeof s=="number"?s:ut(fr(s,n?.params??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let s=t.currentTimeline.currentTime,i=r.duration!=null?ut(r.duration):null,a=r.delay!=null?ut(r.delay):null;return i!==0&&e.forEach(h=>{let c=t.appendInstructionToTimeline(h,i,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),qe(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,n=t,s=e.options;if(s&&(s.params||s.delay)&&(n=t.createSubContext(s),n.transformIntoNewTimeline(),s.delay!=null)){n.previousNode.type==6&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=on);let i=ut(s.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>qe(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,s=e.options&&e.options.delay?ut(e.options.delay):0;e.steps.forEach(i=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),qe(this,i,a),n=Math.max(n,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?fr(r,t.params,t.errors):r;return rn(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let s=e.style;s.type==5?this.visitKeyframes(s,t):(t.incrementTime(r.duration),this.visitStyle(s,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let s=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,s=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(h=>{let c=h.offset||0;a.forwardTime(c*s),a.setStyles(h.styles,h.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(n+s),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},s=n.delay?ut(n.delay):0;s&&(t.previousNode.type===6||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=on);let i=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let h=null;a.forEach((c,_)=>{t.currentQueryIndex=_;let g=t.createSubContext(e.options,c);s&&g.delayNextStep(s),c===t.element&&(h=g.currentTimeline),qe(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe();let b=g.currentTimeline.currentTime;i=Math.max(i,b)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),h&&(t.currentTimeline.mergeTimelineCollectedStyles(h),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,s=e.timings,i=Math.abs(s.duration),a=i*(t.currentQueryTotal-1),h=i*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":h=a-h;break;case"full":h=r.currentStaggerTime;break}let _=t.currentTimeline;h&&_.delayNextStep(h);let g=_.currentTime;qe(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-g+(n.startTime-r.currentTimeline.startTime)}},on={},rs=class o{constructor(e,t,r,n,s,i,a,h){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=s,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=on,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=h||new ln(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let r=e,n=this.options;r.duration!=null&&(n.duration=ut(r.duration)),r.delay!=null&&(n.delay=ut(r.delay));let s=r.params;if(s){let i=n.params;i||(i=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!i.hasOwnProperty(a))&&(i[a]=fr(s[a],i,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let r=e.params={};Object.keys(t).forEach(n=>{r[n]=t[n]})}}return e}createSubContext(e=null,t,r){let n=t||this.element,s=new o(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=on,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},s=new ns(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,n,s,i){let a=[];if(n&&a.push(this.element),e.length>0){e=e.replace(Xl,"."+this._enterClassName),e=e.replace(Zl,"."+this._leaveClassName);let h=r!=1,c=this._driver.query(this.element,e,h);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!s&&a.length==0&&i.push(fl(t)),a}},ln=class o{constructor(e,t,r,n){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new o(this._driver,e,t||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+=Ql,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Je),this._currentKeyframe.set(t,Je);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,n){t&&this._previousKeyframe.set("easing",t);let s=n&&n.params||{},i=Jl(e,this._globalTimelineStyles);for(let[a,h]of i){let c=fr(h,s,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Je),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{let n=this._styleSummary.get(r);(!n||t.time>n.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,h)=>{let c=Qt(a,new Map,this._backFill);c.forEach((_,g)=>{_===$r?e.add(g):_===Je&&t.add(g)}),r||c.set("offset",h/this.duration),n.push(c)});let s=e.size?nn(e.values()):[],i=t.size?nn(t.values()):[];if(r){let a=n[0],h=new Map(a);a.set("offset",0),h.set("offset",1),n=[a,h]}return ms(this.element,n,s,i,this.duration,this.startTime,this.easing,!1)}},ns=class extends ln{constructor(e,t,r,n,s,i,a=!1){super(e,t,i.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],i=r+t,a=t/i,h=Qt(e[0]);h.set("offset",0),s.push(h);let c=Qt(e[0]);c.set("offset",ji(a)),s.push(c);let _=e.length-1;for(let g=1;g<=_;g++){let b=Qt(e[g]),C=b.get("offset"),I=t+C*r;b.set("offset",ji(I/i)),s.push(b)}r=i,t=0,n="",e=s}return ms(this.element,e,this.preStyleProps,this.postStyleProps,r,t,n,!0)}};function ji(o,e=3){let t=Math.pow(10,e-1);return Math.round(o*t)/t}function Jl(o,e){let t=new Map,r;return o.forEach(n=>{if(n==="*"){r=r||e.keys();for(let s of r)t.set(s,Je)}else Qt(n,t)}),t}function Vi(o,e,t,r,n,s,i,a,h,c,_,g,b){return{type:0,element:o,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:s,toState:r,toStyles:i,timelines:a,queriedElements:h,preStyleProps:c,postStyleProps:_,totalTime:g,errors:b}}var Gn={},cn=class{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return ec(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,s,i,a,h,c,_){let g=[],b=this.ast.options&&this.ast.options.params||Gn,C=a&&a.params||Gn,I=this.buildStyles(r,C,g),M=h&&h.params||Gn,G=this.buildStyles(n,M,g),P=new Set,w=new Map,v=new Map,N=n==="void",y={params:tc(M,b),delay:this.ast.options?.delay},ne=_?[]:oa(e,t,this.ast.animation,s,i,I,G,y,c,g),ee=0;if(ne.forEach(V=>{ee=Math.max(V.duration+V.delay,ee)}),g.length)return Vi(t,this._triggerName,r,n,N,I,G,[],[],w,v,ee,g);ne.forEach(V=>{let L=V.element,H=Fe(w,L,new Set);V.preStyleProps.forEach(p=>H.add(p));let Q=Fe(v,L,new Set);V.postStyleProps.forEach(p=>Q.add(p)),L!==t&&P.add(L)});let he=nn(P.values());return Vi(t,this._triggerName,r,n,N,I,G,ne,he,w,v,ee)}};function ec(o,e,t,r,n){return o.some(s=>s(e,t,r,n))}function tc(o,e){let t=_r(e);for(let r in o)o.hasOwnProperty(r)&&o[r]!=null&&(t[r]=o[r]);return t}var ss=class{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=_r(this.defaultParams);return Object.keys(e).forEach(s=>{let i=e[s];i!==null&&(n[s]=i)}),this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((i,a)=>{i&&(i=fr(i,n,t));let h=this.normalizer.normalizePropertyName(a,t);i=this.normalizer.normalizeStyleValue(a,h,i,t),r.set(a,i)})}),r}};function rc(o,e,t){return new is(o,e,t)}var is=class{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(n=>{let s=n.options&&n.options.params||{};this.states.set(n.name,new ss(n.style,s,r))}),zi(this.states,"true","1"),zi(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new cn(e,n,this.states))}),this.fallbackTransition=nc(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(i=>i.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function nc(o,e,t){let s={type:1,animation:{type:2,steps:[],options:null},matchers:[(i,a)=>!0],options:null,queryCount:0,depCount:0};return new cn(o,s,e)}function zi(o,e,t){o.has(e)?o.has(t)||o.set(t,o.get(e)):o.has(t)&&o.set(e,o.get(t))}var sc=new dr,as=class{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let r=[],n=[],s=aa(this._driver,t,r,n);if(r.length)throw _l(r);n.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,r){let n=e.element,s=Yi(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],s=this._animations.get(e),i,a=new Map;if(s?(i=oa(this._driver,t,s,ta,$n,new Map,new Map,r,sc,n),i.forEach(_=>{let g=Fe(a,_.element,new Map);_.postStyleProps.forEach(b=>g.set(b,null))})):(n.push(yl()),i=[]),n.length)throw bl(n);a.forEach((_,g)=>{_.forEach((b,C)=>{_.set(C,this._driver.computeStyle(g,C,Je))})});let h=i.map(_=>{let g=a.get(_.element);return this._buildPlayer(_,new Map,g)}),c=Dt(h);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw El(e);return t}listen(e,t,r,n){let s=hs(t,"","","");return us(this._getPlayer(e),r,s,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Gi="ng-animate-queued",ic=".ng-animate-queued",Kn="ng-animate-disabled",ac=".ng-animate-disabled",oc="ng-star-inserted",lc=".ng-star-inserted",cc=[],la={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},uc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ke="__ng_removed",pr=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=fc(n),r){let s=_r(e);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},hr="void",Wn=new pr(hr),os=class{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ve(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw vl(r,t);if(r==null||r.length==0)throw Tl(t);if(!dc(r))throw Sl(r,t);let s=Fe(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};s.push(i);let a=Fe(this._engine.statesByElement,e,new Map);return a.has(t)||(Ve(e,Xr),Ve(e,Xr+"-"+t),a.set(t,Wn)),()=>{this._engine.afterFlush(()=>{let h=s.indexOf(i);h>=0&&s.splice(h,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw wl(e);return t}trigger(e,t,r,n=!0){let s=this._getTrigger(t),i=new mr(this.id,t,e),a=this._engine.statesByElement.get(e);a||(Ve(e,Xr),Ve(e,Xr+"-"+t),this._engine.statesByElement.set(e,a=new Map));let h=a.get(t),c=new pr(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&h&&c.absorbOptions(h.options),a.set(t,c),h||(h=Wn),!(c.value===hr)&&h.value===c.value){if(!gc(h.params,c.params)){let M=[],G=s.matchStyles(h.value,h.params,M),P=s.matchStyles(c.value,c.params,M);M.length?this._engine.reportError(M):this._engine.afterFlush(()=>{Ut(e,G),et(e,P)})}return}let b=Fe(this._engine.playersByElement,e,[]);b.forEach(M=>{M.namespaceId==this.id&&M.triggerName==t&&M.queued&&M.destroy()});let C=s.matchTransition(h.value,c.value,e,c.params),I=!1;if(!C){if(!n)return;C=s.fallbackTransition,I=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:C,fromState:h,toState:c,player:i,isFallbackTransition:I}),I||(Ve(e,Gi),i.onStart(()=>{Wt(e,Gi)})),i.onDone(()=>{let M=this.players.indexOf(i);M>=0&&this.players.splice(M,1);let G=this._engine.playersByElement.get(e);if(G){let P=G.indexOf(i);P>=0&&G.splice(P,1)}}),this.players.push(i),b.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,tn,!0);r.forEach(n=>{if(n[Ke])return;let s=this._engine.fetchNamespacesByElement(n);s.size?s.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let s=this._engine.statesByElement.get(e),i=new Map;if(s){let a=[];if(s.forEach((h,c)=>{if(i.set(c,h.value),this._triggers.has(c)){let _=this.trigger(e,c,hr,n);_&&a.push(_)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&Dt(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(s=>{let i=s.name;if(n.has(i))return;n.add(i);let h=this._triggers.get(i).fallbackTransition,c=r.get(i)||Wn,_=new pr(hr),g=new mr(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:h,fromState:c,toState:_,player:g,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let s=e[Ke];(!s||s===la)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){Ve(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let s=r.element,i=this._elementListeners.get(s);i&&i.forEach(a=>{if(a.name==r.triggerName){let h=hs(s,r.triggerName,r.fromState.value,r.toState.value);h._data=e,us(r.player,a.phase,h,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let s=r.transition.ast.depCount,i=n.transition.ast.depCount;return s==0||i==0?s-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ls=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,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=(n,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new os(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let i=!1,a=this.driver.getParentElement(t);for(;a;){let h=n.get(a);if(h){let c=r.indexOf(h);r.splice(c+1,0,e),i=!0;break}a=this.driver.getParentElement(a)}i||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let s=this._fetchNamespace(n.namespaceId);s&&t.add(s)}}return t}trigger(e,t,r,n){if(Jr(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Jr(t))return;let s=t[Ke];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ve(e,Kn)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Wt(e,Kn))}removeNode(e,t,r){if(Jr(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,s){this.collectedLeaveElements.push(t),t[Ke]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,r,n,s){return Jr(t)?this._fetchNamespace(e).listen(t,r,n,s):()=>{}}_buildInstruction(e,t,r,n,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,tn,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Xn,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Dt(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[Ke];if(t&&t.setForRemoval){if(e[Ke]=la,t.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Kn)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ac,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?Dt(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw Nl(e)}_flushAnimations(e,t){let r=new dr,n=[],s=new Map,i=[],a=new Map,h=new Map,c=new Map,_=new Set;this.disabledNodes.forEach(m=>{_.add(m);let S=this.driver.query(m,ic,!0);for(let k=0;k{let k=ta+M++;I.set(S,k),m.forEach(U=>Ve(U,k))});let G=[],P=new Set,w=new Set;for(let m=0;mP.add(U)):w.add(S))}let v=new Map,N=Qi(b,Array.from(P));N.forEach((m,S)=>{let k=$n+M++;v.set(S,k),m.forEach(U=>Ve(U,k))}),e.push(()=>{C.forEach((m,S)=>{let k=I.get(S);m.forEach(U=>Wt(U,k))}),N.forEach((m,S)=>{let k=v.get(S);m.forEach(U=>Wt(U,k))}),G.forEach(m=>{this.processLeaveNode(m)})});let y=[],ne=[];for(let m=this._namespaceList.length-1;m>=0;m--)this._namespaceList[m].drainQueuedTransitions(t).forEach(k=>{let U=k.player,W=k.element;if(y.push(U),this.collectedEnterElements.length){let ke=W[Ke];if(ke&&ke.setForMove){if(ke.previousTriggersValues&&ke.previousTriggersValues.has(k.triggerName)){let tt=ke.previousTriggersValues.get(k.triggerName),Oe=this.statesByElement.get(k.element);if(Oe&&Oe.has(k.triggerName)){let Vt=Oe.get(k.triggerName);Vt.value=tt,Oe.set(k.triggerName,Vt)}}U.destroy();return}}let ie=!g||!this.driver.containsElement(g,W),T=v.get(W),R=I.get(W),j=this._buildInstruction(k,r,R,T,ie);if(j.errors&&j.errors.length){ne.push(j);return}if(ie){U.onStart(()=>Ut(W,j.fromStyles)),U.onDestroy(()=>et(W,j.toStyles)),n.push(U);return}if(k.isFallbackTransition){U.onStart(()=>Ut(W,j.fromStyles)),U.onDestroy(()=>et(W,j.toStyles)),n.push(U);return}let le=[];j.timelines.forEach(ke=>{ke.stretchStartingKeyframe=!0,this.disabledNodes.has(ke.element)||le.push(ke)}),j.timelines=le,r.append(W,j.timelines);let Re={instruction:j,player:U,element:W};i.push(Re),j.queriedElements.forEach(ke=>Fe(a,ke,[]).push(U)),j.preStyleProps.forEach((ke,tt)=>{if(ke.size){let Oe=h.get(tt);Oe||h.set(tt,Oe=new Set),ke.forEach((Vt,Yt)=>Oe.add(Yt))}}),j.postStyleProps.forEach((ke,tt)=>{let Oe=c.get(tt);Oe||c.set(tt,Oe=new Set),ke.forEach((Vt,Yt)=>Oe.add(Yt))})});if(ne.length){let m=[];ne.forEach(S=>{m.push(Al(S.triggerName,S.errors))}),y.forEach(S=>S.destroy()),this.reportError(m)}let ee=new Map,he=new Map;i.forEach(m=>{let S=m.element;r.has(S)&&(he.set(S,S),this._beforeAnimationBuild(m.player.namespaceId,m.instruction,ee))}),n.forEach(m=>{let S=m.element;this._getPreviousPlayers(S,!1,m.namespaceId,m.triggerName,null).forEach(U=>{Fe(ee,S,[]).push(U),U.destroy()})});let V=G.filter(m=>$i(m,h,c)),L=new Map;Wi(L,this.driver,w,c,Je).forEach(m=>{$i(m,h,c)&&V.push(m)});let Q=new Map;C.forEach((m,S)=>{Wi(Q,this.driver,new Set(m),h,$r)}),V.forEach(m=>{let S=L.get(m),k=Q.get(m);L.set(m,new Map([...S?.entries()??[],...k?.entries()??[]]))});let p=[],d=[],f={};i.forEach(m=>{let{element:S,player:k,instruction:U}=m;if(r.has(S)){if(_.has(S)){k.onDestroy(()=>et(S,U.toStyles)),k.disabled=!0,k.overrideTotalTime(U.totalTime),n.push(k);return}let W=f;if(he.size>1){let T=S,R=[];for(;T=T.parentNode;){let j=he.get(T);if(j){W=j;break}R.push(T)}R.forEach(j=>he.set(j,W))}let ie=this._buildAnimation(k.namespaceId,U,ee,s,Q,L);if(k.setRealPlayer(ie),W===f)p.push(k);else{let T=this.playersByElement.get(W);T&&T.length&&(k.parentPlayer=Dt(T)),n.push(k)}}else Ut(S,U.fromStyles),k.onDestroy(()=>et(S,U.toStyles)),d.push(k),_.has(S)&&n.push(k)}),d.forEach(m=>{let S=s.get(m.element);if(S&&S.length){let k=Dt(S);m.setRealPlayer(k)}}),n.forEach(m=>{m.parentPlayer?m.syncPlayerEvents(m.parentPlayer):m.destroy()});for(let m=0;m!ie.destroyed);W.length?pc(this,S,W):this.processLeaveNode(S)}return G.length=0,p.forEach(m=>{this.players.push(m),m.onDone(()=>{m.destroy();let S=this.players.indexOf(m);this.players.splice(S,1)}),m.play()}),p}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,s){let i=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(i=a)}else{let a=this.playersByElement.get(e);if(a){let h=!s||s==hr;a.forEach(c=>{c.queued||!h&&c.triggerName!=n||i.push(c)})}}return(r||n)&&(i=i.filter(a=>!(r&&r!=a.namespaceId||n&&n!=a.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,s=t.element,i=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:n;for(let h of t.timelines){let c=h.element,_=c!==s,g=Fe(r,c,[]);this._getPreviousPlayers(c,_,i,a,t.toState).forEach(C=>{let I=C.getRealPlayer();I.beforeDestroy&&I.beforeDestroy(),C.destroy(),g.push(C)})}Ut(s,t.fromStyles)}_buildAnimation(e,t,r,n,s,i){let a=t.triggerName,h=t.element,c=[],_=new Set,g=new Set,b=t.timelines.map(I=>{let M=I.element;_.add(M);let G=M[Ke];if(G&&G.removedBeforeQueried)return new At(I.duration,I.delay);let P=M!==h,w=mc((r.get(M)||cc).map(ee=>ee.getRealPlayer())).filter(ee=>{let he=ee;return he.element?he.element===M:!1}),v=s.get(M),N=i.get(M),y=Yi(this._normalizer,I.keyframes,v,N),ne=this._buildPlayer(I,y,w);if(I.subTimeline&&n&&g.add(M),P){let ee=new mr(e,a,M);ee.setRealPlayer(ne),c.push(ee)}return ne});c.forEach(I=>{Fe(this.playersByQueriedElement,I.element,[]).push(I),I.onDone(()=>hc(this.playersByQueriedElement,I.element,I))}),_.forEach(I=>Ve(I,Fi));let C=Dt(b);return C.onDestroy(()=>{_.forEach(I=>Wt(I,Fi)),et(h,t.toStyles)}),g.forEach(I=>{Fe(n,I,[]).push(C)}),C}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new At(e.duration,e.delay)}},mr=class{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new At,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>us(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Fe(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function hc(o,e,t){let r=o.get(e);if(r){if(r.length){let n=r.indexOf(t);r.splice(n,1)}r.length==0&&o.delete(e)}return r}function fc(o){return o??null}function Jr(o){return o&&o.nodeType===1}function dc(o){return o=="start"||o=="done"}function Ki(o,e){let t=o.style.display;return o.style.display=e??"none",t}function Wi(o,e,t,r,n){let s=[];t.forEach(h=>s.push(Ki(h)));let i=[];r.forEach((h,c)=>{let _=new Map;h.forEach(g=>{let b=e.computeStyle(c,g,n);_.set(g,b),(!b||b.length==0)&&(c[Ke]=uc,i.push(c))}),o.set(c,_)});let a=0;return t.forEach(h=>Ki(h,s[a++])),i}function Qi(o,e){let t=new Map;if(o.forEach(a=>t.set(a,[])),e.length==0)return t;let r=1,n=new Set(e),s=new Map;function i(a){if(!a)return r;let h=s.get(a);if(h)return h;let c=a.parentNode;return t.has(c)?h=c:n.has(c)?h=r:h=i(c),s.set(a,h),h}return e.forEach(a=>{let h=i(a);h!==r&&t.get(h).push(a)}),t}function Ve(o,e){o.classList?.add(e)}function Wt(o,e){o.classList?.remove(e)}function pc(o,e,t){Dt(t).onDone(()=>o.processLeaveNode(e))}function mc(o){let e=[];return ca(o,e),e}function ca(o,e){for(let t=0;tn.add(s)):e.set(o,r),t.delete(o),!0}var $t=class{constructor(e,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(n,s)=>{},this._transitionEngine=new ls(e.body,t,r),this._timelineEngine=new as(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,s)=>this.onRemovalComplete(n,s)}registerTrigger(e,t,r,n,s){let i=e+"-"+n,a=this._triggerCache[i];if(!a){let h=[],c=[],_=aa(this._driver,s,h,c);if(h.length)throw ml(n,h);c.length&&void 0,a=rc(n,_,this._normalizer),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[s,i]=Hi(r),a=n;this._timelineEngine.command(s,t,i,a)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,s){if(r.charAt(0)=="@"){let[i,a]=Hi(r);return this._timelineEngine.listen(i,t,a,s)}return this._transitionEngine.listen(e,t,r,n,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function _c(o,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=Qn(e[0]),e.length>1&&(r=Qn(e[e.length-1]))):e instanceof Map&&(t=Qn(e)),t||r?new yc(o,t,r):null}var yc=(()=>{let e=class e{constructor(r,n,s){this._element=r,this._startStyles=n,this._endStyles=s,this._state=0;let i=e.initialStylesByElement.get(r);i||e.initialStylesByElement.set(r,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&et(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(et(this._element,this._initialStyles),this._endStyles&&(et(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Ut(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ut(this._element,this._endStyles),this._endStyles=null),et(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let o=e;return o})();function Qn(o){let e=null;return o.forEach((t,r)=>{bc(r)&&(e=e||new Map,e.set(r,t))}),e}function bc(o){return o==="display"||o==="position"}var un=class{constructor(e,t,r,n){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,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=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&e.set(n,this._finished?r:sa(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},hn=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return Zi(e,t)}getParentElement(e){return fs(e)}query(e,t,r){return Ji(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}animate(e,t,r,n,s,i=[]){let a=n==0?"both":"forwards",h={duration:r,delay:n,fill:a};s&&(h.easing=s);let c=new Map,_=i.filter(C=>C instanceof un);Hl(r,n)&&_.forEach(C=>{C.currentSnapshot.forEach((I,M)=>c.set(M,I))});let g=Ol(t).map(C=>Qt(C));g=ql(e,g,c);let b=_c(e,g);return new un(e,g,h,b)}};var en="@",ua="@.disabled",fn=class{constructor(e,t,r,n){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==en&&t==ua?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},cs=class extends fn{constructor(e,t,r,n,s){super(t,r,n,s),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==en?t.charAt(1)=="."&&t==ua?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if(t.charAt(0)==en){let n=Ec(e),s=t.slice(1),i="";return s.charAt(0)!=en&&([s,i]=vc(s)),this.engine.listen(this.namespaceId,n,s,i,a=>{let h=a._data||-1;this.factory.scheduleListenerCallback(h,r,a)})}return this.delegate.listen(e,t,r)}};function Ec(o){switch(o){case"body":return document.body;case"document":return document;case"window":return window;default:return o}}function vc(o){let e=o.indexOf("."),t=o.substring(0,e),r=o.slice(e+1);return[t,r]}var dn=class{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(n,s)=>{let i=s?.parentNode(n);i&&s.removeChild(i,n)}}createRenderer(e,t){let r="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,_=c.get(n);if(!_){let g=()=>c.delete(n);_=new fn(r,n,this.engine,g),c.set(n,_)}return _}let s=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,i,e,c.name,c)};return t.data.animation.forEach(a),new cs(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&et(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(s=>{let[i,a]=s;i(a)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Ac=(()=>{let e=class e extends $t{constructor(r,n,s,i){super(r,n,s)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(Ye(Ze),Ye(gr),Ye(jt),Ye(Wr))},e.\u0275prov=ct({token:e,factory:e.\u0275fac});let o=e;return o})();function Dc(){return new sn}function kc(o,e,t){return new dn(o,e,t)}var ha=[{provide:jt,useFactory:Dc},{provide:$t,useClass:Ac},{provide:pi,useFactory:kc,deps:[Oi,$t,_i]}],Cc=[{provide:gr,useFactory:()=>new hn},{provide:Bn,useValue:"BrowserAnimations"},...ha],Lc=[{provide:gr,useClass:ds},{provide:Bn,useValue:"NoopAnimations"},...ha];function Eu(){return[...Cc]}function fa(){return[...Lc]}var Mc=Object.getOwnPropertyNames,J=(o,e)=>function(){return e||(0,o[Mc(o)[0]])((e={exports:{}}).exports,e),e.exports},yr=J({"external/npm/node_modules/domino/lib/Event.js"(o,e){"use strict";e.exports=t,t.CAPTURING_PHASE=1,t.AT_TARGET=2,t.BUBBLING_PHASE=3;function t(r,n){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=t.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,r&&(this.type=r),n)for(var s in n)this[s]=n[s]}t.prototype=Object.create(Object.prototype,{constructor:{value:t},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(n,s,i){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=n,this.bubbles=s,this.cancelable=i)}}})}}),da=J({"external/npm/node_modules/domino/lib/UIEvent.js"(o,e){"use strict";var t=yr();e.exports=r;function r(){t.call(this),this.view=null,this.detail=0}r.prototype=Object.create(t.prototype,{constructor:{value:r},initUIEvent:{value:function(n,s,i,a,h){this.initEvent(n,s,i),this.view=a,this.detail=h}}})}}),pa=J({"external/npm/node_modules/domino/lib/MouseEvent.js"(o,e){"use strict";var t=da();e.exports=r;function r(){t.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}r.prototype=Object.create(t.prototype,{constructor:{value:r},initMouseEvent:{value:function(n,s,i,a,h,c,_,g,b,C,I,M,G,P,w){switch(this.initEvent(n,s,i,a,h),this.screenX=c,this.screenY=_,this.clientX=g,this.clientY=b,this.ctrlKey=C,this.altKey=I,this.shiftKey=M,this.metaKey=G,this.button=P,P){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=w}},getModifierState:{value:function(n){switch(n){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})}}),ys=J({"external/npm/node_modules/domino/lib/DOMException.js"(o,e){"use strict";e.exports=L;var t=1,r=3,n=4,s=5,i=7,a=8,h=9,c=11,_=12,g=13,b=14,C=15,I=17,M=18,G=19,P=20,w=21,v=22,N=23,y=24,ne=25,ee=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],he=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],V={INDEX_SIZE_ERR:t,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:r,WRONG_DOCUMENT_ERR:n,INVALID_CHARACTER_ERR:s,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:i,NOT_FOUND_ERR:a,NOT_SUPPORTED_ERR:h,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:c,SYNTAX_ERR:_,INVALID_MODIFICATION_ERR:g,NAMESPACE_ERR:b,INVALID_ACCESS_ERR:C,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:I,SECURITY_ERR:M,NETWORK_ERR:G,ABORT_ERR:P,URL_MISMATCH_ERR:w,QUOTA_EXCEEDED_ERR:v,TIMEOUT_ERR:N,INVALID_NODE_TYPE_ERR:y,DATA_CLONE_ERR:ne};function L(p){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=p,this.message=he[p],this.name=ee[p]}L.prototype.__proto__=Error.prototype;for(Q in V)H={value:V[Q]},Object.defineProperty(L,Q,H),Object.defineProperty(L.prototype,Q,H);var H,Q}}),bs=J({"external/npm/node_modules/domino/lib/config.js"(o){o.isApiWritable=!globalThis.__domino_frozen__}}),De=J({"external/npm/node_modules/domino/lib/utils.js"(o){"use strict";var e=ys(),t=e,r=bs().isApiWritable;o.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"},o.IndexSizeError=function(){throw new e(t.INDEX_SIZE_ERR)},o.HierarchyRequestError=function(){throw new e(t.HIERARCHY_REQUEST_ERR)},o.WrongDocumentError=function(){throw new e(t.WRONG_DOCUMENT_ERR)},o.InvalidCharacterError=function(){throw new e(t.INVALID_CHARACTER_ERR)},o.NoModificationAllowedError=function(){throw new e(t.NO_MODIFICATION_ALLOWED_ERR)},o.NotFoundError=function(){throw new e(t.NOT_FOUND_ERR)},o.NotSupportedError=function(){throw new e(t.NOT_SUPPORTED_ERR)},o.InvalidStateError=function(){throw new e(t.INVALID_STATE_ERR)},o.SyntaxError=function(){throw new e(t.SYNTAX_ERR)},o.InvalidModificationError=function(){throw new e(t.INVALID_MODIFICATION_ERR)},o.NamespaceError=function(){throw new e(t.NAMESPACE_ERR)},o.InvalidAccessError=function(){throw new e(t.INVALID_ACCESS_ERR)},o.TypeMismatchError=function(){throw new e(t.TYPE_MISMATCH_ERR)},o.SecurityError=function(){throw new e(t.SECURITY_ERR)},o.NetworkError=function(){throw new e(t.NETWORK_ERR)},o.AbortError=function(){throw new e(t.ABORT_ERR)},o.UrlMismatchError=function(){throw new e(t.URL_MISMATCH_ERR)},o.QuotaExceededError=function(){throw new e(t.QUOTA_EXCEEDED_ERR)},o.TimeoutError=function(){throw new e(t.TIMEOUT_ERR)},o.InvalidNodeTypeError=function(){throw new e(t.INVALID_NODE_TYPE_ERR)},o.DataCloneError=function(){throw new e(t.DATA_CLONE_ERR)},o.nyi=function(){throw new Error("NotYetImplemented")},o.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")},o.assert=function(n,s){if(!n)throw new Error("Assertion failed: "+(s||"")+` `+new Error().stack)},o.expose=function(n,s){for(var i in n)Object.defineProperty(s.prototype,i,{value:n[i],writable:r})},o.merge=function(n,s){for(var i in s)n[i]=s[i]},o.documentOrder=function(n,s){return 3-(n.compareDocumentPosition(s)&6)},o.toASCIILowerCase=function(n){return n.replace(/[A-Z]+/g,function(s){return s.toLowerCase()})},o.toASCIIUpperCase=function(n){return n.replace(/[a-z]+/g,function(s){return s.toUpperCase()})}}}),ma=J({"external/npm/node_modules/domino/lib/EventTarget.js"(o,e){"use strict";var t=yr(),r=pa(),n=De();e.exports=s;function s(){}s.prototype={addEventListener:function(a,h,c){if(h){c===void 0&&(c=!1),this._listeners||(this._listeners=Object.create(null)),this._listeners[a]||(this._listeners[a]=[]);for(var _=this._listeners[a],g=0,b=_.length;g=0&&(c(_[b],a),!a._propagationStopped);b--);if(a._propagationStopped||(a.eventPhase=t.AT_TARGET,c(this,a)),a.bubbles&&!a._propagationStopped){a.eventPhase=t.BUBBLING_PHASE;for(var C=0,I=_.length;C\u00A0]/g,h=/[&"<>\u00A0]/g;function c(P){return a.test(P)?P.replace(a,w=>{switch(w){case"&":return"&";case"<":return"<";case">":return">";case"\xA0":return" "}}):P}function _(P){return h.test(P)?P.replace(h,w=>{switch(w){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";case"\xA0":return" "}}):P}function g(P){var w=P.namespaceURI;return w?w===r.XML?"xml:"+P.localName:w===r.XLINK?"xlink:"+P.localName:w===r.XMLNS?P.localName==="xmlns"?"xmlns":"xmlns:"+P.localName:P.name:P.localName}function b(P,w){let v="/;function I(P){return C.test(P)?P.replace(/(--\!?)>/g,"$1>"):P}function M(P){return P.includes(">")?P.replaceAll(">",">"):P}function G(P,w){var v="";switch(P.nodeType){case 1:var N=P.namespaceURI,y=N===r.HTML,ne=y||N===r.SVG||N===r.MATHML?P.localName:P.tagName;v+="<"+ne;for(var ee=0,he=P._numattrs;ee"}break;case 3:case 4:var H;w.nodeType===1&&w.namespaceURI===r.HTML?H=w.tagName:H="",n[H]||H==="NOSCRIPT"&&w.ownerDocument._scripting_enabled?v+=P.data:v+=c(P.data);break;case 8:v+="";break;case 7:let Q=M(P.data);v+="";break;case 10:v+="";break;default:t.InvalidStateError()}return v}}}),Me=J({"external/npm/node_modules/domino/lib/Node.js"(o,e){"use strict";e.exports=i;var t=ma(),r=ga(),n=_a(),s=De();function i(){t.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var a=i.ELEMENT_NODE=1,h=i.ATTRIBUTE_NODE=2,c=i.TEXT_NODE=3,_=i.CDATA_SECTION_NODE=4,g=i.ENTITY_REFERENCE_NODE=5,b=i.ENTITY_NODE=6,C=i.PROCESSING_INSTRUCTION_NODE=7,I=i.COMMENT_NODE=8,M=i.DOCUMENT_NODE=9,G=i.DOCUMENT_TYPE_NODE=10,P=i.DOCUMENT_FRAGMENT_NODE=11,w=i.NOTATION_NODE=12,v=i.DOCUMENT_POSITION_DISCONNECTED=1,N=i.DOCUMENT_POSITION_PRECEDING=2,y=i.DOCUMENT_POSITION_FOLLOWING=4,ne=i.DOCUMENT_POSITION_CONTAINS=8,ee=i.DOCUMENT_POSITION_CONTAINED_BY=16,he=i.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;i.prototype=Object.create(t.prototype,{baseURI:{get:s.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===a?this.parentNode:null}},hasChildNodes:{value:s.shouldOverride},firstChild:{get:s.shouldOverride},lastChild:{get:s.shouldOverride},isConnected:{get:function(){let V=this;for(;V!=null;){if(V.nodeType===i.DOCUMENT_NODE)return!0;V=V.parentNode,V!=null&&V.nodeType===i.DOCUMENT_FRAGMENT_NODE&&(V=V.host)}return!1}},previousSibling:{get:function(){var V=this.parentNode;return!V||this===V.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var V=this.parentNode,L=this._nextSibling;return!V||L===V.firstChild?null:L}},textContent:{get:function(){return null},set:function(V){}},innerText:{get:function(){return null},set:function(V){}},_countChildrenOfType:{value:function(V){for(var L=0,H=this.firstChild;H!==null;H=H.nextSibling)H.nodeType===V&&L++;return L}},_ensureInsertValid:{value:function(L,H,Q){var p=this,d,f;if(!L.nodeType)throw new TypeError("not a node");switch(p.nodeType){case M:case P:case a:break;default:s.HierarchyRequestError()}switch(L.isAncestor(p)&&s.HierarchyRequestError(),(H!==null||!Q)&&H.parentNode!==p&&s.NotFoundError(),L.nodeType){case P:case G:case a:case c:case C:case I:break;default:s.HierarchyRequestError()}if(p.nodeType===M)switch(L.nodeType){case c:s.HierarchyRequestError();break;case P:switch(L._countChildrenOfType(c)>0&&s.HierarchyRequestError(),L._countChildrenOfType(a)){case 0:break;case 1:if(H!==null)for(Q&&H.nodeType===G&&s.HierarchyRequestError(),f=H.nextSibling;f!==null;f=f.nextSibling)f.nodeType===G&&s.HierarchyRequestError();d=p._countChildrenOfType(a),Q?d>0&&s.HierarchyRequestError():(d>1||d===1&&H.nodeType!==a)&&s.HierarchyRequestError();break;default:s.HierarchyRequestError()}break;case a:if(H!==null)for(Q&&H.nodeType===G&&s.HierarchyRequestError(),f=H.nextSibling;f!==null;f=f.nextSibling)f.nodeType===G&&s.HierarchyRequestError();d=p._countChildrenOfType(a),Q?d>0&&s.HierarchyRequestError():(d>1||d===1&&H.nodeType!==a)&&s.HierarchyRequestError();break;case G:if(H===null)p._countChildrenOfType(a)&&s.HierarchyRequestError();else for(f=p.firstChild;f!==null&&f!==H;f=f.nextSibling)f.nodeType===a&&s.HierarchyRequestError();d=p._countChildrenOfType(G),Q?d>0&&s.HierarchyRequestError():(d>1||d===1&&H.nodeType!==G)&&s.HierarchyRequestError();break}else L.nodeType===G&&s.HierarchyRequestError()}},insertBefore:{value:function(L,H){var Q=this;Q._ensureInsertValid(L,H,!0);var p=H;return p===L&&(p=L.nextSibling),Q.doc.adoptNode(L),L._insertOrReplace(Q,p,!1),L}},appendChild:{value:function(V){return this.insertBefore(V,null)}},_appendChild:{value:function(V){V._insertOrReplace(this,null,!1)}},removeChild:{value:function(L){var H=this;if(!L.nodeType)throw new TypeError("not a node");return L.parentNode!==H&&s.NotFoundError(),L.remove(),L}},replaceChild:{value:function(L,H){var Q=this;return Q._ensureInsertValid(L,H,!1),L.doc!==Q.doc&&Q.doc.adoptNode(L),L._insertOrReplace(Q,H,!0),H}},contains:{value:function(L){return L===null?!1:this===L?!0:(this.compareDocumentPosition(L)&ee)!==0}},compareDocumentPosition:{value:function(L){if(this===L)return 0;if(this.doc!==L.doc||this.rooted!==L.rooted)return v+he;for(var H=[],Q=[],p=this;p!==null;p=p.parentNode)H.push(p);for(p=L;p!==null;p=p.parentNode)Q.push(p);if(H.reverse(),Q.reverse(),H[0]!==Q[0])return v+he;p=Math.min(H.length,Q.length);for(var d=1;d2?U[2]:null):T>2&&S!==null&&r.insertBefore(U[2],S),L._childNodes)for(U[0]=H===null?L._childNodes.length:H._index,L._childNodes.splice.apply(L._childNodes,U),f=2;f2?L._firstChild=U[2]:Q&&(L._firstChild=null));if(p._childNodes?p._childNodes.length=0:p._firstChild=null,L.rooted)for(L.modify(),f=2;f0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var s=this._childNodes,i;return s?s.length===0?null:s[s.length-1]:(i=this._firstChild,i===null?null:i._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var s=this._firstChild,i=s,a=this._childNodes=new r;if(s)do a.push(i),i=i._nextSibling;while(i!==s);this._firstChild=null}}},removeChildren:{value:function(){for(var i=this.rooted?this.ownerDocument:null,a=this.firstChild,h;a!==null;)h=a,a=h.nextSibling,i&&i.mutateRemove(h),h.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})}}),vs=J({"external/npm/node_modules/domino/lib/xmlnames.js"(o){"use strict";o.isValidName=M,o.isValidQName=G;var e=/^[_:A-Za-z][-.:\w]+$/,t=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,r="_A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",n="-._A-Za-z0-9\xB7\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0300-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",s="["+r+"]["+n+"]*",i=r+":",a=n+":",h=new RegExp("^["+i+"]["+a+"]*$"),c=new RegExp("^("+s+"|"+s+":"+s+")$"),_=/[\uD800-\uDB7F\uDC00-\uDFFF]/,g=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,b=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;r+="\uD800-\u{EFC00}-\uDFFF",n+="\uD800-\u{EFC00}-\uDFFF",s="["+r+"]["+n+"]*",i=r+":",a=n+":";var C=new RegExp("^["+i+"]["+a+"]*$"),I=new RegExp("^("+s+"|"+s+":"+s+")$");function M(P){if(e.test(P)||h.test(P))return!0;if(!_.test(P)||!C.test(P))return!1;var w=P.match(g),v=P.match(b);return v!==null&&2*v.length===w.length}function G(P){if(t.test(P)||c.test(P))return!0;if(!_.test(P)||!I.test(P))return!1;var w=P.match(g),v=P.match(b);return v!==null&&2*v.length===w.length}}}),ya=J({"external/npm/node_modules/domino/lib/attributes.js"(o){"use strict";var e=De();o.property=function(r){if(Array.isArray(r.type)){var n=Object.create(null);r.type.forEach(function(a){n[a.value||a]=a.alias||a});var s=r.missing;s===void 0&&(s=null);var i=r.invalid;return i===void 0&&(i=s),{get:function(){var a=this._getattr(r.name);return a===null?s:(a=n[a.toLowerCase()],a!==void 0?a:i!==null?i:a)},set:function(a){this._setattr(r.name,a)}}}else{if(r.type===Boolean)return{get:function(){return this.hasAttribute(r.name)},set:function(a){a?this._setattr(r.name,""):this.removeAttribute(r.name)}};if(r.type===Number||r.type==="long"||r.type==="unsigned long"||r.type==="limited unsigned long with fallback")return t(r);if(!r.type||r.type===String)return{get:function(){return this._getattr(r.name)||""},set:function(a){r.treatNullAsEmptyString&&a===null&&(a=""),this._setattr(r.name,a)}};if(typeof r.type=="function")return r.type(r.name,r)}throw new Error("Invalid attribute definition")};function t(r){var n;typeof r.default=="function"?n=r.default:typeof r.default=="number"?n=function(){return r.default}:n=function(){e.assert(!1,typeof r.default)};var s=r.type==="unsigned long",i=r.type==="long",a=r.type==="limited unsigned long with fallback",h=r.min,c=r.max,_=r.setmin;return h===void 0&&(s&&(h=0),i&&(h=-2147483648),a&&(h=1)),c===void 0&&(s||i||a)&&(c=2147483647),{get:function(){var g=this._getattr(r.name),b=r.float?parseFloat(g):parseInt(g,10);if(g===null||!isFinite(b)||h!==void 0&&bc)return n.call(this);if(s||i||a){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(g))return n.call(this);b=b|0}return b},set:function(g){r.float||(g=Math.floor(g)),_!==void 0&&g<_&&e.IndexSizeError(r.name+" set to "+g),s?g=g<0||g>2147483647?n.call(this):g|0:a?g=g<1||g>2147483647?n.call(this):g|0:i&&(g=g<-2147483648||g>2147483647?n.call(this):g|0),this._setattr(r.name,String(g))}}}o.registerChangeHandler=function(r,n,s){var i=r.prototype;Object.prototype.hasOwnProperty.call(i,"_attributeChangeHandlers")||(i._attributeChangeHandlers=Object.create(i._attributeChangeHandlers||null)),i._attributeChangeHandlers[n]=s}}}),Oc=J({"external/npm/node_modules/domino/lib/FilteredElementList.js"(o,e){"use strict";e.exports=r;var t=Me();function r(n,s){this.root=n,this.filter=s,this.lastModTime=n.lastModTime,this.done=!1,this.cache=[],this.traverse()}r.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(n){return this.checkcache(),!this.done&&n>=this.cache.length&&this.traverse(),this.cache[n]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var n=this.cache.length-1;n>=0;n--)this[n]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(n){n!==void 0&&n++;for(var s;(s=this.next())!==null;)if(this[this.cache.length]=s,this.cache.push(s),n&&this.cache.length===n)return;this.done=!0}},next:{value:function(){var n=this.cache.length===0?this.root:this.cache[this.cache.length-1],s;for(n.nodeType===t.DOCUMENT_NODE?s=n.documentElement:s=n.nextElement(this.root);s;){if(this.filter(s))return s;s=s.nextElement(this.root)}return null}}})}}),ba=J({"external/npm/node_modules/domino/lib/DOMTokenList.js"(o,e){"use strict";var t=De();e.exports=r;function r(h,c){this._getString=h,this._setString=c,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(r.prototype,{length:{get:function(){return this._length}},item:{value:function(h){var c=a(this);return h<0||h>=c.length?null:c[h]}},contains:{value:function(h){h=String(h);var c=a(this);return c.indexOf(h)>-1}},add:{value:function(){for(var h=a(this),c=0,_=arguments.length;c<_;c++){var g=s(arguments[c]);h.indexOf(g)<0&&h.push(g)}this._update(h)}},remove:{value:function(){for(var h=a(this),c=0,_=arguments.length;c<_;c++){var g=s(arguments[c]),b=h.indexOf(g);b>-1&&h.splice(b,1)}this._update(h)}},toggle:{value:function(c,_){return c=s(c),this.contains(c)?_===void 0||_===!1?(this.remove(c),!1):!0:_===void 0||_===!0?(this.add(c),!0):!1}},replace:{value:function(c,_){String(_)===""&&t.SyntaxError(),c=s(c),_=s(_);var g=a(this),b=g.indexOf(c);if(b<0)return!1;var C=g.indexOf(_);return C<0?g[b]=_:b/g,d);return new RegExp(f)},I=function(p,d,f){return p=p.source,p=p.replace(d,f.source||f),new RegExp(p)},M=function(p,d){return p.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",d).join("/")},G=function(p,d){var f=p.replace(/\s+/g,""),m;return f==="even"?f="2n+0":f==="odd"?f="2n+1":f.indexOf("n")===-1&&(f="0n"+f),m=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(f),{group:m[1]==="-"?-(m[2]||1):+(m[2]||1),offset:m[4]?m[3]==="-"?-m[4]:+m[4]:0}},P=function(p,d,f){var m=G(p),S=m.group,k=m.offset,U=f?h:a,W=f?i:s;return function(ie){if(c(ie))for(var T=U(ie.parentNode),R=0;T;){if(d(T,ie)&&R++,T===ie)return R-=k,S&&R?R%S===0&&R<0==S<0:!R;T=W(T)}}},w={"*":function(){return function(){return!0}}(),type:function(p){return p=p.toLowerCase(),function(d){return d.nodeName.toLowerCase()===p}},attr:function(p,d,f,m){return d=v[d],function(S){var k;switch(p){case"for":k=S.htmlFor;break;case"class":k=S.className,k===""&&S.getAttribute("class")==null&&(k=null);break;case"href":case"src":k=S.getAttribute(p,2);break;case"title":k=S.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(S.getAttribute){k=S.getAttribute(p);break}default:if(S.hasAttribute&&!S.hasAttribute(p))break;k=S[p]!=null?S[p]:S.getAttribute&&S.getAttribute(p);break}if(k!=null)return k=k+"",m&&(k=k.toLowerCase(),f=f.toLowerCase()),d(k,f)}},":first-child":function(p){return!i(p)&&c(p)},":last-child":function(p){return!s(p)&&c(p)},":only-child":function(p){return!i(p)&&!s(p)&&c(p)},":nth-child":function(p,d){return P(p,function(){return!0},d)},":nth-last-child":function(p){return w[":nth-child"](p,!0)},":root":function(p){return p.ownerDocument.documentElement===p},":empty":function(p){return!p.firstChild},":not":function(p){var d=H(p);return function(f){return!d(f)}},":first-of-type":function(p){if(c(p)){for(var d=p.nodeName;p=i(p);)if(p.nodeName===d)return;return!0}},":last-of-type":function(p){if(c(p)){for(var d=p.nodeName;p=s(p);)if(p.nodeName===d)return;return!0}},":only-of-type":function(p){return w[":first-of-type"](p)&&w[":last-of-type"](p)},":nth-of-type":function(p,d){return P(p,function(f,m){return f.nodeName===m.nodeName},d)},":nth-last-of-type":function(p){return w[":nth-of-type"](p,!0)},":checked":function(p){return!!(p.checked||p.selected)},":indeterminate":function(p){return!w[":checked"](p)},":enabled":function(p){return!p.disabled&&p.type!=="hidden"},":disabled":function(p){return!!p.disabled},":target":function(p){return p.id===t.location.hash.substring(1)},":focus":function(p){return p===p.ownerDocument.activeElement},":is":function(p){return H(p)},":matches":function(p){return w[":is"](p)},":nth-match":function(p,d){var f=p.split(/\s*,\s*/),m=f.shift(),S=H(f.join(","));return P(m,S,d)},":nth-last-match":function(p){return w[":nth-match"](p,!0)},":links-here":function(p){return p+""==t.location+""},":lang":function(p){return function(d){for(;d;){if(d.lang)return d.lang.indexOf(p)===0;d=d.parentNode}}},":dir":function(p){return function(d){for(;d;){if(d.dir)return d.dir===p;d=d.parentNode}}},":scope":function(p,d){var f=d||p.ownerDocument;return f.nodeType===9?p===f.documentElement:p===f},":any-link":function(p){return typeof p.href=="string"},":local-link":function(p){if(p.nodeName)return p.href&&p.host===t.location.host;var d=+p+1;return function(f){if(f.href){var m=t.location+"",S=f+"";return M(m,d)===M(S,d)}}},":default":function(p){return!!p.defaultSelected},":valid":function(p){return p.willValidate||p.validity&&p.validity.valid},":invalid":function(p){return!w[":valid"](p)},":in-range":function(p){return p.value>p.min&&p.value<=p.max},":out-of-range":function(p){return!w[":in-range"](p)},":required":function(p){return!!p.required},":optional":function(p){return!p.required},":read-only":function(p){if(p.readOnly)return!0;var d=p.getAttribute("contenteditable"),f=p.contentEditable,m=p.nodeName.toLowerCase();return m=m!=="input"&&m!=="textarea",(m||p.disabled)&&d==null&&f!=="true"},":read-write":function(p){return!w[":read-only"](p)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function(p){return function(d){var f=d.innerText||d.textContent||d.value||"";return f.indexOf(p)!==-1}},":has":function(p){return function(d){return Q(p,d).length>0}}},v={"-":function(){return!0},"=":function(p,d){return p===d},"*=":function(p,d){return p.indexOf(d)!==-1},"~=":function(p,d){var f,m,S,k;for(m=0;;m=f+1){if(f=p.indexOf(d,m),f===-1)return!1;if(S=p[f-1],k=p[f+d.length],(!S||S===" ")&&(!k||k===" "))return!0}},"|=":function(p,d){var f=p.indexOf(d),m;if(f===0)return m=p[f+d.length],m==="-"||!m},"^=":function(p,d){return p.indexOf(d)===0},"$=":function(p,d){var f=p.lastIndexOf(d);return f!==-1&&f+d.length===p.length},"!=":function(p,d){return p!==d}},N={" ":function(p){return function(d){for(;d=d.parentNode;)if(p(d))return d}},">":function(p){return function(d){if(d=d.parentNode)return p(d)&&d}},"+":function(p){return function(d){if(d=i(d))return p(d)&&d}},"~":function(p){return function(d){for(;d=i(d);)if(p(d))return d}},noop:function(p){return function(d){return p(d)&&d}},ref:function(p,d){var f;function m(S){for(var k=S.ownerDocument,U=k.getElementsByTagName("*"),W=U.length;W--;)if(f=U[W],m.test(S))return f=null,!0;f=null}return m.combinator=function(S){if(!(!f||!f.getAttribute)){var k=f.getAttribute(d)||"";if(k[0]==="#"&&(k=k.substring(1)),k===S.id&&p(f))return f}},m}},y={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};y.cssid=I(y.cssid,"nonascii",y.nonascii),y.cssid=I(y.cssid,"escape",y.escape),y.qname=I(y.qname,"cssid",y.cssid),y.simple=I(y.simple,"cssid",y.cssid),y.ref=I(y.ref,"cssid",y.cssid),y.attr=I(y.attr,"cssid",y.cssid),y.pseudo=I(y.pseudo,"cssid",y.cssid),y.inside=I(y.inside,`[^"'>]*`,y.inside),y.attr=I(y.attr,"inside",C("\\[","\\]")),y.pseudo=I(y.pseudo,"inside",C("\\(","\\)")),y.simple=I(y.simple,"pseudo",y.pseudo),y.simple=I(y.simple,"attr",y.attr),y.ident=I(y.ident,"cssid",y.cssid),y.str_escape=I(y.str_escape,"escape",y.escape);var ne=function(p){for(var d=p.replace(/^\s+|\s+$/g,""),f,m=[],S=[],k,U,W,ie,T;d;){if(W=y.qname.exec(d))d=d.substring(W[0].length),U=g(W[1]),S.push(ee(U,!0));else if(W=y.simple.exec(d))d=d.substring(W[0].length),U="*",S.push(ee(U,!0)),S.push(ee(W));else throw new SyntaxError("Invalid selector.");for(;W=y.simple.exec(d);)d=d.substring(W[0].length),S.push(ee(W));if(d[0]==="!"&&(d=d.substring(1),k=L(),k.qname=U,S.push(k.simple)),W=y.ref.exec(d)){d=d.substring(W[0].length),T=N.ref(he(S),g(W[1])),m.push(T.combinator),S=[];continue}if(W=y.combinator.exec(d)){if(d=d.substring(W[0].length),ie=W[1]||W[2]||W[3],ie===","){m.push(N.noop(he(S)));break}}else ie="noop";if(!N[ie])throw new SyntaxError("Bad combinator.");m.push(N[ie](he(S))),S=[]}return f=V(m),f.qname=U,f.sel=d,k&&(k.lname=f.qname,k.test=f,k.qname=k.qname,k.sel=f.sel,f=k),T&&(T.test=f,T.qname=f.qname,T.sel=f.sel,f=T),f},ee=function(p,d){if(d)return p==="*"?w["*"]:w.type(p);if(p[1])return p[1][0]==="."?w.attr("class","~=",g(p[1].substring(1)),!1):w.attr("id","=",g(p[1].substring(1)),!1);if(p[2])return p[3]?w[g(p[2])](_(p[3])):w[g(p[2])];if(p[4]){var f=p[6],m=/["'\s]\s*I$/i.test(f);return m&&(f=f.replace(/\s*I$/i,"")),w.attr(g(p[4]),p[5]||"-",_(f),m)}throw new SyntaxError("Unknown Selector.")},he=function(p){var d=p.length,f;return d<2?p[0]:function(m){if(m){for(f=0;f0}},toggleAttribute:{value:function(f,m){f=String(f),t.isValidName(f)||r.InvalidCharacterError(),/[A-Z]/.test(f)&&this.isHTML&&(f=r.toASCIILowerCase(f));var S=this._attrsByQName[f];return S===void 0?m===void 0||m===!0?(this._setAttribute(f,""),!0):!1:m===void 0||m===!1?(this.removeAttribute(f),!1):!0}},_setAttribute:{value:function(f,m){var S=this._attrsByQName[f],k;S?Array.isArray(S)&&(S=S[0]):(S=this._newattr(f),k=!0),S.value=m,this._attributes&&(this._attributes[f]=S),k&&this._newattrhook&&this._newattrhook(f,m)}},setAttribute:{value:function(f,m){f=String(f),t.isValidName(f)||r.InvalidCharacterError(),/[A-Z]/.test(f)&&this.isHTML&&(f=r.toASCIILowerCase(f)),this._setAttribute(f,String(m))}},_setAttributeNS:{value:function(f,m,S){var k=m.indexOf(":"),U,W;k<0?(U=null,W=m):(U=m.substring(0,k),W=m.substring(k+1)),(f===""||f===void 0)&&(f=null);var ie=(f===null?"":f)+"|"+W,T=this._attrsByLName[ie],R;T||(T=new N(this,W,U,f),R=!0,this._attrsByLName[ie]=T,this._attributes&&(this._attributes[this._attrKeys.length]=T),this._attrKeys.push(ie),this._addQName(T)),T.value=S,R&&this._newattrhook&&this._newattrhook(m,S)}},setAttributeNS:{value:function(f,m,S){f=f==null||f===""?null:String(f),m=String(m),t.isValidQName(m)||r.InvalidCharacterError();var k=m.indexOf(":"),U=k<0?null:m.substring(0,k);(U!==null&&f===null||U==="xml"&&f!==n.XML||(m==="xmlns"||U==="xmlns")&&f!==n.XMLNS||f===n.XMLNS&&!(m==="xmlns"||U==="xmlns"))&&r.NamespaceError(),this._setAttributeNS(f,m,String(S))}},setAttributeNode:{value:function(f){if(f.ownerElement!==null&&f.ownerElement!==this)throw new _(_.INUSE_ATTRIBUTE_ERR);var m=null,S=this._attrsByQName[f.name];if(S){if(Array.isArray(S)||(S=[S]),S.some(function(k){return k===f}))return f;if(f.ownerElement!==null)throw new _(_.INUSE_ATTRIBUTE_ERR);S.forEach(function(k){this.removeAttributeNode(k)},this),m=S[0]}return this.setAttributeNodeNS(f),m}},setAttributeNodeNS:{value:function(f){if(f.ownerElement!==null)throw new _(_.INUSE_ATTRIBUTE_ERR);var m=f.namespaceURI,S=(m===null?"":m)+"|"+f.localName,k=this._attrsByLName[S];return k&&this.removeAttributeNode(k),f._setOwnerElement(this),this._attrsByLName[S]=f,this._attributes&&(this._attributes[this._attrKeys.length]=f),this._attrKeys.push(S),this._addQName(f),this._newattrhook&&this._newattrhook(f.name,f.value),k||null}},removeAttribute:{value:function(f){f=String(f),/[A-Z]/.test(f)&&this.isHTML&&(f=r.toASCIILowerCase(f));var m=this._attrsByQName[f];if(m){Array.isArray(m)?m.length>2?m=m.shift():(this._attrsByQName[f]=m[1],m=m[0]):this._attrsByQName[f]=void 0;var S=m.namespaceURI,k=(S===null?"":S)+"|"+m.localName;this._attrsByLName[k]=void 0;var U=this._attrKeys.indexOf(k);this._attributes&&(Array.prototype.splice.call(this._attributes,U,1),this._attributes[f]=void 0),this._attrKeys.splice(U,1);var W=m.onchange;m._setOwnerElement(null),W&&W.call(m,this,m.localName,m.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(m)}}},removeAttributeNS:{value:function(f,m){f=f==null?"":String(f),m=String(m);var S=f+"|"+m,k=this._attrsByLName[S];if(k){this._attrsByLName[S]=void 0;var U=this._attrKeys.indexOf(S);this._attributes&&Array.prototype.splice.call(this._attributes,U,1),this._attrKeys.splice(U,1),this._removeQName(k);var W=k.onchange;k._setOwnerElement(null),W&&W.call(k,this,k.localName,k.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(k)}}},removeAttributeNode:{value:function(f){var m=f.namespaceURI,S=(m===null?"":m)+"|"+f.localName;return this._attrsByLName[S]!==f&&r.NotFoundError(),this.removeAttributeNS(m,f.localName),f}},getAttributeNames:{value:function(){var f=this;return this._attrKeys.map(function(m){return f._attrsByLName[m].name})}},_getattr:{value:function(f){var m=this._attrsByQName[f];return m?m.value:null}},_setattr:{value:function(f,m){var S=this._attrsByQName[f],k;S||(S=this._newattr(f),k=!0),S.value=String(m),this._attributes&&(this._attributes[f]=S),k&&this._newattrhook&&this._newattrhook(f,m)}},_newattr:{value:function(f){var m=new N(this,f,null,null),S="|"+f;return this._attrsByQName[f]=m,this._attrsByLName[S]=m,this._attributes&&(this._attributes[this._attrKeys.length]=m),this._attrKeys.push(S),m}},_addQName:{value:function(d){var f=d.name,m=this._attrsByQName[f];m?Array.isArray(m)?m.push(d):this._attrsByQName[f]=[m,d]:this._attrsByQName[f]=d,this._attributes&&(this._attributes[f]=d)}},_removeQName:{value:function(d){var f=d.name,m=this._attrsByQName[f];if(Array.isArray(m)){var S=m.indexOf(d);r.assert(S!==-1),m.length===2?(this._attrsByQName[f]=m[1-S],this._attributes&&(this._attributes[f]=this._attrsByQName[f])):(m.splice(S,1),this._attributes&&this._attributes[f]===d&&(this._attributes[f]=m[0]))}else r.assert(m===d),this._attrsByQName[f]=void 0,this._attributes&&(this._attributes[f]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(d){return this._attrsByLName[this._attrKeys[d]]}},id:s.property({name:"id"}),className:s.property({name:"class"}),classList:{get:function(){var d=this;if(this._classList)return this._classList;var f=new g(function(){return d.className||""},function(m){d.className=m});return this._classList=f,f},set:function(d){this.className=d}},matches:{value:function(d){return b.matches(this,d)}},closest:{value:function(d){var f=this;do{if(f.matches&&f.matches(d))return f;f=f.parentElement||f.parentNode}while(f!==null&&f.nodeType===i.ELEMENT_NODE);return null}},querySelector:{value:function(d){return b(d,this)[0]}},querySelectorAll:{value:function(d){var f=b(d,this);return f.item?f:new a(f)}}}),Object.defineProperties(w.prototype,I),Object.defineProperties(w.prototype,M),s.registerChangeHandler(w,"id",function(d,f,m,S){d.rooted&&(m&&d.ownerDocument.delId(m,d),S&&d.ownerDocument.addId(S,d))}),s.registerChangeHandler(w,"class",function(d,f,m,S){d._classList&&d._classList._update()});function N(d,f,m,S,k){this.localName=f,this.prefix=m===null||m===""?null:""+m,this.namespaceURI=S===null||S===""?null:""+S,this.data=k,this._setOwnerElement(d)}N.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(f){this._ownerElement=f,this.prefix===null&&this.namespaceURI===null&&f?this.onchange=f._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(d){var f=this.data;d=d===void 0?"":d+"",d!==f&&(this.data=d,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,f,d),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,f)))}},cloneNode:{value:function(f){return new N(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return i.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(d){this.value=d}},textContent:{get:function(){return this.value},set:function(d){d==null&&(d=""),this.value=d}},innerText:{get:function(){return this.value},set:function(d){d==null&&(d=""),this.value=d}}}),w._Attr=N;function y(d){G.call(this,d);for(var f in d._attrsByQName)this[f]=d._attrsByQName[f];for(var m=0;m>>0,d>=this.length?null:this.element._attrsByLName[this.element._attrKeys[d]]}}});var ne;(ne=globalThis.Symbol)!=null&&ne.iterator&&(y.prototype[globalThis.Symbol.iterator]=function(){var d=0,f=this.length,m=this;return{next:function(){return d>>0,c=c>>>0,(h>this.data.length||h<0||c<0)&&r.IndexSizeError(),this.data.substring(h,h+c)}},appendData:{value:function(h){if(arguments.length<1)throw new TypeError("Not enough arguments");this.data+=String(h)}},insertData:{value:function(h,c){return this.replaceData(h,0,c)}},deleteData:{value:function(h,c){return this.replaceData(h,c,"")}},replaceData:{value:function(h,c,_){var g=this.data,b=g.length;h=h>>>0,c=c>>>0,_=String(_),(h>b||h<0)&&r.IndexSizeError(),h+c>b&&(c=b-h);var C=g.substring(0,h),I=g.substring(h+c);this.data=C+_+I}},isEqual:{value:function(h){return this._data===h._data}},length:{get:function(){return this.data.length}}}),Object.defineProperties(i.prototype,n),Object.defineProperties(i.prototype,s)}}),Sa=J({"external/npm/node_modules/domino/lib/Text.js"(o,e){"use strict";e.exports=s;var t=De(),r=Me(),n=gn();function s(a,h){n.call(this),this.nodeType=r.TEXT_NODE,this.ownerDocument=a,this._data=h,this._index=void 0}var i={get:function(){return this._data},set:function(a){a==null?a="":a=String(a),a!==this._data&&(this._data=a,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};s.prototype=Object.create(n.prototype,{nodeName:{value:"#text"},nodeValue:i,textContent:i,innerText:i,data:{get:i.get,set:function(a){i.set.call(this,a===null?"":String(a))}},splitText:{value:function(h){(h>this._data.length||h<0)&&t.IndexSizeError();var c=this._data.substring(h),_=this.ownerDocument.createTextNode(c);this.data=this.data.substring(0,h);var g=this.parentNode;return g!==null&&g.insertBefore(_,this.nextSibling),_}},wholeText:{get:function(){for(var h=this.textContent,c=this.nextSibling;c&&c.nodeType===r.TEXT_NODE;c=c.nextSibling)h+=c.textContent;return h}},replaceWholeText:{value:t.nyi},clone:{value:function(){return new s(this.ownerDocument,this._data)}}})}}),wa=J({"external/npm/node_modules/domino/lib/Comment.js"(o,e){"use strict";e.exports=n;var t=Me(),r=gn();function n(i,a){r.call(this),this.nodeType=t.COMMENT_NODE,this.ownerDocument=i,this._data=a}var s={get:function(){return this._data},set:function(i){i==null?i="":i=String(i),this._data=i,this.rooted&&this.ownerDocument.mutateValue(this)}};n.prototype=Object.create(r.prototype,{nodeName:{value:"#comment"},nodeValue:s,textContent:s,innerText:s,data:{get:s.get,set:function(i){s.set.call(this,i===null?"":String(i))}},clone:{value:function(){return new n(this.ownerDocument,this._data)}}})}}),Na=J({"external/npm/node_modules/domino/lib/DocumentFragment.js"(o,e){"use strict";e.exports=h;var t=Me(),r=Xt(),n=Es(),s=br(),i=Ts(),a=De();function h(c){n.call(this),this.nodeType=t.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=c}h.prototype=Object.create(n.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(s.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(s.prototype,"innerText"),querySelector:{value:function(c){var _=this.querySelectorAll(c);return _.length?_[0]:null}},querySelectorAll:{value:function(c){var _=Object.create(this);_.isHTML=!0,_.getElementsByTagName=s.prototype.getElementsByTagName,_.nextElement=Object.getOwnPropertyDescriptor(s.prototype,"firstElementChild").get;var g=i(c,_);return g.item?g:new r(g)}},clone:{value:function(){return new h(this.ownerDocument)}},isEqual:{value:function(_){return!0}},innerHTML:{get:function(){return this.serialize()},set:a.nyi},outerHTML:{get:function(){return this.serialize()},set:a.nyi}})}}),Aa=J({"external/npm/node_modules/domino/lib/ProcessingInstruction.js"(o,e){"use strict";e.exports=n;var t=Me(),r=gn();function n(i,a,h){r.call(this),this.nodeType=t.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=i,this.target=a,this._data=h}var s={get:function(){return this._data},set:function(i){i==null?i="":i=String(i),this._data=i,this.rooted&&this.ownerDocument.mutateValue(this)}};n.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.target}},nodeValue:s,textContent:s,innerText:s,data:{get:s.get,set:function(i){s.set.call(this,i===null?"":String(i))}},clone:{value:function(){return new n(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(a){return this.target===a.target&&this._data===a._data}}})}}),_n=J({"external/npm/node_modules/domino/lib/NodeFilter.js"(o,e){"use strict";var t={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};e.exports=t.constructor=t.prototype=t}}),Da=J({"external/npm/node_modules/domino/lib/NodeTraversal.js"(o,e){"use strict";var t=e.exports={nextSkippingChildren:r,nextAncestorSibling:n,next:s,previous:a,deepLastChild:i};function r(h,c){return h===c?null:h.nextSibling!==null?h.nextSibling:n(h,c)}function n(h,c){for(h=h.parentNode;h!==null;h=h.parentNode){if(h===c)return null;if(h.nextSibling!==null)return h.nextSibling}return null}function s(h,c){var _;return _=h.firstChild,_!==null?_:h===c?null:(_=h.nextSibling,_!==null?_:n(h,c))}function i(h){for(;h.lastChild;)h=h.lastChild;return h}function a(h,c){var _;return _=h.previousSibling,_!==null?i(_):(_=h.parentNode,_===c?null:_)}}}),xc=J({"external/npm/node_modules/domino/lib/TreeWalker.js"(o,e){"use strict";e.exports=_;var t=Me(),r=_n(),n=Da(),s=De(),i={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},a={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function h(g,b){var C,I,M,G,P;for(I=g._currentNode[i[b]];I!==null;){if(G=g._internalFilter(I),G===r.FILTER_ACCEPT)return g._currentNode=I,I;if(G===r.FILTER_SKIP&&(C=I[i[b]],C!==null)){I=C;continue}for(;I!==null;){if(P=I[a[b]],P!==null){I=P;break}if(M=I.parentNode,M===null||M===g.root||M===g._currentNode)return null;I=M}}return null}function c(g,b){var C,I,M;if(C=g._currentNode,C===g.root)return null;for(;;){for(M=C[a[b]];M!==null;){if(C=M,I=g._internalFilter(C),I===r.FILTER_ACCEPT)return g._currentNode=C,C;M=C[i[b]],(I===r.FILTER_REJECT||M===null)&&(M=C[a[b]])}if(C=C.parentNode,C===null||C===g.root||g._internalFilter(C)===r.FILTER_ACCEPT)return null}}function _(g,b,C){(!g||!g.nodeType)&&s.NotSupportedError(),this._root=g,this._whatToShow=Number(b)||0,this._filter=C||null,this._active=!1,this._currentNode=g}Object.defineProperties(_.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(b){if(!(b instanceof t))throw new TypeError("Not a Node");this._currentNode=b}},_internalFilter:{value:function(b){var C,I;if(this._active&&s.InvalidStateError(),!(1< 255 yet")},t.prototype={constructor:t,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return t.authorityPattern.test(this.url)},isHierarchical:function(){return t.hierarchyPattern.test(this.url)},toString:function(){var r="";return this.scheme!==void 0&&(r+=this.scheme+":"),this.isAbsolute()&&(r+="//",(this.username||this.password)&&(r+=this.username||"",this.password&&(r+=":"+this.password),r+="@"),this.host&&(r+=this.host)),this.port!==void 0&&(r+=":"+this.port),this.path!==void 0&&(r+=this.path),this.query!==void 0&&(r+="?"+this.query),this.fragment!==void 0&&(r+="#"+this.fragment),r},resolve:function(r){var n=this,s=new t(r),i=new t;return s.scheme!==void 0?(i.scheme=s.scheme,i.username=s.username,i.password=s.password,i.host=s.host,i.port=s.port,i.path=h(s.path),i.query=s.query):(i.scheme=n.scheme,s.host!==void 0?(i.username=s.username,i.password=s.password,i.host=s.host,i.port=s.port,i.path=h(s.path),i.query=s.query):(i.username=n.username,i.password=n.password,i.host=n.host,i.port=n.port,s.path?(s.path.charAt(0)==="/"?i.path=h(s.path):(i.path=a(n.path,s.path),i.path=h(i.path)),i.query=s.query):(i.path=n.path,s.query!==void 0?i.query=s.query:i.query=n.query))),i.fragment=s.fragment,i.toString();function a(c,_){if(n.host!==void 0&&!n.path)return"/"+_;var g=c.lastIndexOf("/");return g===-1?_:c.substring(0,g+1)+_}function h(c){if(!c)return c;for(var _="";c.length>0;){if(c==="."||c===".."){c="";break}var g=c.substring(0,2),b=c.substring(0,3),C=c.substring(0,4);if(b==="../")c=c.substring(3);else if(g==="./")c=c.substring(2);else if(b==="/./")c="/"+c.substring(3);else if(g==="/."&&c.length===2)c="/";else if(C==="/../"||b==="/.."&&c.length===3)c="/"+c.substring(4),_=_.replace(/\/?[^\/]*$/,"");else{var I=c.match(/(\/?([^\/]*))/)[0];_+=I,c=c.substring(I.length)}}return _}}}}}),Hc=J({"external/npm/node_modules/domino/lib/CustomEvent.js"(o,e){"use strict";e.exports=r;var t=yr();function r(n,s){t.call(this,n,s)}r.prototype=Object.create(t.prototype,{constructor:{value:r}})}}),ka=J({"external/npm/node_modules/domino/lib/events.js"(o,e){"use strict";e.exports={Event:yr(),UIEvent:da(),MouseEvent:pa(),CustomEvent:Hc()}}}),qc=J({"external/npm/node_modules/domino/lib/style_parser.js"(o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.hyphenate=o.parse=void 0;function e(r){let n=[],s=0,i=0,a=0,h=0,c=0,_=null;for(;s0&&i===0&&a===0){let b=r.substring(h,s-1).trim();n.push(_,b),c=s,h=0,_=null}break}if(_&&h){let g=r.slice(h).trim();n.push(_,g)}return n}o.parse=e;function t(r){return r.replace(/[a-z][A-Z]/g,n=>n.charAt(0)+"-"+n.charAt(1)).toLowerCase()}o.hyphenate=t}}),Ns=J({"external/npm/node_modules/domino/lib/CSSStyleDeclaration.js"(o,e){"use strict";var{parse:t}=qc();e.exports=function(h){let c=new n(h),_={get:function(g,b){return b in g?g[b]:g.getPropertyValue(r(b))},has:function(g,b){return!0},set:function(g,b,C){return b in g?g[b]=C:g.setProperty(r(b),C??void 0),!0}};return new Proxy(c,_)};function r(h){return h.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function n(h){this._element=h}var s="!important";function i(h){let c={property:{},priority:{}};if(!h)return c;let _=t(h);if(_.length<2)return c;for(let g=0;g<_.length;g+=2){let b=_[g],C=_[g+1];C.endsWith(s)&&(c.priority[b]="important",C=C.slice(0,-s.length).trim()),c.property[b]=C}return c}var a={};n.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var h=this.cssText;this._parsedStyles=i(h),this._lastParsedText=h,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var h=this._parsed,c="";for(var _ in h.property)c&&(c+=" "),c+=_+": "+h.property[_],h.priority[_]&&(c+=" !"+h.priority[_]),c+=";";this.cssText=c,this._lastParsedText=c,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function(h){this._element.setAttribute("style",h)}},length:{get:function(){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names.length}},item:{value:function(h){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names[h]}},getPropertyValue:{value:function(h){return h=h.toLowerCase(),this._parsed.property[h]||""}},getPropertyPriority:{value:function(h){return h=h.toLowerCase(),this._parsed.priority[h]||""}},setProperty:{value:function(h,c,_){if(h=h.toLowerCase(),c==null&&(c=""),_==null&&(_=""),c!==a&&(c=""+c),c=c.trim(),c===""){this.removeProperty(h);return}if(!(_!==""&&_!==a&&!/^important$/i.test(_))){var g=this._parsed;if(c===a){if(!g.property[h])return;_!==""?g.priority[h]="important":delete g.priority[h]}else{if(c.indexOf(";")!==-1)return;var b=i(h+":"+c);if(Object.getOwnPropertyNames(b.property).length===0||Object.getOwnPropertyNames(b.priority).length!==0)return;for(var C in b.property)g.property[C]=b.property[C],_!==a&&(_!==""?g.priority[C]="important":g.priority[C]&&delete g.priority[C])}this._serialize()}}},setPropertyValue:{value:function(h,c){return this.setProperty(h,c,a)}},setPropertyPriority:{value:function(h,c){return this.setProperty(h,a,c)}},removeProperty:{value:function(h){h=h.toLowerCase();var c=this._parsed;h in c.property&&(delete c.property[h],delete c.priority[h],this._serialize())}}})}}),Ca=J({"external/npm/node_modules/domino/lib/URLUtils.js"(o,e){"use strict";var t=ws();e.exports=r;function r(){}r.prototype=Object.create(Object.prototype,{_url:{get:function(){return new t(this.href)}},protocol:{get:function(){var n=this._url;return n&&n.scheme?n.scheme+":":":"},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&(n=n.replace(/:+$/,""),n=n.replace(/[^-+\.a-zA-Z0-9]/g,t.percentEncode),n.length>0&&(i.scheme=n,s=i.toString())),this.href=s}},host:{get:function(){var n=this._url;return n.isAbsolute()&&n.isAuthorityBased()?n.host+(n.port?":"+n.port:""):""},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&i.isAuthorityBased()&&(n=n.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,t.percentEncode),n.length>0&&(i.host=n,delete i.port,s=i.toString())),this.href=s}},hostname:{get:function(){var n=this._url;return n.isAbsolute()&&n.isAuthorityBased()?n.host:""},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&i.isAuthorityBased()&&(n=n.replace(/^\/+/,""),n=n.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,t.percentEncode),n.length>0&&(i.host=n,s=i.toString())),this.href=s}},port:{get:function(){var n=this._url;return n.isAbsolute()&&n.isAuthorityBased()&&n.port!==void 0?n.port:""},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&i.isAuthorityBased()&&(n=""+n,n=n.replace(/[^0-9].*$/,""),n=n.replace(/^0+/,""),n.length===0&&(n="0"),parseInt(n,10)<=65535&&(i.port=n,s=i.toString())),this.href=s}},pathname:{get:function(){var n=this._url;return n.isAbsolute()&&n.isHierarchical()?n.path:""},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&i.isHierarchical()&&(n.charAt(0)!=="/"&&(n="/"+n),n=n.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,t.percentEncode),i.path=n,s=i.toString()),this.href=s}},search:{get:function(){var n=this._url;return n.isAbsolute()&&n.isHierarchical()&&n.query!==void 0?"?"+n.query:""},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&i.isHierarchical()&&(n.charAt(0)==="?"&&(n=n.substring(1)),n=n.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,t.percentEncode),i.query=n,s=i.toString()),this.href=s}},hash:{get:function(){var n=this._url;return n==null||n.fragment==null||n.fragment===""?"":"#"+n.fragment},set:function(n){var s=this.href,i=new t(s);n.charAt(0)==="#"&&(n=n.substring(1)),n=n.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,t.percentEncode),i.fragment=n,s=i.toString(),this.href=s}},username:{get:function(){var n=this._url;return n.username||""},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&(n=n.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,t.percentEncode),i.username=n,s=i.toString()),this.href=s}},password:{get:function(){var n=this._url;return n.password||""},set:function(n){var s=this.href,i=new t(s);i.isAbsolute()&&(n===""?i.password=null:(n=n.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,t.percentEncode),i.password=n),s=i.toString()),this.href=s}},origin:{get:function(){var n=this._url;if(n==null)return"";var s=function(i){var a=[n.scheme,n.host,+n.port||i];return a[0]+"://"+a[1]+(a[2]===i?"":":"+a[2])};switch(n.scheme){case"ftp":return s(21);case"gopher":return s(70);case"http":case"ws":return s(80);case"https":case"wss":return s(443);default:return n.scheme+"://"}}}}),r._inherit=function(n){Object.getOwnPropertyNames(r.prototype).forEach(function(s){if(!(s==="constructor"||s==="href")){var i=Object.getOwnPropertyDescriptor(r.prototype,s);Object.defineProperty(n,s,i)}})}}}),La=J({"external/npm/node_modules/domino/lib/defineElement.js"(o,e){"use strict";var t=ya(),r=bs().isApiWritable;e.exports=function(a,h,c,_){var g=a.ctor;if(g){var b=a.props||{};if(a.attributes)for(var C in a.attributes){var I=a.attributes[C];(typeof I!="object"||Array.isArray(I))&&(I={type:I}),I.name||(I.name=C.toLowerCase()),b[C]=t.property(I)}b.constructor={value:g,writable:r},g.prototype=Object.create((a.superclass||h).prototype,b),a.events&&i(g,a.events),c[a.name]=g}else g=h;return(a.tags||a.tag&&[a.tag]||[]).forEach(function(M){_[M]=g}),g};function n(a,h,c,_){this.body=a,this.document=h,this.form=c,this.element=_}n.prototype.build=function(){return()=>{}};function s(a,h,c,_){var g=a.ownerDocument||Object.create(null),b=a.form||Object.create(null);a[h]=new n(_,g,b,a).build()}function i(a,h){var c=a.prototype;h.forEach(function(_){Object.defineProperty(c,"on"+_,{get:function(){return this._getEventHandler(_)},set:function(g){this._setEventHandler(_,g)}}),t.registerChangeHandler(a,"on"+_,s)})}}}),As=J({"external/npm/node_modules/domino/lib/htmlelts.js"(o){"use strict";var e=Me(),t=br(),r=Ns(),n=De(),s=Ca(),i=La(),a=o.elements={},h=Object.create(null);o.createElement=function(w,v,N){var y=h[v]||G;return new y(w,v,N)};function c(w){return i(w,M,a,h)}function _(w){return{get:function(){var v=this._getattr(w);if(v===null)return"";var N=this.doc._resolve(v);return N===null?v:N},set:function(v){this._setattr(w,v)}}}function g(w){return{get:function(){var v=this._getattr(w);return v===null?null:v.toLowerCase()==="use-credentials"?"use-credentials":"anonymous"},set:function(v){v==null?this.removeAttribute(w):this._setattr(w,v)}}}var b={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},C={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},I=function(w,v,N){M.call(this,w,v,N),this._form=null},M=o.HTMLElement=c({superclass:t,name:"HTMLElement",ctor:function(v,N,y){t.call(this,v,N,n.NAMESPACE.HTML,y)},props:{dangerouslySetInnerHTML:{set:function(w){this._innerHTML=w}},innerHTML:{get:function(){return this.serialize()},set:function(w){var v=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);v.parse(w===null?"":String(w),!0);for(var N=this instanceof h.template?this.content:this;N.hasChildNodes();)N.removeChild(N.firstChild);N.appendChild(v._asDocumentFragment())}},style:{get:function(){return this._style||(this._style=new r(this)),this._style},set:function(w){w==null&&(w=""),this._setattr("style",String(w))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var w=this.ownerDocument.createEvent("MouseEvent");w.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var v=this.dispatchEvent(w);v?this._post_click_activation_steps&&this._post_click_activation_steps(w):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:n.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){return this.tagName in C||this.contentEditable?0:-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),G=c({name:"HTMLUnknownElement",ctor:function(v,N,y){M.call(this,v,N,y)}}),P={form:{get:function(){return this._form}}};c({tag:"a",name:"HTMLAnchorElement",ctor:function(v,N,y){M.call(this,v,N,y)},props:{_post_click_activation_steps:{value:function(w){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:_,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:b,coords:String,charset:String,name:String,rev:String,shape:String}}),s._inherit(h.a.prototype),c({tag:"area",name:"HTMLAreaElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:_,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:b,noHref:Boolean}}),s._inherit(h.area.prototype),c({tag:"br",name:"HTMLBRElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{clear:String}}),c({tag:"base",name:"HTMLBaseElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{target:String}}),c({tag:"body",name:"HTMLBodyElement",ctor:function(v,N,y){M.call(this,v,N,y)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}}),c({tag:"button",name:"HTMLButtonElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:_,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}}),c({tag:"dl",name:"HTMLDListElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{compact:Boolean}}),c({tag:"data",name:"HTMLDataElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{value:String}}),c({tag:"datalist",name:"HTMLDataListElement",ctor:function(v,N,y){M.call(this,v,N,y)}}),c({tag:"details",name:"HTMLDetailsElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{open:Boolean}}),c({tag:"div",name:"HTMLDivElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{align:String}}),c({tag:"embed",name:"HTMLEmbedElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{src:_,type:String,width:String,height:String,align:String,name:String}}),c({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P,attributes:{disabled:Boolean,name:String}}),c({tag:"form",name:"HTMLFormElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}}),c({tag:"hr",name:"HTMLHRElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}}),c({tag:"head",name:"HTMLHeadElement",ctor:function(v,N,y){M.call(this,v,N,y)}}),c({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{align:String}}),c({tag:"html",name:"HTMLHtmlElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{xmlns:_,version:String}}),c({tag:"iframe",name:"HTMLIFrameElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{src:_,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:b,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:_,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}}),c({tag:"img",name:"HTMLImageElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{alt:String,src:_,srcset:String,crossOrigin:g,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:b,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:_,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:_,border:{type:String,treatNullAsEmptyString:!0}}}),c({tag:"input",name:"HTMLInputElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:{form:P.form,_post_click_activation_steps:{value:function(w){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio")for(var v=this.form.getElementsByName(this.name),N=v.length-1;N>=0;N--){var y=v[N];y.checked=y===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:_,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}}),c({tag:"keygen",name:"HTMLKeygenElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}}),c({tag:"li",name:"HTMLLIElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{value:{type:"long",default:0},type:String}}),c({tag:"label",name:"HTMLLabelElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P,attributes:{htmlFor:{name:"for",type:String}}}),c({tag:"legend",name:"HTMLLegendElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{align:String}}),c({tag:"link",name:"HTMLLinkElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{href:_,rel:String,media:String,hreflang:String,type:String,crossOrigin:g,nonce:String,integrity:String,referrerPolicy:b,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}}),c({tag:"map",name:"HTMLMapElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{name:String}}),c({tag:"menu",name:"HTMLMenuElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}}),c({tag:"meta",name:"HTMLMetaElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}}),c({tag:"meter",name:"HTMLMeterElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P}),c({tags:["ins","del"],name:"HTMLModElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{cite:_,dateTime:String}}),c({tag:"ol",name:"HTMLOListElement",ctor:function(v,N,y){M.call(this,v,N,y)},props:{_numitems:{get:function(){var w=0;return this.childNodes.forEach(function(v){v.nodeType===e.ELEMENT_NODE&&v.tagName==="LI"&&w++}),w}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){return this.reversed?this._numitems:1}},compact:Boolean}}),c({tag:"object",name:"HTMLObjectElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P,attributes:{data:_,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:_,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}}),c({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{disabled:Boolean,label:String}}),c({tag:"option",name:"HTMLOptionElement",ctor:function(v,N,y){M.call(this,v,N,y)},props:{form:{get:function(){for(var w=this.parentNode;w&&w.nodeType===e.ELEMENT_NODE;){if(w.localName==="select")return w.form;w=w.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function(w){this._setattr("value",w)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function(w){this.textContent=w}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}}),c({tag:"output",name:"HTMLOutputElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P,attributes:{name:String}}),c({tag:"p",name:"HTMLParagraphElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{align:String}}),c({tag:"param",name:"HTMLParamElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{name:String,value:String,type:String,valueType:String}}),c({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{width:{type:"long",default:0}}}),c({tag:"progress",name:"HTMLProgressElement",ctor:function(v,N,y){I.call(this,v,N,y)},props:P,attributes:{max:{type:Number,float:!0,default:1,min:0}}}),c({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(v,N,y){M.call(this,v,N,y)},attributes:{cite:_}}),c({tag:"script",name:"HTMLScriptElement",ctor:function(v,N,y){M.call(this,v,N,y)},props:{text:{get:function(){for(var w="",v=0,N=this.childNodes.length;v=0&&(j=R.substring(0,Re),le=R.substring(Re+1)),j!==null&&T===null&&y.NamespaceError(),j==="xml"&&T!==ee.XML&&y.NamespaceError(),(j==="xmlns"||R==="xmlns")&&T!==ee.XMLNS&&y.NamespaceError(),T===ee.XMLNS&&!(j==="xmlns"||R==="xmlns")&&y.NamespaceError(),{namespace:T,prefix:j,localName:le}}V.prototype=Object.create(n.prototype,{_setMutationHandler:{value:function(T){this.mutationHandler=T}},_dispatchRendererEvent:{value:function(T,R,j){var le=this._nodes[T];le&&le._dispatchEvent(new h(R,j),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:y.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function(T){return new i(this,String(T))}},createComment:{value:function(T){return new a(this,T)}},createDocumentFragment:{value:function(){return new c(this)}},createProcessingInstruction:{value:function(T,R){return(!w.isValidName(T)||R.indexOf("?>")!==-1)&&y.InvalidCharacterError(),new _(this,T,R)}},createAttribute:{value:function(T){return T=String(T),w.isValidName(T)||y.InvalidCharacterError(),this.isHTML&&(T=y.toASCIILowerCase(T)),new s._Attr(null,T,null,null,"")}},createAttributeNS:{value:function(T,R){T=T==null||T===""?null:String(T),R=String(R);var j=p(T,R);return new s._Attr(null,j.localName,j.prefix,j.namespace,"")}},createElement:{value:function(T){return T=String(T),w.isValidName(T)||y.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(T)&&(T=y.toASCIILowerCase(T)),v.createElement(this,T,null)):this.contentType==="application/xhtml+xml"?v.createElement(this,T,null):new s(this,T,null,null)},writable:he},createElementNS:{value:function(T,R){T=T==null||T===""?null:String(T),R=String(R);var j=p(T,R);return this._createElementNS(j.localName,j.namespace,j.prefix)},writable:he},_createElementNS:{value:function(T,R,j){return R===ee.HTML?v.createElement(this,T,j):R===ee.SVG?N.createElement(this,T,j):new s(this,T,R,j)}},createEvent:{value:function(R){R=R.toLowerCase();var j=H[R]||R,le=P[L[j]];if(le){var Re=new le;return Re._initialized=!1,Re}else y.NotSupportedError()}},createTreeWalker:{value:function(T,R,j){if(!T)throw new TypeError("root argument is required");if(!(T instanceof t))throw new TypeError("root not a node");return R=R===void 0?I.SHOW_ALL:+R,j=j===void 0?null:j,new b(T,R,j)}},createNodeIterator:{value:function(T,R,j){if(!T)throw new TypeError("root argument is required");if(!(T instanceof t))throw new TypeError("root not a node");return R=R===void 0?I.SHOW_ALL:+R,j=j===void 0?null:j,new C(T,R,j)}},_attachNodeIterator:{value:function(T){this._nodeIterators||(this._nodeIterators=[]),this._nodeIterators.push(T)}},_detachNodeIterator:{value:function(T){var R=this._nodeIterators.indexOf(T);this._nodeIterators.splice(R,1)}},_preremoveNodeIterators:{value:function(T){this._nodeIterators&&this._nodeIterators.forEach(function(R){R._preremove(T)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var R=this.firstChild;R!==null;R=R.nextSibling)R.nodeType===t.DOCUMENT_TYPE_NODE?this.doctype=R:R.nodeType===t.ELEMENT_NODE&&(this.documentElement=R)}},insertBefore:{value:function(R,j){return t.prototype.insertBefore.call(this,R,j),this._updateDocTypeElement(),R}},replaceChild:{value:function(R,j){return t.prototype.replaceChild.call(this,R,j),this._updateDocTypeElement(),j}},removeChild:{value:function(R){return t.prototype.removeChild.call(this,R),this._updateDocTypeElement(),R}},getElementById:{value:function(T){var R=this.byId[T];return R?R instanceof ie?R.getFirst():R:null}},_hasMultipleElementsWithId:{value:function(T){return this.byId[T]instanceof ie}},getElementsByName:{value:s.prototype.getElementsByName},getElementsByTagName:{value:s.prototype.getElementsByTagName},getElementsByTagNameNS:{value:s.prototype.getElementsByTagNameNS},getElementsByClassName:{value:s.prototype.getElementsByClassName},adoptNode:{value:function(R){return R.nodeType===t.DOCUMENT_NODE&&y.NotSupportedError(),R.nodeType===t.ATTRIBUTE_NODE||(R.parentNode&&R.parentNode.removeChild(R),R.ownerDocument!==this&&W(R,this)),R}},importNode:{value:function(R,j){return this.adoptNode(R.cloneNode(j))},writable:he},origin:{get:function(){return null}},characterSet:{get:function(){return"UTF-8"}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:y.nyi,set:y.nyi},referrer:{get:y.nyi},cookie:{get:y.nyi,set:y.nyi},lastModified:{get:y.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:y.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var T=this._titleElement,R=T?T.textContent:"";return R.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function(T){var R=this._titleElement,j=this.head;!R&&!j||(R||(R=this.createElement("title"),j.appendChild(R)),R.textContent=T)}},dir:Q(function(){var T=this.documentElement;if(T&&T.tagName==="HTML")return T},"dir",""),fgColor:Q(function(){return this.body},"text",""),linkColor:Q(function(){return this.body},"link",""),vlinkColor:Q(function(){return this.body},"vLink",""),alinkColor:Q(function(){return this.body},"aLink",""),bgColor:Q(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return f(this.documentElement,"body")},set:y.nyi},head:{get:function(){return f(this.documentElement,"head")}},images:{get:y.nyi},embeds:{get:y.nyi},plugins:{get:y.nyi},links:{get:y.nyi},forms:{get:y.nyi},scripts:{get:y.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:y.nyi},outerHTML:{get:function(){return this.serialize()},set:y.nyi},write:{value:function(T){if(this.isHTML||y.InvalidStateError(),!!this._parser){this._parser;var R=arguments.join("");this._parser.parse(R)}}},writeln:{value:function(R){this.write(Array.prototype.join.call(arguments,"")+` diff --git a/docs/citations/server/chunk-KS5CTFF5.mjs b/docs/citations/server/chunk-KS5CTFF5.mjs new file mode 100644 index 0000000..3972b3b --- /dev/null +++ b/docs/citations/server/chunk-KS5CTFF5.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{U as u,f as d,m,w as o}from"./chunk-JHH2AAIU.mjs";var w=(()=>{let t=class t{isMobile(){return Object.keys(navigator).length?navigator.userAgent.includes("Mobile"):!1}isDesktop(){return!this.isMobile()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac});let s=t;return s})();var P=class{constructor(t){this.pager=[],this.pagerFirstEdges=[],this.pagerLastEdges=[],this.pagerNumbers=[],this.pager=t,this.pagerFirstEdges=this.pager.filter((h,e)=>e<2),this.pagerLastEdges=this.pager.slice().reverse().filter((h,e)=>e<2).reverse(),this.pagerNumbers=this.pager.filter(h=>!this.pagerFirstEdges.includes(h)&&!this.pagerLastEdges.includes(h))}getAll(){return this.pager}getFirstEdges(){return this.pagerFirstEdges}getLastEdges(){return this.pagerLastEdges}getNumbers(){return this.pagerNumbers}};var l=class extends Error{},a=class extends Error{},g=class extends Error{},n=class extends Error{},f=class extends Error{};var p=class extends Error{},O=(()=>{let t=class t{constructor(){this.originalList=[],this.itemPerPage=5,this.maxPagerItem=5,this.firstPage=1,this.totalPage=1,this.lastPage=1,this.previousPage=1,this.nextPage=1,this.currentPage=new d(1),this.pagerIndexList=[],this.pagerItemList={},this.currentPage$=this.currentPage.asObservable().pipe(o(e=>!!e)),this.currentOffset$=this.currentPage.asObservable().pipe(o(e=>!!e),m(e=>this.getOffsetForPage(e)))}init(e,r){typeof e!="object"?this.originalList=new Array(e).fill(0):this.originalList=e,this.setOptions(r).resetPage().setTotalPage(e).calculateLastPage().calculateCurrentPage().calculatePreviousPage().calculateNextPage().createIndexList().buildPagerList()}isCurrentPage(e){return this.currentPage.getValue()===e}getOffset(){return this.getOffsetForPage(this.getCurrentPage())}getOffsetForPage(e){if(e=0?e:this.firstPage,this}resetPage(){return this.currentPage.next(this.firstPage),this}calculateLastPage(){if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;return this.lastPage=this.totalPage-1+this.firstPage,this}calculateCurrentPage(){if(this.lastPage===null)throw new g;if(this.firstPage===null)throw new a;let e=this.getCurrentPage();return this.currentPage.next(this.currentPage.getValue()this.lastPage?this.lastPage:e),this}calculatePreviousPage(){if(this.currentPage===null)throw new n;if(this.firstPage===null)throw new a;let e=this.currentPage.getValue()-1;return this.previousPage=e>=this.firstPage?e:this.firstPage,this}calculateNextPage(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;let e=this.currentPage.getValue()+1;return this.nextPage=e<=this.lastPage?e:this.lastPage,this}createIndexList(){if(this.lastPage===null)throw new g;if(this.currentPage===null)throw new n;if(this.totalPage===null)throw new l;if(this.firstPage===null)throw new a;let e=Math.floor(this.maxPagerItem/2),r=this.lastPage-this.maxPagerItem+1,i;this.currentPage.getValue()<=e?i=this.firstPage:this.lastPage-this.currentPage.getValue()<=e?i=r<=this.firstPage?this.firstPage:r:i=this.currentPage.getValue()-e;let x=i+(this.maxPagerItem-1),L=x>this.lastPage?this.lastPage:x;this.pagerIndexList=[];for(let c=i;c<=L;c++)this.pagerIndexList.push(c);return this}buildPagerList(){let e=[];return this.pagerIndexList.length&&(this.pagerIndexList.forEach(r=>{e.push({index:r,label:r.toString()})}),e=e.filter((r,i)=>i"}),e.push({index:this.getLastPage(),label:">>"}),this.pagerItemList=new P(e),this.pagerItemList}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();export{O as a,w as b}; diff --git a/docs/citations/server/chunk-L4VKC5SC.mjs b/docs/citations/server/chunk-L4VKC5SC.mjs new file mode 100644 index 0000000..349345b --- /dev/null +++ b/docs/citations/server/chunk-L4VKC5SC.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as B,b as S}from"./chunk-YKLTUIIX.mjs";import{b as D}from"./chunk-KS5CTFF5.mjs";import{a as T}from"./chunk-SNHYI5K2.mjs";import"./chunk-IWPG2T2Y.mjs";import{Ea as f,Ia as u,Jb as I,Ka as d,Kb as L,La as _,Na as x,Oa as P,Pa as a,Qa as l,Ua as v,Va as c,Xa as p,Xb as A,Za as h,_ as C,_a as g,bb as b,cb as y,ya as r,za as m}from"./chunk-JHH2AAIU.mjs";import"./chunk-KRLCULJA.mjs";var F=(t,e)=>e.getId();function $(t,e){if(t&1&&p(0),t&2){let i=c(2);h('Aucune citation de "',i.author,'"\xA0')}}function j(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citation de "',i.author,'":\xA0')}}function w(t,e){if(t&1&&p(0),t&2){let i=c(2);g("",i.cites.length,' citations de "',i.author,'":\xA0')}}function M(t,e){if(t&1&&(a(0,"h1",7),d(1,$,1,1,"ng-template",8)(2,j,1,2,"ng-template",9)(3,w,1,2,"ng-template",10),l()),t&2){let i=c();u("ngPlural",i.cites.length)}}function k(t,e){if(t&1&&(a(0,"li",11)(1,"cite"),p(2),l()()),t&2){let i=e.$implicit;r(2),h("\u201D",i.getCite(),"\u201D")}}var N=t=>({itemPerPage:t}),R=(()=>{let e=class e extends B{constructor(n,o,s){super(),this.citeService=n,this.title=o,this.device=s,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,s.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.searchByAuthor(this.author).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach(o=>{this.cites.push(o)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(o){return new(o||e)(m(T),m(A),m(D))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[f,b],decls:9,vars:5,consts:[[1,"container","mb-36"],["class","text-3xl font-bold text-stone-900 mb-2",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-3xl","font-bold","text-stone-900","mb-2",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],["class","p-1"]],template:function(o,s){o&1&&(a(0,"div",0),d(1,M,4,1,"h1",1),a(2,"ul",2),x(3,k,3,1,"li",12,F),l()(),a(5,"div",3)(6,"div",4)(7,"section",5)(8,"app-pager",6),v("paginatedList$",function(E){return s.setPaginatedList(E)}),l()()()()),o&2&&(r(1),_(1,s.author?1:-1),r(2),P(s.paginatedCites),r(5),u("list",s.cites)("options",y(3,N,s.getItemsPerPage())))},dependencies:[I,L,S],encapsulation:2});let t=e;return t})();export{R as ListCitesByAuthorsComponent}; diff --git a/docs/citations/server/chunk-PQBF5BOD.mjs b/docs/citations/server/chunk-PQBF5BOD.mjs deleted file mode 100644 index 38eb578..0000000 --- a/docs/citations/server/chunk-PQBF5BOD.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as S}from"./chunk-WESW6LFQ.mjs";import{a as d}from"./chunk-BAQQOPV7.mjs";import"./chunk-QKRI2DJ5.mjs";import{$a as c,Ia as s,Ka as v,La as x,Mb as F,Pa as f,Qa as h,Ra as p,Xa as y,Yb as l,Za as g,_ as a,cb as m,fb as T,gb as b,ya as u,za as n}from"./chunk-XUIXZ2OS.mjs";import"./chunk-KRLCULJA.mjs";var j=(()=>{let t=class t{constructor(o,e){this.citesService=o,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(n(d),n(l))},t.\u0275cmp=a({type:t,selectors:[["app-cite"]],inputs:{cite:"cite"},standalone:!0,features:[c([]),m],decls:4,vars:2,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(e,r){e&1&&(f(0,"h1",0),y(1),h(),f(2,"p",1),p(3,"app-link-cites-by-author",2),h()),e&2&&(u(1),g(" ",r.cite.getCite()," "),u(2),s("author",r.cite.getAuthor()))},dependencies:[S],encapsulation:2});let i=t;return i})();function M(i,t){i&1&&p(0,"app-cite",0),i&2&&s("cite",t)}var L=(()=>{let t=class t{constructor(o,e){this.citesService=o,this.title=e,this.title.setTitle("Citations - Citation du jour")}};t.\u0275fac=function(e){return new(e||t)(n(d),n(l))},t.\u0275cmp=a({type:t,selectors:[["app-home"]],standalone:!0,features:[c([]),m],decls:2,vars:3,consts:[[3,"cite"]],template:function(e,r){if(e&1&&(v(0,M,1,1,"app-cite",0),T(1,"async")),e&2){let C;x(0,(C=b(1,1,r.citesService.getCiteOfTheDay()))?0:-1,C)}},dependencies:[F,j],encapsulation:2});let i=t;return i})();export{L as HomeComponent}; diff --git a/docs/citations/server/chunk-MUV6HIBH.mjs b/docs/citations/server/chunk-QDBRHCH7.mjs similarity index 90% rename from docs/citations/server/chunk-MUV6HIBH.mjs rename to docs/citations/server/chunk-QDBRHCH7.mjs index f5c0398..4f4b6cd 100644 --- a/docs/citations/server/chunk-MUV6HIBH.mjs +++ b/docs/citations/server/chunk-QDBRHCH7.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{a as I}from"./chunk-BAQQOPV7.mjs";import{C as l,F as g,I as y,O as k,Q as v,U as x,Y as F,f as d,h as L,m as n,o as N,q as j,y as f}from"./chunk-XUIXZ2OS.mjs";var a=class{constructor(e,$=1){this.name=e,this.count=$}getName(){return this.name}getCount(){return this.count}addCount(){return this.count++,this.count}};var U=(()=>{let e=class e{constructor(u){this.citeService=u,this.authors=new d([]),this.authors$=this.authors.asObservable().pipe(n(t=>t.map(r=>new a(r.getName(),r.getCount()))),g(),l(1)),this.count=0;let s=[];u.cites$.pipe(v(t=>L(t)),n(t=>t.getAuthor()),n(t=>{let r;if(s.find(o=>o.getName()===t)){let o=s.findIndex(m=>m.getName()===t);s[o].addCount(),r=s[o]}else r=new a(t),s.push(r);return r}),g(),k(u.cites$),y(t=>t.getName().toLowerCase().includes("proverbe")),N(t=>t.pipe(f(),n(r=>r.sort((o,m)=>{let c=o.getName().split(" "),p=m.getName().split(" "),w=(c.length>1?c.pop():c.shift())??"",h=c[0],C=(p.length>1?p.pop():p.shift())??"",b=p[0];return w.toLowerCase()C.toLowerCase()?1:h?h.toLowerCase()b.toLowerCase()?1:0:0})))),j(),f(),l(1)).subscribe(t=>{this.authors.next(t)})}};e.\u0275fac=function(s){return new(s||e)(F(I))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let i=e;return i})();export{U as a}; +import{a as I}from"./chunk-SNHYI5K2.mjs";import{C as l,F as g,I as y,O as k,Q as v,U as x,Y as F,f as d,h as L,m as n,o as N,q as j,y as f}from"./chunk-JHH2AAIU.mjs";var a=class{constructor(e,$=1){this.name=e,this.count=$}getName(){return this.name}getCount(){return this.count}addCount(){return this.count++,this.count}};var U=(()=>{let e=class e{constructor(u){this.citeService=u,this.authors=new d([]),this.authors$=this.authors.asObservable().pipe(n(t=>t.map(r=>new a(r.getName(),r.getCount()))),g(),l(1)),this.count=0;let s=[];u.cites$.pipe(v(t=>L(t)),n(t=>t.getAuthor()),n(t=>{let r;if(s.find(o=>o.getName()===t)){let o=s.findIndex(m=>m.getName()===t);s[o].addCount(),r=s[o]}else r=new a(t),s.push(r);return r}),g(),k(u.cites$),y(t=>t.getName().toLowerCase().includes("proverbe")),N(t=>t.pipe(f(),n(r=>r.sort((o,m)=>{let c=o.getName().split(" "),p=m.getName().split(" "),w=(c.length>1?c.pop():c.shift())??"",h=c[0],C=(p.length>1?p.pop():p.shift())??"",b=p[0];return w.toLowerCase()C.toLowerCase()?1:h?h.toLowerCase()b.toLowerCase()?1:0:0})))),j(),f(),l(1)).subscribe(t=>{this.authors.next(t)})}};e.\u0275fac=function(s){return new(s||e)(F(I))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let i=e;return i})();export{U as a}; diff --git a/docs/citations/server/chunk-CF5WBSH6.mjs b/docs/citations/server/chunk-RGQQJVP5.mjs similarity index 93% rename from docs/citations/server/chunk-CF5WBSH6.mjs rename to docs/citations/server/chunk-RGQQJVP5.mjs index b937882..990b8c6 100644 --- a/docs/citations/server/chunk-CF5WBSH6.mjs +++ b/docs/citations/server/chunk-RGQQJVP5.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{a as N}from"./chunk-5LNREIAP.mjs";import{a as he,d as fe}from"./chunk-OL53WL6O.mjs";import{a as Se}from"./chunk-MUV6HIBH.mjs";import{a as xe,b as Ee}from"./chunk-B6CYFCU2.mjs";import{a as Me}from"./chunk-BAQQOPV7.mjs";import{a as ve,b as ge,d as be,e as D,f as O,g as Ce,h as we,i as ke,j as ye}from"./chunk-QKRI2DJ5.mjs";import{A as Y,Bb as ue,C as b,Ca as ne,E as $,Ea as V,Ia as f,L as J,Ob as G,Pa as o,Q as S,Qa as s,R as X,Ra as l,S as ee,U as B,Ua as H,X as te,Xa as w,Xb as me,Y as W,Yb as j,Zb as de,_ as d,cb as g,da as u,e as P,ea as m,fa as R,hb as oe,i as I,ia as ie,ib as ae,j as K,kb as se,la as re,lb as le,m as v,pa as Z,r as Q,s as U,t as E,u as q,ub as ce,v as y,w as M,wb as pe,ya as h,za as C}from"./chunk-XUIXZ2OS.mjs";import{a as z}from"./chunk-KRLCULJA.mjs";var F=(()=>{let e=class e{constructor(t){this.click=t}refreshRandom(){this.click.click()}};e.\u0275fac=function(r){return new(r||e)(C(N))},e.\u0275cmp=d({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,n){},encapsulation:2});let i=e;return i})();var Le=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-mobile"]],standalone:!0,features:[V,g],decls:26,vars:4,consts:[["id","bottom-navigation",1,"md:hidden","block","fixed","inset-x-0","bottom-0","z-10","bg-white","shadow"],["id","tabs",1,"flex","justify-between"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42","fill","none","xmlns","http://www.w3.org/2000/svg",1,"inline-block","mb-1"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],[1,"tab","tab-home","block","text-xs"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42",1,"inline-block","mb-1"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],[1,"tab","tab-kategori","block","text-xs"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],[1,"tab","tab-explore","block","text-xs"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],[1,"tab","tab-whishlist","block","text-xs"]],template:function(r,n){r&1&&(o(0,"section",0)(1,"div",1)(2,"a",2),u(),o(3,"svg",3)(4,"svg",4),l(5,"path",5),s()(),m(),o(6,"span",6),w(7,"Aujourd'hui"),s()(),o(8,"a",7),u(),o(9,"svg",8)(10,"svg",4),l(11,"path",9),s()(),m(),o(12,"span",10),w(13,"Citations"),s()(),o(14,"a",11),u(),o(15,"svg",8)(16,"svg",4),l(17,"path",12),s()(),m(),o(18,"span",13),w(19,"Auteurs"),s()(),o(20,"a",14),H("click",function(){return n.refreshRandom()}),u(),o(21,"svg",8)(22,"svg",4),l(23,"path",15),s()(),m(),o(24,"span",16),w(25,"Al\xE9atoire"),s()()()()),r&2&&(h(2),f("queryParams",null),h(6),f("queryParams",null),h(6),f("queryParams",null),h(6),f("queryParams",null))},dependencies:[D,O],encapsulation:2});let i=e;return i})();var Ne=["elSearchCite"],Te=(()=>{let e=class e{constructor(t,r){this.activatedRouter=t,this.router=r,this.ngUnsubscribe=new P}ngOnInit(){this.activatedRouter.queryParamMap.subscribe(t=>{if(!t.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){E(this.elSearchCite.nativeElement,"keyup").pipe(v(t=>t.currentTarget.value),Y(500),X(this.ngUnsubscribe)).subscribe({next:t=>{this.router.navigate(["/search"],{queryParams:{q:t}})}})}};e.\u0275fac=function(r){return new(r||e)(C(ve),C(be))},e.\u0275cmp=d({type:e,selectors:[["app-search"]],viewQuery:function(r,n){if(r&1&&ae(Ne,7),r&2){let c;oe(c=se())&&(n.elSearchCite=c.first)}},standalone:!0,features:[g],decls:2,vars:0,consts:[["id","search_input","type","text","placeholder","Rechercher...",1,""],["elSearchCite",""]],template:function(r,n){r&1&&l(0,"input",0,1)},encapsulation:2});let i=e;return i})();var Ae=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-desktop"]],standalone:!0,features:[V,g],decls:30,vars:4,consts:[[1,"flex","items-center","justify-between","p-6","container","mx-auto"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour"],["version","1.1","width","200","height","36","preserveAspectRatio","xMidYMid meet","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["d","M11.86,16.55a4.31,4.31,0,0,0-2.11.56,14.44,14.44,0,0,1,4.36-6,1.1,1.1,0,0,0-1.4-1.7c-4,3.25-5.78,7.75-5.78,10.54A5.08,5.08,0,0,0,10,24.58a4.4,4.4,0,0,0,1.88.44,4.24,4.24,0,1,0,0-8.47Z"],["d","M23,16.55a4.29,4.29,0,0,0-2.11.56,14.5,14.5,0,0,1,4.35-6,1.1,1.1,0,1,0-1.39-1.7c-4,3.25-5.78,7.75-5.78,10.54a5.08,5.08,0,0,0,3,4.61A4.37,4.37,0,0,0,23,25a4.24,4.24,0,1,0,0-8.47Z"],["x","0","y","0","width","200","height","36","fill-opacity","0"],["x","36","y","35",1,"text-4xl","text-violet-700","font-sans","subpixel-antialiased"],[1,"text-sm","text-gray-600","sm:flex",2,"padding-top","16px"],[1,"text-lg","hidden","lg:flex"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],["href","https://github.com/Rebolon/citations-papillotes","title","Acc\xE8s au code source","aria-label","Acc\xE8s au code source",1,"block","lg:inline-block","hover:text-violet-800","transform","motion-safe:hover:scale-110","lg:mt-0","mr-10"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 20L14 4M18 8L22 12L18 16M6 16L2 12L6 8"]],template:function(r,n){r&1&&(o(0,"nav",0)(1,"a",1),u(),o(2,"svg",2),l(3,"path",3)(4,"path",4)(5,"rect",5),o(6,"text",6),w(7," Citations "),s()()(),m(),l(8,"app-search",7),o(9,"div",8)(10,"a",9),u(),o(11,"svg",10)(12,"svg",11),l(13,"path",12),s()()(),m(),o(14,"a",13),u(),o(15,"svg",10)(16,"svg",11),l(17,"path",14),s()()(),m(),o(18,"a",15),u(),o(19,"svg",10)(20,"svg",11),l(21,"path",16),s()()(),m(),o(22,"a",17),H("click",function(){return n.refreshRandom()}),u(),o(23,"svg",10)(24,"svg",11),l(25,"path",18),s()()(),m(),o(26,"a",19),u(),o(27,"svg",10)(28,"svg",11),l(29,"path",20),s()()()()()),r&2&&(h(10),f("queryParams",null),h(4),f("queryParams",null),h(4),f("queryParams",null),h(4),f("queryParams",null))},dependencies:[D,Te,O],encapsulation:2});let i=e;return i})();var Pe=(()=>{let e=class e{constructor(t){this.title=t,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(r){return new(r||e)(C(j))},e.\u0275cmp=d({type:e,selectors:[["app-root"]],standalone:!0,features:[g],decls:7,vars:0,consts:[["id","app",1,"container","min-h-screen","flex","flex-col"],[1,"top-0","fixed","bg-white","w-full"],[1,"grow","p-4","pt-24"],[1,"w-full"]],template:function(r,n){r&1&&(o(0,"div",0)(1,"header",1),l(2,"app-navbar-desktop"),s(),o(3,"main",2),l(4,"router-outlet"),s(),o(5,"footer",3),l(6,"app-navbar-mobile"),s()())},dependencies:[Ae,ge,Le],encapsulation:2});let i=e;return i})();var A="Service workers are disabled or not supported by this browser";function Fe(i){return U(()=>K(new Error(i)))}var x=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=Fe(A);else{let t=E(e,"controllerchange").pipe(v(()=>e.controller)),r=U(()=>I(e.controller)),n=Q(r,t);this.worker=n.pipe(M(k=>!!k)),this.registration=this.worker.pipe(S(()=>e.getRegistration()));let _=E(e,"message").pipe(v(k=>k.data)).pipe(M(k=>k&&k.type)).pipe(J());_.connect(),this.events=_}}postMessage(e,a){return this.worker.pipe(b(1),ee(t=>{t.postMessage(z({action:e},a))})).toPromise().then(()=>{})}postMessageWithOperation(e,a,t){let r=this.waitForOperationCompleted(t),n=this.postMessage(e,a);return Promise.all([n,r]).then(([,c])=>c)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(e){let a;return typeof e=="string"?a=t=>t.type===e:a=t=>e.includes(t.type),this.events.pipe(M(a))}nextEventOfType(e){return this.eventsOfType(e).pipe(b(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(M(a=>a.nonce===e),b(1),v(a=>{if(a.result!==void 0)return a.result;throw new Error(a.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Ue=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,this.pushManager=null,this.subscriptionChanges=new P,!t.isEnabled){this.messages=y,this.notificationClicks=y,this.subscription=y;return}this.messages=this.sw.eventsOfType("PUSH").pipe(v(n=>n.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(v(n=>n.data)),this.pushManager=this.sw.registration.pipe(v(n=>n.pushManager));let r=this.pushManager.pipe(S(n=>n.getSubscription()));this.subscription=q(r,this.subscriptionChanges)}requestSubscription(t){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(A));let r={userVisibleOnly:!0},n=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),c=new Uint8Array(new ArrayBuffer(n.length));for(let p=0;pp.subscribe(r)),b(1)).toPromise().then(p=>(this.subscriptionChanges.next(p),p))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let t=r=>{if(r===null)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(n=>{if(!n)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(b(1),S(t)).toPromise()}decodeBase64(t){return atob(t)}};e.\u0275fac=function(r){return new(r||e)(W(x))},e.\u0275prov=B({token:e,factory:e.\u0275fac});let i=e;return i})(),qe=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,!t.isEnabled){this.versionUpdates=y,this.unrecoverable=y;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let t=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}};e.\u0275fac=function(r){return new(r||e)(W(x))},e.\u0275prov=B({token:e,factory:e.\u0275fac});let i=e;return i})();var Ie=new te("NGSW_REGISTER_SCRIPT");function Be(i,e,a,t){return()=>{if(!(G(t)&&"serviceWorker"in navigator&&a.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let r;if(typeof a.registrationStrategy=="function")r=a.registrationStrategy();else{let[c,...p]=(a.registrationStrategy||"registerWhenStable:30000").split(":");switch(c){case"registerImmediately":r=I(null);break;case"registerWithDelay":r=Re(+p[0]||0);break;case"registerWhenStable":r=p[0]?q(Ve(i),Re(+p[0])):Ve(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${a.registrationStrategy}`)}}i.get(ne).runOutsideAngular(()=>r.pipe(b(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:a.scope}).catch(c=>console.error("Service worker registration failed with:",c))))}}function Re(i){return I(null).pipe($(i))}function Ve(i){return i.get(ce).isStable.pipe(M(a=>a))}function We(i,e){return new x(G(e)&&i.enabled!==!1?navigator.serviceWorker:void 0)}var T=class{};function He(i,e={}){return ie([Ue,qe,{provide:Ie,useValue:i},{provide:T,useValue:e},{provide:x,useFactory:We,deps:[T,Z]},{provide:le,useFactory:Be,deps:[re,Ie,T,Z],multi:!0}])}var je=[{path:"",loadComponent:()=>import("./chunk-PQBF5BOD.mjs").then(i=>i.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-U5CHUOLY.mjs").then(i=>i.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-2N6OR53J.mjs").then(i=>i.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-BYG5FYZ4.mjs").then(i=>i.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-ZR3EWU6Z.mjs").then(i=>i.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-U5CHUOLY.mjs").then(i=>i.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-PH5UV5Q6.mjs").then(i=>i.PageNotFoundComponent)}];var De={providers:[Ce(je,ke(),we({onSameUrlNavigation:"reload"}),ye()),He("ngsw-worker.js",{enabled:!pe(),registrationStrategy:"registerWhenStable:30000"}),de(),he(),Se,Me,N,j,xe,Ee]};var Ze={providers:[fe()]},Oe=ue(De,Ze);global.navigator={};var Ge=()=>me(Pe,Oe),Ut=Ge;export{Ut as a}; +import{a as N}from"./chunk-AGIMZMOE.mjs";import{a as he,d as fe}from"./chunk-KK4XS2FZ.mjs";import{a as Se}from"./chunk-QDBRHCH7.mjs";import{a as xe,b as Ee}from"./chunk-KS5CTFF5.mjs";import{a as Me}from"./chunk-SNHYI5K2.mjs";import{a as ve,b as ge,d as be,e as D,f as O,g as Ce,h as we,i as ke,j as ye}from"./chunk-IWPG2T2Y.mjs";import{A as Y,Ab as ue,C as b,Ca as ne,E as $,Ea as V,Ia as f,L as J,Nb as G,Pa as o,Q as S,Qa as s,R as X,Ra as l,S as ee,U as B,Ua as H,Wb as me,X as te,Xa as w,Xb as j,Y as W,Yb as de,_ as d,bb as g,da as u,e as P,ea as m,fa as R,gb as oe,hb as ae,i as I,ia as ie,j as K,jb as se,kb as le,la as re,m as v,pa as Z,r as Q,s as U,t as E,tb as ce,u as q,v as y,vb as pe,w as M,ya as h,za as C}from"./chunk-JHH2AAIU.mjs";import{a as z}from"./chunk-KRLCULJA.mjs";var F=(()=>{let e=class e{constructor(t){this.click=t}refreshRandom(){this.click.click()}};e.\u0275fac=function(r){return new(r||e)(C(N))},e.\u0275cmp=d({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,n){},encapsulation:2});let i=e;return i})();var Le=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-mobile"]],standalone:!0,features:[V,g],decls:26,vars:4,consts:[["id","bottom-navigation",1,"md:hidden","block","fixed","inset-x-0","bottom-0","z-10","bg-white","shadow"],["id","tabs",1,"flex","justify-between"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42","fill","none","xmlns","http://www.w3.org/2000/svg",1,"inline-block","mb-1"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],[1,"tab","tab-home","block","text-xs"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["width","25","height","25","viewBox","0 0 42 42",1,"inline-block","mb-1"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],[1,"tab","tab-kategori","block","text-xs"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],[1,"tab","tab-explore","block","text-xs"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"w-full","hover:text-stone-500","justify-center","inline-block","text-center","pt-2","pb-1",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],[1,"tab","tab-whishlist","block","text-xs"]],template:function(r,n){r&1&&(o(0,"section",0)(1,"div",1)(2,"a",2),u(),o(3,"svg",3)(4,"svg",4),l(5,"path",5),s()(),m(),o(6,"span",6),w(7,"Aujourd'hui"),s()(),o(8,"a",7),u(),o(9,"svg",8)(10,"svg",4),l(11,"path",9),s()(),m(),o(12,"span",10),w(13,"Citations"),s()(),o(14,"a",11),u(),o(15,"svg",8)(16,"svg",4),l(17,"path",12),s()(),m(),o(18,"span",13),w(19,"Auteurs"),s()(),o(20,"a",14),H("click",function(){return n.refreshRandom()}),u(),o(21,"svg",8)(22,"svg",4),l(23,"path",15),s()(),m(),o(24,"span",16),w(25,"Al\xE9atoire"),s()()()()),r&2&&(h(2),f("queryParams",null),h(6),f("queryParams",null),h(6),f("queryParams",null),h(6),f("queryParams",null))},dependencies:[D,O],encapsulation:2});let i=e;return i})();var Ne=["elSearchCite"],Te=(()=>{let e=class e{constructor(t,r){this.activatedRouter=t,this.router=r,this.ngUnsubscribe=new P}ngOnInit(){this.activatedRouter.queryParamMap.subscribe(t=>{if(!t.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){E(this.elSearchCite.nativeElement,"keyup").pipe(v(t=>t.currentTarget.value),Y(500),X(this.ngUnsubscribe)).subscribe({next:t=>{this.router.navigate(["/search"],{queryParams:{q:t}})}})}};e.\u0275fac=function(r){return new(r||e)(C(ve),C(be))},e.\u0275cmp=d({type:e,selectors:[["app-search"]],viewQuery:function(r,n){if(r&1&&ae(Ne,7),r&2){let c;oe(c=se())&&(n.elSearchCite=c.first)}},standalone:!0,features:[g],decls:2,vars:0,consts:[["id","search_input","type","text","placeholder","Rechercher...",1,""],["elSearchCite",""]],template:function(r,n){r&1&&l(0,"input",0,1)},encapsulation:2});let i=e;return i})();var Ae=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-desktop"]],standalone:!0,features:[V,g],decls:30,vars:4,consts:[[1,"flex","items-center","justify-between","p-6","container","mx-auto"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour"],["version","1.1","width","200","height","36","preserveAspectRatio","xMidYMid meet","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["d","M11.86,16.55a4.31,4.31,0,0,0-2.11.56,14.44,14.44,0,0,1,4.36-6,1.1,1.1,0,0,0-1.4-1.7c-4,3.25-5.78,7.75-5.78,10.54A5.08,5.08,0,0,0,10,24.58a4.4,4.4,0,0,0,1.88.44,4.24,4.24,0,1,0,0-8.47Z"],["d","M23,16.55a4.29,4.29,0,0,0-2.11.56,14.5,14.5,0,0,1,4.35-6,1.1,1.1,0,1,0-1.39-1.7c-4,3.25-5.78,7.75-5.78,10.54a5.08,5.08,0,0,0,3,4.61A4.37,4.37,0,0,0,23,25a4.24,4.24,0,1,0,0-8.47Z"],["x","0","y","0","width","200","height","36","fill-opacity","0"],["x","36","y","35",1,"text-4xl","text-violet-700","font-sans","subpixel-antialiased"],[1,"text-sm","text-gray-600","sm:flex",2,"padding-top","16px"],[1,"text-lg","hidden","lg:flex"],["routerLink","/","title","Citation du jour","aria-label","Citation du jour","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],["routerLink","/cites","title","Liste des citations","aria-label","Liste des citations","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5H7C5.89543 5 5 5.89543 5 7V19C5 20.1046 5.89543 21 7 21H17C18.1046 21 19 20.1046 19 19V7C19 5.89543 18.1046 5 17 5H15M9 5C9 6.10457 9.89543 7 11 7H13C14.1046 7 15 6.10457 15 5M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5M12 12H15M12 16H15M9 12H9.01M9 16H9.01"],["routerLink","/authors","title","Liste des auteurs","aria-label","Liste des auteurs","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z"],["routerLink","/random","title","Une citation au hasard","aria-label","Une citation au hasard","routerLinkActive","focus:text-violet-800",1,"block","mt-4","lg:inline-block","hover:text-violet-800","motion-safe:hover:scale-110","lg:mt-0","mr-10",3,"queryParams","click"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"],["href","https://github.com/Rebolon/citations-papillotes","title","Acc\xE8s au code source","aria-label","Acc\xE8s au code source",1,"block","lg:inline-block","hover:text-violet-800","transform","motion-safe:hover:scale-110","lg:mt-0","mr-10"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 20L14 4M18 8L22 12L18 16M6 16L2 12L6 8"]],template:function(r,n){r&1&&(o(0,"nav",0)(1,"a",1),u(),o(2,"svg",2),l(3,"path",3)(4,"path",4)(5,"rect",5),o(6,"text",6),w(7," Citations "),s()()(),m(),l(8,"app-search",7),o(9,"div",8)(10,"a",9),u(),o(11,"svg",10)(12,"svg",11),l(13,"path",12),s()()(),m(),o(14,"a",13),u(),o(15,"svg",10)(16,"svg",11),l(17,"path",14),s()()(),m(),o(18,"a",15),u(),o(19,"svg",10)(20,"svg",11),l(21,"path",16),s()()(),m(),o(22,"a",17),H("click",function(){return n.refreshRandom()}),u(),o(23,"svg",10)(24,"svg",11),l(25,"path",18),s()()(),m(),o(26,"a",19),u(),o(27,"svg",10)(28,"svg",11),l(29,"path",20),s()()()()()),r&2&&(h(10),f("queryParams",null),h(4),f("queryParams",null),h(4),f("queryParams",null),h(4),f("queryParams",null))},dependencies:[D,Te,O],encapsulation:2});let i=e;return i})();var Pe=(()=>{let e=class e{constructor(t){this.title=t,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(r){return new(r||e)(C(j))},e.\u0275cmp=d({type:e,selectors:[["app-root"]],standalone:!0,features:[g],decls:7,vars:0,consts:[["id","app",1,"container","min-h-screen","flex","flex-col"],[1,"top-0","fixed","bg-white","w-full"],[1,"grow","p-4","pt-24"],[1,"w-full"]],template:function(r,n){r&1&&(o(0,"div",0)(1,"header",1),l(2,"app-navbar-desktop"),s(),o(3,"main",2),l(4,"router-outlet"),s(),o(5,"footer",3),l(6,"app-navbar-mobile"),s()())},dependencies:[Ae,ge,Le],encapsulation:2});let i=e;return i})();var A="Service workers are disabled or not supported by this browser";function Fe(i){return U(()=>K(new Error(i)))}var x=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=Fe(A);else{let t=E(e,"controllerchange").pipe(v(()=>e.controller)),r=U(()=>I(e.controller)),n=Q(r,t);this.worker=n.pipe(M(k=>!!k)),this.registration=this.worker.pipe(S(()=>e.getRegistration()));let _=E(e,"message").pipe(v(k=>k.data)).pipe(M(k=>k&&k.type)).pipe(J());_.connect(),this.events=_}}postMessage(e,a){return this.worker.pipe(b(1),ee(t=>{t.postMessage(z({action:e},a))})).toPromise().then(()=>{})}postMessageWithOperation(e,a,t){let r=this.waitForOperationCompleted(t),n=this.postMessage(e,a);return Promise.all([n,r]).then(([,c])=>c)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(e){let a;return typeof e=="string"?a=t=>t.type===e:a=t=>e.includes(t.type),this.events.pipe(M(a))}nextEventOfType(e){return this.eventsOfType(e).pipe(b(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(M(a=>a.nonce===e),b(1),v(a=>{if(a.result!==void 0)return a.result;throw new Error(a.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Ue=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,this.pushManager=null,this.subscriptionChanges=new P,!t.isEnabled){this.messages=y,this.notificationClicks=y,this.subscription=y;return}this.messages=this.sw.eventsOfType("PUSH").pipe(v(n=>n.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(v(n=>n.data)),this.pushManager=this.sw.registration.pipe(v(n=>n.pushManager));let r=this.pushManager.pipe(S(n=>n.getSubscription()));this.subscription=q(r,this.subscriptionChanges)}requestSubscription(t){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(A));let r={userVisibleOnly:!0},n=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),c=new Uint8Array(new ArrayBuffer(n.length));for(let p=0;pp.subscribe(r)),b(1)).toPromise().then(p=>(this.subscriptionChanges.next(p),p))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let t=r=>{if(r===null)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(n=>{if(!n)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(b(1),S(t)).toPromise()}decodeBase64(t){return atob(t)}};e.\u0275fac=function(r){return new(r||e)(W(x))},e.\u0275prov=B({token:e,factory:e.\u0275fac});let i=e;return i})(),qe=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,!t.isEnabled){this.versionUpdates=y,this.unrecoverable=y;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let t=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(A));let t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}};e.\u0275fac=function(r){return new(r||e)(W(x))},e.\u0275prov=B({token:e,factory:e.\u0275fac});let i=e;return i})();var Ie=new te("NGSW_REGISTER_SCRIPT");function Be(i,e,a,t){return()=>{if(!(G(t)&&"serviceWorker"in navigator&&a.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let r;if(typeof a.registrationStrategy=="function")r=a.registrationStrategy();else{let[c,...p]=(a.registrationStrategy||"registerWhenStable:30000").split(":");switch(c){case"registerImmediately":r=I(null);break;case"registerWithDelay":r=Re(+p[0]||0);break;case"registerWhenStable":r=p[0]?q(Ve(i),Re(+p[0])):Ve(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${a.registrationStrategy}`)}}i.get(ne).runOutsideAngular(()=>r.pipe(b(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:a.scope}).catch(c=>console.error("Service worker registration failed with:",c))))}}function Re(i){return I(null).pipe($(i))}function Ve(i){return i.get(ce).isStable.pipe(M(a=>a))}function We(i,e){return new x(G(e)&&i.enabled!==!1?navigator.serviceWorker:void 0)}var T=class{};function He(i,e={}){return ie([Ue,qe,{provide:Ie,useValue:i},{provide:T,useValue:e},{provide:x,useFactory:We,deps:[T,Z]},{provide:le,useFactory:Be,deps:[re,Ie,T,Z],multi:!0}])}var je=[{path:"",loadComponent:()=>import("./chunk-J3KYGEX7.mjs").then(i=>i.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-VDNIS2RZ.mjs").then(i=>i.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-SI77D6AR.mjs").then(i=>i.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-L4VKC5SC.mjs").then(i=>i.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-5SGKMCZO.mjs").then(i=>i.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-VDNIS2RZ.mjs").then(i=>i.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-RHN7G6CB.mjs").then(i=>i.PageNotFoundComponent)}];var De={providers:[Ce(je,ke(),we({onSameUrlNavigation:"reload"}),ye()),He("ngsw-worker.js",{enabled:!pe(),registrationStrategy:"registerWhenStable:30000"}),de(),he(),Se,Me,N,j,xe,Ee]};var Ze={providers:[fe()]},Oe=ue(De,Ze);global.navigator={};var Ge=()=>me(Pe,Oe),Ut=Ge;export{Ut as a}; diff --git a/docs/citations/server/chunk-PH5UV5Q6.mjs b/docs/citations/server/chunk-RHN7G6CB.mjs similarity index 75% rename from docs/citations/server/chunk-PH5UV5Q6.mjs rename to docs/citations/server/chunk-RHN7G6CB.mjs index 3394dc4..c8d4a88 100644 --- a/docs/citations/server/chunk-PH5UV5Q6.mjs +++ b/docs/citations/server/chunk-RHN7G6CB.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{Xa as r,Yb as c,_ as o,cb as s,za as a}from"./chunk-XUIXZ2OS.mjs";import"./chunk-KRLCULJA.mjs";var u=(()=>{let t=class t{constructor(i){this.title=i,this.title.setTitle("Citations - Page non trouv\xE9e")}};t.\u0275fac=function(n){return new(n||t)(a(c))},t.\u0275cmp=o({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[s],decls:1,vars:0,template:function(n,p){n&1&&r(0,"Lost In Space ?")},encapsulation:2});let e=t;return e})();export{u as PageNotFoundComponent}; +import{Xa as r,Xb as c,_ as o,bb as s,za as a}from"./chunk-JHH2AAIU.mjs";import"./chunk-KRLCULJA.mjs";var u=(()=>{let t=class t{constructor(i){this.title=i,this.title.setTitle("Citations - Page non trouv\xE9e")}};t.\u0275fac=function(n){return new(n||t)(a(c))},t.\u0275cmp=o({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[s],decls:1,vars:0,template:function(n,p){n&1&&r(0,"Lost In Space ?")},encapsulation:2});let e=t;return e})();export{u as PageNotFoundComponent}; diff --git a/docs/citations/server/chunk-SI77D6AR.mjs b/docs/citations/server/chunk-SI77D6AR.mjs new file mode 100644 index 0000000..6be381d --- /dev/null +++ b/docs/citations/server/chunk-SI77D6AR.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as k}from"./chunk-QDBRHCH7.mjs";import{a as A,b as B}from"./chunk-YKLTUIIX.mjs";import{b as L}from"./chunk-KS5CTFF5.mjs";import"./chunk-SNHYI5K2.mjs";import{e as P}from"./chunk-IWPG2T2Y.mjs";import{Ea as v,Ia as p,Ib as T,Na as y,Oa as x,Pa as s,Qa as a,Ua as m,Wa as b,Xa as l,Xb as S,Za as c,_ as f,bb as C,cb as _,db as h,ya as o,za as u}from"./chunk-JHH2AAIU.mjs";import"./chunk-KRLCULJA.mjs";var E=(i,e)=>e.getName();function $(i,e){if(i&1&&(s(0,"li",9)(1,"a",10),l(2),s(3,"small"),l(4),a()()()),i&2){let d=e.$implicit;o(1),b("routerLink","/authors/",d.getName(),""),o(1),c("",d.getName()," "),o(2),c("(",d.getCount(),")")}}var I=(i,e)=>({"font-semibold":i,"font-normal":e}),D=i=>({itemPerPage:i}),G=(()=>{let e=class e extends A{constructor(r,n,t){super(),this.authorService=r,this.title=n,this.device=t,this.authors=[],this.paginatedAuthors=[],this.itemsPerPage=11,this.sort="text",this.title.setTitle("Citations - Liste des auteurs"),this.itemsPerPage=11,t.isMobile()&&(this.itemsPerPage=8)}ngOnInit(){this.sortByAlpha()}sortByAlpha(){this.sort="text",this.authorService.authors$.subscribe({next:r=>{this.authors=r},complete:()=>{this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}sortByCount(){this.sort="total",this.authorService.authors$.subscribe({next:r=>{this.authors=r.sort((n,t)=>n.getCount()>t.getCount()?-1:n.getCount(){this.paginatedAuthors=this.authors.slice(0,this.itemsPerPage)}})}isSortByText(){return this.sort==="text"}isSortByTotal(){return this.sort==="total"}setPaginatedList(r){this.paginatedAuthors=r}};e.\u0275fac=function(n){return new(n||e)(u(k),u(S),u(L))},e.\u0275cmp=f({type:e,selectors:[["app-list-authors"]],standalone:!0,features:[v,C],decls:14,vars:15,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["title","Trier par nom",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full","mr-2",3,"ngClass","disabled","click"],["title","Trier par total de citations",1,"bg-gray-100","text-violet-800","text-xs","inline-flex","items-center","px-2.5","py-0.5","rounded-full",3,"ngClass","disabled","click"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"p-1"],[3,"routerLink"],["class","p-1"]],template:function(n,t){n&1&&(s(0,"div",0)(1,"h1",1),l(2),a(),s(3,"button",2),m("click",function(){return t.sortByAlpha()}),l(4," Trier par nom "),a(),s(5,"button",3),m("click",function(){return t.sortByCount()}),l(6," Trier par total "),a(),s(7,"ul",4),y(8,$,5,3,"li",11,E),a()(),s(10,"div",5)(11,"div",6)(12,"section",7)(13,"app-pager",8),m("paginatedList$",function(F){return t.setPaginatedList(F)}),a()()()()),n&2&&(o(2),c(" ",t.authors.length," Auteurs. "),o(1),p("ngClass",h(7,I,t.isSortByText()===!0,t.isSortByText()===!1))("disabled",t.isSortByText()),o(2),p("ngClass",h(10,I,t.isSortByTotal()===!0,t.isSortByTotal()===!1))("disabled",t.isSortByTotal()),o(3),x(t.paginatedAuthors),o(5),p("list",t.authors)("options",_(13,D,t.getItemsPerPage())))},dependencies:[T,P,B],encapsulation:2});let i=e;return i})();export{G as ListAuthorsComponent}; diff --git a/docs/citations/server/chunk-BAQQOPV7.mjs b/docs/citations/server/chunk-SNHYI5K2.mjs similarity index 95% rename from docs/citations/server/chunk-BAQQOPV7.mjs rename to docs/citations/server/chunk-SNHYI5K2.mjs index a711e5c..b41ff7c 100644 --- a/docs/citations/server/chunk-BAQQOPV7.mjs +++ b/docs/citations/server/chunk-SNHYI5K2.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{a as j}from"./chunk-QKRI2DJ5.mjs";import{C as m,F as p,Q as v,S as g,U as L,Y as y,f,g as q,h as l,i as d,m as u,w as h,y as c}from"./chunk-XUIXZ2OS.mjs";var n=class{constructor(){this.tags=[],this.tags=[]}getId(){return this.id}setId(e){return this.id=e,this}getAuthor(){return this.author}setAuthor(e){return this.author=e,this}getCite(){return this.cite}setCite(e){return this.cite=e,this}getTags(){return this.tags??[]}setTags(e=[]){return e===void 0?this:(this.tags=e,this)}addTag(e){return this.tags&&!this.tags.includes(e.trim())&&this.tags.push(e.trim()),this}hasTags(){return!!this.tags.length}};var S=[{cite:"Chaque commencement rec\xE8le une magie cach\xE9e.",author:"Hermann Hesse",tags:["espoir"]},{cite:"Rarement nous pensons \xE0 ce que nous avons, mais souvent \xE0 ce qui nous manque.",author:"Arthur Schopenhauer",tags:["simplicit\xE9"]},{cite:"Comme le dauphin j'ai le dos fin.",author:"Ma\xEEtre Reiki Kanak"},{cite:"L'\xE2me porte les couleurs de tes pens\xE9es.",author:"Marc Aur\xE8le"},{cite:"Apprenons \xE0 tendre la main pas seulement pour recevoir, mais \xE9galement pour donner.",author:"Wembo Jah Olela",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Peu importe o\xF9 nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.",author:"Fynn Kliemann",tags:["amour"]},{cite:"Pour faire du bien, personne n'a besoin de r\xE9fl\xE9chir.",author:"Johann Wolfgang Von Goethe",tags:["bienveillance"]},{cite:"Il n'y a que deux fa\xE7ons de vivre sa vie : l'une en faisant comme si rien n'\xE9tait un miracle, l'autre en faisant comme si tout \xE9tait un miracle.",author:"Albert Einstein",tags:["joie"]},{cite:"La facult\xE9 de se mettre dans la peau des autres et de r\xE9fl\xE9chir \xE0 la mani\xE8re dont on agirait \xE0 leur place est tr\xE8s utile si on veut apprendre \xE0 aimer quelqu'un.",author:"Dalai Lama",tags:["amour"]},{cite:"R\xE9pands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; r\xE9pands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.",author:"Cl\xE9obus de Lindos",tags:["amiti\xE9"]},{cite:"Souris au monde et le monde te sourira.",author:"Soeur Emmanuelle",tags:["joie"]},{cite:"L'humour a non seulement quelque chose de lib\xE9rateur, mais encore quelque chose de sublime et d'\xE9lev\xE9.",author:"Sigmund Freud",tags:["rire"]},{cite:"On ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Seuls les sens peuvent gu\xE9rir l'\xE2me, tout comme l'\xE2me seule peut gu\xE9rir les sens.",author:"Oscar Wilde"},{cite:"L'amour n'est pas dans l'autre, il est en nous-m\xEAmes ; nous le r\xE9veillons. Mais pour ce r\xE9veil, nous avons besoin de l'autre.",author:"Paulo Coelho"},{cite:"L'ornement de la main, ce sont ses doigts.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'optimiste rit pour oublier ; le pessimiste oublie de rire.",author:"Anonyme"},{cite:"Parfois on ne per\xE7oit l'amour car la vie quotidienne peut nous rendre aveugle.",author:"Anonyme"},{cite:"Ecouter, c'est aimer.",author:"Fran\xE7ois Lelord",tags:["amour"]},{cite:"Si tu veux la lune, ne te cache pas durant la nuit. Si tu veux une rose, n'aie pas peur des \xE9pines. Si tu veux l'amour, ne cache pas ta vrai personne.",author:"Rumi",tags:["amour"]},{cite:"Les r\xEAves \xE9veill\xE9s maintiennent notre \xE9quilibre mental.",author:"Elisabeth Maria Maurer"},{cite:"L'\xE9nergie suit les pens\xE9es.",author:"Tony Robbins"},{cite:"Les questions sont les cl\xE9s pour acc\xE9der au tr\xE9sors.",author:"Georg-Wilhelm Exler"},{cite:"L'amour ne voit pas avec les yeux mais avec l'\xE2me.",author:"William Shakespeare"},{cite:"L'espoir, c'est rentrer sous la pluie et sortir sous un beau soleil.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Les folies sont les seules choses qu'on ne regrette jamais.",author:"Oscar Wilde"},{cite:"Un sourire est une clef secr\xE8te qui ouvre bien des coeurs.",author:"Baden-Powell"},{cite:"Le chocolat plonge des \xEAtres par ailleurs normaux dans d'\xE9tranges \xE9tats extatiques.",author:"John West"},{cite:"On a deux vies. La deuxi\xE8me commence le jour o\xF9 on r\xE9alise qu'on en a juste une.",author:"Confucius"},{cite:"Je vais \xEAtre jaloux de cette tour. Elle est plus c\xE9l\xE8bre que moi.",author:"Gustave Eiffel"},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard"},{cite:"Nous portons en nous des merveilles que nous cherchons en dehors de nous.",author:"Thomas Browne"},{cite:"L\xE0 o\xF9 l'on s'aime il ne fait jamais nuit.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Le risque de prendre une mauvaise d\xE9cision n'est rien compar\xE9 \xE0 la terreur de l'ind\xE9cision.",author:"Maimonide"},{cite:"En tentant l'impossible, on peut atteindre le plus haut niveau du possible.",author:"August Strindberg"},{cite:"Souris \xE0 la vie pour qu'elle te sourit.",author:"Proverbe tunisien",tags:["proverbe"]},{cite:"A coeur vaillant rien d'impossible.",author:"Jacques Coeur"},{cite:"L'important n'est pas ce que l'on regarde mais ce que l'on voit.",author:"Henry David Thoreau"},{cite:"A travers les feuilles d'un bon livre, on pourra entendre un \xE9cho qui ressemble aux bruits des f\xF4rets.",author:"Henry David Thoreau"},{cite:"Assure-toi que la bougie est allum\xE9e avant d'\xE9teindre l'allumette.",author:"Proverbe cr\xE9ole",tags:["proverbe"]},{cite:"Quand l'amour grandit en toi, la beaut\xE9 fat de m\xEAme. Car l'amour est la beaut\xE9 de l'\xE2me.",author:"Marcel Proust"},{cite:"Le v\xE9ritable voyage de d\xE9couverte ne consiste pas \xE0 chercher de nouveaux paysages, mais \xE0 avoir de nouveaux yeux.",author:"Marcel Proust"},{cite:"Dans la vie tu as deux choix le matin : soit tu te recouches pour poursuivre ton r\xEAve, soit tu te l\xE8ves pour le r\xE9aliser.",author:"Axel Albanel"},{cite:"La diplomatie, c'est faire et dire les plus vilaines choses de la mani\xE8re la plus \xE9l\xE9gante.",author:"Isaac Goldberg"},{cite:"Choisissez un travail que vous aimez et vous n'aurez pas \xE0 travailler un seul jour de votre vie.",author:"Confucius"},{cite:"L'imagination vaut bien des voyages et elle co\xFBte moins cher.",author:"George William Curtis"},{cite:"Faites que le r\xEAve d\xE9vore votre vie, afin que la vie ne d\xE9vore votre r\xEAve.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Deviens sans cesse celui que tu es, sois le ma\xEEtre et le sculpteur de toi-m\xEAme.",author:"Friederich Nietzsche"},{cite:"La nature nous a donn\xE9 une langue et deux oreilles, afin que nous \xE9coutions le double de ce que nous disons.",author:"Z\xE9non"},{cite:"Chaque baiser est un tremblement de terre.",author:"George Gordon Byron"},{cite:"Un grand \xE9crivain se remarque au nombre de pages qu'il ne publie pas.",author:"St\xE9phane Mallarm\xE9"},{cite:"Fais ce que tu aimes et fais-le souvent.",author:"Anonyme"},{cite:"Aimer savoir est humain, savoir aimer est divin.",author:"Joseph Roux"},{cite:"Plus le visage est s\xE9rieux, plus le sourire est beau.",author:"Fran\xE7ois Ren\xE9 de Chateaubriand"},{cite:"Le sourire que tu envoies revient vers toi.",author:"Proverbe hindou",tags:["proverbe"]},{cite:"Le sourire fait fondre la glace, installe la confiance et gu\xE9rit les blessures, c'est la clef des relations humaines sinc\xE8res.",author:"Voltaire"},{cite:"On n'est jamais puni pour avoir fait mourir de rire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a autant de beaut\xE9s qu'il y a de mani\xE8res habituelles de chercher le bonheur.",author:"Charles Baudelaire"},{cite:"Toute r\xE9v\xE9lation d'un secret est la faute de celui qui l'a confi\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"A celui qui sait attendre tout vient \xE0 temps .",author:"Fran\xE7ois Rabelais"},{cite:"On voyage pour changer, non de lieu, mais d'id\xE9es.",author:"Hippolyte Taine"},{cite:"Fruits et racines ont m\xEAme commune mesure qui est l'arbre.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"La beaut\xE9 est dans les yeux de celui qui regarde.",author:"Oscar Wilde"},{cite:"Les amis sont des compagnons de voyage, qui nous aident \xE0 avancer sur le chemin d\u2019une vie plus heureuse.",author:"Pythagore"},{cite:"Le plaisir est le bonheur des fous, le bonheur est le plaisir des sages.",author:"Jules Barbey d'Aurevilly"},{cite:"La joie est en tout, il suffit de savoir l'extraire.",author:"Confucius"},{cite:"La table est l'entremetteuse de l'amiti\xE9.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Le g\xE9nie, c'est l'enfance retrouv\xE9e \xE0 volont\xE9.",author:"Charles Baudelaire"},{cite:"Le rem\xE8de \xE0 l'ennui c'est la curiosit\xE9. La curiosit\xE9 elle, est sans rem\xE8de.",author:"Anonyme"},{cite:"Il n'est pas de plaisir plus doux que de surprendre un homme en lui donnant plus qu'il n'esp\xE8re.",author:"Charles Baudelaire"},{cite:"Sachez vous \xE9loigner car, lorsque vous reviendrez \xE0 votre travail votre jugement sera plus s\xFBr.",author:"L\xE9onard de Vinci"},{cite:"C'est l'incertitude qui nous charme. Tout devient merveilleux dans la brume.",author:"Oscar Wilde"},{cite:"La bonne volont\xE9 raccourcit le chemin.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Bonne cuisine et bon vin, c'est le paradis sur terre.",author:"Henri IV"},{cite:"La musique est la langue des \xE9motions.",author:"Emmanuel Kant"},{cite:"Gu\xE9rir parfois, soulager souvent, \xE9couter toujours.",author:"Louis Pasteur"},{cite:"Les mots manquent aux \xE9motions.",author:"Victor Hugo"},{cite:"Le plaisir se ramasse la joie se cueille et le bonheur se cultive.",author:"Bouddha"},{cite:"Que ton baiser ait l'ardeur du soleil et la rose te donnera tout son parfum.",author:"Proverbe kurde",tags:["proverbe"]},{cite:"Quand ce que vous pensez, ce que vous dites et ce que vous faites sont en harmonie, le bonheur vous appartient.",author:"Gandhi"},{cite:"Qui veut faire le bonheur des autres a d\xE9j\xE0 fait le sien.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La sagesse, c'est d'avoir des r\xEAves suffisamment grands pour ne pas les perdre de vue lorsqu'on les poursuit.",author:"Oscar Wilde"},{cite:"Eclaire demain avec aujourd'hui !",author:"Elizabeth Barret Browning"},{cite:"Apprends \xE0 \xE9crire tes blessures dans le sable et \xE0 graver tes joies dans la pierre.",author:"Lao Tseu"},{cite:"Maison de paille o\xF9 l'on rit vaut mieux qu'un palais o\xF9 l'on pleure.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Toute l'invention consiste \xE0 faire quelque chose de rien.",author:"Jean Racine"},{cite:"L'id\xE9al de l'amiti\xE9 c'est de se sentir un et de rester deux.",author:"Anne Sophie Swetchine"},{cite:"Un seul homme arm\xE9 de courage vaut une majorit\xE9.",author:"Andrew Jackson"},{cite:"La Tour Eiffel ne devait durer que 20 ans, ... elle est devenue aussi \xE9ternelle que Paris !",author:"Anonyme"},{cite:"En se posant sur la branche, le papillon craint de la briser.",author:"Proverbe arm\xE9nien",tags:["proverbe"]},{cite:"Il ne faut avoir aucun regret pour le pass\xE9, aucun remords pour le pr\xE9sent, et une confiance in\xE9branlable pour l'avenir.",author:"Jean Jaur\xE8s"},{cite:"Un peu de jalousie \xE9veille un amour heureux qui s'endort.",author:"Mme Deshouli\xE8res"},{cite:"La simplicit\xE9 est la sophistication supr\xEAme.",author:"L\xE9onard de Vinci"},{cite:"Supprimons de la vie toute raison d'ennuis : car il est court le temps qui nous est imparti !",author:"M\xE9nandre"},{cite:"Quelque d\xE9licat que l'on soit en amour, on pardonne plus de fautes que dans l'amiti\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"Le travail, en autres avantages, a celui de raccourcir les journ\xE9es et d'\xE9tendre la vie.",author:"Denis Diderot"},{cite:"Si nous prenons la nature pour guide, nous ne nous \xE9garerons jamais.",author:"Cic\xE9ron"},{cite:"L'accent circonflexe est l'hirondelle de l'\xE9criture.",author:"Jules Renard"},{cite:"L'\xE9motion artistique cesse o\xF9 l'analyse et la pens\xE9e interviennent.",author:"Max Jacob"},{cite:"La pens\xE9e n'est qu'un \xE9clair au milieu de la nuit. Mais c'est cet \xE9clair qui est tout.",author:"Henri Poincar\xE9"},{cite:"L'accent est l'\xE2me du discours, il lui donne le sentiment et la v\xE9rit\xE9.",author:"Jean-Jacques Rousseau"},{cite:"La crainte du danger est mille fois plus terrifiante que le danger pr\xE9sent.",author:"Daniel Defoe"},{cite:"La lutte donne au triomphe la saveur de la passion, et la victoire embellit la conqu\xEAte.",author:"Georges Meredith"},{cite:"De toutes les passions, la seule vraiment respectable me parait \xEAtre la gourmandise.",author:"Guy de Maupassant"},{cite:"Jamais les mots ne manquent aux id\xE9es ; ce sont les id\xE9es qui manquent aux mots.",author:"Joseph Joubert"},{cite:"L'\xE2ge auquel on partage tout est g\xE9n\xE9ralement l'\xE2ge o\xF9 on n'a rien.",author:"Alphonse Karr"},{cite:"Une erreur originale vaut mieux qu'une v\xE9rit\xE9 banale.",author:"Fiodor Dosto\xEFevski"},{cite:"Le veinard est celui qui arrive \xE0 tout ; le malchanceux est celui \xE0 qui tout arrive.",author:"Eug\xE8ne Labiche"},{cite:"La seule limite \xE0 notre \xE9panouissement de demain sera nos doutes d'aujourd'hui.",author:"Franklin Delano Roosevelt"},{cite:"Il n'y a pas de moyen pour polir le h\xE9risson.",author:"Aristophane"},{cite:"L'amour qui na\xEEt subitement est le plus long \xE0 gu\xE9rir.",author:"Jean de La Bruy\xE8re"},{cite:"Il n'y a pas de plus grande joie que celle qu'on n'attend pas.",author:"Sophocle"},{cite:"Quand la col\xE8re emplit ton coeur, ne laisse pas ta langue aboyer en vain.",author:"Sappho"},{cite:"Un grain de gaiet\xE9 assaisonne tout.",author:"Baltasar Gracian"},{cite:"Qui rougit est d\xE9j\xE0 coupable, la vraie innocence n'a honte de rien.",author:"Jean-Jacques Rousseau"},{cite:"Il n'y a point de g\xE9nie sans grain de folie.",author:"Aristote"},{cite:"J'aime le lit, c'est le seul endroit o\xF9, comme le chat, je puis faire le mort en respirant, tout en \xE9tant vivant.",author:"Arthur Cravan"},{cite:"Le seul homme \xE0 ne jamais faire d'erreur est celui qui ne fait rien.",author:"Th\xE9odore Roosevelt"},{cite:"Le plus grand voyageur est celui qui a su faire une fois le tour de lui-m\xEAme.",author:"Confucius"},{cite:"C'est la nuit qu'il est beau de croire \xE0 la lumi\xE8re.",author:"Edmond Rostand"},{cite:"Pour l'amour d'une rose, le jardinier devient l'esclave de mille \xE9pines.",author:"Proverbe turc",tags:["proverbe"]},{cite:"D\xE9ploie ton jeune courage, enfant ; c'est ainsi qu'on s'\xE9l\xE8ve jusqu'aux astres.",author:"Virgile"},{cite:"Nul ne veut le bien public que quand il s'accorde avec le sien.",author:"Jean-Jacques Rousseau"},{cite:"On avale \xE0 pleine gorg\xE9e le mensonge qui nous flatte, et l'on boit goutte \xE0 goutte une v\xE9rit\xE9 qui nous est am\xE8re.",author:"Denis Diderot"},{cite:"Appelons hommes de g\xE9nie qui font vite ce que nous faisons lentement.",author:"Joseph Joubert"},{cite:"Rien n'est s\xE9rieux en ce bas monde que le rire.",author:"Gustave Flaubert"},{cite:"Les soucis enlaidissent, c'est la joie qui fait fleurir.",author:"Proverbe berb\xE8re",tags:["proverbe"]},{cite:"Qui fait rire l'esprit se rend ma\xEEtre du coeur.",author:"Cardinal de Bernis"},{cite:"On ne peut apprendre au crabe \xE0 marcher droit.",author:"Aristophane"},{cite:"Ferme les yeux et tu verras.",author:"Joseph Joubert"},{cite:"L'homme le plus heureux est celui qui fait le bonheur d'un plus grand nombre d'autres.",author:"Denis Diderot"},{cite:"A l'oiseau, le nid; \xE0 l'araign\xE9e, la toile; \xE0 l'homme, l'amiti\xE9.",author:"William Blake"},{cite:"Rien ne s'accomplit dans ce monde sans passion.",author:"Georg Whilhelm Friedrich Hegel"},{cite:"N'engage pas de d\xE9bat lors d'un d\xEEner car celui qui n'a pas faim aura le dernier mot.",author:"Richard Whately"},{cite:"Les paroles sages tombent quelquefois dans l'oreille d'un sourd ; mais un mot gentil n'est jamais perdu.",author:"Arthur Helps"},{cite:"Je crois beaucoup en la chance, et je constate que plus je travaille, plus elle me sourit.",author:"Thomas Jefferson"},{cite:"L'exp\xE9rience est un peigne que la nature nous donne une fois que nous sommes chauves.",author:"Proverbe belge",tags:["proverbe"]},{cite:"Le rire et le sommeil sont les meilleurs rem\xE8des du monde.",author:"Proverbe irlandais",tags:["proverbe"]},{cite:"L'enfance est un papillon qui se h\xE2te de br\xFBler ses blanches ailes aux flammes de la jeunesse.",author:"Aloysius Bertrand"},{cite:"La puissance, c'est imposer sa volont\xE9 aux autres. La force, c'est se l'imposer \xE0 soi-m\xEAme.",author:"Lao Zi"},{cite:"A No\xEBl, je n'ai pas plus envie de rose que je ne voudrais de neige au printemps. J'aime chaque saison pour ce qu'elle apporte.",author:"William Shakespeare"},{cite:"Le meilleur secret pour ne jamais tomber c'est de rester toujours assis.",author:"Stendhal"},{cite:"La vari\xE9t\xE9 est la v\xE9ritable \xE9pice de la vie. Qui lui donne toute sa saveur.",author:"William Cowper"},{cite:"Pour retrouver sa jeunesse, il n'y a qu'\xE0 recommencer ses folies.",author:"Th\xE9odore Roosevelt"},{cite:"Le rire que tu offres te sera rendu au centuple.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Pour les habits, rien ne vaut les neufs, pour les amis, rien ne vaut les vieux.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a toujours un peu de folie dans l'amour mais il y a toujours un peu de raison dans la folie.",author:"Friederich Nietzsche"},{cite:"Faire caca, c'est se lib\xE9rer d'un poids.",author:"Camille Richard"},{cite:"L'exp\xE9rience est le nom que l'on donne \xE0 ses erreurs.",author:"Oscar Wilde"},{cite:"Le bonheur est la plus grande des conqu\xEAtes, celle qu'on fait contre le destin qui nous est impos\xE9.",author:"Albert Camus"},{cite:"On ne devrait vivre que pour le plaisir. Rien ne vieillit comme le bonheur.",author:"Oscar Wilde"},{cite:"Ne juge aucun homme avant d'avoir march\xE9 avec ses mocassins durant deux lunes.",author:"Proverbe am\xE9rindien",tags:["proverbe"]},{cite:"Vous ne parviendrez jamais \xE0 faire des sages si vous ne faites d'abord des polissons.",author:"Jean-Jacques Rousseau"},{cite:"Ce qui \xE9tonne, \xE9tonne une fois, mais ce qui est admirable est de plus en plus admir\xE9.",author:"Joseph Joubert"},{cite:"Ce qui est admirable, ce n'est pas que le champ des \xE9toiles soit si vaste, c'est que l'homme l'ait mesur\xE9.",author:"Anatole France"},{cite:"Le tout c'est d'avoir du g\xE9nie \xE0 vingt ans et du talent \xE0 quatre-vingts.",author:"Camille Corot"},{cite:"Une image vaut mille mots.",author:"Confucius"},{cite:"La mesure de l'amour c'est d'aimer sans mesure.",author:"Saint-Augustin"},{cite:"No\xEBl n'est pas un jour ni une saison, c'est un \xE9tat d'esprit.",author:"John Calvin Coolidge"},{cite:"Il n'est pas d'hiver sans neige, de printemps sans soleil, et de joie sans \xEAtre partag\xE9e.",author:"Proverbe serbe",tags:["proverbe"]},{cite:"Les plus beaux mots du monde ne sont que des sons inutiles si vous ne pouvez pas les comprendre.",author:"Anatole France"},{cite:"Si haut que parvienne une chose lanc\xE9e, c'est \xE0 terre qu'elle retourne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"H\xE2te-toi de bien vivre et songe que chaque jour est \xE0 lui seul une vie.",author:"S\xE9n\xE8que"},{cite:"Tout \xE2ge porte ses fruits, il faut savoir les cueillir.",author:"Raymond Radiguet"},{cite:"Nul devoir n'est plus sous-estim\xE9 que celui d'\xEAtre heureux.",author:"Robert Louis Stevenson"},{cite:"Peu de gens ont le courage d'\xEAtre l\xE2ches devant t\xE9moins.",author:"Th\xE9ophile Gautier"},{cite:"L'or te donne la terre, la terre te donne de l'or.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le regard est le m\xE9diateur des coeurs.",author:"Anonyme"},{cite:"Ce n'est pas parce que les choses sont difficiles que nous n'osons pas, c'est parce que nous n'osons pas qu'elles sont difficiles.",author:"S\xE9n\xE8que"},{cite:"En art comme en amour, l'instinct suffit.",author:"Anatole France"},{cite:"Le cadeau, dira-t-on, n'a rien de somptueux, mais venant d'un ami, tout nous est pr\xE9cieux.",author:"Th\xE9ocrite"},{cite:"La franchise ne consiste pas \xE0 dire tout ce que l'on pense mais \xE0 penser tout ce que l'on dit.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Les petits cadeaux entretiennent l'amiti\xE9. Le premier qui a dit dela voulait se faire donner quelque chose.",author:"Eug\xE8ne Scribe"},{cite:"Les premiers sentiments sont toujours les plus naturels.",author:"Madame de S\xE9vign\xE9"},{cite:"Qui ne peut comme il veut, doit vouloir comme il peut.",author:"T\xE9rence"},{cite:"Etre jeune, c'est avoir un esprit qui calcule et un coeur qui ne calcule pas.",author:"Ren\xE9 Bazin"},{cite:"La s\xE9duction supr\xEAme n'est pas d'exprimer ses sentiments. C'est de les faire soup\xE7onner.",author:"Jules Barbey d'Aurevilly"},{cite:"L'action ne doit pas \xEAtre une r\xE9action mais une cr\xE9ation.",author:"Censier (droit f\xE9odal)"},{cite:"On ne devrait s'\xE9tonner que de pouvoir encore s'\xE9tonner.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"Le coeur n'a pas de ma\xEEtre, il n'est pas un esclave, et de toute contrainte il sait briser l'entrave.",author:"Adam Mickiewicz"},{cite:"Le pass\xE9 est un phare, et non un port.",author:"Proverbe russe",tags:["proverbe"]},{cite:"La parole est moiti\xE9 \xE0 celui qui parle, moiti\xE9 \xE0 celui qui \xE9coute.",author:"Michel de Montaigne"},{cite:"Un po\xE8me est un myst\xE8re dont le lecteur doit chercher la clef.",author:"St\xE9phane Mallarm\xE9"},{cite:"La vie est trop courte pour \xEAtre petite.",author:"Proverbe anglais",tags:["proverbe"]},{cite:"Dans une avalanche, aucun flocon ne se sent jamais responsable.",author:"Voltaire"},{cite:"A vingt ans, c'est la volont\xE9 qui r\xE8gne, \xE0 trente ans l'esprit, et \xE0 quarante le jugement.",author:"Benjamin Franklin"},{cite:"Ayez le courage de ne pas savoir un grand nombre de choses afin d'\xE9viter la certitude de ne rien savoir.",author:"Sydney Smith"},{cite:"Je crois pouvoir dire d'un poste \xE9minent et d\xE9licat qu'on y monte plus ais\xE9ment qu'on ne s'y conserve.",author:"Jean de La Bruy\xE8re"},{cite:"Ecrire, c'est d\xE9j\xE0 mettre du noir sur du blanc.",author:"St\xE9phane Mallarm\xE9"},{cite:"Il est temps de vivre la vie que tu t'es imagin\xE9e.",author:"Henry James"},{cite:"Qu'importe aux coeurs unis ce qui change autour d'eux.",author:"Alphonse de Lamartine"},{cite:"N'allez pas l\xE0 o\xF9 le chemin peut mener. Allez l\xE0 o\xF9 il n'y a pas de chemin et laissez une trace.",author:"Ralph Waldo Emerson"},{cite:"Lorsqu'on tire sur un seul fil de la nature, on d\xE9couvre qu'il est attach\xE9 au reste du monde.",author:"John Muir"},{cite:"L'exp\xE9rience est une lanterne que l'on porte sur le dos et qui n'\xE9claire jamais que le chemin parcouru.",author:"Confucius"},{cite:"La nature fait les choses sans se presser, et pourtant tout est accompli.",author:"Lao Zi"},{cite:"Apprends comme si tu devais vivre pour toujours et vis comme si tu devais mourir ce soir !",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Si tu veux \xEAtre heureux, sois-le.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le grand inconv\xE9nient des livres nouveaux est de nous emp\xEAcher de lire les anciens.",author:"Joseph Joubert"},{cite:"On ne doit pas juger du m\xE9rite d'un homme par ses grandes qualit\xE9s, mais par l'usage qu'il en sait faire.",author:"Jean de La Bruy\xE8re"},{cite:"J'ai d\xE9cid\xE9 d'\xEAtre heureux, c'est meilleur pour la sant\xE9.",author:"Voltaire"},{cite:"Un instant de bonheur vaut mille ans dans l'histoire.",author:"Voltaire"},{cite:"Toute beaut\xE9 est une joie \xE9ternelle.",author:"John Keats"},{cite:"J'ai toujours pr\xE9f\xE9r\xE9 la folie des passions \xE0 la sagesse de l'indiff\xE9rence.",author:"Anatole France"},{cite:"Une joie partag\xE9e est une double joie, un chagrin partag\xE9 est un demi-chagrin.",author:"Jacques Deval"},{cite:"Un seul \xEAtre vous manque et tout est d\xE9peupl\xE9.",author:"Alphonse de Lamartine"},{cite:"Si votre coeur est une rose, votre bouche dira des mots parfum\xE9s.",author:"Proverbe russe",tags:["proverbe"]},{cite:"Ce que l'on con\xE7oit bien s'\xE9nonce clairement, et les mots pour le dire arrivent ais\xE9ment.",author:"Nicolas Boileau"},{cite:"Ann\xE9es de cerises rouges met le rire sur les bouches.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Quelle noblesse d'avoir un ami, mais combien plus noble d'\xEAtre un ami.",author:"Richard Wagner"},{cite:"Pour les femmes, la douceur est le meilleur moyen d'avoir raison.",author:"Madame de Maintenon"},{cite:"La perfection est un chemin, non une fin.",author:"Proverbe cor\xE9en",tags:["proverbe"]},{cite:"Quiconque a bu une tasse de chocolat r\xE9siste \xE0 une journ\xE9e de voyage.",author:"Johann Wolfgang Von Goethe"},{cite:"Un des bonheurs de l'amiti\xE9, c'est de savoir \xE0 qui confier un secret.",author:"Alessandro Manzoni"},{cite:"Dis-toi d'abord ce que tu veux \xEAtre, puis fais ce qu'il faut pour le devenir.",author:"Epict\xE8te"},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand"},{cite:"L'art d'\xEAtre tant\xF4t tr\xE8s audacieux et tant\xF4t tr\xE8s prudent est l'art de r\xE9ussir.",author:"Napol\xE9on Bonaparte"},{cite:"L\u2019amour, c\u2019est la fusion, l\u2019identification de deux \xEAtres qui s\u2019admirent et s\u2019adorent l\u2019un l\u2019autre.",author:"George Sand"},{cite:"L'art de l'\xE9crivain consiste surtout \xE0 nous faire oublier qu'il emploie des mots.",author:"Henri Bergson"},{cite:"Le d\xE9sordre est simplement l'ordre que nous ne cherchons pas.",author:"Henri Bergson"},{cite:"Le style est comme le cristal, sa puret\xE9 fait son \xE9clat.",author:"Victor Hugo"},{cite:"L'homme devrait mettre autant d'ardeur \xE0 simplifier sa vie qu'il en met \xE0 la compliquer.",author:"Henri Bergson"},{cite:"Il faut agir en homme de pens\xE9e et penser en homme d'action.",author:"Henri Bergson"},{cite:"R\xEAver c'est se d\xE9sint\xE9resser.",author:"Henri Bergson"},{cite:"Quoi que tu r\xEAves d'entreprendre, commence-le. L'audace a du g\xE9nie, du pouvoir, de la magie.",author:"Johann Wolfgang Von Goethe"},{cite:"En mati\xE8re de sentiment, le manque de logique est la meilleure preuve de la sinc\xE9rit\xE9.",author:"L\xE9on Tolsto\xEF"},{cite:"Le d\xE9faut de l'\xE9galit\xE9, c'est que nous ne la voulons qu'avec nos sup\xE9rieurs.",author:"Henri Becque"},{cite:"Papillon, ce billet doux pli\xE9 cherche une adresse de fleur.",author:"Jules Renard"},{cite:"Si vous voulez que vos r\xEAves se r\xE9alisent, ne dormez pas.",author:"Proverbe juif",tags:["proverbe"]},{cite:"Si les cieux pleurent, la terre vivra.",author:"Proverbe hawaiien",tags:["proverbe"]},{cite:"Les r\xEAves d'un chat sont peupl\xE9s de souris.",author:"Proverbe libanais",tags:["proverbe"]},{cite:"Nul n'est plus chanceux que celui qui croit \xE0 sa chance.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"On peut aussi b\xE2tir quelque chose de beau avec les pierres qui entravent le chemin.",author:"Johann Wolfgang Von Goethe"},{cite:"Tout ce que tu feras sera d\xE9risoire, mais il est essentiel que tu le fasses.",author:"Gandhi"},{cite:"La rose n'a d'\xE9pines que pour celui qui veut la cueillir.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Chaque homme cache en lui un enfant qui veut jouer..",author:"Friederich Nietzsche"},{cite:"Pour savoir o\xF9 l'on va, il faut savoir o\xF9 l'on est.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Sans la musique, la vie serait une erreur.",author:"Friederich Nietzsche"},{cite:"A No\xEBl, amusons-nous, profitons-en, car No\xEBl ce n'est qu'une fois par an.",author:"Thomas Tusser"},{cite:"Un homme sans culture, tel un chat sans moustaches, se sent perdu.",author:"Anonyme"},{cite:"La science d\xE9crit la nature, la po\xE9sie la peint et l'embellit.",author:"Georges-Louis Leclerc de Buffon"},{cite:"Si on ne cultive pas le bonheur comment voulez vous qu'il pousse ?",author:"Po\xE8te inconnu"},{cite:"Une fleur fane m\xEAme si on l'aime ; une mauvaise herbe cro\xEEt m\xEAme si on ne l'aime pas.",author:"D\xF6gen"},{cite:"Quand tu lances la fl\xE8che de la v\xE9rit\xE9, trempe toujours la pointe dans du miel.",author:"Proverbe arabe",tags:["proverbe"]},{cite:"L'esp\xE9rance d'une joie est presque \xE9gale \xE0 la joie.",author:"William Shakespeare"},{cite:"Qui donne ne doit jamais s'en souvenir. Qui re\xE7oit ne doit jamais oublier.",author:"Proverbe h\xE9breu",tags:["proverbe"]},{cite:"Une fois la partie termin\xE9e, le roi et le pion retournent dans la m\xEAme bo\xEEte.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Bien \xEAtre : \xE9tat d'esprit produit par la contemplation des ennuis d'autrui.",author:"Ambrose Bierce"},{cite:"La vie, ce n'est pas d'attendre que l'orage passe, c'est d'apprendre \xE0 danser sous la pluie.",author:"S\xE9n\xE8que"},{cite:"L'humour est une disposition d'esprit qui fait qu'on exprime avec gravit\xE9 des choses frivoles et avec l\xE9g\xE8ret\xE9 des choses s\xE9rieuses.",author:"Afred Capus"},{cite:"Accepter l'id\xE9e d'une d\xE9faite, c'est \xEAtre vaincu.",author:"Mar\xE9chal Foch"},{cite:"Le but n'est pas toujours plac\xE9 pour \xEAtre atteint, mais pour servir de point de mire.",author:"Joseph Joubert"},{cite:"Si on veut conna\xEEtre un peuple, il faut \xE9couter sa musique.",author:"Platon"},{cite:"On peut peindre une fleur, mais pas son odeur.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Parmi les cinq sens, la vue, l'ou\xEFe et l'odorat connaissent moins d'interdits que le toucher et le go\xFBt.",author:"L\xE9onard de Vinci"},{cite:"On n'a jamais fait de grande d\xE9couverte sans hypoth\xE8se audacieuse.",author:"Isaac Newton",tags:["science","audace"]},{cite:"L'exp\xE9rience prouve que celui qui n'a jamais confiance en personne ne sera jamais d\xE9\xE7u.",author:"L\xE9onard de Vinci"},{cite:"L'attention de celui qui \xE9coute sert d'accompagnement dans la musique du discours.",author:"Joseph Joubert"},{cite:"L'homme n'a point de port, le temps n'a pas de rive ; Il coule et nous passons !",author:"Alphonse de Lamartine"},{cite:"On se sert des couleurs, mais on peint avec le sentiment.",author:"Jean Chardin"},{cite:"Si on ne peut pas rire au paradis, je ne tiens pas \xE0 y aller.",author:"Martin Luther"},{cite:"L'amour n'est pas seulement un sentiment, il est un art aussi.",author:"Honor\xE9 de Balzac"},{cite:"Un homme sans culture, c'est comme un z\xE8bre sans rayure. C'est un \xE2ne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Nous pesons rarement dans la m\xEAme balance des offenses que nous faisons et les offenses que l'on nous fait.",author:"Esope"},{cite:"Il faut toujours se r\xE9server le droit de rire le lendemain de ses id\xE9es de la veille.",author:"Napol\xE9on Bonaparte"},{cite:"Le cri du sentiment est toujours absurde ; mais il est sublime parce qu'il est absurde.",author:"Charles Baudelaire"},{cite:"Lorsque les hommes travaillent ensemble, les montagnes se changent en or.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il faut toujours bien faire ce qu'on fait, m\xEAme une folie.",author:"Honor\xE9 de Balzac"},{cite:"Sourire trois fois par tous les jours rend inutile tout m\xE9dicament.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le sourire est le m\xEAme dans toutes les langues.",author:"Proverbe mexicain",tags:["proverbe"]},{cite:"Tout portrait qu'on peint avec \xE2me est un portrait, non du mod\xE8le, mais de l'artiste.",author:"Oscar Wilde"},{cite:"C'est par l'adresse que vaut le b\xFBcheron, bien plus que par la force.",author:"Hom\xE8re"},{cite:"La plus perdue de toutes les journ\xE9es est celle o\xF9 l'on a pas ri.",author:"Nicolas de Chamfort"},{cite:"Nous tissons notre destin, nous le tirons de nous comme l'araign\xE9e de la toile.",author:"Fran\xE7ois Mauriac"},{cite:"Il faut faire le sacrifice de ses pr\xE9f\xE9rences mais pas celui de ses convictions.",author:"Ren\xE9 Bazin"},{cite:"La musique commence l\xE0 o\xF9 s'arr\xEAte le pouvoir des mots.",author:"Richard Wagner"},{cite:"La joie n'est pas dans les choses, elle est en nous.",author:"Richard Wagner"},{cite:"Toute ascension vers un endroit merveilleux se fait par un escalier en spirale.",author:"Fran\xE7ois Bacon"},{cite:"La nature fait les hommes semblables, la vie les rend diff\xE9rents.",author:"Confucius"},{cite:"Une heure de conversation vaut mieux que cinquante lettres.",author:"Madame de S\xE9vign\xE9"},{cite:"Sabot qui brille n'est pas toujours celui qui chausse le mieux.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Ce qui est ha\xEFssable, ne le fait pas \xE0 ton prochain ; c'est l\xE0 toute la loi. Le reste n'est que commentaire.",author:"Rabi Hillel"},{cite:"Un rire sinc\xE8re est un rayon de soleil dans une maison.",author:"William Thackeray"},{cite:"Le bonheur c'est un regard, un mot, un sourire pour ceux qui s'aiment.",author:"Delphine de Girardin"},{cite:"Nous sommes plus curieux du sens des r\xEAves que des choses que nous voyons \xE9veill\xE9s.",author:"Diog\xE8ne"},{cite:"Je ne te dis pas que tu es un bon \xE0 rien, je te dis que tu es mauvais en tout !",author:"Le schpountz"},{cite:"Trouver n'est rien, c'est le plan qui est difficile.",author:"Fiodor Dosto\xEFevski"},{cite:"Le monde ne mourra jamais par manque de merveilles mais uniquement par manque d'\xE9merveillement.",author:"Gilbert Keith Chersterton"},{cite:"La modestie est le meilleur app\xE2t pour aller \xE0 la p\xEAche aux compliments.",author:"Gilbert Keith Chersterton"},{cite:"Une civilisation me parait se d\xE9finir \xE0 la fois pas des questions qu'elle pose et par celles qu'elle ne pose pas.",author:"Andr\xE9 Malraux"},{cite:"Si vous voulez que la vie vous sourit, apportez-lui d'abord votre bonne humeur.",author:"Spinoza"},{cite:"Tant de mains pour transformer ce monde, et si peu de regards pour le contempler !",author:"Julien Gracq"},{cite:"Trois bougies repoussent les t\xE9n\xE8bres ; la v\xE9rit\xE9, la connaissance et les lois de la nature.",author:"Proverbe celtique",tags:["proverbe"]},{cite:"Aimez les yeux ouverts.",author:"Jorge Bucay",tags:["extrait"]},{cite:"La beaut\xE9 des choses existe dans l'esprit de celui qui les contemple.",author:"David Hume"},{cite:"Lire, c'est voyager ; voyager, c'est lire.",author:"Victor Hugo"},{cite:"Le bonheur n'est pas la destination, mais la mani\xE8re de voyager.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Un roman, c'est un miroir qu'on prom\xE8ne le long du chemin.",author:"Stendhal"},{cite:"Le bonheur arrive \xE0 ceux qui rient.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Le bonheur est une chose qui se multiplie quand il se divise.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Il n'est pas de plus lourd fardeau que d'avoir trop de d\xE9sirs.",author:"Lao Zi"},{cite:"Le plaisir de l'habitude est souvent plus doux encore que celui de la nouveaut\xE9.",author:"Marcel Proust"},{cite:"La nuit n'est peut-\xEAtre que la paupi\xE8re du jour.",author:"Omar Khayy\xE2m"},{cite:"La patience est l'art d'esp\xE9rer.",author:"Luc de Vauvenargues"},{cite:"Le bonheur, c'est de continuer \xE0 d\xE9sirer ce qu'on poss\xE8de.",author:"Friederich Nietzsche"},{cite:"Le parfait bonheur ne consiste qu'\xE0 rendre les hommes heureux.",author:"Jean-Baptiste Rousseau"},{cite:"Le soir de la vie apporte avec soi sa lampe.",author:"Joseph Joubert"},{cite:"Les grandes choses peuvent se manifester par de petit signes.",author:"Sigmund Freud"},{cite:"Il n'y a point de chemin vers le bonheur, le bonheur est le chemin.",author:"Lao Tseu"},{cite:"Le bonheur est un r\xEAve d'enfant r\xE9alis\xE9 \xE0 l'\xE2ge adulte.",author:"Sigmund Freud"},{cite:"Fais ton bonheur par le bonheur d'autrui.",author:"Voltaire"},{cite:"Le bonheur est en m\xEAme temps ce qu'il y a de meilleur, de plus beau et de plus agr\xE9able.",author:"Aristote"},{cite:"Il ne faut pas dire oui avec la bouche et non avec le coeur.",author:"Lao Tseu"},{cite:"Ne fais rien dans ta vie, qui te fasse redouter que ton voisin en prenne connaissance.",author:"Epicure"},{cite:"Qu'on me donne six heures pour couper un arbre, j'en passerai quatre \xE0 pr\xE9parer ma hache.",author:"Abraham Lincoln"},{cite:"On met plus de passion \xE0 obtenir ce qu'on n'a pas qu'\xE0 conserver ce qu'on a.",author:"Stendhal"},{cite:"Notre plus grande gloire n'est pas de ne jamais tomber, mais de nous relever chaque fois.",author:"Confucius"},{cite:"Les cons\xE9quences de la col\xE8re sont beaucoup plus graves que les causes.",author:"Marc Aur\xE8le"},{cite:"Chaque coup de col\xE8re est un coup de vieux, chaque sourire est un coup de jeune.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La d\xE9couverte d'un mets nouveau fait plus pour le bonheur du genre humain que la d\xE9couverte d'une \xE9toile.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La science est le savoir organis\xE9. La sagesse est la vie organis\xE9e.",author:"Emmanuel Kant"},{cite:"Si je r\xEAve tout seul, cela reste un r\xEAve. Si nous r\xEAvons ensemble, c'est le d\xE9but de la r\xE9alit\xE9.",author:"Proverbe persan",tags:["pens\xE9e positive","proverbe"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe chinois",tags:["pens\xE9e positive","proverbe"]},{cite:"L'\xE9chec est seulement l'opportunit\xE9 de recommencer d'une fa\xE7on plus intelligente.",author:"Henry Ford"},{cite:"N'attendez pas d'\xEAtre heureux pour sourire. Souriez plut\xF4t afin d'\xEAtre heureux.",author:"Edward L. Kramer"},{cite:"Cherche un arbre et laisse-lui t'apprendre le calme.",author:"Eckhart Tolle"},{cite:"S'\xE9loigner de tout rapproche un peu de l'essentiel.",author:"Lo\xEFc Peyron"},{cite:"Ceux qui r\xEAvent \xE9veill\xE9s ont connaissance de mille choses \xE9chappent \xE0 ceux qui ne r\xEAvent qu'endormis.",author:"Edgar Allan Poe"},{cite:"Qui m'aime me suive, disait le vent.",author:"Sylvain Tesson"},{cite:"Ignore toutes les choses qui t'emp\xEAchent d'avancer, en particulier celles qui sont dans ta t\xEAte.",author:"Meryl Streep"},{cite:"La vie seule ne suffit pas. On a aussi besoin d'un rayon de soleil, de libert\xE9 et d'une petite fleur.",author:"Hans Christian Andersen"},{cite:"Les deux jours les plus importants de votre vie sont le jour o\xF9 vous \xEAtes n\xE9 et le jour o\xF9 vous d\xE9couvrez pourquoi.",author:"Mark Twain"},{cite:"Le bonheur est souvent la seule chose que l'on puisse donner sans l'avoir, et c'est en le donnant qu'on l'acquiert.",author:"Voltaire"},{cite:"La vie, c'est un livre qu'on aime, c'est un enfant qui joue \xE0 vos pieds, un outil qu'on tient bien dans sa main, un banc pour se reposer le soir devant sa maison.",author:"Jean Anouilh",tags:["extrait","Antigone"]},{cite:"Je suis ma propre muse.",author:"Frida Kahlo"},{cite:"\xCAtre heureux ne signifie pas que tout est parfait. Cela signifie que vous avez d\xE9cid\xE9 de regarder au-del\xE0 des imperfections.",author:"Aristote"},{cite:"Seule, je ne peux pas changer le monde, mais je peux jeter une pierre dans l'eau et cr\xE9er de nombreuses ondulations.",author:"M\xE8re Teresa"},{cite:"Tout ce que les hommes ont fait de beau et de bien, ils l'ont fait avec leurs r\xEAves.",author:"Bernard Moitessier"},{cite:"Nous n'avons pas besoin de magie pour changer le monde. Nous portons d\xE9j\xE0 tout le pouvoir dont nous avons besoin \xE0 l'int\xE9rieur de nous.",author:"J. K. Rowling",tags:["bien-\xEAtre"]},{cite:"Un seul moment de joie chasse cent moments de tristesse.",author:"Proverbe chinois",tags:["proverbe","joie"]},{cite:"N'oubliez pas que la terre se r\xE9jouit de sentir vos pieds nus et que les vents joueraient volontiers avec vos cheveux.",author:"Khalil Gibran"},{cite:"Il n'y a pas de honte \xE0 pr\xE9f\xE9rer le bonheur.",author:"Albert Camus"},{cite:"Il n'est jamais trop tard pour devenir ce que l'on aurait pu \xEAtre.",author:"George Eliot"},{cite:"Va prendre tes le\xE7ons dans la nature.",author:"L\xE9onard de Vinci"},{cite:"Le meilleur moment pour planter un arbre, c'\xE9tait il y a vingt ans. Le second, c'est maintenant.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Je ne peux rester sans rien faire... Je vais faire la sieste.",author:"Yvan Audouard"},{cite:"La vie n'est pas faite pour se trouver ; la vie est faite pour se cr\xE9er.",author:"George Bernard Shaw"},{cite:"On voit mourir toute chose anim\xE9e lorsque du corps l'\xE2me subtile part. Je suis le corps, toi la meilleure part: O\xF9 es-tu donc, \xF6 \xE2me bien-aim\xE9e ?",author:"Louise Lab\xE9",tags:["extrait","Sonnet VII"]},{cite:"Dans la vie. Rien n'est \xE0 craindre. Tout est \xE0 comprendre.",author:"Marie Curie"},{cite:"Rien n'est jamais fini. Il suffit d'un peu de bonheur pour que tout recommence.",author:"Emile Zola",tags:["extrait","Germinal"]},{cite:"Entourez-vous de choses qui vous rendent vraiment heureux.",author:"Marie Kondo"},{cite:"Il se faut s'entraider c'est la loi de nature.",author:"Jean de La Fontaine"},{cite:"Apr\xE8s le verbe aimer, aider est le plus beau verbe du monde.",author:"Baronne Berthe Von Suttner"},{cite:"La curiosit\xE9 est une gourmandise: voir, c'est d\xE9vorer.",author:"Victor Hugo"},{cite:"La vie est un d\xE9fi \xE0 relever, un bonheur \xE0 m\xE9riter, une aventure \xE0 tenter.",author:"M\xE8re Teresa"},{cite:"Quelle musique, le silence !",author:"Jean Anouilh"},{cite:"Le temps est notre ami.",author:"Christine Cayol"},{cite:"Sans effort d'imagination, ou de r\xEAves, nous perdons l'excitation des possibilit\xE9s. Apr\xE8s tout, r\xEAver est une sorte de planification.",author:"Gloria Steinen"},{cite:"Je souhaite dans ma maison, Une femme ayant sa raison, Un chat passant parmi les livres, Des amis en toute saison Sans lesquels je ne peux pas vivre.",author:"Guillaume Apollinaire"},{cite:"Gr\xE2ce aux r\xEAves le monde a \xE9t\xE9 r\xE9invent\xE9 plus souvent qu'il n'y a d'\xE9toiles dans le ciel.",author:"Lloyd Jones"},{cite:"Ne garde rien de ce qui t'a fait tant de mal, les lettres, les photos, les listes dee courses, les partitions, les marque-pages. Ne garde rien, ne jette rien non plus, fais-en cadeau \xE0 quelqu'un qui trouvera \xE7a beau.",author:"C\xE9cile Coulon",tags:["extrait","Les Ronces"]},{cite:"Ne laissez personne vous voler votre imagination, votre cr\xE9ativit\xE9 ou votre curiosit\xE9. C'est votre place dans le monde, c'est votre vie.",author:"Mae C. Jemison"},{cite:"Si tu n'arrives pas \xE0 penser, marche ; Si tu penses trop, marche ; Si tu penses mal, marche encore.",author:"Jean Giono"},{cite:"Le ciel \xE9toil\xE9 offre une le\xE7on de sagesse \xE0 qui sait le regarder: s'y perdre. C'est se trouver.",author:"Michel Onfray"},{cite:"Ne renoncez pas \xE0 faire ce que vous voulez vraiment faire. L\xE0 o\xF9 il y a des r\xEAves, de l'amour et de l'inspiration, vous ne pourrez pas vous tromper.",author:"Ella Fitzgerald"},{cite:"Le succ\xE8s est de vous aimer, d'aimer ce que vous faites et d'aimer la fa\xE7on dont vous le faites.",author:"Maya Angelou"},{cite:"Ne cessez jamais d'\xEAtre fantasque. Et ne donnez jamais \xE0 qui que ce soit la responsabilit\xE9 de votre vie..",author:"Mary Oliver"},{cite:"La joie est en tout, il faut savoir l'extraire.",author:"Mary Oliver"},{cite:"La vie est une grande toile vierge: \xE0 vous d'y ajouter le plus de couleurs possible.",author:"Danny Kaye"},{cite:"Quand je me prom\xE8ne, je sens toujours qu'au coin de la rue. Il y a quelque chose de merveilleux qui m'attend.",author:"Sophia Loren"},{cite:"Le bonheur est un seul bouquet : confus l\xE9ger fondant sucr\xE9.",author:"Paul Eluard"},{cite:"Qui s\xE8me le silence r\xE9colte la paix.",author:"Proverbe tha\xEFlandais",tags:["proverbe"]},{cite:"La vie a beaucoup plus d'imagination que nous.",author:"Fran\xE7ois Truffaut"},{cite:"Le vrai bonheur serait de se souvenir du pr\xE9sent.",author:"Jules Renard"},{cite:"Les erreurs ne se regrettent pas, elles s'assument. La peur ne se fuit pas, elle se surmonte. L'amour ne se crie pas, il se prouve !",author:"Simone Weil"},{cite:"Il ne faut pas se mettre en col\xE8re contre les choses, cela ne leur fait absolument rien.",author:"Germaine de Sta\xEBl"},{cite:"Le bout du monde est le fond du jardin contiennent la m\xEAme quantit\xE9 de merveilles.",author:"Christian Bobin"},{cite:"Vivre c'est aider un autre \xE0 vivre.",author:"Jacques de Bourbon Busser"},{cite:"La v\xE9ritable amiti\xE9 ne g\xE8le pas en hiver.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"L'art est le plus beau des mensonges.",author:"Claude Debussy"},{cite:"Ralentissez et tout devient plus beau.",author:"David Lynch"},{cite:"Ecris sur ton coeur que chaque jour est le plus beau jour de l'ann\xE9e.",author:"Ralph Waldo Emerson"},{cite:"Le plus grand \xE9chec est de ne pas avoir le courage d'oser.",author:"Abb\xE9 Pierre"},{cite:"Avant de vous diagnostiquer comme d\xE9pressif ou en \xE9tat de faible estime de vous-m\xEAme, commencez par vous assurer que vous n'\xEAtes juste pas, en fait, entour\xE9 par des trous du cul.",author:"William Gibson"},{cite:"L'app\xE9tit vient en mangeant, la soif disparait en buvant.",author:"Fran\xE7ois Rabelais"},{cite:"Le cr\xE9ateur, en obligeant l'homme \xE0 manger pour vivre, l'y invite par l'app\xE9tit et le r\xE9compense par le plaisir.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La gourmandise commence quand on n'a plus faim.",author:"Alphonse Daudet"},{cite:"Si vous n'\xEAtes pas capable d'un peu de sorcellerie, ce n'est pas la peine de vous m\xEAler de cuisine.",author:"Colette"},{cite:"Bien manger, c'est atteindre le ciel.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Si je p\xE9tais tout ce que j'ai mang\xE9, je serais sur la lune.",author:"Camille Richard"},{cite:"La joie prolonge la vie.",author:"Ben Sira"},{cite:"La bouche garde le silence pour \xE9couter parler le coeur.",author:"Alfred de Musset"},{cite:"Il n'y a qu'une sorte d'amour, mais il y en a mille diff\xE9rentes copies.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"La vie est courte, mais un sourire ne prend qu'une seconde.",author:"Proverbe cubain",tags:["proverbe"]},{cite:"Au milieu de l'hiver, j'ai d\xE9couvert en moi un invincible \xE9t\xE9.",author:"Albert Camus"},{cite:"Le voyage est un retour vers l'essentiel.",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Le bonheur est une petite chose que l'on grignote, assis par terre, au soleil.",author:"Jean Giraudoux"},{cite:"Fais du bien \xE0 ton corps pour que ton \xE2me ait envie d'y rester.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le bonheur a les bras ouverts et les yeux ferm\xE9s.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure"},{cite:"Il faut toujours viser la lune, car m\xEAme en cas d'\xE9chec, on atterrit dans les \xE9toiles.",author:"Oscar Wilde"},{cite:"Vivre de telle sorte qu'il te faille d\xE9sirer revivre, c'est l\xE0 ton devoir.",author:"Nietzsche"},{cite:"Les oreilles et les yeux sont les portes et les fen\xEAtres de l'\xE2me.",author:"Joseph Joubert"},{cite:"Quelle flamme pourrait \xE9galer le rayon de soleil d'un jour d'hiver ?",author:"Henry David Thoreau"},{cite:"Grand est celui qui n'a pas perdu son coeur d'enfant.",author:"Meng-Tsen"},{cite:"Je cherche les petites notes qui s'aiment.",author:"Wolfgang Amadeus Mozart"},{cite:"La vrai g\xE9n\xE9rosit\xE9 envers l'avenir consiste \xE0 tout donner au pr\xE9sent.",author:"Albert Camus",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"L'\xE9t\xE9, un \xE9blouissement comme est la neige, Celle qui vient l\xE9g\xE8re et ne dure pas, et rien de nous n'en trouble la lumi\xE8re D'eau qui s'est condens\xE9e puis s'\xE9vapore.",author:"Yves Bonnefoy",tags:[]},{cite:"No\xEBl n'est pas une saison, c'est un sentiment.",author:"Edna Ferber",tags:["f\xEAte"]},{cite:"No\xEBl est l\xE0, ce joyeux no\xEBl, des cadeaux plein les bras, qui r\xE9chauffe nos coeurs et apporte la joie, jour des plus beaux souvenirs, plus beau jour de l'ann\xE9e.",author:"Washington Irving",tags:["no\xEBl"]},{cite:"La chose la plus commune, d\xE8s qu'on nous la cache, devient un d\xE9lice.",author:"Oscar Wilde",tags:["curiosit\xE9"]},{cite:"Le bonheur n'est pas chose ais\xE9e. Il est tr\xE8s difficile de le trouver en nous, il est impossible de le trouver ailleurs.",author:"Bouddha",tags:["bonheur","pens\xE9e"]},{cite:"Entre amis, il est si beau que le silence soit d'or, mais le rire bon et frais l'est beaucoup plus encore.",author:"Friederich Nietzsche",tags:["amiti\xE9"]},{cite:"L'art vise \xE0 imprimer en nous des sentiments plut\xF4t qu'\xE0 les exprimer.",author:"Henri Bergson",tags:["art"]},{cite:"Les hommes naissent ignorants, pas stupides, la stupidit\xE9 est le r\xE9sultat de l'\xE9ducation.",author:"Bertrand Russell",tags:["\xE9ducation","intelligence"]},{cite:"Il n'y a rien d'impossible quand on s'aime.",author:"George Sand",tags:["amour"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Veux-tu vivre heureux ? Voyage avec deux sacs, l'un pour donner, l'autre pour recevoir.",author:"Johann Wolfgang Von Goethe",tags:["bonheur"]},{cite:"La v\xE9ritable indulgence consiste \xE0 comprendre et \xE0 pardonner les fautes qu'on ne serait pas capable de commettre.",author:"Victor Hugo",tags:["pardon"]},{cite:"Le plus grand secret pour le bonheur, c'est d'\xEAtre bien avec soi.",author:"Bernard Le Bouyer de Fontenelle",tags:["bonheur","bien-\xEAtre"]},{cite:"L'amiti\xE9 double les joies et r\xE9duit de moiti\xE9 les peines.",author:"Francis Bacon",tags:["amiti\xE9"]},{cite:"Tous les tr\xE9sors de la terre ne valent pas le bonheur d'\xEAtre aim\xE9.",author:"Calderon",tags:["amour"]},{cite:"Il y a trois sortes de savoir : le savoir proprement dit, le savoir-faire et le savoir-vivre ; les deux derners dispensent assez bien du premier.",author:"Charles Maurice de Talleyrand-P\xE9rigord",tags:[]},{cite:"Si vous avez confiance en vous-m\xEAme, vous inspirerez confiance aux autres.",author:"Johann Wolfgang Von Goethe",tags:["confiance"]},{cite:"Aimer, ce n'est pas se regarder l'un l'autre, c'est regarder ensemble dans la m\xEAme direction.",author:"Antoine de Saint-Exup\xE9ry",tags:["amour"]},{cite:"Il n'y a qu'un chemin possible pour le bonheur, c'est de cesser de nous tracasser pour des choses qui ne d\xE9pendent pas de notre volont\xE9.",author:"Epict\xE8te",tags:["bonheur"]},{cite:"L\xE0 o\xF9 le coeur est, les pieds n'h\xE9sitent pas \xE0 y aller.",author:"Proverbe togolais",tags:["proverbe"]},{cite:"Vis comme si tu devais mourir demain, apprends comme si tu devais vivre toujours.",author:"Gandhi",tags:["motivation"]},{cite:"Le contraire de la mis\xE8re ce n'est pas la richesse. Le contraire de la mis\xE8re, c'est le partage.",author:"Abb\xE9 Pierre",tags:["partage"]},{cite:"Chaque fois que l'on refuse 1 milliard pour le logement, c'est 10 milliards que l'on pr\xE9pare pour les tribunaux, les prisons, les asiles de fous.",author:"Abb\xE9 Pierre",tags:["perspective"]},{cite:"La vie est un myst\xE8re qu'il faut vivre, et non un probl\xE8me qu'il faut r\xE9soudre.",author:"Gandhi",tags:[]},{cite:"La pens\xE9e n'est qu'un \xE9clair qu milieu de la nuit. Mais c'est un \xE9clair qui est tout.",author:"Henri Pointcar\xE9",tags:[]},{cite:"Le bonheur ne vient pas \xE0 ceux qui l'attendent assis.",author:"Baden-Powell",tags:["bonheur"]},{cite:"Le savant est fier d'avoir tant appris ; le sage est humble d'en savoir si peu.",author:"William Cowper",tags:[]},{cite:"Je ne cherche pas \xE0 conna\xEEtre les r\xE9ponses, je cherche \xE0 comprendre les questions.",author:"Confucius",tags:["savoir"]},{cite:"Rien ne peut r\xE9sister \xE0 l'assaut du rire.",author:"Mark Twain",tags:["rire"]},{cite:"Celui qui a rendu service doit se taire, c'est \xE0 celui qui l'a re\xE7u de parler.",author:"S\xE9n\xE8que",tags:[]},{cite:"Curiosit\xE9 n'est que vanit\xE9. Le plus souvent, on ne veut savoir que pour en parler.",author:"Blaise Pascal",tags:[]},{cite:"L'erreur n'annule pas la valeur de l'effort accompli.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand",tags:[]},{cite:"Le meilleur moyen de teninr sa parole est de ne jamais la donner.",author:"Napol\xE9on Bonaparte",tags:[]},{cite:"Les mots me font l'effet d'un pensionnat de petits gar\xE7ons que la phrase m\xE8ne en promenade.",author:"Georges Courteline",tags:["litt\xE9rature"]},{cite:"Chacun est une lune, avec une face cach\xE9e.",author:"Mark Twain",tags:[]},{cite:"Il faut deux ans pour apprendre \xE0 parler et toute une vie pour apprendre \xE0 se taire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Deux choses instruisent l'homme de toute sa nature : l'instinct et l'exp\xE9rience.",author:"Blaise Pascal",tags:[]},{cite:"La critique est une chose bien commode : on attaque avec un mot, il faut des pages pour se d\xE9fendre.",author:"Jean-Jacques Rousseau",tags:[]},{cite:"L'amour n'est pas aveugle, il est aveuglant.",author:"Yvan Audouard",tags:["amour"]},{cite:"Une lecture amusante est aussi utile \xE0 la sant\xE9 que l'exercice du corps.",author:"Emmanuel Kant",tags:[]},{cite:"Touch\xE9 par l'amour, tout homme devient po\xE8te.",author:"Platon",tags:["amour"]},{cite:"Il n'y a rien de plus triste qu'une vie sans hasard.",author:"Honor\xE9 de Balzac",tags:[]},{cite:"La col\xE8re est comme une avalanche qui se brise sur ce qu'elle brise.",author:"S\xE9n\xE8que",tags:[]},{cite:"Les merveilles naissent sans qu'on les s\xE8me.",author:"Proverbe proven\xE7al",tags:["proverbe"]},{cite:"Le silence est un ami qui ne trahit jamais.",author:"Confucius",tags:[]},{cite:"Ecrire c'est une fa\xE7on sans \xEAtre interrompu.",author:"Jules Renard",tags:[]},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard",tags:["connaissance"]},{cite:"C'est No\xEBl dans le coeur qui met No\xEBl dans l'air.",author:"William Thomas Ellis",tags:["no\xEBl"]},{cite:"Un mois avant, un mois apr\xE8s No\xEBl, le froid est bon et naturel.",author:"Proverbe fran\xE7ais",tags:["adage","proverbe","no\xEBl"]},{cite:"No\xEBl, c'est le printemps de l'esprit ; c'est tout promesse.",author:"Alain",tags:["no\xEBl","Emile-Auguste Chartier","extrait","Les saisons de l'esprit"]},{cite:"Il ne faut pas chercher \xE0 rajouter des ann\xE9es \xE0 sa vie, mais plut\xF4t essayer de rajouter de la vie \xE0 ses ann\xE9es.",author:"John Fitzgerald Kennedy",tags:["vie"]},{cite:"Qu'elle soit n\xE9cessaire, ou m\xEAme justifi\xE9e, ne croyez jamais que la guerre n'est pas un crime.",author:"Ernest Hemingway",tags:["guerre","crime"]},{cite:"La joie de vivre est une \xE9motion contagieuse.",author:"Edward D. Wynot",tags:["bonheur"]},{cite:"La beaut\xE9 commence le jour o\xF9 tu d\xE9cides d'\xEAtre toi-m\xEAme.",author:"Coco Chanel",tags:[]},{cite:"Quand la vie te donne un lundi, plonge-le dans les paillettes et scintille toue la journ\xE9e.",author:"Ella Woodward",tags:["bonheur","difficult\xE9e"]},{cite:"Sors des sentiers battus. Explore. R\xEAve. D\xE9couvre.",author:"Mark Twain",tags:[]},{cite:"Je ne veux d\xE9sormais collectionner que les moments de bonheur.",author:"Stendhal",tags:["bonheur"]},{cite:"Soyez vous-m\xEAme, les autres sont d\xE9j\xE0 pris.",author:"Oscar Wilde",tags:[]},{cite:"Je ne perds jamais, soit je gagne, soit j'apprends.",author:"Nelson Mandela",tags:[]},{cite:"Fais de ta vie un r\xEAve, et d'un r\xEAve une r\xE9alit\xE9.",author:"Antoinde de Saint-Exup\xE9ry",tags:["R\xEAve"]},{cite:"Il n'y a rien de mieux qu'un ami. Sauf peut-\xEAtre un ami avec du chocolat.",author:"Lynda Grayson",tags:["amiti\xE9"]},{cite:"Je peux le faire et le ferai. Vous pouvez commencer \xE0 regarder.",author:"Carry Green",tags:[]},{cite:`"C'est impossible" di la fiert\xE9. "C'est risqu\xE9" dit l'exp\xE9rience. "C'est sans issue" dit la raison."Essayons" mlurmure le coeur.`,author:"William Arthur Ward",tags:[]},{cite:"La vie, c'est comme une bo\xEEte de chocolats, on ne sait jamais sur quoi on va tomber.",author:"Winston groom",tags:["extrait","Forrest Gump"]},{cite:"Donne \xE0 chaque jour la chance de devenir le plus beau jour de ta vie.",author:"Makr Twain",tags:["bonheur"]},{cite:"Tous les enfants ont du g\xE9nie, le tout c'est de le faire appara\xEEtre.",author:"Charlie Chaplin",tags:["enfance"]},{cite:"La vie, c'est comme une bicyclette, il faut avancer pour ne pas perdre l'\xE9quilibre.",author:"Albert Einstein",tags:[]},{cite:"Il ne faut pas attendre d'\xEAtre parfait pour commencer quelque chose de bien.",author:"Abb\xE9 Pierre",tags:[]},{cite:"J'ai un petit c\xF4t\xE9 sir\xE8ne. Certains jours, on dirait que je me suis peign\xE9e avec une fourchette.",author:"Emmanuelle Cortes",tags:[]},{cite:"Il n'y a aucune limite \xE0 ce que nous pouvons accomplir en tant que filles.",author:"Michelle Obama",tags:["f\xE9minisme"]},{cite:"Il y a deux choses qui changent notre vie : les gens que nous rencontrons et les livres que nous lisons.",author:"Harvey MacKay",tags:[]},{cite:"Une journ\xE9e sans rire est une journ\xE9e de perdue.",author:"Charlie Chaplin",tags:["rire","bonheur"]},{cite:"N'oublions pas : un livre, un stylo, un enfant et un enseignant peuvent changer le monde.",author:"Malala Yousazai",tags:[]},{cite:"Don't worry, be happy.",author:"Bob Marley",tags:["Chanson"]},{cite:"I have a dream.",author:"Martin Luther King",tags:[]},{cite:"Neuf personnes sur dix aiment le chocolat ; la dixi\xE8me ment.",author:"John G. Tullius",tags:[]},{cite:"Mais alors, si le monde n'a absolument aucun sens, qu'est ce qui nous emp\xEAche d'en inventer un ?.",author:"Lewis Caroll",tags:[]},{cite:"Le bonheur vient vers ceux qui croient en lui.",author:"Ali Obn Abu Talib",tags:["bonheur"]},{cite:"Pour \xEAtre irrempla\xE7able, il faut \xEAtre diff\xE9rente.",author:"Coco Chanel",tags:[]},{cite:"\xCAtre en vacances, c'est n'avoir rien \xE0 faire et avoir toute la journ\xE9e pour le faire.",author:"Robert Orban",tags:["vacance","oisivet\xE9"]},{cite:"On n'a jamais autant besoin de vacances que lorsqu'on en revient.",author:"Ann Landers",tags:["fatigue"]},{cite:"Celui qui dit que le bonheur ne s'ach\xE8te pas \xE0 oubli\xE9 qu'il y a les petits chiots.",author:"Gene Hill",tags:["bonheur","capitalisme"]},{cite:"Le secret du bonheuret le comble de l'art, c'est de vivre comme tout le monde, en n'\xE9tant comme personne.",author:"Simone de Beauvoir",tags:[]},{cite:"La fin d'une chose marque le commencement d'une nouvelle.",author:"Antoine de Saint-Exup\xE9ry",tags:[]},{cite:"La musique donne une \xE2me \xE0 nos coeurs et des ailes \xE0 la pens\xE9e.",author:"Platon",tags:[]},{cite:"Un sourire co\xFBte moins cher que l'\xE9lectricit\xE9, mais donne autant de lumi\xE8re.",author:"Abb\xE9 Pierre",tags:[]},{cite:"Les grandes choses peuvent se manifester par de petits signes.",author:"Freud",tags:[]},{cite:"Aimer une personne pour son apparence, c'est comme aimer un livre pour sa reliure.",author:"Laure Conan",tags:["amour"]},{cite:"Si nous voulons nous pardonner les uns aux autres, commen\xE7ons d'abord par nous comprendre les uns les autres.",author:"Emma Goldman",tags:["pardon"]},{cite:"Ceux qui ne bougent pas, ne remarquent pas leur cha\xEEnes.",author:"Rosa Luxembourg",tags:["libert\xE9"]},{cite:"La r\xE9volution sera la floraison de l'humanit\xE9 comme l'amour est la floraison du coeur.",author:"Louise Michel",tags:["amour","libert\xE9"]},{cite:"Premier principe : ne jamais se laisser abattre par des personnes ou par des \xE9v\xE9nements.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","caract\xE8re"]},{cite:"Si nous faisions tout ce que nous sommes capables de faire, nous en serions abasourdis.",author:"Thomas Edison",tags:[]},{cite:"Si ta volont\xE9 te l\xE2che, d\xE9passe-la !.",author:"Emily Dickinson",tags:["ostination"]},{cite:"Que cette ann\xE9e vous soit heureuse ; que la paix, le repos et la sant\xE9 vous tiennent lieu de fortune.",author:"Madame de S\xE9vign\xE9",tags:[]},{cite:"Le v\xE9ritable amour ne conna\xEEt ni le soup\xE7on ni la m\xE9fiance.",author:"George Sand",tags:["amour"]},{cite:"Un des bonheurs de l'amiti\xE9 c'est d'avoir \xE0 qui confier un secret.",author:"Alessandro Mansoni",tags:["amiti\xE9"]},{cite:"Le bonheur tient dans la main, il suffit d'un tout petit rien, mais beaucoup de coeur pour qu'il sonne l'heure.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Tout s'arrange sous l'influence d'une pens\xE9e heureuse et optimiste.",author:"George Sand",tags:[]},{cite:"Le courage est le prix que la vie exige pour accorder la paix.",author:"Amelia Earhart",tags:["courage"]},{cite:"Impossible de bien r\xE9fl\xE9chir, de bien aimer, de bien dormir si on n'a pas mang\xE9.",author:"Virginia Woolf",tags:["nourriture"]},{cite:"Chacun rec\xE8le en lui une for\xEAt vierge, une \xE9tendue de neige o\xF9 nul oiseau n'a laiss\xE9 son empreinte.",author:"Virginia Woolf",tags:[]},{cite:"Ma devise - sans limites.",author:"Isadora Duncan",tags:[]},{cite:"Forte comme un homme, plus forte que la plupart d'entre eux.",author:"Lozen",tags:["f\xE9minisme"]},{cite:"L'amour a d'autres yeux que le commun des hommes.",author:"Jean Racine",tags:["amour"]},{cite:"N'oublions jamais que No\xEBl est le souci du vrai partage, ce n'est pas un miracle, mais une fa\xE7on de vivre quotidien.",author:"Josiane Coeijmans",tags:["No\xEBl"]},{cite:"Une lumi\xE8re ici requiert une ombre l\xE0-bas.",author:"Virginia Woolf",tags:[]},{cite:"La femme est pr\xE9cieuse, elle donne naissance aux enfants.",author:"Olympe de Gouges",tags:[]},{cite:"Les plus beaux livres sont ceux qui n'ont jamais \xE9t\xE9 \xE9crits.",author:"Anatole France",tags:["lit\xE9rature"]},{cite:"Je n'enseigne pas aux enfants, je leur donne de la joie.",author:"Isadora Duncan",tags:["bonheur"]},{cite:"La danse est le mouvement de l'univers concentr\xE9 dans un individu.",author:"Isadora Duncan",tags:[]},{cite:"La paresse peut para\xEEtre attrayante, mais le travail apporte la satisfaction.",author:"Anne Frank",tags:["travail"]},{cite:"Un livre, c'est un billet de voyage \xE0 la port\xE9e de tous.",author:"Josiane Coeijmans",tags:["lit\xE9rature"]},{cite:"Tous les secrets de l'\xE2me d'un auteur, toutes sses exp\xE9riences, toutes les qualit\xE9s de son esprit sont grav\xE9s dans son oeuvre.",author:"Virginia Woolf",tags:["lit\xE9rature"]},{cite:"N'oubliez pas qu'il faut prendre la vie avec s\xE9r\xE9nit\xE9 et joie quoi qu'il arrive.",author:"Rosa Luxembourg",tags:["bonheur","joie"]},{cite:"L'humour est le premier des dons \xE0 p\xE9rir dans une langue \xE9trang\xE8re.",author:"Virginia Woolf",tags:["humour"]},{cite:"D'une fa\xE7on g\xE9n\xE9rale, on ne doit pas oublier d'\xEAtre bon, car la bont\xE9, dans les relations avec les hommes, fait bien plus qua la s\xE9v\xE9rit\xE9.",author:"Rosa Luxembourg",tags:[]},{cite:"Prenez-moi tout mais laissez-moi l'extase et je serai plus riche que mes semblables.",author:"Emily Dickinson",tags:["plaisir"]},{cite:"Quand on a bonne conscience, c'est No\xEBl en permanence.",author:"Benjamin Franklin",tags:["honn\xEAtet\xE9"]},{cite:"Si la vie est un roman, prends ta plume et viens \xE9crire avec moi, les plus beaux chapitres.",author:"Josiane Coeijmans",tags:["amour"]},{cite:"Notre plus grande faiblesse r\xE9side dans l'abandon ; la fa\xE7on la plus s\xFBre de r\xE9ussir est d'essayer une autre fois.",author:"Thomas Edison",tags:["succ\xE8s","pers\xE9v\xE9rance"]},{cite:"Le courage croit en osant et la peur en h\xE9sitant.",author:"Proverbe romain",tags:["courage","peur"]},{cite:"Dans les grandes choses, avant l'effort qui r\xE9ussit, il y a presque toujours des efforts qui passent inaper\xE7us.",author:"Laure Conan",tags:[]},{cite:"Le bonheur, c'est cet instant, cette lueur qui embellit le jour et rejaillit sur autrui.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Les choses n'arrivent quasi jamais comme on se les imagine.",author:"Madame de S\xE9vign\xE9",tags:["hasard"]},{cite:"Il n\u2019y a pas plus de raison de trop s\u2019accuser de ses d\xE9fauts que de s\u2019en trop excuser.",author:"Madeleine de Souvr\xE9",tags:["humilit\xE9","confiance"]},{cite:"La nature est \xE9ternellement jeune, belle et g\xE9n\xE9reuse. Elle verse la po\xE9sie et la beaut\xE9 \xE0 tous les \xEAtres, \xE0 toutes les plantes, qu'on laisse s'y d\xE9velopper.",author:"George Sand",tags:[]},{cite:"La famille, c'est l'amour sans regrets et sans amertume.",author:"Ninon de Lenclos",tags:["amour"]},{cite:"Cultive tes pens\xE9es, des fleurs pourraient en fleurir.",author:"Josiane Coeijmans",tags:["pens\xE9e"]},{cite:"Il n'appartient qu'\xE0 celle que le hasard a \xE9lev\xE9e \xE0 une place \xE9minente, de donner du poids \xE0 l'essor des Droits de la Femme et d'en acc\xE9l\xE9rer les succ\xE8s.",author:"Olympe de Gouges",tags:[]},{cite:"L'amour a un caract\xE8re si particulier qu'on ne peut le cacher o\xF9 il est, ni le feindre o\xF9 il n'est pas.",author:"Madeleine de Souvr\xE9",tags:["amour"]},{cite:"La vie chante aussi dans le sable qui craque sous les pas lents et lourds des gardes, quand on sait l'\xE9couter.",author:"Rosa Luxemburg",tags:[]},{cite:"La gastronomie fait trembler d'intelligence nos narines.",author:"Charles Monselet",tags:["\xE9picurien"]},{cite:"Quand on rentre en soi-m\xEAme, on s'aper\xE7oit qu'on poss\xE8de exactement ce que l'on d\xE9sirait.",author:"Simone Weil",tags:[]},{cite:"Les choses ne sont pas bonnes parce qu'elles sont vieilles, elles sont vieilles parce qu'elles sont bonnes.",author:"A. Toulouse",tags:[]},{cite:"Nous devons croire que nous sommes dou\xE9s pour quelque chose, et que cette chose, \xE0 n'importe quel prix, doit \xEAtre atteinte.",author:"Marie Curie",tags:["confiance"]},{cite:"Soyez des hommes ou mieux : des surhommes. Soyez fid\xE8les aux buts trac\xE9s.",author:"Mary Shelley",tags:[]},{cite:"Je suis une femme libre.",author:"Olympe de Gouges",tags:["f\xE9minisme"]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:[]},{cite:"Les chefs-d'oeuvres ne sont jamais que des tentatives heureuses.",author:"George Sand",tags:["chance"]},{cite:"Les d\xE9tails font la perfection, et la perfection n'est pas un d\xE9tail.",author:"L\xE9onard de Vinci",tags:[]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:["amour"]},{cite:"Celui m\xEAme qui veut \xE9crire son r\xEAve se doit d'\xEAtre infiniment \xE9veill\xE9.",author:"Paul Val\xE9ry",tags:[]},{cite:"Le beau est ce qu'on ne peut pas vouloir change.",author:"Simone Weil",tags:[]},{cite:"C'est le miracle de l'amour de n'avoir pas besoin de mots pour se comprendre.",author:"Laure Conan",tags:["amour"]},{cite:"L'attention est la forme la plus rare et la plus pure de la g\xE9n\xE9rosit\xE9.",author:"Simone Weil",tags:[]},{cite:"La famille est le plus doux des liens.",author:"Henri-Fr\xE9d\xE9ric Amiel",tags:["famille"]},{cite:"Sans mes cadeaux, No\xEBl ne serait pas No\xEBl.",author:"Louisa May Alcott",tags:["no\xEBl"]},{cite:"L'esprit cherche et c'est le coeur qui trouve.",author:"George Sand",tags:[]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure",tags:[]},{cite:"La joie est notre \xE9vasion hors du temps.",author:"Simone Weil",tags:["joie","bonheur"]},{cite:"Dans la col\xE8re, rien ne convient mieux que le silence.",author:"Sappho",tags:["col\xE8re"]},{cite:"Pour moi, la plus belle des choses, c'est de voir quelqu'un aimer quelqu'un.",author:"Sappho",tags:["amour"]},{cite:"Nos actions agissent sur nous tout autant que nous agissons sur elles.",author:"George Eliot",tags:["responsabilit\xE9"]},{cite:"Si Zeus voulait donner une reine aux fleurs, la rose r\xE9gnerait sur toutes.",author:"Sappho",tags:["fleur"]},{cite:"Chacun cherche sa route ; nous cherchons la n\xF4tre et nous pensons que le jour o\xF9 le r\xE8gne de la libert\xE9 et de l'\xE9galit\xE9 era arriv\xE9, le genre humain sera heureux.",author:"Louise Michel",tags:[]},{cite:"La plus grande douceur de la vie, c'est d'admirer ce qu'on aime.",author:"Laure Conan",tags:["amour","contemplation"]},{cite:"Le repos est un r\xEAve ; la vie est un orage.",author:"George Sand",tags:[]},{cite:"Nous devons avoir de la pers\xE9v\xE9rance et surtout de la confiance en nous-m\xEAmes.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","confiance"]},{cite:"Vous pouvez toujours donner quelque chose, m\xEAme si c'est seulement de la gentillesse.",author:"Anne Frank",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Il n'est rien de r\xE9el que le r\xEAve et l'amour.",author:"Anna De Noailles",tags:[]},{cite:"Celui qui a bon coeur n'est jamais sot.",author:"George Sand",tags:["gentillesse","intelligence"]}],x=l(S).pipe(p(({cite:s})=>s),u((s,e)=>new n().setId(e).setCite(s.cite).setAuthor(s.author).setTags(s.tags)),c(),m(1));var b=class s{static getStartYear(e){let i=1,a="",t=4;for(;e>i*365&&i<=1e4;)i*=10,a+="0",t--;let r=new Date;return r.setFullYear(parseInt(new Date().getFullYear().toString(10).substr(0,t)+a,0)),r.getFullYear()}static yearIs366Days(e){return new Date(e,1,29).getMonth()===1}static getLastDayOfMonth(e,i){return new Date(e,i+1,0).getDate()}static getNumberOfDayInCurrentYear(e,i){let a=0;for(let t=0;t<=e.getMonth();t++){if(t===e.getMonth()){a+=e.getDate();break}a+=s.getLastDayOfMonth(i,t)}return a}static getStackOfYears(e,i){let a=[],t=e.getFullYear();if(t===i)return a[t]=s.getNumberOfDayInCurrentYear(e,t),a;for(let r=i;r<=t;r++){if(r===t){a[r]=s.getNumberOfDayInCurrentYear(e,r);break}a[r]=s.yearIs366Days(r)?366:365}return a}static getCiteOfTheDay(e){let i=s.getStartYear(e.length),t=s.getStackOfYears(new Date,i).reduce((o,C)=>o+C),r=0;for(let o=1;o<=t;o++){if(r===e.length){r=0;continue}r++}return e[r]}};var N=(()=>{let e=class e{constructor(a){this.router=a,this.originalCites=[],this.cites=new f([]),this.cites$=this.cites.asObservable().pipe(u(t=>t.map(r=>{let o=new n;return o.setId(r.getId()).setAuthor(r.getAuthor()).setCite(r.getCite()).setTags(r.getTags()),o})),p(),m(1)),this.count=0,x.pipe(g(t=>this.originalCites=t),g(t=>this.count=t.length),v(()=>this.reset())).subscribe()}reset(){return d(this.originalCites).pipe(h(a=>!!a),g(a=>this.cites.next(a)))}search(a){return this.cites.getValue()?d(this.cites.getValue()).pipe(v(t=>l(t)),h(t=>a?t&&(t.getCite().toLowerCase().includes(a.toLowerCase())||t.getAuthor().toLowerCase().includes(a.toLowerCase())||t.getTags().includes(a.toLowerCase())):!0),c()):q}searchByAuthor(a){return this.cites.getValue()?d(this.cites.getValue()).pipe(v(t=>l(t)),h(t=>t&&t.getAuthor().toLowerCase().includes(a.toLowerCase())),c()):q}countSearchFoundCites(){return this.router.snapshot?.queryParams.q?this.count:(this.originalCites&&(this.count=this.originalCites.length),this.count)}getCiteOfTheDay(){return this.cites.pipe(u(a=>b.getCiteOfTheDay(a)))}getRandomCite(){return this.cites.pipe(u(a=>a[Math.floor(Math.random()*a.length)]))}};e.\u0275fac=function(t){return new(t||e)(y(j))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let s=e;return s})();export{N as a}; +import{a as j}from"./chunk-IWPG2T2Y.mjs";import{C as m,F as p,Q as v,S as g,U as L,Y as y,f,g as q,h as l,i as d,m as u,w as h,y as c}from"./chunk-JHH2AAIU.mjs";var n=class{constructor(){this.tags=[],this.tags=[]}getId(){return this.id}setId(e){return this.id=e,this}getAuthor(){return this.author}setAuthor(e){return this.author=e,this}getCite(){return this.cite}setCite(e){return this.cite=e,this}getTags(){return this.tags??[]}setTags(e=[]){return e===void 0?this:(this.tags=e,this)}addTag(e){return this.tags&&!this.tags.includes(e.trim())&&this.tags.push(e.trim()),this}hasTags(){return!!this.tags.length}};var S=[{cite:"Chaque commencement rec\xE8le une magie cach\xE9e.",author:"Hermann Hesse",tags:["espoir"]},{cite:"Rarement nous pensons \xE0 ce que nous avons, mais souvent \xE0 ce qui nous manque.",author:"Arthur Schopenhauer",tags:["simplicit\xE9"]},{cite:"Comme le dauphin j'ai le dos fin.",author:"Ma\xEEtre Reiki Kanak"},{cite:"L'\xE2me porte les couleurs de tes pens\xE9es.",author:"Marc Aur\xE8le"},{cite:"Apprenons \xE0 tendre la main pas seulement pour recevoir, mais \xE9galement pour donner.",author:"Wembo Jah Olela",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Peu importe o\xF9 nous sommes, ma maison n'est pas un lieu, ma maison c'est toi.",author:"Fynn Kliemann",tags:["amour"]},{cite:"Pour faire du bien, personne n'a besoin de r\xE9fl\xE9chir.",author:"Johann Wolfgang Von Goethe",tags:["bienveillance"]},{cite:"Il n'y a que deux fa\xE7ons de vivre sa vie : l'une en faisant comme si rien n'\xE9tait un miracle, l'autre en faisant comme si tout \xE9tait un miracle.",author:"Albert Einstein",tags:["joie"]},{cite:"La facult\xE9 de se mettre dans la peau des autres et de r\xE9fl\xE9chir \xE0 la mani\xE8re dont on agirait \xE0 leur place est tr\xE8s utile si on veut apprendre \xE0 aimer quelqu'un.",author:"Dalai Lama",tags:["amour"]},{cite:"R\xE9pands tes bienfaits sur tes amis, pour qu'ils t'aiment plus tendrement encore ; r\xE9pands-les sur tes ennemis, pour qu'ils deviennent enfin tes amis.",author:"Cl\xE9obus de Lindos",tags:["amiti\xE9"]},{cite:"Souris au monde et le monde te sourira.",author:"Soeur Emmanuelle",tags:["joie"]},{cite:"L'humour a non seulement quelque chose de lib\xE9rateur, mais encore quelque chose de sublime et d'\xE9lev\xE9.",author:"Sigmund Freud",tags:["rire"]},{cite:"On ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Seuls les sens peuvent gu\xE9rir l'\xE2me, tout comme l'\xE2me seule peut gu\xE9rir les sens.",author:"Oscar Wilde"},{cite:"L'amour n'est pas dans l'autre, il est en nous-m\xEAmes ; nous le r\xE9veillons. Mais pour ce r\xE9veil, nous avons besoin de l'autre.",author:"Paulo Coelho"},{cite:"L'ornement de la main, ce sont ses doigts.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'optimiste rit pour oublier ; le pessimiste oublie de rire.",author:"Anonyme"},{cite:"Parfois on ne per\xE7oit l'amour car la vie quotidienne peut nous rendre aveugle.",author:"Anonyme"},{cite:"Ecouter, c'est aimer.",author:"Fran\xE7ois Lelord",tags:["amour"]},{cite:"Si tu veux la lune, ne te cache pas durant la nuit. Si tu veux une rose, n'aie pas peur des \xE9pines. Si tu veux l'amour, ne cache pas ta vrai personne.",author:"Rumi",tags:["amour"]},{cite:"Les r\xEAves \xE9veill\xE9s maintiennent notre \xE9quilibre mental.",author:"Elisabeth Maria Maurer"},{cite:"L'\xE9nergie suit les pens\xE9es.",author:"Tony Robbins"},{cite:"Les questions sont les cl\xE9s pour acc\xE9der au tr\xE9sors.",author:"Georg-Wilhelm Exler"},{cite:"L'amour ne voit pas avec les yeux mais avec l'\xE2me.",author:"William Shakespeare"},{cite:"L'espoir, c'est rentrer sous la pluie et sortir sous un beau soleil.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Les folies sont les seules choses qu'on ne regrette jamais.",author:"Oscar Wilde"},{cite:"Un sourire est une clef secr\xE8te qui ouvre bien des coeurs.",author:"Baden-Powell"},{cite:"Le chocolat plonge des \xEAtres par ailleurs normaux dans d'\xE9tranges \xE9tats extatiques.",author:"John West"},{cite:"On a deux vies. La deuxi\xE8me commence le jour o\xF9 on r\xE9alise qu'on en a juste une.",author:"Confucius"},{cite:"Je vais \xEAtre jaloux de cette tour. Elle est plus c\xE9l\xE8bre que moi.",author:"Gustave Eiffel"},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard"},{cite:"Nous portons en nous des merveilles que nous cherchons en dehors de nous.",author:"Thomas Browne"},{cite:"L\xE0 o\xF9 l'on s'aime il ne fait jamais nuit.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Le risque de prendre une mauvaise d\xE9cision n'est rien compar\xE9 \xE0 la terreur de l'ind\xE9cision.",author:"Maimonide"},{cite:"En tentant l'impossible, on peut atteindre le plus haut niveau du possible.",author:"August Strindberg"},{cite:"Souris \xE0 la vie pour qu'elle te sourit.",author:"Proverbe tunisien",tags:["proverbe"]},{cite:"A coeur vaillant rien d'impossible.",author:"Jacques Coeur"},{cite:"L'important n'est pas ce que l'on regarde mais ce que l'on voit.",author:"Henry David Thoreau"},{cite:"A travers les feuilles d'un bon livre, on pourra entendre un \xE9cho qui ressemble aux bruits des f\xF4rets.",author:"Henry David Thoreau"},{cite:"Assure-toi que la bougie est allum\xE9e avant d'\xE9teindre l'allumette.",author:"Proverbe cr\xE9ole",tags:["proverbe"]},{cite:"Quand l'amour grandit en toi, la beaut\xE9 fat de m\xEAme. Car l'amour est la beaut\xE9 de l'\xE2me.",author:"Marcel Proust"},{cite:"Le v\xE9ritable voyage de d\xE9couverte ne consiste pas \xE0 chercher de nouveaux paysages, mais \xE0 avoir de nouveaux yeux.",author:"Marcel Proust"},{cite:"Dans la vie tu as deux choix le matin : soit tu te recouches pour poursuivre ton r\xEAve, soit tu te l\xE8ves pour le r\xE9aliser.",author:"Axel Albanel"},{cite:"La diplomatie, c'est faire et dire les plus vilaines choses de la mani\xE8re la plus \xE9l\xE9gante.",author:"Isaac Goldberg"},{cite:"Choisissez un travail que vous aimez et vous n'aurez pas \xE0 travailler un seul jour de votre vie.",author:"Confucius"},{cite:"L'imagination vaut bien des voyages et elle co\xFBte moins cher.",author:"George William Curtis"},{cite:"Faites que le r\xEAve d\xE9vore votre vie, afin que la vie ne d\xE9vore votre r\xEAve.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"Deviens sans cesse celui que tu es, sois le ma\xEEtre et le sculpteur de toi-m\xEAme.",author:"Friederich Nietzsche"},{cite:"La nature nous a donn\xE9 une langue et deux oreilles, afin que nous \xE9coutions le double de ce que nous disons.",author:"Z\xE9non"},{cite:"Chaque baiser est un tremblement de terre.",author:"George Gordon Byron"},{cite:"Un grand \xE9crivain se remarque au nombre de pages qu'il ne publie pas.",author:"St\xE9phane Mallarm\xE9"},{cite:"Fais ce que tu aimes et fais-le souvent.",author:"Anonyme"},{cite:"Aimer savoir est humain, savoir aimer est divin.",author:"Joseph Roux"},{cite:"Plus le visage est s\xE9rieux, plus le sourire est beau.",author:"Fran\xE7ois Ren\xE9 de Chateaubriand"},{cite:"Le sourire que tu envoies revient vers toi.",author:"Proverbe hindou",tags:["proverbe"]},{cite:"Le sourire fait fondre la glace, installe la confiance et gu\xE9rit les blessures, c'est la clef des relations humaines sinc\xE8res.",author:"Voltaire"},{cite:"On n'est jamais puni pour avoir fait mourir de rire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a autant de beaut\xE9s qu'il y a de mani\xE8res habituelles de chercher le bonheur.",author:"Charles Baudelaire"},{cite:"Toute r\xE9v\xE9lation d'un secret est la faute de celui qui l'a confi\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"A celui qui sait attendre tout vient \xE0 temps .",author:"Fran\xE7ois Rabelais"},{cite:"On voyage pour changer, non de lieu, mais d'id\xE9es.",author:"Hippolyte Taine"},{cite:"Fruits et racines ont m\xEAme commune mesure qui est l'arbre.",author:"Antoine de Saint-Exup\xE9ry"},{cite:"La beaut\xE9 est dans les yeux de celui qui regarde.",author:"Oscar Wilde"},{cite:"Les amis sont des compagnons de voyage, qui nous aident \xE0 avancer sur le chemin d\u2019une vie plus heureuse.",author:"Pythagore"},{cite:"Le plaisir est le bonheur des fous, le bonheur est le plaisir des sages.",author:"Jules Barbey d'Aurevilly"},{cite:"La joie est en tout, il suffit de savoir l'extraire.",author:"Confucius"},{cite:"La table est l'entremetteuse de l'amiti\xE9.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Le g\xE9nie, c'est l'enfance retrouv\xE9e \xE0 volont\xE9.",author:"Charles Baudelaire"},{cite:"Le rem\xE8de \xE0 l'ennui c'est la curiosit\xE9. La curiosit\xE9 elle, est sans rem\xE8de.",author:"Anonyme"},{cite:"Il n'est pas de plaisir plus doux que de surprendre un homme en lui donnant plus qu'il n'esp\xE8re.",author:"Charles Baudelaire"},{cite:"Sachez vous \xE9loigner car, lorsque vous reviendrez \xE0 votre travail votre jugement sera plus s\xFBr.",author:"L\xE9onard de Vinci"},{cite:"C'est l'incertitude qui nous charme. Tout devient merveilleux dans la brume.",author:"Oscar Wilde"},{cite:"La bonne volont\xE9 raccourcit le chemin.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Bonne cuisine et bon vin, c'est le paradis sur terre.",author:"Henri IV"},{cite:"La musique est la langue des \xE9motions.",author:"Emmanuel Kant"},{cite:"Gu\xE9rir parfois, soulager souvent, \xE9couter toujours.",author:"Louis Pasteur"},{cite:"Les mots manquent aux \xE9motions.",author:"Victor Hugo"},{cite:"Le plaisir se ramasse la joie se cueille et le bonheur se cultive.",author:"Bouddha"},{cite:"Que ton baiser ait l'ardeur du soleil et la rose te donnera tout son parfum.",author:"Proverbe kurde",tags:["proverbe"]},{cite:"Quand ce que vous pensez, ce que vous dites et ce que vous faites sont en harmonie, le bonheur vous appartient.",author:"Gandhi"},{cite:"Qui veut faire le bonheur des autres a d\xE9j\xE0 fait le sien.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La sagesse, c'est d'avoir des r\xEAves suffisamment grands pour ne pas les perdre de vue lorsqu'on les poursuit.",author:"Oscar Wilde"},{cite:"Eclaire demain avec aujourd'hui !",author:"Elizabeth Barret Browning"},{cite:"Apprends \xE0 \xE9crire tes blessures dans le sable et \xE0 graver tes joies dans la pierre.",author:"Lao Tseu"},{cite:"Maison de paille o\xF9 l'on rit vaut mieux qu'un palais o\xF9 l'on pleure.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Toute l'invention consiste \xE0 faire quelque chose de rien.",author:"Jean Racine"},{cite:"L'id\xE9al de l'amiti\xE9 c'est de se sentir un et de rester deux.",author:"Anne Sophie Swetchine"},{cite:"Un seul homme arm\xE9 de courage vaut une majorit\xE9.",author:"Andrew Jackson"},{cite:"La Tour Eiffel ne devait durer que 20 ans, ... elle est devenue aussi \xE9ternelle que Paris !",author:"Anonyme"},{cite:"En se posant sur la branche, le papillon craint de la briser.",author:"Proverbe arm\xE9nien",tags:["proverbe"]},{cite:"Il ne faut avoir aucun regret pour le pass\xE9, aucun remords pour le pr\xE9sent, et une confiance in\xE9branlable pour l'avenir.",author:"Jean Jaur\xE8s"},{cite:"Un peu de jalousie \xE9veille un amour heureux qui s'endort.",author:"Mme Deshouli\xE8res"},{cite:"La simplicit\xE9 est la sophistication supr\xEAme.",author:"L\xE9onard de Vinci"},{cite:"Supprimons de la vie toute raison d'ennuis : car il est court le temps qui nous est imparti !",author:"M\xE9nandre"},{cite:"Quelque d\xE9licat que l'on soit en amour, on pardonne plus de fautes que dans l'amiti\xE9.",author:"Jean de La Bruy\xE8re"},{cite:"Le travail, en autres avantages, a celui de raccourcir les journ\xE9es et d'\xE9tendre la vie.",author:"Denis Diderot"},{cite:"Si nous prenons la nature pour guide, nous ne nous \xE9garerons jamais.",author:"Cic\xE9ron"},{cite:"L'accent circonflexe est l'hirondelle de l'\xE9criture.",author:"Jules Renard"},{cite:"L'\xE9motion artistique cesse o\xF9 l'analyse et la pens\xE9e interviennent.",author:"Max Jacob"},{cite:"La pens\xE9e n'est qu'un \xE9clair au milieu de la nuit. Mais c'est cet \xE9clair qui est tout.",author:"Henri Poincar\xE9"},{cite:"L'accent est l'\xE2me du discours, il lui donne le sentiment et la v\xE9rit\xE9.",author:"Jean-Jacques Rousseau"},{cite:"La crainte du danger est mille fois plus terrifiante que le danger pr\xE9sent.",author:"Daniel Defoe"},{cite:"La lutte donne au triomphe la saveur de la passion, et la victoire embellit la conqu\xEAte.",author:"Georges Meredith"},{cite:"De toutes les passions, la seule vraiment respectable me parait \xEAtre la gourmandise.",author:"Guy de Maupassant"},{cite:"Jamais les mots ne manquent aux id\xE9es ; ce sont les id\xE9es qui manquent aux mots.",author:"Joseph Joubert"},{cite:"L'\xE2ge auquel on partage tout est g\xE9n\xE9ralement l'\xE2ge o\xF9 on n'a rien.",author:"Alphonse Karr"},{cite:"Une erreur originale vaut mieux qu'une v\xE9rit\xE9 banale.",author:"Fiodor Dosto\xEFevski"},{cite:"Le veinard est celui qui arrive \xE0 tout ; le malchanceux est celui \xE0 qui tout arrive.",author:"Eug\xE8ne Labiche"},{cite:"La seule limite \xE0 notre \xE9panouissement de demain sera nos doutes d'aujourd'hui.",author:"Franklin Delano Roosevelt"},{cite:"Il n'y a pas de moyen pour polir le h\xE9risson.",author:"Aristophane"},{cite:"L'amour qui na\xEEt subitement est le plus long \xE0 gu\xE9rir.",author:"Jean de La Bruy\xE8re"},{cite:"Il n'y a pas de plus grande joie que celle qu'on n'attend pas.",author:"Sophocle"},{cite:"Quand la col\xE8re emplit ton coeur, ne laisse pas ta langue aboyer en vain.",author:"Sappho"},{cite:"Un grain de gaiet\xE9 assaisonne tout.",author:"Baltasar Gracian"},{cite:"Qui rougit est d\xE9j\xE0 coupable, la vraie innocence n'a honte de rien.",author:"Jean-Jacques Rousseau"},{cite:"Il n'y a point de g\xE9nie sans grain de folie.",author:"Aristote"},{cite:"J'aime le lit, c'est le seul endroit o\xF9, comme le chat, je puis faire le mort en respirant, tout en \xE9tant vivant.",author:"Arthur Cravan"},{cite:"Le seul homme \xE0 ne jamais faire d'erreur est celui qui ne fait rien.",author:"Th\xE9odore Roosevelt"},{cite:"Le plus grand voyageur est celui qui a su faire une fois le tour de lui-m\xEAme.",author:"Confucius"},{cite:"C'est la nuit qu'il est beau de croire \xE0 la lumi\xE8re.",author:"Edmond Rostand"},{cite:"Pour l'amour d'une rose, le jardinier devient l'esclave de mille \xE9pines.",author:"Proverbe turc",tags:["proverbe"]},{cite:"D\xE9ploie ton jeune courage, enfant ; c'est ainsi qu'on s'\xE9l\xE8ve jusqu'aux astres.",author:"Virgile"},{cite:"Nul ne veut le bien public que quand il s'accorde avec le sien.",author:"Jean-Jacques Rousseau"},{cite:"On avale \xE0 pleine gorg\xE9e le mensonge qui nous flatte, et l'on boit goutte \xE0 goutte une v\xE9rit\xE9 qui nous est am\xE8re.",author:"Denis Diderot"},{cite:"Appelons hommes de g\xE9nie qui font vite ce que nous faisons lentement.",author:"Joseph Joubert"},{cite:"Rien n'est s\xE9rieux en ce bas monde que le rire.",author:"Gustave Flaubert"},{cite:"Les soucis enlaidissent, c'est la joie qui fait fleurir.",author:"Proverbe berb\xE8re",tags:["proverbe"]},{cite:"Qui fait rire l'esprit se rend ma\xEEtre du coeur.",author:"Cardinal de Bernis"},{cite:"On ne peut apprendre au crabe \xE0 marcher droit.",author:"Aristophane"},{cite:"Ferme les yeux et tu verras.",author:"Joseph Joubert"},{cite:"L'homme le plus heureux est celui qui fait le bonheur d'un plus grand nombre d'autres.",author:"Denis Diderot"},{cite:"A l'oiseau, le nid; \xE0 l'araign\xE9e, la toile; \xE0 l'homme, l'amiti\xE9.",author:"William Blake"},{cite:"Rien ne s'accomplit dans ce monde sans passion.",author:"Georg Whilhelm Friedrich Hegel"},{cite:"N'engage pas de d\xE9bat lors d'un d\xEEner car celui qui n'a pas faim aura le dernier mot.",author:"Richard Whately"},{cite:"Les paroles sages tombent quelquefois dans l'oreille d'un sourd ; mais un mot gentil n'est jamais perdu.",author:"Arthur Helps"},{cite:"Je crois beaucoup en la chance, et je constate que plus je travaille, plus elle me sourit.",author:"Thomas Jefferson"},{cite:"L'exp\xE9rience est un peigne que la nature nous donne une fois que nous sommes chauves.",author:"Proverbe belge",tags:["proverbe"]},{cite:"Le rire et le sommeil sont les meilleurs rem\xE8des du monde.",author:"Proverbe irlandais",tags:["proverbe"]},{cite:"L'enfance est un papillon qui se h\xE2te de br\xFBler ses blanches ailes aux flammes de la jeunesse.",author:"Aloysius Bertrand"},{cite:"La puissance, c'est imposer sa volont\xE9 aux autres. La force, c'est se l'imposer \xE0 soi-m\xEAme.",author:"Lao Zi"},{cite:"A No\xEBl, je n'ai pas plus envie de rose que je ne voudrais de neige au printemps. J'aime chaque saison pour ce qu'elle apporte.",author:"William Shakespeare"},{cite:"Le meilleur secret pour ne jamais tomber c'est de rester toujours assis.",author:"Stendhal"},{cite:"La vari\xE9t\xE9 est la v\xE9ritable \xE9pice de la vie. Qui lui donne toute sa saveur.",author:"William Cowper"},{cite:"Pour retrouver sa jeunesse, il n'y a qu'\xE0 recommencer ses folies.",author:"Th\xE9odore Roosevelt"},{cite:"Le rire que tu offres te sera rendu au centuple.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Pour les habits, rien ne vaut les neufs, pour les amis, rien ne vaut les vieux.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il y a toujours un peu de folie dans l'amour mais il y a toujours un peu de raison dans la folie.",author:"Friederich Nietzsche"},{cite:"Faire caca, c'est se lib\xE9rer d'un poids.",author:"Camille Richard"},{cite:"L'exp\xE9rience est le nom que l'on donne \xE0 ses erreurs.",author:"Oscar Wilde"},{cite:"Le bonheur est la plus grande des conqu\xEAtes, celle qu'on fait contre le destin qui nous est impos\xE9.",author:"Albert Camus"},{cite:"On ne devrait vivre que pour le plaisir. Rien ne vieillit comme le bonheur.",author:"Oscar Wilde"},{cite:"Ne juge aucun homme avant d'avoir march\xE9 avec ses mocassins durant deux lunes.",author:"Proverbe am\xE9rindien",tags:["proverbe"]},{cite:"Vous ne parviendrez jamais \xE0 faire des sages si vous ne faites d'abord des polissons.",author:"Jean-Jacques Rousseau"},{cite:"Ce qui \xE9tonne, \xE9tonne une fois, mais ce qui est admirable est de plus en plus admir\xE9.",author:"Joseph Joubert"},{cite:"Ce qui est admirable, ce n'est pas que le champ des \xE9toiles soit si vaste, c'est que l'homme l'ait mesur\xE9.",author:"Anatole France"},{cite:"Le tout c'est d'avoir du g\xE9nie \xE0 vingt ans et du talent \xE0 quatre-vingts.",author:"Camille Corot"},{cite:"Une image vaut mille mots.",author:"Confucius"},{cite:"La mesure de l'amour c'est d'aimer sans mesure.",author:"Saint-Augustin"},{cite:"No\xEBl n'est pas un jour ni une saison, c'est un \xE9tat d'esprit.",author:"John Calvin Coolidge"},{cite:"Il n'est pas d'hiver sans neige, de printemps sans soleil, et de joie sans \xEAtre partag\xE9e.",author:"Proverbe serbe",tags:["proverbe"]},{cite:"Les plus beaux mots du monde ne sont que des sons inutiles si vous ne pouvez pas les comprendre.",author:"Anatole France"},{cite:"Si haut que parvienne une chose lanc\xE9e, c'est \xE0 terre qu'elle retourne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"H\xE2te-toi de bien vivre et songe que chaque jour est \xE0 lui seul une vie.",author:"S\xE9n\xE8que"},{cite:"Tout \xE2ge porte ses fruits, il faut savoir les cueillir.",author:"Raymond Radiguet"},{cite:"Nul devoir n'est plus sous-estim\xE9 que celui d'\xEAtre heureux.",author:"Robert Louis Stevenson"},{cite:"Peu de gens ont le courage d'\xEAtre l\xE2ches devant t\xE9moins.",author:"Th\xE9ophile Gautier"},{cite:"L'or te donne la terre, la terre te donne de l'or.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le regard est le m\xE9diateur des coeurs.",author:"Anonyme"},{cite:"Ce n'est pas parce que les choses sont difficiles que nous n'osons pas, c'est parce que nous n'osons pas qu'elles sont difficiles.",author:"S\xE9n\xE8que"},{cite:"En art comme en amour, l'instinct suffit.",author:"Anatole France"},{cite:"Le cadeau, dira-t-on, n'a rien de somptueux, mais venant d'un ami, tout nous est pr\xE9cieux.",author:"Th\xE9ocrite"},{cite:"La franchise ne consiste pas \xE0 dire tout ce que l'on pense mais \xE0 penser tout ce que l'on dit.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Les petits cadeaux entretiennent l'amiti\xE9. Le premier qui a dit dela voulait se faire donner quelque chose.",author:"Eug\xE8ne Scribe"},{cite:"Les premiers sentiments sont toujours les plus naturels.",author:"Madame de S\xE9vign\xE9"},{cite:"Qui ne peut comme il veut, doit vouloir comme il peut.",author:"T\xE9rence"},{cite:"Etre jeune, c'est avoir un esprit qui calcule et un coeur qui ne calcule pas.",author:"Ren\xE9 Bazin"},{cite:"La s\xE9duction supr\xEAme n'est pas d'exprimer ses sentiments. C'est de les faire soup\xE7onner.",author:"Jules Barbey d'Aurevilly"},{cite:"L'action ne doit pas \xEAtre une r\xE9action mais une cr\xE9ation.",author:"Censier (droit f\xE9odal)"},{cite:"On ne devrait s'\xE9tonner que de pouvoir encore s'\xE9tonner.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"Le coeur n'a pas de ma\xEEtre, il n'est pas un esclave, et de toute contrainte il sait briser l'entrave.",author:"Adam Mickiewicz"},{cite:"Le pass\xE9 est un phare, et non un port.",author:"Proverbe russe",tags:["proverbe"]},{cite:"La parole est moiti\xE9 \xE0 celui qui parle, moiti\xE9 \xE0 celui qui \xE9coute.",author:"Michel de Montaigne"},{cite:"Un po\xE8me est un myst\xE8re dont le lecteur doit chercher la clef.",author:"St\xE9phane Mallarm\xE9"},{cite:"La vie est trop courte pour \xEAtre petite.",author:"Proverbe anglais",tags:["proverbe"]},{cite:"Dans une avalanche, aucun flocon ne se sent jamais responsable.",author:"Voltaire"},{cite:"A vingt ans, c'est la volont\xE9 qui r\xE8gne, \xE0 trente ans l'esprit, et \xE0 quarante le jugement.",author:"Benjamin Franklin"},{cite:"Ayez le courage de ne pas savoir un grand nombre de choses afin d'\xE9viter la certitude de ne rien savoir.",author:"Sydney Smith"},{cite:"Je crois pouvoir dire d'un poste \xE9minent et d\xE9licat qu'on y monte plus ais\xE9ment qu'on ne s'y conserve.",author:"Jean de La Bruy\xE8re"},{cite:"Ecrire, c'est d\xE9j\xE0 mettre du noir sur du blanc.",author:"St\xE9phane Mallarm\xE9"},{cite:"Il est temps de vivre la vie que tu t'es imagin\xE9e.",author:"Henry James"},{cite:"Qu'importe aux coeurs unis ce qui change autour d'eux.",author:"Alphonse de Lamartine"},{cite:"N'allez pas l\xE0 o\xF9 le chemin peut mener. Allez l\xE0 o\xF9 il n'y a pas de chemin et laissez une trace.",author:"Ralph Waldo Emerson"},{cite:"Lorsqu'on tire sur un seul fil de la nature, on d\xE9couvre qu'il est attach\xE9 au reste du monde.",author:"John Muir"},{cite:"L'exp\xE9rience est une lanterne que l'on porte sur le dos et qui n'\xE9claire jamais que le chemin parcouru.",author:"Confucius"},{cite:"La nature fait les choses sans se presser, et pourtant tout est accompli.",author:"Lao Zi"},{cite:"Apprends comme si tu devais vivre pour toujours et vis comme si tu devais mourir ce soir !",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Si tu veux \xEAtre heureux, sois-le.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le grand inconv\xE9nient des livres nouveaux est de nous emp\xEAcher de lire les anciens.",author:"Joseph Joubert"},{cite:"On ne doit pas juger du m\xE9rite d'un homme par ses grandes qualit\xE9s, mais par l'usage qu'il en sait faire.",author:"Jean de La Bruy\xE8re"},{cite:"J'ai d\xE9cid\xE9 d'\xEAtre heureux, c'est meilleur pour la sant\xE9.",author:"Voltaire"},{cite:"Un instant de bonheur vaut mille ans dans l'histoire.",author:"Voltaire"},{cite:"Toute beaut\xE9 est une joie \xE9ternelle.",author:"John Keats"},{cite:"J'ai toujours pr\xE9f\xE9r\xE9 la folie des passions \xE0 la sagesse de l'indiff\xE9rence.",author:"Anatole France"},{cite:"Une joie partag\xE9e est une double joie, un chagrin partag\xE9 est un demi-chagrin.",author:"Jacques Deval"},{cite:"Un seul \xEAtre vous manque et tout est d\xE9peupl\xE9.",author:"Alphonse de Lamartine"},{cite:"Si votre coeur est une rose, votre bouche dira des mots parfum\xE9s.",author:"Proverbe russe",tags:["proverbe"]},{cite:"Ce que l'on con\xE7oit bien s'\xE9nonce clairement, et les mots pour le dire arrivent ais\xE9ment.",author:"Nicolas Boileau"},{cite:"Ann\xE9es de cerises rouges met le rire sur les bouches.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Quelle noblesse d'avoir un ami, mais combien plus noble d'\xEAtre un ami.",author:"Richard Wagner"},{cite:"Pour les femmes, la douceur est le meilleur moyen d'avoir raison.",author:"Madame de Maintenon"},{cite:"La perfection est un chemin, non une fin.",author:"Proverbe cor\xE9en",tags:["proverbe"]},{cite:"Quiconque a bu une tasse de chocolat r\xE9siste \xE0 une journ\xE9e de voyage.",author:"Johann Wolfgang Von Goethe"},{cite:"Un des bonheurs de l'amiti\xE9, c'est de savoir \xE0 qui confier un secret.",author:"Alessandro Manzoni"},{cite:"Dis-toi d'abord ce que tu veux \xEAtre, puis fais ce qu'il faut pour le devenir.",author:"Epict\xE8te"},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand"},{cite:"L'art d'\xEAtre tant\xF4t tr\xE8s audacieux et tant\xF4t tr\xE8s prudent est l'art de r\xE9ussir.",author:"Napol\xE9on Bonaparte"},{cite:"L\u2019amour, c\u2019est la fusion, l\u2019identification de deux \xEAtres qui s\u2019admirent et s\u2019adorent l\u2019un l\u2019autre.",author:"George Sand"},{cite:"L'art de l'\xE9crivain consiste surtout \xE0 nous faire oublier qu'il emploie des mots.",author:"Henri Bergson"},{cite:"Le d\xE9sordre est simplement l'ordre que nous ne cherchons pas.",author:"Henri Bergson"},{cite:"Le style est comme le cristal, sa puret\xE9 fait son \xE9clat.",author:"Victor Hugo"},{cite:"L'homme devrait mettre autant d'ardeur \xE0 simplifier sa vie qu'il en met \xE0 la compliquer.",author:"Henri Bergson"},{cite:"Il faut agir en homme de pens\xE9e et penser en homme d'action.",author:"Henri Bergson"},{cite:"R\xEAver c'est se d\xE9sint\xE9resser.",author:"Henri Bergson"},{cite:"Quoi que tu r\xEAves d'entreprendre, commence-le. L'audace a du g\xE9nie, du pouvoir, de la magie.",author:"Johann Wolfgang Von Goethe"},{cite:"En mati\xE8re de sentiment, le manque de logique est la meilleure preuve de la sinc\xE9rit\xE9.",author:"L\xE9on Tolsto\xEF"},{cite:"Le d\xE9faut de l'\xE9galit\xE9, c'est que nous ne la voulons qu'avec nos sup\xE9rieurs.",author:"Henri Becque"},{cite:"Papillon, ce billet doux pli\xE9 cherche une adresse de fleur.",author:"Jules Renard"},{cite:"Si vous voulez que vos r\xEAves se r\xE9alisent, ne dormez pas.",author:"Proverbe juif",tags:["proverbe"]},{cite:"Si les cieux pleurent, la terre vivra.",author:"Proverbe hawaiien",tags:["proverbe"]},{cite:"Les r\xEAves d'un chat sont peupl\xE9s de souris.",author:"Proverbe libanais",tags:["proverbe"]},{cite:"Nul n'est plus chanceux que celui qui croit \xE0 sa chance.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"On peut aussi b\xE2tir quelque chose de beau avec les pierres qui entravent le chemin.",author:"Johann Wolfgang Von Goethe"},{cite:"Tout ce que tu feras sera d\xE9risoire, mais il est essentiel que tu le fasses.",author:"Gandhi"},{cite:"La rose n'a d'\xE9pines que pour celui qui veut la cueillir.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Chaque homme cache en lui un enfant qui veut jouer..",author:"Friederich Nietzsche"},{cite:"Pour savoir o\xF9 l'on va, il faut savoir o\xF9 l'on est.",author:"Proverbe tchadien",tags:["proverbe"]},{cite:"Sans la musique, la vie serait une erreur.",author:"Friederich Nietzsche"},{cite:"A No\xEBl, amusons-nous, profitons-en, car No\xEBl ce n'est qu'une fois par an.",author:"Thomas Tusser"},{cite:"Un homme sans culture, tel un chat sans moustaches, se sent perdu.",author:"Anonyme"},{cite:"La science d\xE9crit la nature, la po\xE9sie la peint et l'embellit.",author:"Georges-Louis Leclerc de Buffon"},{cite:"Si on ne cultive pas le bonheur comment voulez vous qu'il pousse ?",author:"Po\xE8te inconnu"},{cite:"Une fleur fane m\xEAme si on l'aime ; une mauvaise herbe cro\xEEt m\xEAme si on ne l'aime pas.",author:"D\xF6gen"},{cite:"Quand tu lances la fl\xE8che de la v\xE9rit\xE9, trempe toujours la pointe dans du miel.",author:"Proverbe arabe",tags:["proverbe"]},{cite:"L'esp\xE9rance d'une joie est presque \xE9gale \xE0 la joie.",author:"William Shakespeare"},{cite:"Qui donne ne doit jamais s'en souvenir. Qui re\xE7oit ne doit jamais oublier.",author:"Proverbe h\xE9breu",tags:["proverbe"]},{cite:"Une fois la partie termin\xE9e, le roi et le pion retournent dans la m\xEAme bo\xEEte.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Bien \xEAtre : \xE9tat d'esprit produit par la contemplation des ennuis d'autrui.",author:"Ambrose Bierce"},{cite:"La vie, ce n'est pas d'attendre que l'orage passe, c'est d'apprendre \xE0 danser sous la pluie.",author:"S\xE9n\xE8que"},{cite:"L'humour est une disposition d'esprit qui fait qu'on exprime avec gravit\xE9 des choses frivoles et avec l\xE9g\xE8ret\xE9 des choses s\xE9rieuses.",author:"Afred Capus"},{cite:"Accepter l'id\xE9e d'une d\xE9faite, c'est \xEAtre vaincu.",author:"Mar\xE9chal Foch"},{cite:"Le but n'est pas toujours plac\xE9 pour \xEAtre atteint, mais pour servir de point de mire.",author:"Joseph Joubert"},{cite:"Si on veut conna\xEEtre un peuple, il faut \xE9couter sa musique.",author:"Platon"},{cite:"On peut peindre une fleur, mais pas son odeur.",author:"Proverbe italien",tags:["proverbe"]},{cite:"Parmi les cinq sens, la vue, l'ou\xEFe et l'odorat connaissent moins d'interdits que le toucher et le go\xFBt.",author:"L\xE9onard de Vinci"},{cite:"On n'a jamais fait de grande d\xE9couverte sans hypoth\xE8se audacieuse.",author:"Isaac Newton",tags:["science","audace"]},{cite:"L'exp\xE9rience prouve que celui qui n'a jamais confiance en personne ne sera jamais d\xE9\xE7u.",author:"L\xE9onard de Vinci"},{cite:"L'attention de celui qui \xE9coute sert d'accompagnement dans la musique du discours.",author:"Joseph Joubert"},{cite:"L'homme n'a point de port, le temps n'a pas de rive ; Il coule et nous passons !",author:"Alphonse de Lamartine"},{cite:"On se sert des couleurs, mais on peint avec le sentiment.",author:"Jean Chardin"},{cite:"Si on ne peut pas rire au paradis, je ne tiens pas \xE0 y aller.",author:"Martin Luther"},{cite:"L'amour n'est pas seulement un sentiment, il est un art aussi.",author:"Honor\xE9 de Balzac"},{cite:"Un homme sans culture, c'est comme un z\xE8bre sans rayure. C'est un \xE2ne.",author:"Proverbe africain",tags:["proverbe"]},{cite:"Nous pesons rarement dans la m\xEAme balance des offenses que nous faisons et les offenses que l'on nous fait.",author:"Esope"},{cite:"Il faut toujours se r\xE9server le droit de rire le lendemain de ses id\xE9es de la veille.",author:"Napol\xE9on Bonaparte"},{cite:"Le cri du sentiment est toujours absurde ; mais il est sublime parce qu'il est absurde.",author:"Charles Baudelaire"},{cite:"Lorsque les hommes travaillent ensemble, les montagnes se changent en or.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Il faut toujours bien faire ce qu'on fait, m\xEAme une folie.",author:"Honor\xE9 de Balzac"},{cite:"Sourire trois fois par tous les jours rend inutile tout m\xE9dicament.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Le sourire est le m\xEAme dans toutes les langues.",author:"Proverbe mexicain",tags:["proverbe"]},{cite:"Tout portrait qu'on peint avec \xE2me est un portrait, non du mod\xE8le, mais de l'artiste.",author:"Oscar Wilde"},{cite:"C'est par l'adresse que vaut le b\xFBcheron, bien plus que par la force.",author:"Hom\xE8re"},{cite:"La plus perdue de toutes les journ\xE9es est celle o\xF9 l'on a pas ri.",author:"Nicolas de Chamfort"},{cite:"Nous tissons notre destin, nous le tirons de nous comme l'araign\xE9e de la toile.",author:"Fran\xE7ois Mauriac"},{cite:"Il faut faire le sacrifice de ses pr\xE9f\xE9rences mais pas celui de ses convictions.",author:"Ren\xE9 Bazin"},{cite:"La musique commence l\xE0 o\xF9 s'arr\xEAte le pouvoir des mots.",author:"Richard Wagner"},{cite:"La joie n'est pas dans les choses, elle est en nous.",author:"Richard Wagner"},{cite:"Toute ascension vers un endroit merveilleux se fait par un escalier en spirale.",author:"Fran\xE7ois Bacon"},{cite:"La nature fait les hommes semblables, la vie les rend diff\xE9rents.",author:"Confucius"},{cite:"Une heure de conversation vaut mieux que cinquante lettres.",author:"Madame de S\xE9vign\xE9"},{cite:"Sabot qui brille n'est pas toujours celui qui chausse le mieux.",author:"Proverbe fran\xE7ais",tags:["proverbe"]},{cite:"Ce qui est ha\xEFssable, ne le fait pas \xE0 ton prochain ; c'est l\xE0 toute la loi. Le reste n'est que commentaire.",author:"Rabi Hillel"},{cite:"Un rire sinc\xE8re est un rayon de soleil dans une maison.",author:"William Thackeray"},{cite:"Le bonheur c'est un regard, un mot, un sourire pour ceux qui s'aiment.",author:"Delphine de Girardin"},{cite:"Nous sommes plus curieux du sens des r\xEAves que des choses que nous voyons \xE9veill\xE9s.",author:"Diog\xE8ne"},{cite:"Je ne te dis pas que tu es un bon \xE0 rien, je te dis que tu es mauvais en tout !",author:"Le schpountz"},{cite:"Trouver n'est rien, c'est le plan qui est difficile.",author:"Fiodor Dosto\xEFevski"},{cite:"Le monde ne mourra jamais par manque de merveilles mais uniquement par manque d'\xE9merveillement.",author:"Gilbert Keith Chersterton"},{cite:"La modestie est le meilleur app\xE2t pour aller \xE0 la p\xEAche aux compliments.",author:"Gilbert Keith Chersterton"},{cite:"Une civilisation me parait se d\xE9finir \xE0 la fois pas des questions qu'elle pose et par celles qu'elle ne pose pas.",author:"Andr\xE9 Malraux"},{cite:"Si vous voulez que la vie vous sourit, apportez-lui d'abord votre bonne humeur.",author:"Spinoza"},{cite:"Tant de mains pour transformer ce monde, et si peu de regards pour le contempler !",author:"Julien Gracq"},{cite:"Trois bougies repoussent les t\xE9n\xE8bres ; la v\xE9rit\xE9, la connaissance et les lois de la nature.",author:"Proverbe celtique",tags:["proverbe"]},{cite:"Aimez les yeux ouverts.",author:"Jorge Bucay",tags:["extrait"]},{cite:"La beaut\xE9 des choses existe dans l'esprit de celui qui les contemple.",author:"David Hume"},{cite:"Lire, c'est voyager ; voyager, c'est lire.",author:"Victor Hugo"},{cite:"Le bonheur n'est pas la destination, mais la mani\xE8re de voyager.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Un roman, c'est un miroir qu'on prom\xE8ne le long du chemin.",author:"Stendhal"},{cite:"Le bonheur arrive \xE0 ceux qui rient.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Le bonheur est une chose qui se multiplie quand il se divise.",author:"Proverbe br\xE9silien",tags:["proverbe"]},{cite:"Il n'est pas de plus lourd fardeau que d'avoir trop de d\xE9sirs.",author:"Lao Zi"},{cite:"Le plaisir de l'habitude est souvent plus doux encore que celui de la nouveaut\xE9.",author:"Marcel Proust"},{cite:"La nuit n'est peut-\xEAtre que la paupi\xE8re du jour.",author:"Omar Khayy\xE2m"},{cite:"La patience est l'art d'esp\xE9rer.",author:"Luc de Vauvenargues"},{cite:"Le bonheur, c'est de continuer \xE0 d\xE9sirer ce qu'on poss\xE8de.",author:"Friederich Nietzsche"},{cite:"Le parfait bonheur ne consiste qu'\xE0 rendre les hommes heureux.",author:"Jean-Baptiste Rousseau"},{cite:"Le soir de la vie apporte avec soi sa lampe.",author:"Joseph Joubert"},{cite:"Les grandes choses peuvent se manifester par de petit signes.",author:"Sigmund Freud"},{cite:"Il n'y a point de chemin vers le bonheur, le bonheur est le chemin.",author:"Lao Tseu"},{cite:"Le bonheur est un r\xEAve d'enfant r\xE9alis\xE9 \xE0 l'\xE2ge adulte.",author:"Sigmund Freud"},{cite:"Fais ton bonheur par le bonheur d'autrui.",author:"Voltaire"},{cite:"Le bonheur est en m\xEAme temps ce qu'il y a de meilleur, de plus beau et de plus agr\xE9able.",author:"Aristote"},{cite:"Il ne faut pas dire oui avec la bouche et non avec le coeur.",author:"Lao Tseu"},{cite:"Ne fais rien dans ta vie, qui te fasse redouter que ton voisin en prenne connaissance.",author:"Epicure"},{cite:"Qu'on me donne six heures pour couper un arbre, j'en passerai quatre \xE0 pr\xE9parer ma hache.",author:"Abraham Lincoln"},{cite:"On met plus de passion \xE0 obtenir ce qu'on n'a pas qu'\xE0 conserver ce qu'on a.",author:"Stendhal"},{cite:"Notre plus grande gloire n'est pas de ne jamais tomber, mais de nous relever chaque fois.",author:"Confucius"},{cite:"Les cons\xE9quences de la col\xE8re sont beaucoup plus graves que les causes.",author:"Marc Aur\xE8le"},{cite:"Chaque coup de col\xE8re est un coup de vieux, chaque sourire est un coup de jeune.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"La d\xE9couverte d'un mets nouveau fait plus pour le bonheur du genre humain que la d\xE9couverte d'une \xE9toile.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La science est le savoir organis\xE9. La sagesse est la vie organis\xE9e.",author:"Emmanuel Kant"},{cite:"Si je r\xEAve tout seul, cela reste un r\xEAve. Si nous r\xEAvons ensemble, c'est le d\xE9but de la r\xE9alit\xE9.",author:"Proverbe persan",tags:["pens\xE9e positive","proverbe"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe chinois",tags:["pens\xE9e positive","proverbe"]},{cite:"L'\xE9chec est seulement l'opportunit\xE9 de recommencer d'une fa\xE7on plus intelligente.",author:"Henry Ford"},{cite:"N'attendez pas d'\xEAtre heureux pour sourire. Souriez plut\xF4t afin d'\xEAtre heureux.",author:"Edward L. Kramer"},{cite:"Cherche un arbre et laisse-lui t'apprendre le calme.",author:"Eckhart Tolle"},{cite:"S'\xE9loigner de tout rapproche un peu de l'essentiel.",author:"Lo\xEFc Peyron"},{cite:"Ceux qui r\xEAvent \xE9veill\xE9s ont connaissance de mille choses \xE9chappent \xE0 ceux qui ne r\xEAvent qu'endormis.",author:"Edgar Allan Poe"},{cite:"Qui m'aime me suive, disait le vent.",author:"Sylvain Tesson"},{cite:"Ignore toutes les choses qui t'emp\xEAchent d'avancer, en particulier celles qui sont dans ta t\xEAte.",author:"Meryl Streep"},{cite:"La vie seule ne suffit pas. On a aussi besoin d'un rayon de soleil, de libert\xE9 et d'une petite fleur.",author:"Hans Christian Andersen"},{cite:"Les deux jours les plus importants de votre vie sont le jour o\xF9 vous \xEAtes n\xE9 et le jour o\xF9 vous d\xE9couvrez pourquoi.",author:"Mark Twain"},{cite:"Le bonheur est souvent la seule chose que l'on puisse donner sans l'avoir, et c'est en le donnant qu'on l'acquiert.",author:"Voltaire"},{cite:"La vie, c'est un livre qu'on aime, c'est un enfant qui joue \xE0 vos pieds, un outil qu'on tient bien dans sa main, un banc pour se reposer le soir devant sa maison.",author:"Jean Anouilh",tags:["extrait","Antigone"]},{cite:"Je suis ma propre muse.",author:"Frida Kahlo"},{cite:"\xCAtre heureux ne signifie pas que tout est parfait. Cela signifie que vous avez d\xE9cid\xE9 de regarder au-del\xE0 des imperfections.",author:"Aristote"},{cite:"Seule, je ne peux pas changer le monde, mais je peux jeter une pierre dans l'eau et cr\xE9er de nombreuses ondulations.",author:"M\xE8re Teresa"},{cite:"Tout ce que les hommes ont fait de beau et de bien, ils l'ont fait avec leurs r\xEAves.",author:"Bernard Moitessier"},{cite:"Nous n'avons pas besoin de magie pour changer le monde. Nous portons d\xE9j\xE0 tout le pouvoir dont nous avons besoin \xE0 l'int\xE9rieur de nous.",author:"J. K. Rowling",tags:["bien-\xEAtre"]},{cite:"Un seul moment de joie chasse cent moments de tristesse.",author:"Proverbe chinois",tags:["proverbe","joie"]},{cite:"N'oubliez pas que la terre se r\xE9jouit de sentir vos pieds nus et que les vents joueraient volontiers avec vos cheveux.",author:"Khalil Gibran"},{cite:"Il n'y a pas de honte \xE0 pr\xE9f\xE9rer le bonheur.",author:"Albert Camus"},{cite:"Il n'est jamais trop tard pour devenir ce que l'on aurait pu \xEAtre.",author:"George Eliot"},{cite:"Va prendre tes le\xE7ons dans la nature.",author:"L\xE9onard de Vinci"},{cite:"Le meilleur moment pour planter un arbre, c'\xE9tait il y a vingt ans. Le second, c'est maintenant.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Je ne peux rester sans rien faire... Je vais faire la sieste.",author:"Yvan Audouard"},{cite:"La vie n'est pas faite pour se trouver ; la vie est faite pour se cr\xE9er.",author:"George Bernard Shaw"},{cite:"On voit mourir toute chose anim\xE9e lorsque du corps l'\xE2me subtile part. Je suis le corps, toi la meilleure part: O\xF9 es-tu donc, \xF6 \xE2me bien-aim\xE9e ?",author:"Louise Lab\xE9",tags:["extrait","Sonnet VII"]},{cite:"Dans la vie. Rien n'est \xE0 craindre. Tout est \xE0 comprendre.",author:"Marie Curie"},{cite:"Rien n'est jamais fini. Il suffit d'un peu de bonheur pour que tout recommence.",author:"Emile Zola",tags:["extrait","Germinal"]},{cite:"Entourez-vous de choses qui vous rendent vraiment heureux.",author:"Marie Kondo"},{cite:"Il se faut s'entraider c'est la loi de nature.",author:"Jean de La Fontaine"},{cite:"Apr\xE8s le verbe aimer, aider est le plus beau verbe du monde.",author:"Baronne Berthe Von Suttner"},{cite:"La curiosit\xE9 est une gourmandise: voir, c'est d\xE9vorer.",author:"Victor Hugo"},{cite:"La vie est un d\xE9fi \xE0 relever, un bonheur \xE0 m\xE9riter, une aventure \xE0 tenter.",author:"M\xE8re Teresa"},{cite:"Quelle musique, le silence !",author:"Jean Anouilh"},{cite:"Le temps est notre ami.",author:"Christine Cayol"},{cite:"Sans effort d'imagination, ou de r\xEAves, nous perdons l'excitation des possibilit\xE9s. Apr\xE8s tout, r\xEAver est une sorte de planification.",author:"Gloria Steinen"},{cite:"Je souhaite dans ma maison, Une femme ayant sa raison, Un chat passant parmi les livres, Des amis en toute saison Sans lesquels je ne peux pas vivre.",author:"Guillaume Apollinaire"},{cite:"Gr\xE2ce aux r\xEAves le monde a \xE9t\xE9 r\xE9invent\xE9 plus souvent qu'il n'y a d'\xE9toiles dans le ciel.",author:"Lloyd Jones"},{cite:"Ne garde rien de ce qui t'a fait tant de mal, les lettres, les photos, les listes dee courses, les partitions, les marque-pages. Ne garde rien, ne jette rien non plus, fais-en cadeau \xE0 quelqu'un qui trouvera \xE7a beau.",author:"C\xE9cile Coulon",tags:["extrait","Les Ronces"]},{cite:"Ne laissez personne vous voler votre imagination, votre cr\xE9ativit\xE9 ou votre curiosit\xE9. C'est votre place dans le monde, c'est votre vie.",author:"Mae C. Jemison"},{cite:"Si tu n'arrives pas \xE0 penser, marche ; Si tu penses trop, marche ; Si tu penses mal, marche encore.",author:"Jean Giono"},{cite:"Le ciel \xE9toil\xE9 offre une le\xE7on de sagesse \xE0 qui sait le regarder: s'y perdre. C'est se trouver.",author:"Michel Onfray"},{cite:"Ne renoncez pas \xE0 faire ce que vous voulez vraiment faire. L\xE0 o\xF9 il y a des r\xEAves, de l'amour et de l'inspiration, vous ne pourrez pas vous tromper.",author:"Ella Fitzgerald"},{cite:"Le succ\xE8s est de vous aimer, d'aimer ce que vous faites et d'aimer la fa\xE7on dont vous le faites.",author:"Maya Angelou"},{cite:"Ne cessez jamais d'\xEAtre fantasque. Et ne donnez jamais \xE0 qui que ce soit la responsabilit\xE9 de votre vie..",author:"Mary Oliver"},{cite:"La joie est en tout, il faut savoir l'extraire.",author:"Mary Oliver"},{cite:"La vie est une grande toile vierge: \xE0 vous d'y ajouter le plus de couleurs possible.",author:"Danny Kaye"},{cite:"Quand je me prom\xE8ne, je sens toujours qu'au coin de la rue. Il y a quelque chose de merveilleux qui m'attend.",author:"Sophia Loren"},{cite:"Le bonheur est un seul bouquet : confus l\xE9ger fondant sucr\xE9.",author:"Paul Eluard"},{cite:"Qui s\xE8me le silence r\xE9colte la paix.",author:"Proverbe tha\xEFlandais",tags:["proverbe"]},{cite:"La vie a beaucoup plus d'imagination que nous.",author:"Fran\xE7ois Truffaut"},{cite:"Le vrai bonheur serait de se souvenir du pr\xE9sent.",author:"Jules Renard"},{cite:"Les erreurs ne se regrettent pas, elles s'assument. La peur ne se fuit pas, elle se surmonte. L'amour ne se crie pas, il se prouve !",author:"Simone Weil"},{cite:"Il ne faut pas se mettre en col\xE8re contre les choses, cela ne leur fait absolument rien.",author:"Germaine de Sta\xEBl"},{cite:"Le bout du monde est le fond du jardin contiennent la m\xEAme quantit\xE9 de merveilles.",author:"Christian Bobin"},{cite:"Vivre c'est aider un autre \xE0 vivre.",author:"Jacques de Bourbon Busser"},{cite:"La v\xE9ritable amiti\xE9 ne g\xE8le pas en hiver.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"L'art est le plus beau des mensonges.",author:"Claude Debussy"},{cite:"Ralentissez et tout devient plus beau.",author:"David Lynch"},{cite:"Ecris sur ton coeur que chaque jour est le plus beau jour de l'ann\xE9e.",author:"Ralph Waldo Emerson"},{cite:"Le plus grand \xE9chec est de ne pas avoir le courage d'oser.",author:"Abb\xE9 Pierre"},{cite:"Avant de vous diagnostiquer comme d\xE9pressif ou en \xE9tat de faible estime de vous-m\xEAme, commencez par vous assurer que vous n'\xEAtes juste pas, en fait, entour\xE9 par des trous du cul.",author:"William Gibson"},{cite:"L'app\xE9tit vient en mangeant, la soif disparait en buvant.",author:"Fran\xE7ois Rabelais"},{cite:"Le cr\xE9ateur, en obligeant l'homme \xE0 manger pour vivre, l'y invite par l'app\xE9tit et le r\xE9compense par le plaisir.",author:"Jean Anthelme Brillat-Savarin"},{cite:"La gourmandise commence quand on n'a plus faim.",author:"Alphonse Daudet"},{cite:"Si vous n'\xEAtes pas capable d'un peu de sorcellerie, ce n'est pas la peine de vous m\xEAler de cuisine.",author:"Colette"},{cite:"Bien manger, c'est atteindre le ciel.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Si je p\xE9tais tout ce que j'ai mang\xE9, je serais sur la lune.",author:"Camille Richard"},{cite:"La joie prolonge la vie.",author:"Ben Sira"},{cite:"La bouche garde le silence pour \xE9couter parler le coeur.",author:"Alfred de Musset"},{cite:"Il n'y a qu'une sorte d'amour, mais il y en a mille diff\xE9rentes copies.",author:"Fran\xE7ois de La Rochefoucauld"},{cite:"La vie est courte, mais un sourire ne prend qu'une seconde.",author:"Proverbe cubain",tags:["proverbe"]},{cite:"Au milieu de l'hiver, j'ai d\xE9couvert en moi un invincible \xE9t\xE9.",author:"Albert Camus"},{cite:"Le voyage est un retour vers l'essentiel.",author:"Proverbe tib\xE9tain",tags:["proverbe"]},{cite:"Le bonheur est une petite chose que l'on grignote, assis par terre, au soleil.",author:"Jean Giraudoux"},{cite:"Fais du bien \xE0 ton corps pour que ton \xE2me ait envie d'y rester.",author:"Proverbe indien",tags:["proverbe"]},{cite:"Le bonheur a les bras ouverts et les yeux ferm\xE9s.",author:"Proverbe allemand",tags:["proverbe"]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure"},{cite:"Il faut toujours viser la lune, car m\xEAme en cas d'\xE9chec, on atterrit dans les \xE9toiles.",author:"Oscar Wilde"},{cite:"Vivre de telle sorte qu'il te faille d\xE9sirer revivre, c'est l\xE0 ton devoir.",author:"Nietzsche"},{cite:"Les oreilles et les yeux sont les portes et les fen\xEAtres de l'\xE2me.",author:"Joseph Joubert"},{cite:"Quelle flamme pourrait \xE9galer le rayon de soleil d'un jour d'hiver ?",author:"Henry David Thoreau"},{cite:"Grand est celui qui n'a pas perdu son coeur d'enfant.",author:"Meng-Tsen"},{cite:"Je cherche les petites notes qui s'aiment.",author:"Wolfgang Amadeus Mozart"},{cite:"La vrai g\xE9n\xE9rosit\xE9 envers l'avenir consiste \xE0 tout donner au pr\xE9sent.",author:"Albert Camus",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"L'\xE9t\xE9, un \xE9blouissement comme est la neige, Celle qui vient l\xE9g\xE8re et ne dure pas, et rien de nous n'en trouble la lumi\xE8re D'eau qui s'est condens\xE9e puis s'\xE9vapore.",author:"Yves Bonnefoy",tags:[]},{cite:"No\xEBl n'est pas une saison, c'est un sentiment.",author:"Edna Ferber",tags:["f\xEAte"]},{cite:"No\xEBl est l\xE0, ce joyeux no\xEBl, des cadeaux plein les bras, qui r\xE9chauffe nos coeurs et apporte la joie, jour des plus beaux souvenirs, plus beau jour de l'ann\xE9e.",author:"Washington Irving",tags:["no\xEBl"]},{cite:"La chose la plus commune, d\xE8s qu'on nous la cache, devient un d\xE9lice.",author:"Oscar Wilde",tags:["curiosit\xE9"]},{cite:"Le bonheur n'est pas chose ais\xE9e. Il est tr\xE8s difficile de le trouver en nous, il est impossible de le trouver ailleurs.",author:"Bouddha",tags:["bonheur","pens\xE9e"]},{cite:"Entre amis, il est si beau que le silence soit d'or, mais le rire bon et frais l'est beaucoup plus encore.",author:"Friederich Nietzsche",tags:["amiti\xE9"]},{cite:"L'art vise \xE0 imprimer en nous des sentiments plut\xF4t qu'\xE0 les exprimer.",author:"Henri Bergson",tags:["art"]},{cite:"Les hommes naissent ignorants, pas stupides, la stupidit\xE9 est le r\xE9sultat de l'\xE9ducation.",author:"Bertrand Russell",tags:["\xE9ducation","intelligence"]},{cite:"Il n'y a rien d'impossible quand on s'aime.",author:"George Sand",tags:["amour"]},{cite:"Il n'est pas de joie qui \xE9gale celle de se cr\xE9er de nouvelles amiti\xE9s.",author:"Proverbe japonais",tags:["proverbe"]},{cite:"Veux-tu vivre heureux ? Voyage avec deux sacs, l'un pour donner, l'autre pour recevoir.",author:"Johann Wolfgang Von Goethe",tags:["bonheur"]},{cite:"La v\xE9ritable indulgence consiste \xE0 comprendre et \xE0 pardonner les fautes qu'on ne serait pas capable de commettre.",author:"Victor Hugo",tags:["pardon"]},{cite:"Le plus grand secret pour le bonheur, c'est d'\xEAtre bien avec soi.",author:"Bernard Le Bouyer de Fontenelle",tags:["bonheur","bien-\xEAtre"]},{cite:"L'amiti\xE9 double les joies et r\xE9duit de moiti\xE9 les peines.",author:"Francis Bacon",tags:["amiti\xE9"]},{cite:"Tous les tr\xE9sors de la terre ne valent pas le bonheur d'\xEAtre aim\xE9.",author:"Calderon",tags:["amour"]},{cite:"Il y a trois sortes de savoir : le savoir proprement dit, le savoir-faire et le savoir-vivre ; les deux derners dispensent assez bien du premier.",author:"Charles Maurice de Talleyrand-P\xE9rigord",tags:[]},{cite:"Si vous avez confiance en vous-m\xEAme, vous inspirerez confiance aux autres.",author:"Johann Wolfgang Von Goethe",tags:["confiance"]},{cite:"Aimer, ce n'est pas se regarder l'un l'autre, c'est regarder ensemble dans la m\xEAme direction.",author:"Antoine de Saint-Exup\xE9ry",tags:["amour"]},{cite:"Il n'y a qu'un chemin possible pour le bonheur, c'est de cesser de nous tracasser pour des choses qui ne d\xE9pendent pas de notre volont\xE9.",author:"Epict\xE8te",tags:["bonheur"]},{cite:"L\xE0 o\xF9 le coeur est, les pieds n'h\xE9sitent pas \xE0 y aller.",author:"Proverbe togolais",tags:["proverbe"]},{cite:"Vis comme si tu devais mourir demain, apprends comme si tu devais vivre toujours.",author:"Gandhi",tags:["motivation"]},{cite:"Le contraire de la mis\xE8re ce n'est pas la richesse. Le contraire de la mis\xE8re, c'est le partage.",author:"Abb\xE9 Pierre",tags:["partage"]},{cite:"Chaque fois que l'on refuse 1 milliard pour le logement, c'est 10 milliards que l'on pr\xE9pare pour les tribunaux, les prisons, les asiles de fous.",author:"Abb\xE9 Pierre",tags:["perspective"]},{cite:"La vie est un myst\xE8re qu'il faut vivre, et non un probl\xE8me qu'il faut r\xE9soudre.",author:"Gandhi",tags:[]},{cite:"La pens\xE9e n'est qu'un \xE9clair qu milieu de la nuit. Mais c'est un \xE9clair qui est tout.",author:"Henri Pointcar\xE9",tags:[]},{cite:"Le bonheur ne vient pas \xE0 ceux qui l'attendent assis.",author:"Baden-Powell",tags:["bonheur"]},{cite:"Le savant est fier d'avoir tant appris ; le sage est humble d'en savoir si peu.",author:"William Cowper",tags:[]},{cite:"Je ne cherche pas \xE0 conna\xEEtre les r\xE9ponses, je cherche \xE0 comprendre les questions.",author:"Confucius",tags:["savoir"]},{cite:"Rien ne peut r\xE9sister \xE0 l'assaut du rire.",author:"Mark Twain",tags:["rire"]},{cite:"Celui qui a rendu service doit se taire, c'est \xE0 celui qui l'a re\xE7u de parler.",author:"S\xE9n\xE8que",tags:[]},{cite:"Curiosit\xE9 n'est que vanit\xE9. Le plus souvent, on ne veut savoir que pour en parler.",author:"Blaise Pascal",tags:[]},{cite:"L'erreur n'annule pas la valeur de l'effort accompli.",author:"Proverbe africain",tags:["proverbe"]},{cite:"L'art est une d\xE9monstration dont la nature est la preuve.",author:"George Sand",tags:[]},{cite:"Le meilleur moyen de teninr sa parole est de ne jamais la donner.",author:"Napol\xE9on Bonaparte",tags:[]},{cite:"Les mots me font l'effet d'un pensionnat de petits gar\xE7ons que la phrase m\xE8ne en promenade.",author:"Georges Courteline",tags:["litt\xE9rature"]},{cite:"Chacun est une lune, avec une face cach\xE9e.",author:"Mark Twain",tags:[]},{cite:"Il faut deux ans pour apprendre \xE0 parler et toute une vie pour apprendre \xE0 se taire.",author:"Proverbe chinois",tags:["proverbe"]},{cite:"Deux choses instruisent l'homme de toute sa nature : l'instinct et l'exp\xE9rience.",author:"Blaise Pascal",tags:[]},{cite:"La critique est une chose bien commode : on attaque avec un mot, il faut des pages pour se d\xE9fendre.",author:"Jean-Jacques Rousseau",tags:[]},{cite:"L'amour n'est pas aveugle, il est aveuglant.",author:"Yvan Audouard",tags:["amour"]},{cite:"Une lecture amusante est aussi utile \xE0 la sant\xE9 que l'exercice du corps.",author:"Emmanuel Kant",tags:[]},{cite:"Touch\xE9 par l'amour, tout homme devient po\xE8te.",author:"Platon",tags:["amour"]},{cite:"Il n'y a rien de plus triste qu'une vie sans hasard.",author:"Honor\xE9 de Balzac",tags:[]},{cite:"La col\xE8re est comme une avalanche qui se brise sur ce qu'elle brise.",author:"S\xE9n\xE8que",tags:[]},{cite:"Les merveilles naissent sans qu'on les s\xE8me.",author:"Proverbe proven\xE7al",tags:["proverbe"]},{cite:"Le silence est un ami qui ne trahit jamais.",author:"Confucius",tags:[]},{cite:"Ecrire c'est une fa\xE7on sans \xEAtre interrompu.",author:"Jules Renard",tags:[]},{cite:"Je me moque de savoir beaucoup de choses : je veux savoir des choses que j'aime.",author:"Jules Renard",tags:["connaissance"]},{cite:"C'est No\xEBl dans le coeur qui met No\xEBl dans l'air.",author:"William Thomas Ellis",tags:["no\xEBl"]},{cite:"Un mois avant, un mois apr\xE8s No\xEBl, le froid est bon et naturel.",author:"Proverbe fran\xE7ais",tags:["adage","proverbe","no\xEBl"]},{cite:"No\xEBl, c'est le printemps de l'esprit ; c'est tout promesse.",author:"Alain",tags:["no\xEBl","Emile-Auguste Chartier","extrait","Les saisons de l'esprit"]},{cite:"Il ne faut pas chercher \xE0 rajouter des ann\xE9es \xE0 sa vie, mais plut\xF4t essayer de rajouter de la vie \xE0 ses ann\xE9es.",author:"John Fitzgerald Kennedy",tags:["vie"]},{cite:"Qu'elle soit n\xE9cessaire, ou m\xEAme justifi\xE9e, ne croyez jamais que la guerre n'est pas un crime.",author:"Ernest Hemingway",tags:["guerre","crime"]},{cite:"La joie de vivre est une \xE9motion contagieuse.",author:"Edward D. Wynot",tags:["bonheur"]},{cite:"La beaut\xE9 commence le jour o\xF9 tu d\xE9cides d'\xEAtre toi-m\xEAme.",author:"Coco Chanel",tags:[]},{cite:"Quand la vie te donne un lundi, plonge-le dans les paillettes et scintille toue la journ\xE9e.",author:"Ella Woodward",tags:["bonheur","difficult\xE9e"]},{cite:"Sors des sentiers battus. Explore. R\xEAve. D\xE9couvre.",author:"Mark Twain",tags:[]},{cite:"Je ne veux d\xE9sormais collectionner que les moments de bonheur.",author:"Stendhal",tags:["bonheur"]},{cite:"Soyez vous-m\xEAme, les autres sont d\xE9j\xE0 pris.",author:"Oscar Wilde",tags:[]},{cite:"Je ne perds jamais, soit je gagne, soit j'apprends.",author:"Nelson Mandela",tags:[]},{cite:"Fais de ta vie un r\xEAve, et d'un r\xEAve une r\xE9alit\xE9.",author:"Antoinde de Saint-Exup\xE9ry",tags:["R\xEAve"]},{cite:"Il n'y a rien de mieux qu'un ami. Sauf peut-\xEAtre un ami avec du chocolat.",author:"Lynda Grayson",tags:["amiti\xE9"]},{cite:"Je peux le faire et le ferai. Vous pouvez commencer \xE0 regarder.",author:"Carry Green",tags:[]},{cite:`"C'est impossible" di la fiert\xE9. "C'est risqu\xE9" dit l'exp\xE9rience. "C'est sans issue" dit la raison."Essayons" mlurmure le coeur.`,author:"William Arthur Ward",tags:[]},{cite:"La vie, c'est comme une bo\xEEte de chocolats, on ne sait jamais sur quoi on va tomber.",author:"Winston groom",tags:["extrait","Forrest Gump"]},{cite:"Donne \xE0 chaque jour la chance de devenir le plus beau jour de ta vie.",author:"Makr Twain",tags:["bonheur"]},{cite:"Tous les enfants ont du g\xE9nie, le tout c'est de le faire appara\xEEtre.",author:"Charlie Chaplin",tags:["enfance"]},{cite:"La vie, c'est comme une bicyclette, il faut avancer pour ne pas perdre l'\xE9quilibre.",author:"Albert Einstein",tags:[]},{cite:"Il ne faut pas attendre d'\xEAtre parfait pour commencer quelque chose de bien.",author:"Abb\xE9 Pierre",tags:[]},{cite:"J'ai un petit c\xF4t\xE9 sir\xE8ne. Certains jours, on dirait que je me suis peign\xE9e avec une fourchette.",author:"Emmanuelle Cortes",tags:[]},{cite:"Il n'y a aucune limite \xE0 ce que nous pouvons accomplir en tant que filles.",author:"Michelle Obama",tags:["f\xE9minisme"]},{cite:"Il y a deux choses qui changent notre vie : les gens que nous rencontrons et les livres que nous lisons.",author:"Harvey MacKay",tags:[]},{cite:"Une journ\xE9e sans rire est une journ\xE9e de perdue.",author:"Charlie Chaplin",tags:["rire","bonheur"]},{cite:"N'oublions pas : un livre, un stylo, un enfant et un enseignant peuvent changer le monde.",author:"Malala Yousazai",tags:[]},{cite:"Don't worry, be happy.",author:"Bob Marley",tags:["Chanson"]},{cite:"I have a dream.",author:"Martin Luther King",tags:[]},{cite:"Neuf personnes sur dix aiment le chocolat ; la dixi\xE8me ment.",author:"John G. Tullius",tags:[]},{cite:"Mais alors, si le monde n'a absolument aucun sens, qu'est ce qui nous emp\xEAche d'en inventer un ?.",author:"Lewis Caroll",tags:[]},{cite:"Le bonheur vient vers ceux qui croient en lui.",author:"Ali Obn Abu Talib",tags:["bonheur"]},{cite:"Pour \xEAtre irrempla\xE7able, il faut \xEAtre diff\xE9rente.",author:"Coco Chanel",tags:[]},{cite:"\xCAtre en vacances, c'est n'avoir rien \xE0 faire et avoir toute la journ\xE9e pour le faire.",author:"Robert Orban",tags:["vacance","oisivet\xE9"]},{cite:"On n'a jamais autant besoin de vacances que lorsqu'on en revient.",author:"Ann Landers",tags:["fatigue"]},{cite:"Celui qui dit que le bonheur ne s'ach\xE8te pas \xE0 oubli\xE9 qu'il y a les petits chiots.",author:"Gene Hill",tags:["bonheur","capitalisme"]},{cite:"Le secret du bonheuret le comble de l'art, c'est de vivre comme tout le monde, en n'\xE9tant comme personne.",author:"Simone de Beauvoir",tags:[]},{cite:"La fin d'une chose marque le commencement d'une nouvelle.",author:"Antoine de Saint-Exup\xE9ry",tags:[]},{cite:"La musique donne une \xE2me \xE0 nos coeurs et des ailes \xE0 la pens\xE9e.",author:"Platon",tags:[]},{cite:"Un sourire co\xFBte moins cher que l'\xE9lectricit\xE9, mais donne autant de lumi\xE8re.",author:"Abb\xE9 Pierre",tags:[]},{cite:"Les grandes choses peuvent se manifester par de petits signes.",author:"Freud",tags:[]},{cite:"Aimer une personne pour son apparence, c'est comme aimer un livre pour sa reliure.",author:"Laure Conan",tags:["amour"]},{cite:"Si nous voulons nous pardonner les uns aux autres, commen\xE7ons d'abord par nous comprendre les uns les autres.",author:"Emma Goldman",tags:["pardon"]},{cite:"Ceux qui ne bougent pas, ne remarquent pas leur cha\xEEnes.",author:"Rosa Luxembourg",tags:["libert\xE9"]},{cite:"La r\xE9volution sera la floraison de l'humanit\xE9 comme l'amour est la floraison du coeur.",author:"Louise Michel",tags:["amour","libert\xE9"]},{cite:"Premier principe : ne jamais se laisser abattre par des personnes ou par des \xE9v\xE9nements.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","caract\xE8re"]},{cite:"Si nous faisions tout ce que nous sommes capables de faire, nous en serions abasourdis.",author:"Thomas Edison",tags:[]},{cite:"Si ta volont\xE9 te l\xE2che, d\xE9passe-la !.",author:"Emily Dickinson",tags:["ostination"]},{cite:"Que cette ann\xE9e vous soit heureuse ; que la paix, le repos et la sant\xE9 vous tiennent lieu de fortune.",author:"Madame de S\xE9vign\xE9",tags:[]},{cite:"Le v\xE9ritable amour ne conna\xEEt ni le soup\xE7on ni la m\xE9fiance.",author:"George Sand",tags:["amour"]},{cite:"Un des bonheurs de l'amiti\xE9 c'est d'avoir \xE0 qui confier un secret.",author:"Alessandro Mansoni",tags:["amiti\xE9"]},{cite:"Le bonheur tient dans la main, il suffit d'un tout petit rien, mais beaucoup de coeur pour qu'il sonne l'heure.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Tout s'arrange sous l'influence d'une pens\xE9e heureuse et optimiste.",author:"George Sand",tags:[]},{cite:"Le courage est le prix que la vie exige pour accorder la paix.",author:"Amelia Earhart",tags:["courage"]},{cite:"Impossible de bien r\xE9fl\xE9chir, de bien aimer, de bien dormir si on n'a pas mang\xE9.",author:"Virginia Woolf",tags:["nourriture"]},{cite:"Chacun rec\xE8le en lui une for\xEAt vierge, une \xE9tendue de neige o\xF9 nul oiseau n'a laiss\xE9 son empreinte.",author:"Virginia Woolf",tags:[]},{cite:"Ma devise - sans limites.",author:"Isadora Duncan",tags:[]},{cite:"Forte comme un homme, plus forte que la plupart d'entre eux.",author:"Lozen",tags:["f\xE9minisme"]},{cite:"L'amour a d'autres yeux que le commun des hommes.",author:"Jean Racine",tags:["amour"]},{cite:"N'oublions jamais que No\xEBl est le souci du vrai partage, ce n'est pas un miracle, mais une fa\xE7on de vivre quotidien.",author:"Josiane Coeijmans",tags:["No\xEBl"]},{cite:"Une lumi\xE8re ici requiert une ombre l\xE0-bas.",author:"Virginia Woolf",tags:[]},{cite:"La femme est pr\xE9cieuse, elle donne naissance aux enfants.",author:"Olympe de Gouges",tags:[]},{cite:"Les plus beaux livres sont ceux qui n'ont jamais \xE9t\xE9 \xE9crits.",author:"Anatole France",tags:["lit\xE9rature"]},{cite:"Je n'enseigne pas aux enfants, je leur donne de la joie.",author:"Isadora Duncan",tags:["bonheur"]},{cite:"La danse est le mouvement de l'univers concentr\xE9 dans un individu.",author:"Isadora Duncan",tags:[]},{cite:"La paresse peut para\xEEtre attrayante, mais le travail apporte la satisfaction.",author:"Anne Frank",tags:["travail"]},{cite:"Un livre, c'est un billet de voyage \xE0 la port\xE9e de tous.",author:"Josiane Coeijmans",tags:["lit\xE9rature"]},{cite:"Tous les secrets de l'\xE2me d'un auteur, toutes sses exp\xE9riences, toutes les qualit\xE9s de son esprit sont grav\xE9s dans son oeuvre.",author:"Virginia Woolf",tags:["lit\xE9rature"]},{cite:"N'oubliez pas qu'il faut prendre la vie avec s\xE9r\xE9nit\xE9 et joie quoi qu'il arrive.",author:"Rosa Luxembourg",tags:["bonheur","joie"]},{cite:"L'humour est le premier des dons \xE0 p\xE9rir dans une langue \xE9trang\xE8re.",author:"Virginia Woolf",tags:["humour"]},{cite:"D'une fa\xE7on g\xE9n\xE9rale, on ne doit pas oublier d'\xEAtre bon, car la bont\xE9, dans les relations avec les hommes, fait bien plus qua la s\xE9v\xE9rit\xE9.",author:"Rosa Luxembourg",tags:[]},{cite:"Prenez-moi tout mais laissez-moi l'extase et je serai plus riche que mes semblables.",author:"Emily Dickinson",tags:["plaisir"]},{cite:"Quand on a bonne conscience, c'est No\xEBl en permanence.",author:"Benjamin Franklin",tags:["honn\xEAtet\xE9"]},{cite:"Si la vie est un roman, prends ta plume et viens \xE9crire avec moi, les plus beaux chapitres.",author:"Josiane Coeijmans",tags:["amour"]},{cite:"Notre plus grande faiblesse r\xE9side dans l'abandon ; la fa\xE7on la plus s\xFBre de r\xE9ussir est d'essayer une autre fois.",author:"Thomas Edison",tags:["succ\xE8s","pers\xE9v\xE9rance"]},{cite:"Le courage croit en osant et la peur en h\xE9sitant.",author:"Proverbe romain",tags:["courage","peur"]},{cite:"Dans les grandes choses, avant l'effort qui r\xE9ussit, il y a presque toujours des efforts qui passent inaper\xE7us.",author:"Laure Conan",tags:[]},{cite:"Le bonheur, c'est cet instant, cette lueur qui embellit le jour et rejaillit sur autrui.",author:"Josiane Coeijmans",tags:["bonheur"]},{cite:"Les choses n'arrivent quasi jamais comme on se les imagine.",author:"Madame de S\xE9vign\xE9",tags:["hasard"]},{cite:"Il n\u2019y a pas plus de raison de trop s\u2019accuser de ses d\xE9fauts que de s\u2019en trop excuser.",author:"Madeleine de Souvr\xE9",tags:["humilit\xE9","confiance"]},{cite:"La nature est \xE9ternellement jeune, belle et g\xE9n\xE9reuse. Elle verse la po\xE9sie et la beaut\xE9 \xE0 tous les \xEAtres, \xE0 toutes les plantes, qu'on laisse s'y d\xE9velopper.",author:"George Sand",tags:[]},{cite:"La famille, c'est l'amour sans regrets et sans amertume.",author:"Ninon de Lenclos",tags:["amour"]},{cite:"Cultive tes pens\xE9es, des fleurs pourraient en fleurir.",author:"Josiane Coeijmans",tags:["pens\xE9e"]},{cite:"Il n'appartient qu'\xE0 celle que le hasard a \xE9lev\xE9e \xE0 une place \xE9minente, de donner du poids \xE0 l'essor des Droits de la Femme et d'en acc\xE9l\xE9rer les succ\xE8s.",author:"Olympe de Gouges",tags:[]},{cite:"L'amour a un caract\xE8re si particulier qu'on ne peut le cacher o\xF9 il est, ni le feindre o\xF9 il n'est pas.",author:"Madeleine de Souvr\xE9",tags:["amour"]},{cite:"La vie chante aussi dans le sable qui craque sous les pas lents et lourds des gardes, quand on sait l'\xE9couter.",author:"Rosa Luxemburg",tags:[]},{cite:"La gastronomie fait trembler d'intelligence nos narines.",author:"Charles Monselet",tags:["\xE9picurien"]},{cite:"Quand on rentre en soi-m\xEAme, on s'aper\xE7oit qu'on poss\xE8de exactement ce que l'on d\xE9sirait.",author:"Simone Weil",tags:[]},{cite:"Les choses ne sont pas bonnes parce qu'elles sont vieilles, elles sont vieilles parce qu'elles sont bonnes.",author:"A. Toulouse",tags:[]},{cite:"Nous devons croire que nous sommes dou\xE9s pour quelque chose, et que cette chose, \xE0 n'importe quel prix, doit \xEAtre atteinte.",author:"Marie Curie",tags:["confiance"]},{cite:"Soyez des hommes ou mieux : des surhommes. Soyez fid\xE8les aux buts trac\xE9s.",author:"Mary Shelley",tags:[]},{cite:"Je suis une femme libre.",author:"Olympe de Gouges",tags:["f\xE9minisme"]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:[]},{cite:"Les chefs-d'oeuvres ne sont jamais que des tentatives heureuses.",author:"George Sand",tags:["chance"]},{cite:"Les d\xE9tails font la perfection, et la perfection n'est pas un d\xE9tail.",author:"L\xE9onard de Vinci",tags:[]},{cite:"Je fais le plus de choses que je peux par amour pour me reposer d'en faire tant par n\xE9cessit\xE9.",author:"Marie No\xEBl",tags:["amour"]},{cite:"Celui m\xEAme qui veut \xE9crire son r\xEAve se doit d'\xEAtre infiniment \xE9veill\xE9.",author:"Paul Val\xE9ry",tags:[]},{cite:"Le beau est ce qu'on ne peut pas vouloir change.",author:"Simone Weil",tags:[]},{cite:"C'est le miracle de l'amour de n'avoir pas besoin de mots pour se comprendre.",author:"Laure Conan",tags:["amour"]},{cite:"L'attention est la forme la plus rare et la plus pure de la g\xE9n\xE9rosit\xE9.",author:"Simone Weil",tags:[]},{cite:"La famille est le plus doux des liens.",author:"Henri-Fr\xE9d\xE9ric Amiel",tags:["famille"]},{cite:"Sans mes cadeaux, No\xEBl ne serait pas No\xEBl.",author:"Louisa May Alcott",tags:["no\xEBl"]},{cite:"L'esprit cherche et c'est le coeur qui trouve.",author:"George Sand",tags:[]},{cite:"H\xE2tons-nous de succomber \xE0 la tentation avant qu'elle ne s'\xE9loigne.",author:"Epicure",tags:[]},{cite:"La joie est notre \xE9vasion hors du temps.",author:"Simone Weil",tags:["joie","bonheur"]},{cite:"Dans la col\xE8re, rien ne convient mieux que le silence.",author:"Sappho",tags:["col\xE8re"]},{cite:"Pour moi, la plus belle des choses, c'est de voir quelqu'un aimer quelqu'un.",author:"Sappho",tags:["amour"]},{cite:"Nos actions agissent sur nous tout autant que nous agissons sur elles.",author:"George Eliot",tags:["responsabilit\xE9"]},{cite:"Si Zeus voulait donner une reine aux fleurs, la rose r\xE9gnerait sur toutes.",author:"Sappho",tags:["fleur"]},{cite:"Chacun cherche sa route ; nous cherchons la n\xF4tre et nous pensons que le jour o\xF9 le r\xE8gne de la libert\xE9 et de l'\xE9galit\xE9 era arriv\xE9, le genre humain sera heureux.",author:"Louise Michel",tags:[]},{cite:"La plus grande douceur de la vie, c'est d'admirer ce qu'on aime.",author:"Laure Conan",tags:["amour","contemplation"]},{cite:"Le repos est un r\xEAve ; la vie est un orage.",author:"George Sand",tags:[]},{cite:"Nous devons avoir de la pers\xE9v\xE9rance et surtout de la confiance en nous-m\xEAmes.",author:"Marie Curie",tags:["pers\xE9v\xE9rance","confiance"]},{cite:"Vous pouvez toujours donner quelque chose, m\xEAme si c'est seulement de la gentillesse.",author:"Anne Frank",tags:["g\xE9n\xE9rosit\xE9"]},{cite:"Il n'est rien de r\xE9el que le r\xEAve et l'amour.",author:"Anna De Noailles",tags:[]},{cite:"Celui qui a bon coeur n'est jamais sot.",author:"George Sand",tags:["gentillesse","intelligence"]},{cite:"Il n'y a point de tableau plus charmant que celui de la famille.",author:"Jean-Jacques Rousseau",tags:[]},{cite:"Il ne faut pas regarder quel bien nous fait un ami, mais seulement le d\xE9sir qu'il a de nous en faire.",author:"Madeleine de Souvr\xE9",tags:[]},{cite:"Pour moi aussi, l'amour \xE9tait (ou est) toujours plus important et plus sacr\xE9 que l'objet qui le suscite.",author:"Rosa Luxemburg",tags:["amour","extrait","la vie"]},{cite:"Soyez donc des hommes, ou mieux : des surhommes ! Soyez fid\xE8les aux buts trac\xE9s.",author:"Marc Shelley",tags:["objectif"]},{cite:"L'avenir peut s'\xE9veiller plus beau que le pass\xE9.",author:"George Sand",tags:[]}],x=l(S).pipe(p(({cite:s})=>s),u((s,e)=>new n().setId(e).setCite(s.cite).setAuthor(s.author).setTags(s.tags)),c(),m(1));var b=class s{static getStartYear(e){let i=1,a="",t=4;for(;e>i*365&&i<=1e4;)i*=10,a+="0",t--;let r=new Date;return r.setFullYear(parseInt(new Date().getFullYear().toString(10).substr(0,t)+a,0)),r.getFullYear()}static yearIs366Days(e){return new Date(e,1,29).getMonth()===1}static getLastDayOfMonth(e,i){return new Date(e,i+1,0).getDate()}static getNumberOfDayInCurrentYear(e,i){let a=0;for(let t=0;t<=e.getMonth();t++){if(t===e.getMonth()){a+=e.getDate();break}a+=s.getLastDayOfMonth(i,t)}return a}static getStackOfYears(e,i){let a=[],t=e.getFullYear();if(t===i)return a[t]=s.getNumberOfDayInCurrentYear(e,t),a;for(let r=i;r<=t;r++){if(r===t){a[r]=s.getNumberOfDayInCurrentYear(e,r);break}a[r]=s.yearIs366Days(r)?366:365}return a}static getCiteOfTheDay(e){let i=s.getStartYear(e.length),t=s.getStackOfYears(new Date,i).reduce((o,C)=>o+C),r=0;for(let o=1;o<=t;o++){if(r===e.length){r=0;continue}r++}return e[r]}};var N=(()=>{let e=class e{constructor(a){this.router=a,this.originalCites=[],this.cites=new f([]),this.cites$=this.cites.asObservable().pipe(u(t=>t.map(r=>{let o=new n;return o.setId(r.getId()).setAuthor(r.getAuthor()).setCite(r.getCite()).setTags(r.getTags()),o})),p(),m(1)),this.count=0,x.pipe(g(t=>this.originalCites=t),g(t=>this.count=t.length),v(()=>this.reset())).subscribe()}reset(){return d(this.originalCites).pipe(h(a=>!!a),g(a=>this.cites.next(a)))}search(a){return this.cites.getValue()?d(this.cites.getValue()).pipe(v(t=>l(t)),h(t=>a?t&&(t.getCite().toLowerCase().includes(a.toLowerCase())||t.getAuthor().toLowerCase().includes(a.toLowerCase())||t.getTags().includes(a.toLowerCase())):!0),c()):q}searchByAuthor(a){return this.cites.getValue()?d(this.cites.getValue()).pipe(v(t=>l(t)),h(t=>t&&t.getAuthor().toLowerCase().includes(a.toLowerCase())),c()):q}countSearchFoundCites(){return this.router.snapshot?.queryParams.q?this.count:(this.originalCites&&(this.count=this.originalCites.length),this.count)}getCiteOfTheDay(){return this.cites.pipe(u(a=>b.getCiteOfTheDay(a)))}getRandomCite(){return this.cites.pipe(u(a=>a[Math.floor(Math.random()*a.length)]))}};e.\u0275fac=function(t){return new(t||e)(y(j))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let s=e;return s})();export{N as a}; diff --git a/docs/citations/server/chunk-U5CHUOLY.mjs b/docs/citations/server/chunk-U5CHUOLY.mjs deleted file mode 100644 index 8fe0366..0000000 --- a/docs/citations/server/chunk-U5CHUOLY.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as k}from"./chunk-WESW6LFQ.mjs";import{a as D,b as B}from"./chunk-VFJ7BWVT.mjs";import{b as $}from"./chunk-B6CYFCU2.mjs";import{a as A}from"./chunk-BAQQOPV7.mjs";import{e as F}from"./chunk-QKRI2DJ5.mjs";import{$a as L,Ea as x,Ia as p,Ka as h,Kb as q,La as _,Lb as E,Na as v,Oa as P,Pa as l,Qa as r,Ra as y,Ua as b,Va as m,Xa as c,Yb as T,Za as d,_ as C,_a as g,aa as f,cb as S,db as I,ya as o,za as u}from"./chunk-XUIXZ2OS.mjs";import"./chunk-KRLCULJA.mjs";var w=(t,e)=>e.getId();function M(t,e){if(t&1&&c(0),t&2){let i=m(2);d('Aucune citation trouv\xE9e pour la recherche "',i.q,'"\xA0')}}function N(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citation trouv\xE9e pour la recherche "',i.q,'":\xA0')}}function O(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citations trouv\xE9es pour la recherche "',i.q,'":\xA0')}}function z(t,e){if(t&1&&(l(0,"h2",9),h(1,M,1,1,"ng-template",10)(2,N,1,2,"ng-template",11)(3,O,1,2,"ng-template",12),r()),t&2){let i=m();p("ngPlural",i.cites.length)}}function R(t,e){if(t&1&&(l(0,"li",13)(1,"cite"),c(2),r(),c(3," de "),y(4,"app-link-cites-by-author",14),r()),t&2){let i=e.$implicit;o(2),d("\u201D",i.getCite(),"\u201D"),o(2),p("author",i.getAuthor())}}var G=t=>({itemPerPage:t}),tt=(()=>{let e=class e extends D{constructor(n,s,a){super(),this.citeService=n,this.title=s,this.device=a,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,a.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.cites$.subscribe({next:n=>{this.fillCites(n)}}),this.findCitesBySearch()}ngOnChanges(){this.findCitesBySearch()}findCitesBySearch(){if(this.q&&this.q.trim()===""){this.citeService.reset().subscribe();return}this.citeService.search(this.q).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach((s,a)=>{this.cites.push(s)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(s){return new(s||e)(u(A),u(T),u($))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[L([]),x,f,S],decls:12,vars:7,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams"],["class","text-md text-gray-600",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],[3,"author"],["class","p-1"]],template:function(s,a){s&1&&(l(0,"div",0)(1,"h1",1)(2,"a",2),c(3),r()(),h(4,z,4,1,"h2",3),l(5,"ul",4),v(6,R,5,2,"li",15,w),r()(),l(8,"div",5)(9,"div",6)(10,"section",7)(11,"app-pager",8),b("paginatedList$",function(j){return a.setPaginatedList(j)}),r()()()()),s&2&&(o(2),p("queryParams",null),o(1),d("",a.citeService.countSearchFoundCites()," Citations."),o(1),_(4,a.q?4:-1),o(2),P(a.paginatedCites),o(5),p("list",a.cites)("options",I(5,G,a.getItemsPerPage())))},dependencies:[F,q,E,k,B],encapsulation:2});let t=e;return t})();export{tt as ListCitesComponent}; diff --git a/docs/citations/server/chunk-VDNIS2RZ.mjs b/docs/citations/server/chunk-VDNIS2RZ.mjs new file mode 100644 index 0000000..9b7a37f --- /dev/null +++ b/docs/citations/server/chunk-VDNIS2RZ.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as F}from"./chunk-DA4QLC2G.mjs";import{a as A,b as D}from"./chunk-YKLTUIIX.mjs";import{b as B}from"./chunk-KS5CTFF5.mjs";import{a as k}from"./chunk-SNHYI5K2.mjs";import{e as T}from"./chunk-IWPG2T2Y.mjs";import{Ea as _,Ia as p,Jb as I,Ka as h,Kb as q,La as x,Na as v,Oa as P,Pa as l,Qa as r,Ra as y,Ua as b,Va as m,Xa as c,Xb as E,Za as d,_ as C,_a as g,aa as f,bb as L,cb as S,ya as o,za as u}from"./chunk-JHH2AAIU.mjs";import"./chunk-KRLCULJA.mjs";var j=(t,e)=>e.getId();function w(t,e){if(t&1&&c(0),t&2){let i=m(2);d('Aucune citation trouv\xE9e pour la recherche "',i.q,'"\xA0')}}function M(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citation trouv\xE9e pour la recherche "',i.q,'":\xA0')}}function N(t,e){if(t&1&&c(0),t&2){let i=m(2);g("",i.cites.length,' citations trouv\xE9es pour la recherche "',i.q,'":\xA0')}}function O(t,e){if(t&1&&(l(0,"h2",9),h(1,w,1,1,"ng-template",10)(2,M,1,2,"ng-template",11)(3,N,1,2,"ng-template",12),r()),t&2){let i=m();p("ngPlural",i.cites.length)}}function z(t,e){if(t&1&&(l(0,"li",13)(1,"cite"),c(2),r(),c(3," de "),y(4,"app-link-cites-by-author",14),r()),t&2){let i=e.$implicit;o(2),d("\u201D",i.getCite(),"\u201D"),o(2),p("author",i.getAuthor())}}var R=t=>({itemPerPage:t}),Z=(()=>{let e=class e extends A{constructor(n,s,a){super(),this.citeService=n,this.title=s,this.device=a,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,a.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.cites$.subscribe({next:n=>{this.fillCites(n)}}),this.findCitesBySearch()}ngOnChanges(){this.findCitesBySearch()}findCitesBySearch(){if(this.q&&this.q.trim()===""){this.citeService.reset().subscribe();return}this.citeService.search(this.q).subscribe(n=>this.fillCites(n))}fillCites(n){this.cites=[],this.paginatedCites=[],n.forEach(s=>{this.cites.push(s)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(n){this.paginatedCites=n}};e.\u0275fac=function(s){return new(s||e)(u(k),u(E),u(B))},e.\u0275cmp=C({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[_,f,L],decls:12,vars:7,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams"],["class","text-md text-gray-600",3,"ngPlural"],[1,"list-none"],[1,"container"],[1,"w-full"],["id","bottom-navigation",1,"block","fixed","inset-x-0","bottom-10","z-10","bg-white"],[3,"list","options","paginatedList$"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[1,"p-1"],[3,"author"],["class","p-1"]],template:function(s,a){s&1&&(l(0,"div",0)(1,"h1",1)(2,"a",2),c(3),r()(),h(4,O,4,1,"h2",3),l(5,"ul",4),v(6,z,5,2,"li",15,j),r()(),l(8,"div",5)(9,"div",6)(10,"section",7)(11,"app-pager",8),b("paginatedList$",function($){return a.setPaginatedList($)}),r()()()()),s&2&&(o(2),p("queryParams",null),o(1),d("",a.citeService.countSearchFoundCites()," Citations."),o(1),x(4,a.q?4:-1),o(2),P(a.paginatedCites),o(5),p("list",a.cites)("options",S(5,R,a.getItemsPerPage())))},dependencies:[T,I,q,F,D],encapsulation:2});let t=e;return t})();export{Z as ListCitesComponent}; diff --git a/docs/citations/server/chunk-VFJ7BWVT.mjs b/docs/citations/server/chunk-VFJ7BWVT.mjs deleted file mode 100644 index c6adc00..0000000 --- a/docs/citations/server/chunk-VFJ7BWVT.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as S}from"./chunk-B6CYFCU2.mjs";import{$a as F,Ia as p,Jb as k,Ka as I,La as M,Ma as w,Na as L,Oa as y,Pa as a,Qa as g,Sa as x,Ua as u,Va as o,Xa as d,Ya as _,_ as v,aa as b,ba as l,ca as c,cb as T,db as m,f,w as h,ya as r,za as O}from"./chunk-XUIXZ2OS.mjs";var V=class{constructor(){this.itemsPerPage=10}getCurrentPage(){return this.currentPage}setCurrentPage(s){this.currentPage=s}getItemsPerPage(){return this.itemsPerPage}};var D=i=>({current:i});function $(i,s){if(i&1){let e=x();a(0,"li",2)(1,"a",3),u("click",function(){let P=l(e).$implicit,E=o(2);return c(E.pager.goToPage(P.index))}),a(2,"span"),d(3),g()()()}if(i&2){let e=s.$implicit,n=o(2);r(1),p("ngClass",m(2,D,n.isCurrentPage(e.index))),r(2),_(e.label)}}var C=i=>({disabled:i});function N(i,s){if(i&1){let e=x();a(0,"ul",1)(1,"li",2)(2,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToFirstPage())}),a(3,"span"),d(4),g()()(),a(5,"li",2)(6,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToPreviousPage())}),a(7,"span"),d(8),g()()(),L(9,$,4,4,"li",4,w),a(11,"li",2)(12,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToNextPage())}),a(13,"span"),d(14),g()()(),a(15,"li",2)(16,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToLastPage())}),a(17,"span"),d(18),g()()()()}if(i&2){let e=o();r(2),p("ngClass",m(8,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[0].label),r(2),p("ngClass",m(10,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[1].label),r(1),y(e.pager.getPagerItemList().getNumbers()),r(3),p("ngClass",m(12,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[0].label),r(2),p("ngClass",m(14,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[1].label)}}var G=(()=>{let s=class s{constructor(n){this.pager=n,this.list=0,this.paginatedList=new f(this.pager.getPaginatedList()),this.paginatedList$=this.paginatedList.asObservable().pipe(h(t=>!!t))}ngOnInit(){this.pager.init(this.list,this.options),this.pager.currentOffset$.subscribe(n=>{this.paginatedList.next(this.pager.getPaginatedList())})}ngOnChanges(n){let t=n.list;t&&(t.isFirstChange()||this.pager.init(t.currentValue,this.options))}previousIsDisabled(){return this.pager.getCurrentPage()===this.pager.getPreviousPage()}nextIsDisabled(){return this.pager.getCurrentPage()===this.pager.getNextPage()}isCurrentPage(n){return this.pager.isCurrentPage(n)}hasList(){return typeof this.list=="object"?this.pager.getTotalPage()>1:!1}};s.\u0275fac=function(t){return new(t||s)(O(S))},s.\u0275cmp=v({type:s,selectors:[["app-pager"]],inputs:{list:"list",options:"options"},outputs:{paginatedList$:"paginatedList$"},standalone:!0,features:[F([]),b,T],decls:2,vars:1,consts:[["class","ng-pager nav","aria-label","Pagination"],["aria-label","Pagination",1,"ng-pager","nav"],[1,"w-12"],[3,"ngClass","click"],["class","w-12"]],template:function(t,P){t&1&&(a(0,"nav"),I(1,N,19,16,"ul",0),g()),t&2&&(r(1),M(1,P.hasList()?1:-1))},dependencies:[k],styles:[".ng-pager[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem}.ng-pager[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}ul.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block;padding:5px 10px;list-style:none;width:40px}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{cursor:pointer}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a.current[_ngcontent-%COMP%]{font-weight:700}.ng-pager[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#2199e8;color:#fefefe;cursor:default}.ng-pager[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{padding:.1875rem .625rem;color:#cacaca;cursor:default}"]});let i=s;return i})();export{V as a,G as b}; diff --git a/docs/citations/server/chunk-XUIXZ2OS.mjs b/docs/citations/server/chunk-XUIXZ2OS.mjs deleted file mode 100644 index 83513fc..0000000 --- a/docs/citations/server/chunk-XUIXZ2OS.mjs +++ /dev/null @@ -1,35 +0,0 @@ -import './polyfills.server.mjs'; -import{a as re,b as Ge,d as Na}from"./chunk-KRLCULJA.mjs";function g(t){return typeof t=="function"}function gt(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Nn=gt(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function We(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var $=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){e=i instanceof Nn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Oa(i)}catch(s){e=e??[],s instanceof Nn?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Nn(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Oa(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&We(n,e)}remove(e){let{_finalizers:n}=this;n&&We(n,e),e instanceof t&&e._removeParent(this)}};$.EMPTY=(()=>{let t=new $;return t.closed=!0,t})();var xo=$.EMPTY;function On(t){return t instanceof $||t&&"closed"in t&&g(t.remove)&&g(t.add)&&g(t.unsubscribe)}function Oa(t){g(t)?t():t.unsubscribe()}var le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mt={setTimeout(t,e,...n){let{delegate:r}=mt;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=mt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Rn(t){mt.setTimeout(()=>{let{onUnhandledError:e}=le;if(e)e(t);else throw t})}function oe(){}var Ra=(()=>So("C",void 0,void 0))();function Fa(t){return So("E",void 0,t)}function Pa(t){return So("N",t,void 0)}function So(t,e,n){return{kind:t,value:e,error:n}}var qe=null;function yt(t){if(le.useDeprecatedSynchronousErrorHandling){let e=!qe;if(e&&(qe={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=qe;if(qe=null,n)throw r}}else t()}function ka(t){le.useDeprecatedSynchronousErrorHandling&&qe&&(qe.errorThrown=!0,qe.error=t)}var Ze=class extends ${constructor(e){super(),this.isStopped=!1,e?(this.destination=e,On(e)&&e.add(this)):this.destination=Yf}static create(e,n,r){return new be(e,n,r)}next(e){this.isStopped?Ao(Pa(e),this):this._next(e)}error(e){this.isStopped?Ao(Fa(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ao(Ra,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},qf=Function.prototype.bind;function _o(t,e){return qf.call(t,e)}var No=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Fn(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Fn(r)}else Fn(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Fn(n)}}},be=class extends Ze{constructor(e,n,r){super();let o;if(g(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&le.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&_o(e.next,i),error:e.error&&_o(e.error,i),complete:e.complete&&_o(e.complete,i)}):o=e}this.destination=new No(o)}};function Fn(t){le.useDeprecatedSynchronousErrorHandling?ka(t):Rn(t)}function Zf(t){throw t}function Ao(t,e){let{onStoppedNotification:n}=le;n&&mt.setTimeout(()=>n(t,e))}var Yf={closed:!0,next:oe,error:Zf,complete:oe};var vt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function G(t){return t}function Qf(...t){return Oo(t)}function Oo(t){return t.length===0?G:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var I=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Jf(n)?n:new be(n,r,o);return yt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=La(r),new r((o,i)=>{let s=new be({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[vt](){return this}pipe(...n){return Oo(n)(this)}toPromise(n){return n=La(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function La(t){var e;return(e=t??le.Promise)!==null&&e!==void 0?e:Promise}function Kf(t){return t&&g(t.next)&&g(t.error)&&g(t.complete)}function Jf(t){return t&&t instanceof Ze||Kf(t)&&On(t)}var ja=gt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class t extends I{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Pn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ja}next(n){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?xo:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,We(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new I;return n.source=this,n}}return t.create=(e,n)=>new Pn(e,n),t})(),Pn=class extends Q{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:xo}};var zt=class extends Q{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};function Ro(t){return g(t?.lift)}function m(t){return e=>{if(Ro(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(t,e,n,r,o){return new Gt(t,e,n,r,o)}var Gt=class extends Ze{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Me(t,e){return m((n,r)=>{let o=0;n.subscribe(v(r,i=>t.call(e,i,o++)&&r.next(i)))})}function Xf(t){return Me((e,n)=>t<=n)}function Ba(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(t,e||[])).next())})}function Va(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ye(t){return this instanceof Ye?(this.v=t,this):new Ye(t)}function Ha(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,D){i.push([f,p,h,D])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof Ye?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function $a(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Va=="function"?Va(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Dt=t=>t&&typeof t.length=="number"&&typeof t!="function";function kn(t){return g(t?.then)}function Ln(t){return g(t[vt])}function jn(t){return Symbol.asyncIterator&&g(t?.[Symbol.asyncIterator])}function Vn(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ep(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Bn=ep();function Hn(t){return g(t?.[Bn])}function $n(t){return Ha(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Ye(n.read());if(o)return yield Ye(void 0);yield yield Ye(r)}}finally{n.releaseLock()}})}function Un(t){return g(t?.getReader)}function S(t){if(t instanceof I)return t;if(t!=null){if(Ln(t))return tp(t);if(Dt(t))return np(t);if(kn(t))return rp(t);if(jn(t))return Ua(t);if(Hn(t))return op(t);if(Un(t))return ip(t)}throw Vn(t)}function tp(t){return new I(e=>{let n=t[vt]();if(g(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function np(t){return new I(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Rn)})}function op(t){return new I(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Ua(t){return new I(e=>{sp(t,e).catch(n=>e.error(n))})}function ip(t){return Ua($n(t))}function sp(t,e){var n,r,o,i;return Ba(this,void 0,void 0,function*(){try{for(n=$a(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})}function Wt(t,e){return m((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;S(t(u,l)).subscribe(o=v(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function zn(t,e,n){let r=g(t)||e||n?{next:t,error:e,complete:n}:t;return r?m((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):G}function Fo(){return m((t,e)=>{let n=null;t._refCount++;let r=v(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var qt=class extends I{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ro(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new $;let n=this.getSubject();e.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=$.EMPTY)}return e}refCount(){return Fo()(this)}};var Po={now(){return(Po.delegate||Date).now()},delegate:void 0};var Gn=class extends ${constructor(e,n){super()}schedule(e,n=0){return this}};var Zt={setInterval(t,e,...n){let{delegate:r}=Zt;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Zt;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Wn=class extends Gn{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return Zt.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Zt.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,We(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var wt=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};wt.now=Po.now;var qn=class extends wt{constructor(e,n=wt.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var Yt=new qn(Wn),za=Yt;var Qe=new I(t=>t.complete());function Zn(t){return t&&g(t.schedule)}function ko(t){return t[t.length-1]}function Ga(t){return g(ko(t))?t.pop():void 0}function ve(t){return Zn(ko(t))?t.pop():void 0}function Wa(t,e){return typeof ko(t)=="number"?t.pop():e}function K(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function Yn(t,e=0){return m((n,r)=>{n.subscribe(v(r,o=>K(r,t,()=>r.next(o),e),()=>K(r,t,()=>r.complete(),e),o=>K(r,t,()=>r.error(o),e)))})}function Qn(t,e=0){return m((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function qa(t,e){return S(t).pipe(Qn(e),Yn(e))}function Za(t,e){return S(t).pipe(Qn(e),Yn(e))}function Ya(t,e){return new I(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Qa(t,e){return new I(n=>{let r;return K(n,e,()=>{r=t[Bn](),K(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Kn(t,e){if(!t)throw new Error("Iterable cannot be null");return new I(n=>{K(n,e,()=>{let r=t[Symbol.asyncIterator]();K(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ka(t,e){return Kn($n(t),e)}function Ja(t,e){if(t!=null){if(Ln(t))return qa(t,e);if(Dt(t))return Ya(t,e);if(kn(t))return Za(t,e);if(jn(t))return Kn(t,e);if(Hn(t))return Qa(t,e);if(Un(t))return Ka(t,e)}throw Vn(t)}function de(t,e){return e?Ja(t,e):S(t)}function Qt(...t){let e=ve(t);return de(t,e)}function ap(t,e){let n=g(t)?t:()=>t,r=o=>o.error(n());return new I(e?o=>e.schedule(r,0,o):r)}function up(t){return!!t&&(t instanceof I||g(t.lift)&&g(t.subscribe))}var Ke=gt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Xa(t){return t instanceof Date&&!isNaN(t)}function Te(t,e){return m((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:cp}=Array;function lp(t,e){return cp(e)?t(...e):t(e)}function Jn(t){return Te(e=>lp(t,e))}var{isArray:dp}=Array,{getPrototypeOf:fp,prototype:pp,keys:hp}=Object;function eu(t){if(t.length===1){let e=t[0];if(dp(e))return{args:e,keys:null};if(gp(e)){let n=hp(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function gp(t){return t&&typeof t=="object"&&fp(t)===pp}function tu(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function mp(...t){let e=ve(t),n=Ga(t),{args:r,keys:o}=eu(t);if(r.length===0)return de([],e);let i=new I(yp(r,e,o?s=>tu(o,s):G));return n?i.pipe(Jn(n)):i}function yp(t,e,n=G){return r=>{nu(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=de(t[u],e),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function nu(t,e,n){t?K(n,t,e):e()}function ru(t,e,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},p=D=>c{i&&e.next(D),c++;let x=!1;S(n(D,l++)).subscribe(v(e,M=>{o?.(M),i?p(M):e.next(M)},()=>{x=!0},void 0,()=>{if(x)try{for(c--;u.length&&ch(M)):h(M)}f()}catch(M){e.error(M)}}))};return t.subscribe(v(e,p,()=>{d=!0,f()})),()=>{a?.()}}function ae(t,e,n=1/0){return g(e)?ae((r,o)=>Te((i,s)=>e(r,i,o,s))(S(t(r,o))),n):(typeof e=="number"&&(n=e),m((r,o)=>ru(r,o,t,n)))}function Kt(t=1/0){return ae(G,t)}function Lo(){return Kt(1)}function Et(...t){return Lo()(de(t,ve(t)))}function vp(t){return new I(e=>{S(t()).subscribe(e)})}var Dp=["addListener","removeListener"],wp=["addEventListener","removeEventListener"],Ep=["on","off"];function jo(t,e,n,r){if(g(n)&&(r=n,n=void 0),r)return jo(t,e,n).pipe(Jn(r));let[o,i]=bp(t)?wp.map(s=>a=>t[s](e,a,n)):Ip(t)?Dp.map(ou(t,e)):Cp(t)?Ep.map(ou(t,e)):[];if(!o&&Dt(t))return ae(s=>jo(s,e,n))(S(t));if(!o)throw new TypeError("Invalid event target");return new I(s=>{let a=(...u)=>s.next(1i(a)})}function ou(t,e){return n=>r=>t[n](e,r)}function Ip(t){return g(t.addListener)&&g(t.removeListener)}function Cp(t){return g(t.on)&&g(t.off)}function bp(t){return g(t.addEventListener)&&g(t.removeEventListener)}function iu(t=0,e,n=za){let r=-1;return e!=null&&(Zn(e)?n=e:r=e),new I(o=>{let i=Xa(t)?+t-n.now():t;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Vo(...t){let e=ve(t),n=Wa(t,1/0),r=t;return r.length?r.length===1?S(r[0]):Kt(n)(de(r,e)):Qe}var Mp=new I(oe);function su(t){return m((e,n)=>{let r=null,o=!1,i;r=e.subscribe(v(n,void 0,void 0,s=>{i=S(t(s,su(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Xn(t,e,n,r,o){return(i,s)=>{let a=n,u=e,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function au(t,e){return m(Xn(t,e,arguments.length>=2,!1,!0))}var Tp=(t,e)=>(t.push(e),t);function xp(){return m((t,e)=>{au(Tp,[])(t).subscribe(e)})}function uu(t,e){return g(e)?ae(t,e,1):ae(t,1)}function cu(t){return new I(e=>t.subscribe(e))}var Sp={connector:()=>new Q};function er(t,e=Sp){let{connector:n}=e;return m((r,o)=>{let i=n();S(t(cu(i))).subscribe(o),o.add(r.subscribe(i))})}function _p(t,e=Yt){return m((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Jt(t){return m((e,n)=>{let r=!1;e.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function Je(t){return t<=0?()=>Qe:m((e,n)=>{let r=0;e.subscribe(v(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function lu(){return m((t,e)=>{t.subscribe(v(e,oe))})}function Bo(t){return Te(()=>t)}function Ho(t,e){return e?n=>Et(e.pipe(Je(1),lu()),n.pipe(Ho(t))):ae((n,r)=>S(t(n,r)).pipe(Je(1),Bo(n)))}function Ap(t,e=Yt){let n=iu(t,e);return Ho(()=>n)}function Np(t,e){return m((n,r)=>{let o=new Set;n.subscribe(v(r,i=>{let s=t?t(i):i;o.has(s)||(o.add(s),r.next(i))})),e&&S(e).subscribe(v(r,()=>o.clear(),oe))})}function $o(t,e=G){return t=t??Op,m((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function Op(t,e){return t===e}function tr(t=Rp){return m((e,n)=>{let r=!1;e.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Rp(){return new Ke}function du(t){return m((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Uo(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Me((o,i)=>t(o,i,r)):G,Je(1),n?Jt(e):tr(()=>new Ke))}function Fp(t,e,n,r){return m((o,i)=>{let s;!e||typeof e=="function"?s=e:{duration:n,element:s,connector:r}=e;let a=new Map,u=h=>{a.forEach(h),h(i)},c=h=>u(D=>D.error(h)),l=0,d=!1,f=new Gt(i,h=>{try{let D=t(h),x=a.get(D);if(!x){a.set(D,x=r?r():new Q);let M=p(D,x);if(i.next(M),n){let j=v(x,()=>{x.complete(),j?.unsubscribe()},void 0,void 0,()=>a.delete(D));f.add(S(n(M)).subscribe(j))}}x.next(s?s(h):h)}catch(D){c(D)}},()=>u(h=>h.complete()),c,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(f);function p(h,D){let x=new I(M=>{l++;let j=D.subscribe(M);return()=>{j.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return x.key=h,x}})}function zo(t){return t<=0?()=>Qe:m((e,n)=>{let r=[];e.subscribe(v(n,o=>{r.push(o),t{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Pp(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Me((o,i)=>t(o,i,r)):G,zo(1),n?Jt(e):tr(()=>new Ke))}function fu(t,e){let n=g(t)?t:()=>t;return g(e)?er(e,{connector:n}):r=>new qt(r,n)}function kp(t){return t?e=>er(t)(e):e=>fu(new Q)(e)}function Lp(t,e){return m(Xn(t,e,arguments.length>=2,!0))}function nr(t={}){let{connector:e=()=>new Q,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let D=s;p(),D?.unsubscribe()};return m((D,x)=>{c++,!d&&!l&&f();let M=u=u??e();x.add(()=>{c--,c===0&&!d&&!l&&(a=Go(h,o))}),M.subscribe(x),!s&&c>0&&(s=new be({next:j=>M.next(j),error:j=>{d=!0,f(),a=Go(p,n,j),M.error(j)},complete:()=>{l=!0,f(),a=Go(p,r),M.complete()}}),S(D).subscribe(s))})(i)}}function Go(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new be({next:()=>{r.unsubscribe(),t()}});return S(e(...n)).subscribe(r)}function jp(t){return m((e,n)=>{let r=!1,o=v(n,()=>{o?.unsubscribe(),r=!0},oe);S(t).subscribe(o),e.subscribe(v(n,i=>r&&n.next(i)))})}function Vp(...t){let e=ve(t);return m((n,r)=>{(e?Et(t,n,e):Et(t,n)).subscribe(r)})}function pu(t){return m((e,n)=>{S(t).subscribe(v(n,()=>n.complete(),oe)),!n.closed&&e.subscribe(n)})}var hu=null;var Wo=1;function B(t){let e=hu;return hu=t,e}var gu={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Bp(t){if(!(Yo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Wo)){if(!t.producerMustRecompute(t)&&!qo(t)){t.dirty=!1,t.lastCleanEpoch=Wo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Wo}}function mu(t){return t&&(t.nextProducerIndex=0),B(t)}function yu(t,e){if(B(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Yo(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function qo(t){rr(t);for(let e=0;e0}function rr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Hp(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function $p(){throw new Error}var Up=$p;function Du(t){Up=t}function R(t){for(let e in t)if(t[e]===R)return e;throw Error("Could not find renamed property on target object.")}function or(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function X(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(X).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` -`);return n===-1?e:e.substring(0,n)}function wu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var zp=R({__forward_ref__:R});function uc(t){return t.__forward_ref__=uc,t.toString=function(){return X(this())},t}function W(t){return cc(t)?t():t}function cc(t){return typeof t=="function"&&t.hasOwnProperty(zp)&&t.__forward_ref__===uc}function lc(t){return t&&!!t.\u0275providers}var dc="https://g.co/ng/security#xss",E=class extends Error{constructor(e,n){super(Gr(e,n)),this.code=e}};function Gr(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Gp=R({\u0275cmp:R}),Wp=R({\u0275dir:R}),qp=R({\u0275pipe:R}),Zp=R({\u0275mod:R}),Dr=R({\u0275fac:R}),en=R({__NG_ELEMENT_ID__:R}),Eu=R({__NG_ENV_ID__:R});function tt(t){return typeof t=="string"?t:t==null?"":String(t)}function Yp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():tt(t)}function Qp(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new E(-200,`Circular dependency in DI detected for ${t}${n}`)}function vs(t,e){let n=e?` in ${e}`:"";throw new E(-201,!1)}function Kp(t,e){t==null&&Jp(e,t,null,"!=")}function Jp(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function N(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Wr(t){return Iu(t,fc)||Iu(t,pc)}function Ux(t){return Wr(t)!==null}function Iu(t,e){return t.hasOwnProperty(e)?t[e]:null}function Xp(t){let e=t&&(t[fc]||t[pc]);return e||null}function Cu(t){return t&&(t.hasOwnProperty(bu)||t.hasOwnProperty(eh))?t[bu]:null}var fc=R({\u0275prov:R}),bu=R({\u0275inj:R}),pc=R({ngInjectableDef:R}),eh=R({ngInjectorDef:R}),_=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(_||{}),fi;function hc(){return fi}function J(t){let e=fi;return fi=t,e}function gc(t,e,n){let r=Wr(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(e!==void 0)return e;vs(X(t),"Injector")}var ue=globalThis;var A=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var th={},rn=th,pi="__NG_DI_FLAG__",wr="ngTempTokenPath",nh="ngTokenPath",rh=/\n/gm,oh="\u0275",Mu="__source",Tt;function ih(){return Tt}function Re(t){let e=Tt;return Tt=t,e}function sh(t,e=_.Default){if(Tt===void 0)throw new E(-203,!1);return Tt===null?gc(t,void 0,e):Tt.get(t,e&_.Optional?null:void 0,e)}function C(t,e=_.Default){return(hc()||sh)(W(t),e)}function O(t,e=_.Default){return C(t,qr(e))}function qr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function hi(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(rh,` - `)}`}function Zr(t){return{toString:t}.toString()}var yc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(yc||{}),ge=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ge||{}),St={},ke=[];function vc(t,e,n){let r=t.length;for(;;){let o=t.indexOf(e,n);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}function gi(t,e,n){let r=0;for(;re){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&vc(p,c,0)!==-1||r&2&&c!==f){if(fe(r))return!1;s=!0}}}}return fe(r)||s}function fe(t){return(t&1)===0}function hh(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!fe(s)&&(e+=xu(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(e+=xu(i,o)),e}function Dh(t){return t.map(vh).join(",")}function wh(t){let e=[],n=[],r=1,o=2;for(;r{let e=Tc(t),n=Ge(re({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===yc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ge.Emulated,styles:t.styles||ke,_:null,schemas:t.schemas||null,tView:null,id:""});xc(n);let r=t.dependencies;return n.directiveDefs=_u(r,!1),n.pipeDefs=_u(r,!0),n.id=bh(n),n})}function Eh(t){return xe(t)||Cc(t)}function Ih(t){return t!==null}function Su(t,e){if(t==null)return St;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}function Yr(t){return Zr(()=>{let e=Tc(t);return xc(e),e})}function Ic(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function xe(t){return t[Gp]||null}function Cc(t){return t[Wp]||null}function bc(t){return t[qp]||null}function Ch(t){let e=xe(t)||Cc(t)||bc(t);return e!==null?e.standalone:!1}function Mc(t,e){let n=t[Zp]||null;if(!n&&e===!0)throw new Error(`Type ${X(t)} does not have '\u0275mod' property.`);return n}function Tc(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||St,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ke,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Su(t.inputs,e),outputs:Su(t.outputs),debugInfo:null}}function xc(t){t.features?.forEach(e=>e(t))}function _u(t,e){if(!t)return null;let n=e?bc:Eh;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(Ih)}function bh(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var V=0,y=1,w=2,L=3,he=4,ye=5,Se=6,sn=7,U=8,_t=9,At=10,F=11,an=12,Au=13,jt=14,ee=15,Dn=16,It=17,Ee=18,Qr=19,Sc=20,Fe=21,Qo=22,nt=23,P=25,Ds=1,un=6,_e=7,Er=8,Nt=9,z=10,Ot=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Ot||{});function Ie(t){return Array.isArray(t)&&typeof t[Ds]=="object"}function q(t){return Array.isArray(t)&&t[Ds]===!0}function _c(t){return(t.flags&4)!==0}function Vt(t){return t.componentOffset>-1}function ws(t){return(t.flags&1)===1}function Le(t){return!!t.template}function Es(t){return(t[w]&512)!==0}function Mh(t){return(t.type&16)===16}function Th(t){return(t[w]&32)===32}function rt(t,e){let n=t.hasOwnProperty(Dr);return n?t[Dr]:null}var mi=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ac(){return Nc}function Nc(t){return t.type.prototype.ngOnChanges&&(t.setInput=Sh),xh}Ac.ngInherit=!0;function xh(){let t=Rc(this),e=t?.current;if(e){let n=t.previous;if(n===St)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Sh(t,e,n,r){let o=this.declaredInputs[n],i=Rc(t)||_h(t,{previous:St,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new mi(u&&u.currentValue,e,a===St),t[r]=e}var Oc="__ngSimpleChanges__";function Rc(t){return t[Oc]||null}function _h(t,e){return t[Oc]=e}var Nu=null;var De=function(t,e,n){Nu?.(t,e,n)},Fc="svg",Ah="math";function H(t){for(;Array.isArray(t);)t=t[V];return t}function Pc(t){for(;Array.isArray(t);){if(typeof t[Ds]=="object")return t;t=t[V]}return null}function Nh(t,e){return H(e[t])}function ie(t,e){return H(e[t.index])}function Is(t,e){return t.data[e]}function Oh(t,e){return t[e]}function He(t,e){let n=e[t];return Ie(n)?n:n[V]}function Rh(t){return(t[w]&4)===4}function Cs(t){return(t[w]&128)===128}function Fh(t){return q(t[L])}function Ir(t,e){return e==null?null:t[e]}function kc(t){t[It]=0}function Ph(t){t[w]&1024||(t[w]|=1024,Cs(t)&&Kr(t))}function kh(t,e){for(;t>0;)e=e[jt],t--;return e}function Lc(t){t[w]&9216&&Kr(t)}function Kr(t){let e=t[L];for(;e!==null&&!(q(e)&&e[w]&Ot.HasChildViewsToRefresh||Ie(e)&&e[w]&8192);){if(q(e))e[w]|=Ot.HasChildViewsToRefresh;else if(e[w]|=8192,!Cs(e))break;e=e[L]}}function jc(t,e){if((t[w]&256)===256)throw new E(911,!1);t[Fe]===null&&(t[Fe]=[]),t[Fe].push(e)}function Lh(t,e){if(t[Fe]===null)return;let n=t[Fe].indexOf(e);n!==-1&&t[Fe].splice(n,1)}var b={lFrame:Gc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function jh(){return b.lFrame.elementDepthCount}function Vh(){b.lFrame.elementDepthCount++}function Bh(){b.lFrame.elementDepthCount--}function Vc(){return b.bindingsEnabled}function wn(){return b.skipHydrationRootTNode!==null}function Hh(t){return b.skipHydrationRootTNode===t}function $h(t){b.skipHydrationRootTNode=t}function Uh(){b.skipHydrationRootTNode=null}function T(){return b.lFrame.lView}function Z(){return b.lFrame.tView}function Gx(t){return b.lFrame.contextLView=t,t[U]}function Wx(t){return b.lFrame.contextLView=null,t}function te(){let t=Bc();for(;t!==null&&t.type===64;)t=t.parent;return t}function Bc(){return b.lFrame.currentTNode}function zh(){let t=b.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function En(t,e){let n=b.lFrame;n.currentTNode=t,n.isParent=e}function Hc(){return b.lFrame.isParent}function Gh(){b.lFrame.isParent=!1}function bs(){let t=b.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Wh(){return b.lFrame.bindingIndex}function qh(t){return b.lFrame.bindingIndex=t}function In(){return b.lFrame.bindingIndex++}function Zh(t){let e=b.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Yh(){return b.lFrame.inI18n}function Qh(t,e){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=t,yi(e)}function Kh(){return b.lFrame.currentDirectiveIndex}function yi(t){b.lFrame.currentDirectiveIndex=t}function $c(){return b.lFrame.currentQueryIndex}function Ms(t){b.lFrame.currentQueryIndex=t}function Jh(t){let e=t[y];return e.type===2?e.declTNode:e.type===1?t[ye]:null}function Uc(t,e,n){if(n&_.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Jh(i),o===null||(i=i[jt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=b.lFrame=zc();return r.currentTNode=e,r.lView=t,!0}function Ts(t){let e=zc(),n=t[y];b.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function zc(){let t=b.lFrame,e=t===null?null:t.child;return e===null?Gc(t):e}function Gc(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Wc(){let t=b.lFrame;return b.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var qc=Wc;function xs(){let t=Wc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Xh(t){return(b.lFrame.contextLView=kh(t,b.lFrame.contextLView))[U]}function Cn(){return b.lFrame.selectedIndex}function ot(t){b.lFrame.selectedIndex=t}function Jr(){let t=b.lFrame;return Is(t.tView,t.selectedIndex)}function qx(){b.lFrame.currentNamespace=Fc}function Zx(){eg()}function eg(){b.lFrame.currentNamespace=null}function Zc(){return b.lFrame.currentNamespace}var Yc=!0;function Ss(){return Yc}function $e(t){Yc=t}function tg(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Nc(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function _s(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[It]+=65536),(a>14>16&&(t[w]&3)===e&&(t[w]+=16384,Ou(a,i)):Ou(a,i)}var xt=-1,it=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function rg(t){return t instanceof it}function og(t){return t!=null&&typeof t=="object"&&(t.insertBeforeIndex===null||typeof t.insertBeforeIndex=="number"||Array.isArray(t.insertBeforeIndex))}function ig(t){return(t.flags&8)!==0}function sg(t){return(t.flags&16)!==0}function Kc(t){return t!==xt}function Cr(t){let e=t&32767;return t&32767}function ag(t){return t>>16}function br(t,e){let n=ag(t),r=e;for(;n>0;)r=r[jt],n--;return r}var vi=!0;function Mr(t){let e=vi;return vi=t,e}var ug=256,Jc=ug-1,Xc=5,cg=0,we={};function lg(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(en)&&(r=n[en]),r==null&&(r=n[en]=cg++);let o=r&Jc,i=1<>Xc)]|=i}function Tr(t,e){let n=el(t,e);if(n!==-1)return n;let r=e[y];r.firstCreatePass&&(t.injectorIndex=e.length,Jo(r.data,t),Jo(e,null),Jo(r.blueprint,null));let o=As(t,e),i=t.injectorIndex;if(Kc(o)){let s=Cr(o),a=br(o,e),u=a[y].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function Jo(t,e){t.push(0,0,0,0,0,0,0,0,e)}function el(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function As(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=il(o),r===null)return xt;if(n++,o=o[jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return xt}function Di(t,e,n){lg(t,e,n)}function dg(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Le(p)&&p.type===n)return u}return null}function st(t,e,n,r){let o=t[n],i=e.data;if(rg(o)){let s=o;s.resolving&&Qp(Yp(i[n]));let a=Mr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?J(s.injectImpl):null,l=Uc(t,r,_.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&tg(n,i[n],e)}finally{c!==null&&J(c),Mr(a),s.resolving=!1,qc()}}return o}function pg(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(en)?t[en]:void 0;return typeof e=="number"?e>=0?e&Jc:hg:e}function Ru(t,e,n){let r=1<>Xc)]&r)}function Fu(t,e){return!(t&_.Self)&&!(t&_.Host&&e)}var et=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return rl(this._tNode,this._lView,e,qr(r),n)}};function hg(){return new et(te(),T())}function Yx(t){return Zr(()=>{let e=t.prototype.constructor,n=e[Dr]||wi(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[Dr]||wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wi(t){return cc(t)?()=>{let e=wi(W(t));return e&&e()}:rt(t)}function gg(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[w]&2048&&!(s[w]&512);){let a=ol(i,s,n,r|_.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[Sc];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=il(s),s=s[jt]}i=u}return o}function il(t){let e=t[y],n=e.type;return n===2?e.declTNode:n===1?t[ye]:null}function sl(t){return dg(te(),t)}var ir="__parameters__";function mg(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function al(t,e,n){return Zr(()=>{let r=mg(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(ir)?u[ir]:Object.defineProperty(u,ir,{value:[]})[ir];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function yg(t){let e=ue.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function vg(t){return typeof t=="function"}function Dg(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Ns(n,e):e(n))}function ul(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function xr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Eg(t,e){let n=[];for(let r=0;r{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(r(d).then(p=>{a[c+f]=p,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>xg(i));e.push(u)}),bg(),Promise.all(e).then(()=>{})}var Sr=new Map,Cg=new Set;function bg(){let t=Sr;return Sr=new Map,t}function Mg(){return Sr.size===0}function Tg(t){return typeof t=="string"?t:t.text()}function xg(t){Cg.delete(t)}var bn=new A("ENVIRONMENT_INITIALIZER"),ll=new A("INJECTOR",-1),dl=new A("INJECTOR_DEF_TYPES"),_r=class{get(e,n=rn){if(n===rn){let r=new Error(`NullInjectorError: No provider for ${X(e)}!`);throw r.name="NullInjectorError",r}return n}};function Mn(t){return{\u0275providers:t}}function Sg(...t){return{\u0275providers:fl(!0,t),\u0275fromNgModule:!0}}function fl(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ns(e,s=>{let a=s;Ei(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&pl(o,i),n}function pl(t,e){for(let n=0;n{e(i,r)})}}function Ei(t,e,n,r){if(t=W(t),!t)return!1;let o=null,i=Cu(t),s=!i&&xe(t);if(!i&&!s){let u=t.ngModule;if(i=Cu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Ei(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ns(i.imports,l=>{Ei(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&pl(c,e)}if(!a){let c=rt(o)||(()=>new o);e({provide:o,useFactory:c,deps:ke},o),e({provide:dl,useValue:o,multi:!0},o),e({provide:bn,useValue:()=>C(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;Rs(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Rs(t,e){for(let n of t)lc(n)&&(n=n.\u0275providers),Array.isArray(n)?Rs(n,e):e(n)}var _g=R({provide:String,useValue:R});function hl(t){return t!==null&&typeof t=="object"&&_g in t}function Ag(t){return!!(t&&t.useExisting)}function Ng(t){return!!(t&&t.useFactory)}function Rt(t){return typeof t=="function"}function Og(t){return!!t.useClass}var Xr=new A("Set Injector scope."),hr={},Rg={},Xo;function Fs(){return Xo===void 0&&(Xo=new _r),Xo}var je=class{},cn=class extends je{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ci(e,s=>this.processProvider(s)),this.records.set(ll,Ct(void 0,this)),o.has("environment")&&this.records.set(je,Ct(void 0,this));let i=this.records.get(Xr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(dl,ke,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Re(this),r=J(void 0),o;try{return e()}finally{Re(n),J(r)}}get(e,n=rn,r=_.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Eu))return e[Eu](this);r=qr(r);let o,i=Re(this),s=J(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=jg(e)&&Wr(e);c&&this.injectableDefInScope(c)?u=Ct(Ii(e),hr):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&_.Self?Fs():this.parent;return n=r&_.Optional&&n===rn?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[wr]=a[wr]||[]).unshift(X(e)),i)throw a;return uh(a,e,"R3InjectorError",this.source)}else throw a}finally{J(s),Re(i)}}resolveInjectorInitializers(){let e=Re(this),n=J(void 0),r;try{let o=this.get(bn,ke,_.Self);for(let i of o)i()}finally{Re(e),J(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(X(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(e){e=W(e);let n=Rt(e)?e:W(e&&e.provide),r=Pg(e);if(!Rt(e)&&e.multi===!0){let o=this.records.get(n);o||(o=Ct(void 0,hr,!0),o.factory=()=>hi(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(e,n){return n.value===hr&&(n.value=Rg,n.value=n.factory()),typeof n.value=="object"&&n.value&&Lg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=W(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ii(t){let e=Wr(t),n=e!==null?e.factory:rt(t);if(n!==null)return n;if(t instanceof A)throw new E(204,!1);if(t instanceof Function)return Fg(t);throw new E(204,!1)}function Fg(t){let e=t.length;if(e>0){let r=Eg(e,"?");throw new E(204,!1)}let n=Xp(t);return n!==null?()=>n.factory(t):()=>new t}function Pg(t){if(hl(t))return Ct(void 0,t.useValue);{let e=gl(t);return Ct(e,hr)}}function gl(t,e,n){let r;if(Rt(t)){let o=W(t);return rt(o)||Ii(o)}else if(hl(t))r=()=>W(t.useValue);else if(Ng(t))r=()=>t.useFactory(...hi(t.deps||[]));else if(Ag(t))r=()=>C(W(t.useExisting));else{let o=W(t&&(t.useClass||t.provide));if(kg(t))r=()=>new o(...hi(t.deps));else return rt(o)||Ii(o)}return r}function Ct(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function kg(t){return!!t.deps}function Lg(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function jg(t){return typeof t=="function"||typeof t=="object"&&t instanceof A}function Ci(t,e){for(let n of t)Array.isArray(n)?Ci(n,e):n&&lc(n)?Ci(n.\u0275providers,e):e(n)}function Qx(t,e){t instanceof cn&&t.assertNotDestroyed();let n,r=Re(t),o=J(void 0);try{return e()}finally{Re(r),J(o)}}function Vg(t){if(!hc()&&!ih())throw new E(-203,!1)}function Pu(t,e=null,n=null,r){let o=ml(t,e,n,r);return o.resolveInjectorInitializers(),o}function ml(t,e=null,n=null,r,o=new Set){let i=[n||ke,Sg(t)];return r=r||(typeof t=="object"?void 0:X(t)),new cn(i,e||Fs(),r||null,o)}var Ae=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return Pu({name:""},o,r,"");{let i=r.name??"";return Pu({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=rn,e.NULL=new _r,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>C(ll)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var bi;function yl(t){bi=t}function eo(){if(bi!==void 0)return bi;if(typeof document<"u")return document;throw new E(210,!1)}var to=new A("AppId",{providedIn:"root",factory:()=>Bg}),Bg="ng",Ps=new A("Platform Initializer"),Ne=new A("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Kx=new A("AnimationModuleType"),ks=new A("CSP nonce",{providedIn:"root",factory:()=>eo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Hg(t){return t.ownerDocument.body}function vl(t){return t instanceof Function?t():t}function Xt(t){return(t??O(Ae)).get(Ne)==="browser"}var ln="ngSkipHydration",$g="ngskiphydration";function Dl(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,Gg="\u200B$1\u200B";function Wg(t){return t.replace(Ug,e=>e.replace(zg,Gg))}var El=new Map,qg=0;function Zg(){return qg++}function Yg(t){El.set(t[Qr],t)}function Qg(t){El.delete(t[Qr])}var ku="__ngContext__";function at(t,e){Ie(e)?(t[ku]=e[Qr],Yg(e)):t[ku]=e}var Kg;function Ls(t,e){return Kg(t,e)}function js(t){let e=t[L];return q(e)?e[L]:e}function Il(t){return bl(t[an])}function Cl(t){return bl(t[he])}function bl(t){for(;t!==null&&!q(t);)t=t[he];return t}function bt(t,e,n,r,o){if(r!=null){let i,s=!1;q(r)?i=r:Ie(r)&&(s=!0,r=r[V]);let a=H(r);t===0&&n!==null?o==null?_l(e,n,a):Nr(e,n,a,o||null,!0):t===1&&n!==null?Nr(e,n,a,o||null,!0):t===2?Nl(e,a,s):t===3&&e.destroyNode(a),i!=null&&hm(e,t,i,n,o)}}function Ml(t,e){return t.createText(e)}function Jg(t,e,n){t.setValue(e,n)}function Tl(t,e){return t.createComment(Wg(e))}function Vs(t,e,n){return t.createElement(e,n)}function Xg(t,e){let n=e[F];Tn(t,e,n,2,null,null),e[V]=null,e[ye]=null}function em(t,e,n,r,o,i){r[V]=o,r[ye]=e,Tn(t,r,n,1,o,i)}function tm(t,e){Tn(t,e,e[F],2,null,null)}function nm(t){let e=t[an];if(!e)return ei(t[y],t);for(;e;){let n=null;if(Ie(e))n=e[an];else{let r=e[z];r&&(n=r)}if(!n){for(;e&&!e[he]&&e!==t;)Ie(e)&&ei(e[y],e),e=e[L];e===null&&(e=t),Ie(e)&&ei(e[y],e),n=e&&e[he]}e=n}}function rm(t,e,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][he]=e),r0&&(t[n-1][he]=r[he]);let i=xr(t,z+e);Xg(r[y],r);let s=i[Ee];s!==null&&s.detachView(i[y]),r[L]=null,r[he]=null,r[w]&=-129}return r}function no(t,e){if(!(e[w]&256)){let n=e[F];e[nt]&&vu(e[nt]),n.destroyNode&&Tn(t,e,n,3,null,null),nm(e)}}function ei(t,e){if(!(e[w]&256)){e[w]&=-129,e[w]|=256,sm(t,e),im(t,e),e[y].type===1&&e[F].destroy();let n=e[Dn];if(n!==null&&q(e[L])){n!==e[L]&&xl(n,e);let r=e[Ee];r!==null&&r.detachView(t)}Qg(e)}}function im(t,e){let n=t.cleanup,r=e[sn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[sn]=null);let o=e[Fe];if(o!==null){e[Fe]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===ge.None||i===ge.Emulated)return null}return ie(r,n)}}function Nr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function _l(t,e,n){t.appendChild(e,n)}function Lu(t,e,n,r,o){r!==null?Nr(t,e,n,r,o):_l(t,e,n)}function um(t,e,n,r){t.removeChild(e,n,r)}function Bs(t,e){return t.parentNode(e)}function cm(t,e){return t.nextSibling(e)}function lm(t,e,n){return fm(t,e,n)}function dm(t,e,n){return t.type&40?ie(t,n):null}var fm=dm,ju;function Hs(t,e,n,r){let o=Sl(t,r,e),i=e[F],s=r.parent||e[ye],a=lm(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return sr}function Vu(t){return mm()?.createScriptURL(t)||t}var Or=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${dc})`}};function ro(t){return t instanceof Or?t.changingThisBreaksApplicationSecurity:t}function Us(t,e){let n=ym(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${dc})`)}return n===e}function ym(t){return t instanceof Or&&t.getTypeName()||null}var vm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pl(t){return t=String(t),t.match(vm)?t:"unsafe:"+t}var oo=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(oo||{});function Dm(t){let e=kl();return e?e.sanitize(oo.URL,t)||"":Us(t,"URL")?ro(t):Pl(tt(t))}function wm(t){let e=kl();if(e)return Vu(e.sanitize(oo.RESOURCE_URL,t)||"");if(Us(t,"ResourceURL"))return Vu(ro(t));throw new E(904,!1)}function Em(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?wm:Dm}function Jx(t,e,n){return Em(e,n)(t)}function kl(){let t=T();return t&&t[At].sanitizer}function Im(){let t=new Ue;return O(Ne)==="browser"&&(t.store=Cm(eo(),O(to))),t}var Ue=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function Tm(t,e,n=!1){let r=t.getAttribute(nn);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=n?o:i?`|${i}`:"",a={};if(r!==""){let c=e.get(Ue,null,{optional:!0});c!==null&&(a=c.get(Ws,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,io(u,0,t.nextSibling)),s?t.setAttribute(nn,s):t.removeAttribute(nn),u}function xm(){Ll=Tm}function qs(t,e,n=!1){return Ll(t,e,n)}function jl(t){let e=t._lView;return e[y].type===2?null:(Es(e)&&(e=e[P]),e)}function Sm(t){return t.textContent?.replace(/\s/gm,"")}function _m(t){let e=eo(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Sm(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(e.createTextNode("")):i.remove()}function io(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function Ai(t,e){return t.segmentHeads?.[e]??null}function Am(t,e){let n=t.data,r=n[Ti]?.[e]??null;return r===null&&n[pn]?.[e]&&(r=Zs(t,e)),r}function Vl(t,e){return t.data[pn]?.[e]??null}function Zs(t,e){let n=Vl(t,e)??[],r=0;for(let o of n)r+=o[Ft]*(o[Rr]??1);return r}function so(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[mr];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var Ni=class{},Fr=class{};function Nm(t){let e=Error(`No component factory found for ${X(t)}.`);return e[Om]=t,e}var Om="ngComponent";var Oi=class{resolveComponentFactory(e){throw Nm(e)}},ao=(()=>{let e=class e{};e.NULL=new Oi;let t=e;return t})();function Rm(){return Bt(te(),T())}function Bt(t,e){return new lt(ie(t,e))}var lt=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Rm;let t=e;return t})();function Fm(t){return t instanceof lt?t.nativeElement:t}var hn=class{},Ys=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Pm();let t=e;return t})();function Pm(){let t=T(),e=te(),n=He(e.index,t);return(Ie(n)?n:t)[F]}var km=(()=>{let e=class e{};e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),gn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Lm=new gn("17.0.4"),ti={};function Qs(t){let e=B(null);try{return t()}finally{B(e)}}function Bl(t){return Ks(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function jm(t,e){if(Array.isArray(t))for(let n=0;ne,Fi=class{constructor(e){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=e||Vm}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,o),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new Pi(n,r),i,o)),e}_verifyReinsertion(e,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let o=n===null?this._itHead:n._next;return e._next=o,e._prev=n,o===null?this._itTail=e:o._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new Pr),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Pi=class{constructor(e,n){this.item=e,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}},ki=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Pr=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new ki,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,o=this.map.get(r);return o?o.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Bu(t,e,n){let r=t.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Vi(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},Vi=class{constructor(e){this.key=e,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 Hu(){return new Js([new Ri])}var Js=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||Hu()),deps:[[e,new cl,new Os]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new E(901,!1)}};e.\u0275prov=N({token:e,providedIn:"root",factory:Hu});let t=e;return t})();function $u(){return new Xs([new Li])}var Xs=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||$u()),deps:[[e,new cl,new Os]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new E(901,!1)}};e.\u0275prov=N({token:e,providedIn:"root",factory:$u});let t=e;return t})();function mn(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(H(i)),q(i)&&Hl(i,r);let s=n.type;if(s&8)mn(t,e,n.child,r);else if(s&32){let a=Ls(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=Al(e,n);if(Array.isArray(a))r.push(...a);else{let u=js(e[ee]);mn(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Hl(t,e){for(let n=z;n{Kr(t.lView)},consumerOnSignalRead(){this.lView[nt]=this}}),zm="ngOriginalError";function ni(t){return t[zm]}var me=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&ni(e);for(;n&&ni(n);)n=ni(n);return n||null}},ar=new A(""),Ul=!1,zl=new A("",{providedIn:"root",factory:()=>Ul});var Oe={};function Xx(t){Gl(Z(),T(),Cn()+t,!1)}function Gl(t,e,n,r){if(!r)if((e[w]&3)===3){let i=t.preOrderCheckHooks;i!==null&&dr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&fr(e,i,0,n)}ot(n)}function ne(t,e=_.Default){let n=T();if(n===null)return C(t,e);let r=te();return rl(r,n,W(t),e)}function Gm(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rP&&Gl(t,e,P,!1),De(s?2:0,o),n(r,o)}finally{ot(i),De(s?3:1,o)}}function Zl(t,e,n){if(_c(e)){let r=B(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Qm(t){wl(t)?Ol(t):_m(t)}function Km(){Jl=Qm}function Jm(t,e,n,r){let o=ad(e);o.push(n),t.firstCreatePass&&ud(t).push(r,o.length-1)}function Xm(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return wn()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Uu(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?zu(n,e,o,i):r.hasOwnProperty(o)&&zu(n,e,r[o],i)}return n}function zu(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function ey(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function iy(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;Vt(n)&&fy(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||Tr(n,e),at(r,e);let s=n.initialInputs;for(let a=o;a-1&&(dn(e,r),xr(n,r))}this._attachedToViewContainer=!1}no(this._lView[y],this._lView)}onDestroy(e){jc(this._lView,e)}markForCheck(){na(this._cdRefInjectingView||this._lView)}detach(){this._lView[w]&=-129}reattach(){Lc(this._lView),this._lView[w]|=128}detectChanges(){yy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,tm(this._lView[y],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=e}},md=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Iy;let t=e;return t})();function Iy(t){return Cy(te(),T(),(t&16)===16)}function Cy(t,e,n){if(Vt(t)&&!n){let r=He(t.index,e);return new ut(r,r)}else if(t.type&47){let r=e[ee];return new ut(r,e)}return null}var yd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=by,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),$i=class extends yd{constructor(e){super(),this._lView=e}onDestroy(e){return jc(this._lView,e),()=>Lh(this._lView,e)}};function by(){return new $i(T())}var Gu=new Set;function ze(t){Gu.has(t)||(Gu.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var Ui=class extends Q{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=ri(i),o&&(o=ri(o)),s&&(s=ri(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof $&&e.add(a),a}};function ri(t){return e=>{setTimeout(t,void 0,e)}}var pe=Ui;function Wu(...t){}function My(){let t=typeof ue.requestAnimationFrame=="function",e=ue[t?"requestAnimationFrame":"setTimeout"],n=ue[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var k=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=My().nativeRequestAnimationFrame,Sy(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new E(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Ty,Wu,Wu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Ty={};function ra(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function xy(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ue,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,zi(t),t.isCheckStableRunning=!0,ra(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),zi(t))}function Sy(t){let e=()=>{xy(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(_y(a))return n.invokeTask(o,i,s,a);try{return qu(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Zu(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return qu(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Zu(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,zi(t),ra(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function zi(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function qu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Zu(t){t._nesting--,ra(t)}var Gi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}},vd=new A("",{providedIn:"root",factory:Dd});function Dd(){let t=O(k),e=!0,n=new I(o=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(e),o.complete()})}),r=new I(o=>{let i;t.runOutsideAngular(()=>{i=t.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,o.next(!0))})})});let s=t.onUnstable.subscribe(()=>{k.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return Vo(n,r.pipe(nr()))}function _y(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Mt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Mt||{}),Ay={destroy(){}};function Ny(t,e){!e&&Vg(Ny);let n=e?.injector??O(Ae);if(!Xt(n))return Ay;ze("NgAfterNextRender");let r=n.get(wd),o=r.handler??=new qi,i=e?.phase??Mt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(yd).onDestroy(s),u=new Wi(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var Wi=class{constructor(e,n,r){this.phase=n,this.callbackFn=r,this.zone=e.get(k),this.errorHandler=e.get(me,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},qi=class{constructor(){this.executingCallbacks=!1,this.buckets={[Mt.EarlyRead]:new Set,[Mt.Write]:new Set,[Mt.MixedReadWrite]:new Set,[Mt.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new E(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let n of e)n.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},wd=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=N({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Oy(t,e){let n=He(e,t),r=n[y];Ry(r,n);let o=n[V];o!==null&&n[Se]===null&&(n[Se]=qs(o,n[_t])),oa(r,n,n[U])}function Ry(t,e){for(let n=e.length;n0&&Rl(t,n,i.join(" "))}}function Hy(t,e,n){let r=t.projection=[];for(let o=0;o=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=on(o.hostAttrs,n=on(n,o.hostAttrs))}}function ur(t){return t===St?{}:t===ke?[]:t}function Wy(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function qy(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function Zy(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function Yy(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}t.inputTransforms=n}function Ed(t,e,n){return t[e]=n}function Ve(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function Id(t,e,n,r){let o=Ve(t,e,n);return Ve(t,e+1,r)||o}function Qy(t,e,n,r){let o=T(),i=In();if(Ve(o,i,e)){let s=Z(),a=Jr();rd(a,o,t,e,n,r)}return Qy}function ia(t,e,n,r){return Ve(t,In(),n)?e+tt(n)+r:Oe}function Ky(t,e,n,r,o,i){let s=Wh(),a=Id(t,s,n,o);return Zh(2),a?e+tt(n)+r+tt(o)+i:Oe}function Jy(t,e,n,r,o,i){let s=T(),a=ia(s,e,n,r);if(a!==Oe){let u=Jr();rd(u,s,t,a,o,i)}return Jy}function Xy(t,e,n){let r=T(),o=In();if(Ve(r,o,e)){let i=Z(),s=Jr();Xl(i,s,r,t,e,r[F],n,!1)}return Xy}function Qu(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";ta(t,n,i[s],s,r)}var Ki="<-- AT THIS LOCATION";function ev(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}function tv(t,e){let n=`During serialization, Angular was unable to find an element in the DOM: - -`,r=`${sv(t,e,!1)} - -`,o=uv();throw new E(-502,n+r+o)}function nv(t){let e="During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via `ViewContainerRef.createComponent` or `createComponent` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using `ngSkipHydration` on the host element of the component.\n\n",n=`${av(t)} - -`,r=e+n+cv();return new E(-503,r)}function rv(t){let e=[];if(t.attrs)for(let n=0;n${e}`;case 8:return"";case 4:return"";default:return`#node(${ev(t.type)})`}}function yr(t,e="\u2026"){let n=t;switch(n.nodeType){case Node.ELEMENT_NODE:let r=n.tagName.toLowerCase(),o=iv(n);return`<${r}${o?" "+o:""}>${e}`;case Node.TEXT_NODE:let i=n.textContent?Lr(n.textContent):"";return`#text${i?`(${i})`:""}`;case Node.COMMENT_NODE:return``;default:return`#node(${n.nodeType})`}}function sv(t,e,n){let r=" ",o="";e.prev?(o+=r+`\u2026 -`,o+=r+oi(e.prev)+` -`):e.type&&e.type&12&&(o+=r+`\u2026 -`),n?(o+=r+oi(e)+` -`,o+=r+` ${Ki} -`):o+=r+oi(e)+` ${Ki} -`,o+=r+`\u2026 -`;let i=e.type?Sl(t[y],e,t):null;return i&&(o=yr(i,` -`+o)),o}function av(t){let e=" ",n="",r=t;return r.previousSibling&&(n+=e+`\u2026 -`,n+=e+yr(r.previousSibling)+` -`),n+=e+yr(r)+` ${Ki} -`,t.nextSibling&&(n+=e+`\u2026 -`),t.parentNode&&(n=yr(r.parentNode,` -`+n)),n}function uv(t){return`To fix this problem: - * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues - * check to see if your template has valid HTML structure - * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template - -`}function cv(){return`Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches. - -`}function lv(t){return t.replace(/\s+/gm,"")}function Lr(t,e=50){return t?(t=lv(t),t.length>e?`${t.substring(0,e-1)}\u2026`:t):""}function Cd(t){let e=t[un]??[],r=t[L][F];for(let o of e)dv(o,r);t[un]=ke}function dv(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[Ft];for(;n0&&n[o-1]===r){let i=n[o]||1;n[o]=i+1}else n.push(r,"")}return n.join("")}function gv(t){let e=t.match(pv),[n,r,o,i]=e,s=r?parseInt(r,10):o,a=[];for(let[u,c,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(c,d)}return[s,...a]}function mv(t){return!t.prev&&t.parent?.type===8}function ii(t){return t.index-P}function fo(t,e,n,r){let o=null,i=ii(r),s=t.data[_i];if(s?.[i])o=vv(s[i],n);else if(e.firstChild===r)o=t.firstChild;else{let a=r.prev===null,u=r.prev??r.parent;if(mv(r)){let c=ii(r.parent);o=Ai(t,c)}else{let c=ie(u,n);if(a)o=c.firstChild;else{let l=ii(u),d=Ai(t,l);if(u.type===2&&d){let p=Zs(t,l)+1;o=po(p,d)}else o=c.nextSibling}}}return o}function po(t,e){let n=e;for(let r=0;r0&&(i.firstChild=t,t=po(r[Ft],t)),n.push(i)}return[t,n]}var Md=(t,e)=>null;function Iv(t,e){let n=t[un];return!e||n===null||n.length===0?null:n[0].data[Si]===e?n.shift():(Cd(t),null)}function Cv(){Md=Iv}function yn(t,e){return Md(t,e)}var Xi=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),o=Math.max(e,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(e,n){this.attach(n,this.detach(e))}};function si(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function bv(t,e,n){let r,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let u=t.at(i),c=e[i],l=si(i,u,i,c,n);if(l!==0){l<0&&t.updateValue(i,c),i++;continue}let d=t.at(s),f=e[a],p=si(s,d,a,f,n);if(p!==0){p<0&&t.updateValue(s,f),s--,a--;continue}let h=n(i,u),D=n(s,d),x=n(i,c);if(Object.is(x,D)){let M=n(a,f);Object.is(M,h)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,c),i++;continue}if(r??=new Vr,o??=Xu(t,i,s,n),es(t,r,i,x))t.updateValue(i,c),i++,s++;else if(o.has(x))r.set(h,t.detach(i)),s--;else{let M=t.create(i,e[i]);t.attach(i,M),i++,s++}}for(;i<=a;)Ju(t,r,n,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=t.at(i),l=u.value,d=si(i,c,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{r??=new Vr,o??=Xu(t,i,s,n);let f=n(i,l);if(es(t,r,i,f))t.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,t.detach(i)),s--}}}for(;!u.done;)Ju(t,r,n,t.length,u.value),u=a.next()}for(;i<=s;)t.destroy(t.detach(s--));r?.forEach(a=>{t.destroy(a)})}function es(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Ju(t,e,n,r,o){if(es(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Xu(t,e,n,r){let o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}var Vr=class{constructor(){this.map=new Map}has(e){let n=this.map.get(e);return n!==void 0&&n.length>0}delete(e){let n=this.map.get(e);return n!==void 0?(n.shift(),!0):!1}get(e){let n=this.map.get(e);return n!==void 0&&n.length>0?n[0]:void 0}set(e,n){if(!this.map.has(e)){this.map.set(e,[n]);return}this.map.get(e)?.push(n)}forEach(e){for(let[n,r]of this.map)for(let o of r)e(o,n)}};function ho(t,e,n,r){let o=e.tView,s=t[w]&4096?4096:16,a=uo(t,o,n,s,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),u=t[e.index];a[Dn]=u;let c=t[Ee];return c!==null&&(a[Ee]=c.createEmbeddedView(o)),oa(o,a,n),a}function Td(t,e){let n=z+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=Mv;let t=e;return t})();function Mv(){let t=te();return _d(t,T())}var Tv=xn,Sd=class extends Tv{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Bt(this._hostTNode,this._hostLView)}get injector(){return new et(this._hostTNode,this._hostLView)}get parentInjector(){let e=As(this._hostTNode,this._hostLView);if(Kc(e)){let n=br(e,this._hostLView),r=Cr(e),o=n[y].data[r+8];return new et(o,n)}else return new et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=ec(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-z}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=yn(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,vn(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!vg(e),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?e:new Pt(xe(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(s?c:this.parentInjector).get(je,null);D&&(i=D)}let l=xe(u.componentType??{}),d=yn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,vn(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(Fh(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[L],c=new Sd(u,u[ye],u[L]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return go(s,o,i,r),e.attachToViewContainerRef(),ul(ai(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=ec(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=dn(this._lContainer,n);r&&(xr(ai(this._lContainer),n),no(r[y],r))}detach(e){let n=this._adjustIndex(e,-1),r=dn(this._lContainer,n);return r&&xr(ai(this._lContainer),n)!=null?new ut(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function ec(t){return t[Er]}function ai(t){return t[Er]||(t[Er]=[])}function _d(t,e){let n,r=e[t.index];return q(r)?n=r:(n=id(r,e,null,t),e[t.index]=n,lo(e,n)),Ad(n,e,t,r),new Sd(n,t,e)}function xv(t,e){let n=t[F],r=n.createComment(""),o=ie(e,t),i=Bs(n,o);return Nr(n,i,r,cm(n,o),!1),r}var Ad=Nd,sa=(t,e,n)=>!1;function Sv(t,e,n){return sa(t,e,n)}function Nd(t,e,n,r){if(t[_e])return;let o;n.type&8?o=H(r):o=xv(e,n),t[_e]=o}function _v(t,e,n){if(t[_e]&&t[un])return!0;let r=n[Se],o=e.index-P;if(!r||gr(e)||so(r,o))return!1;let s=Ai(r,o),a=r.data[pn]?.[o],[u,c]=Ev(s,a);return t[_e]=u,t[un]=c,!0}function Av(t,e,n,r){sa(t,n,e)||Nd(t,e,n,r)}function Nv(){Ad=Av,sa=_v}function Ov(t,e,n,r,o,i,s,a,u){let c=e.consts,l=co(e,t,4,s||null,Ir(c,a));ed(e,n,l,Ir(c,u)),_s(e,l);let d=l.tView=ea(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function ts(t,e,n,r,o,i,s,a){let u=T(),c=Z(),l=t+P,d=c.firstCreatePass?Ov(l,c,u,e,n,r,o,i,s):c.data[l];En(d,!1);let f=Od(c,u,d,t);Ss()&&Hs(c,u,f,d),at(f,u);let p=id(f,u,f,d);return u[l]=p,lo(u,p),Sv(p,d,u),ws(d)&&Yl(c,u,d),s!=null&&Ql(u,d,a),ts}var Od=Rd;function Rd(t,e,n,r){return $e(!0),e[F].createComment("")}function Rv(t,e,n,r){let o=e[Se],i=!o||wn()||so(o,r);if($e(i),i)return Rd(t,e,n,r);let s=o.data[xi]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=fo(o,t,e,n);io(o,r,a);let u=Zs(o,r);return po(u,a)}function Fv(){Od=Rv}function tS(t,e,n){ze("NgControlFlow");let r=T(),o=In(),i=is(r,P+t),s=0;if(Ve(r,o,e)){let a=B(null);try{if(xd(i,s),e!==-1){let u=ss(r[y],P+e),c=yn(i,u.tView.ssrId),l=ho(r,u,n,{dehydratedView:c});go(i,l,s,vn(u,c))}}finally{B(a)}}else{let a=Td(i,s);a!==void 0&&(a[U]=n)}}var ns=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function nS(t,e){return e}var rs=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function rS(t,e,n,r,o,i,s,a,u,c,l){ze("NgControlFlow");let d=u!==void 0,f=T(),p=a?s.bind(f[ee][U]):s,h=new rs(d,p);f[P+t]=h,ts(t+1,e,n,r,o,i),d&&ts(t+2,u,c,l)}var os=class extends Xi{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-z}at(e){return this.getLView(e)[U].$implicit}attach(e,n){let r=n[Se];this.needsIndexUpdate||=e!==this.length,go(this.lContainer,n,e,vn(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Pv(this.lContainer,e)}create(e,n){let r=yn(this.lContainer,this.templateTNode.tView.ssrId);return ho(this.hostLView,this.templateTNode,new ns(this.lContainer,n,e),{dehydratedView:r})}destroy(e){no(e[y],e)}updateValue(e,n){this.getLView(e)[U].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e($e(!0),Vs(r,o,Zc()));function Vv(t,e,n,r,o,i){let s=e[Se],a=!s||wn()||so(s,i);if($e(a),a)return Vs(r,o,Zc());let u=fo(s,t,e,n);return Vl(s,i)&&io(s,i,u.nextSibling),s&&(Dl(n)||wl(u))&&Vt(n)&&($h(n),Ol(u)),u}function Bv(){kd=Vv}var Hv=(t,e,n,r)=>($e(!0),Tl(e[F],""));function $v(t,e,n,r){let o,i=e[Se],s=!i||wn();if($e(s),s)return Tl(e[F],"");let a=fo(i,t,e,n),u=Am(i,r);return io(i,r,a),o=po(u,a),o}function Uv(){Hv=$v}function iS(){return T()}var Xe=void 0;function zv(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Gv=["en",[["a","p"],["AM","PM"],Xe],[["AM","PM"],Xe,Xe],[["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"]],Xe,[["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"]],Xe,[["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}",Xe,"{1} 'at' {0}",Xe],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",zv],ui={};function Ld(t){let e=Wv(t),n=tc(e);if(n)return n;let r=e.split("-")[0];if(n=tc(r),n)return n;if(r==="en")return Gv;throw new E(701,!1)}function jd(t){return Ld(t)[aa.PluralCase]}function tc(t){return t in ui||(ui[t]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[t]),ui[t]}var aa=function(t){return 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}(aa||{});function Wv(t){return t.toLowerCase().replace(/_/g,"-")}var kt="en-US";var qv=kt;function Vd(t){Kp(t,"Expected localeId to be defined"),typeof t=="string"&&(qv=t.toLowerCase().replace(/_/g,"-"))}function mo(t){return!!t&&typeof t.then=="function"}function ua(t){return!!t&&typeof t.subscribe=="function"}function Zv(t,e,n,r){let o=T(),i=Z(),s=te();return Qv(i,o,o[F],s,t,e,r),Zv}function Yv(t,e,n,r){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Qv(t,e,n,r,o,i,s){let a=ws(r),c=t.firstCreatePass&&ud(t),l=e[U],d=ad(e),f=!0;if(r.type&3||s){let D=ie(r,e),x=s?s(D):D,M=d.length,j=s?Ce=>s(H(Ce[r.index])):r.index,Y=null;if(!s&&a&&(Y=Yv(t,e,o,r.index)),Y!==null){let Ce=Y.__ngLastListenerFn__||Y;Ce.__ngNextListenerFn__=i,Y.__ngLastListenerFn__=i,f=!1}else{i=rc(r,e,l,i,!1);let Ce=n.listen(x,o,i);d.push(i,Ce),c&&c.push(o,j,M,M+1)}}else i=rc(r,e,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let D=h.length;if(D)for(let x=0;x-1?He(t.index,e):e;na(a);let u=nc(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=nc(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function sS(t=1){return Xh(t)}function Kv(t,e,n,r,o){let i=T(),s=ia(i,e,n,r);if(s!==Oe){let a=Z(),u=Jr();Xl(a,u,i,t,s,i[F],o,!1)}return Kv}function Jv(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function aS(t,e=""){let n=T(),r=Z(),o=t+P,i=r.firstCreatePass?co(r,o,1,e,null):r.data[o],s=Bd(r,n,i,e,t);n[o]=s,Ss()&&Hs(r,n,s,i),En(i,!1)}var Bd=(t,e,n,r,o)=>($e(!0),Ml(e[F],r));function Xv(t,e,n,r,o){let i=e[Se],s=!i||wn()||so(i,o);return $e(s),s?Ml(e[F],r):fo(i,t,e,n)}function eD(){Bd=Xv}function tD(t){return Hd("",t,""),tD}function Hd(t,e,n){let r=T(),o=ia(r,t,e,n);return o!==Oe&&ld(r,Cn(),o),Hd}function nD(t,e,n,r,o){let i=T(),s=Ky(i,t,e,n,r,o);return s!==Oe&&ld(i,Cn(),s),nD}function rD(t,e,n){let r=Z();if(r.firstCreatePass){let o=Le(t);as(n,r.data,r.blueprint,o,!0),as(e,r.data,r.blueprint,o,!1)}}function as(t,e,n,r,o){if(t=W(t),Array.isArray(t))for(let i=0;i>20;if(Rt(t)||!t.multi){let p=new it(c,o,ne),h=li(u,e,o?l:l+f,d);h===-1?(Di(Tr(a,s),i,u),ci(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=li(u,e,l+f,d),h=li(u,e,l,l+f),D=p>=0&&n[p],x=h>=0&&n[h];if(o&&!x||!o&&!D){Di(Tr(a,s),i,u);let M=sD(o?iD:oD,n.length,o,r,c);!o&&x&&(n[h].providerFactory=M),ci(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(M),s.push(M)}else{let M=$d(n[o?h:p],c,!o&&r);ci(i,t,p>-1?p:h,M)}!o&&r&&x&&n[h].componentProviders++}}}function ci(t,e,n,r){let o=Rt(e),i=Og(e);if(o||i){let u=(i?W(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function $d(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function li(t,e,n,r){for(let o=n;o{n.providersResolver=(r,o)=>rD(r,o?o(t):t,e)}}var Be=class{},cs=class{};var Br=class extends Be{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new kr(this);let o=Mc(e);this._bootstrapComponents=vl(o.bootstrap),this._r3Injector=ml(e,n,[{provide:Be,useValue:this},{provide:ao,useValue:this.componentFactoryResolver},...r],X(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Hr=class extends cs{constructor(e){super(),this.moduleType=e}create(e){return new Br(this.moduleType,e,[])}};function aD(t,e,n){return new Br(t,e,n)}var $r=class extends Be{constructor(e){super(),this.componentFactoryResolver=new kr(this),this.instance=null;let n=new cn([...e.providers,{provide:Be,useValue:this},{provide:ao,useValue:this.componentFactoryResolver}],e.parent||Fs(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function uD(t,e,n=null){return new $r({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var cD=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=fl(!1,r.type),i=o.length>0?uD([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=N({token:e,providedIn:"environment",factory:()=>new e(C(je))});let t=e;return t})();function cS(t){ze("NgStandalone"),t.getStandaloneInjector=e=>e.get(cD).getOrCreateStandaloneInjector(t)}function lS(t,e,n,r){return zd(T(),bs(),t,e,n,r)}function dS(t,e,n,r,o){return lD(T(),bs(),t,e,n,r,o)}function Ud(t,e){let n=t[e];return n===Oe?void 0:n}function zd(t,e,n,r,o,i){let s=e+n;return Ve(t,s,o)?Ed(t,s+1,i?r.call(i,o):r(o)):Ud(t,s+1)}function lD(t,e,n,r,o,i,s){let a=e+n;return Id(t,a,o,i)?Ed(t,a+2,s?r.call(s,o,i):r(o,i)):Ud(t,a+2)}function fS(t,e){let n=Z(),r,o=t+P;n.firstCreatePass?(r=dD(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=rt(r.type,!0)),s,a=J(ne);try{let u=Mr(!1),c=i();return Mr(u),Jv(n,T(),o,c),c}finally{J(a)}}function dD(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function pS(t,e,n){let r=t+P,o=T(),i=Oh(o,r);return fD(o,r)?zd(o,bs(),e,i.transform,n,i):i.transform(n)}function fD(t,e){return t[y].data[e].pure}function pD(){return this._results[Symbol.iterator]()}var ls=class t{get changes(){return this._changes||(this._changes=new pe)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=pD)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=wg(e);(this._changesDetected=!Dg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},Lt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mD;let t=e;return t})(),hD=Lt,gD=class extends hD{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=ho(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new ut(o)}};function mD(){return ca(te(),T())}function ca(t,e){return t.type&4?new gD(e,t,Bt(t,e)):null}var ds=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},fs=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=z;d{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=O(bD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(mo(s))r.push(s);else if(ua(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yd=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function MD(){return typeof $localize<"u"&&$localize.locale||kt}var Ht=new A("LocaleId",{providedIn:"root",factory:()=>O(Ht,_.Optional|_.SkipSelf)||MD()});var Qd=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new zt(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ms=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},DS=(()=>{let e=class e{compileModuleSync(r){return new Hr(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Mc(r),s=vl(i.declarations).reduce((a,u)=>{let c=xe(u);return c&&a.push(new Pt(c)),a},[]);return new ms(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),TD=new A("compilerOptions");var Kd=new A(""),Jd=new A(""),xD=(()=>{let e=class e{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,da||(SD(i),i.addToWindow(o)),this._watchAngularEvents(),r.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:()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{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&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(C(k),C(Xd),C(Jd))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),Xd=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return da?.findTestabilityInTree(this,r,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function SD(t){da=t}var da,Pe=null,ef=new A("AllowMultipleToken"),fa=new A("PlatformDestroyListeners"),yo=new A("appBootstrapListener");function _D(t,e,n){let r=new Hr(n);return Promise.resolve(r)}function tf(){Du(()=>{throw new E(600,!1)})}function AD(t){return t.isBoundToModule}function ND(t){if(Pe&&!Pe.get(ef,!1))throw new E(400,!1);tf(),Pe=t;let e=t.get(uf);return nf(t),e}function OD(t=[]){if(Pe)return Pe;let e=sf(t);return Pe=e,tf(),nf(e),e}function nf(t){t.get(Ps,null)?.forEach(n=>n())}function rf(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=OD(r),i=[LD(),...n||[]],a=new $r({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(k);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(me,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(fa);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),lf(c,u,()=>{let p=a.get(la);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Ht,kt);Vd(h||kt);let D=a.get(dt);return e!==void 0&&D.bootstrap(e),D})})})}catch(e){return Promise.reject(e)}}function of(t,e,n=[]){let r=`Platform: ${e}`,o=new A(r);return(i=[])=>{let s=af();if(!s||s.injector.get(ef,!1)){let a=[...n,...i,{provide:o,useValue:!0}];t?t(a):ND(sf(a,r))}return RD(o)}}function RD(t){let e=af();if(!e)throw new E(401,!1);return e}function sf(t=[],e){return Ae.create({name:e,providers:[{provide:Xr,useValue:"platform"},{provide:fa,useValue:new Set([()=>Pe=null])},...t]})}function af(){return Pe?.get(uf)??null}var uf=(()=>{let e=class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=FD(o?.ngZone,cf({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=aD(r.moduleType,this.injector,pf(()=>i)),a=s.injector.get(me,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{vr(this._modules,s),u.unsubscribe()})}),lf(a,i,()=>{let u=s.injector.get(la);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(Ht,kt);return Vd(c||kt),this._moduleDoBootstrap(s),s})})})}bootstrapModule(r,o=[]){let i=df({},o);return _D(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(dt);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(r.instance.ngDoBootstrap)r.instance.ngDoBootstrap(o);else throw new E(-403,!1);this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let r=this._injector.get(fa,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(C(Ae))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function cf(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function FD(t="zone.js",e){return t==="noop"?new Gi:t==="zone.js"?new k(e):t}function lf(t,e,n){try{let r=n();return mo(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}function df(t,e){return Array.isArray(e)?e.reduce(df,t):re(re({},t),e)}var dt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=O(ff),this.zoneIsStable=O(vd),this.componentTypes=[],this.components=[],this.isStable=O(Qd).hasPendingTasks.pipe(Wt(r=>r?Qt(!1):this.zoneIsStable),$o(),nr()),this._injector=O(je)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Fr;if(!this._injector.get(la).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&Ch(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new E(405,!1)}let a;i?a=r:a=this._injector.get(ao).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=AD(a)?void 0:this._injector.get(Be),c=o||a.selector,l=a.create(Ae.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Kd,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),vr(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;vr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(yo,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>vr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new E(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vr(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function oc(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var ff=new A("",{providedIn:"root",factory:()=>O(me).handleError.bind(void 0)});function PD(){let t=O(k),e=O(me);return n=>t.runOutsideAngular(()=>e.handleError(n))}var kD=(()=>{let e=class e{constructor(){this.zone=O(k),this.applicationRef=O(dt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function pf(t){return[{provide:k,useFactory:t},{provide:bn,multi:!0,useFactory:()=>{let e=O(kD,{optional:!0});return()=>e.initialize()}},{provide:ff,useFactory:PD},{provide:vd,useFactory:Dd}]}function LD(t){let e=pf(()=>new k(cf(t)));return Mn([[],e])}var lr;function pa(t){lr??=new WeakMap;let e=lr.get(t);if(e)return e;let n=t.isStable.pipe(Uo(r=>r)).toPromise().then(()=>{});return lr.set(t,n),t.onDestroy(()=>lr?.delete(t)),n}function wS(){return!1}var jD=of(null,"core",[]);var ys=class{constructor(){this.views=[],this.indexByContent=new Map}add(e){let n=JSON.stringify(e);if(!this.indexByContent.has(n)){let r=this.views.length;return this.views.push(e),this.indexByContent.set(n,r),r}return this.indexByContent.get(n)}getAll(){return this.views}},VD=0;function hf(t){return t.ssrId||(t.ssrId=`t${VD++}`),t.ssrId}function gf(t,e,n){let r=[];return mn(t,e,n,r),r.length}function BD(t){let e=[];return Hl(t,e),e.length}function mf(t,e){let n=t[V];return n&&!n.hasAttribute(ln)?zr(n,t,e):null}function yf(t,e){let n=Pc(t[V]),r=mf(n,e),o=H(n[V]),i=t[L],s=zr(o,i,e),a=n[F],u=`${r}|${s}`;a.setAttribute(o,nn,u)}function ES(t,e){let n=new ys,r=new Map,o=t._views;for(let a of o){let u=jl(a);if(u!==null){let c={serializedViewCollection:n,corruptedTextNodes:r};q(u)?yf(u,c):mf(u,c),UD(r,e)}}let i=n.getAll();t.injector.get(Ue).set(Ws,i)}function HD(t,e){let n=[],r="";for(let o=z;o0&&c===r){let l=n[n.length-1];l[Rr]??=1,l[Rr]++}else r=c,n.push(u)}return n}function di(t,e,n){let r=e.index-P;t[_i]??={},t[_i][r]=wv(e,n)}function ic(t,e){let n=e.index-P;t[mr]??=[],t[mr].includes(n)||t[mr].push(n)}function vf(t,e){let n={},r=t[y];for(let o=P;o{let t=!0;return Xt()&&(t=!!O(Ue,{optional:!0})?.get(Ws,null)),t&&ze("NgHydration"),t}},{provide:bn,useValue:()=>{Xt()&&O(ar)&&(qD(),GD())},multi:!0},{provide:zl,useFactory:()=>Xt()&&O(ar)},{provide:yo,useFactory:()=>{if(Xt()&&O(ar)){let t=O(dt),e=O(Ae);return()=>{WD(t,e).then(()=>{k.assertInAngularZone(),fv(t)})}}return()=>{}},multi:!0}])}function qD(){let t=eo(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Mm){e=n;break}if(!e)throw new E(-507,!1)}function ZD(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function IS(t){let e=xe(t);if(!e)return null;let n=new Pt(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}function CS(...t){return t.reduce((e,n)=>Object.assign(e,n,{providers:[...e.providers,...n.providers]}),{providers:[]})}var ga=null;function Ut(){return ga}function Mf(t){ga||(ga=t)}var vo=class{},se=new A("DocumentToken"),Tf=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:()=>(()=>O(KD))(),providedIn:"platform"});let t=e;return t})();var KD=(()=>{let e=class e extends Tf{constructor(){super(),this._doc=O(se),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ut().getBaseHref(this._doc)}onPopState(r){let o=Ut().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Ut().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function xf(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function Ef(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function ft(t){return t&&t[0]!=="?"?"?"+t:t}var wa=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:()=>(()=>O(XD))(),providedIn:"root"});let t=e;return t})(),JD=new A("appBaseHref"),XD=(()=>{let e=class e extends wa{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??O(se).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return xf(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+ft(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ft(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ft(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(o){return new(o||e)(C(Tf),C(JD,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ew=(()=>{let e=class e{constructor(r){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=rw(Ef(If(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+ft(o))}normalize(r){return e.stripTrailingSlash(nw(this._basePath,If(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ft(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ft(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};e.normalizeQueryParams=ft,e.joinWithSlash=xf,e.stripTrailingSlash=Ef,e.\u0275fac=function(o){return new(o||e)(C(wa))},e.\u0275prov=N({token:e,factory:()=>tw(),providedIn:"root"});let t=e;return t})();function tw(){return new ew(C(wa))}function nw(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function If(t){return t.replace(/\/index.html$/,"")}function rw(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var $t=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}($t||{});var ow=jd;var Sf=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:function(o){let i=null;return o?i=new o:i=(s=>new sw(s))(C(Ht)),i},providedIn:"root"});let t=e;return t})();function iw(t,e,n,r){let o=`=${t}`;if(e.indexOf(o)>-1||(o=n.getPluralCategory(t,r),e.indexOf(o)>-1))return o;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}var sw=(()=>{let e=class e extends Sf{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(ow(o||this.locale)(r)){case $t.Zero:return"zero";case $t.One:return"one";case $t.Two:return"two";case $t.Few:return"few";case $t.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(C(Ht))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})();function _f(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var ha=/\s+/,Cf=[],US=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Cf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ha):Cf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ha):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(ha).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(ne(Js),ne(Xs),ne(lt),ne(Ys))},e.\u0275dir=Yr({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var ma=class{constructor(e,n){this._viewContainerRef=e,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}};var aw=(()=>{let e=class e{constructor(r){this._localization=r,this._caseViews={}}set ngPlural(r){this._updateView(r)}addCase(r,o){this._caseViews[r]=o}_updateView(r){this._clearViews();let o=Object.keys(this._caseViews),i=iw(r,o,this._localization);this._activateView(this._caseViews[i])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(r){r&&(this._activeView=r,this._activeView.create())}};e.\u0275fac=function(o){return new(o||e)(ne(Sf))},e.\u0275dir=Yr({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),zS=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new ma(i,o))}};e.\u0275fac=function(o){return new(o||e)(sl("ngPluralCase"),ne(Lt),ne(xn),ne(aw,1))},e.\u0275dir=Yr({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function uw(t,e){return new E(2100,!1)}var ya=class{createSubscription(e,n){return Qs(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){Qs(()=>e.unsubscribe())}},va=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},cw=new va,lw=new ya,GS=(()=>{let e=class e{constructor(r){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){return this._obj?r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue:(r&&this._subscribe(r),this._latestValue)}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(mo(r))return cw;if(ua(r))return lw;throw uw(e,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(ne(md,16))},e.\u0275pipe=Ic({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Ea="browser",dw="server";function WS(t){return t===Ea}function Ia(t){return t===dw}var qS=(()=>{let e=class e{};e.\u0275prov=N({token:e,providedIn:"root",factory:()=>new Da(C(se),window)});let t=e;return t})(),Da=class{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let n=fw(this.document,e);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){let n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function fw(t,e){let n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=r.nextNode()}}return null}var bf=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Do=class{};var Eo=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let o=(e.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=e.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var kf=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(kf||{}),Ca=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new Eo,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var Io=class t extends Ca{constructor(e={}){super(e),this.type=kf.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var hw=new A("");var Af="b",Nf="h",Of="s",Rf="st",Ff="u",Pf="rt",wo=new A(""),gw=["GET","HEAD"];function mw(t,e){let l=O(wo),{isCacheActive:n}=l,r=Na(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!gw.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=O(Ue),a=vw(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[Af]:d,[Pf]:f,[Nf]:p,[Of]:h,[Rf]:D,[Ff]:x}=u,M=d;switch(f){case"arraybuffer":M=new TextEncoder().encode(d).buffer;break;case"blob":M=new Blob([d]);break}let j=new Eo(p);return Qt(new Io({body:M,headers:j,status:h,statusText:D,url:x}))}return e(t).pipe(zn(d=>{d instanceof Io&&s.set(a,{[Af]:d.body,[Nf]:yw(d.headers,c),[Of]:d.status,[Rf]:d.statusText,[Ff]:d.url||"",[Pf]:t.responseType})}))}function yw(t,e){if(!e)return{};let n={};for(let r of e){let o=t.getAll(r);o!==null&&(n[r]=o)}return n}function vw(t){let{params:e,method:n,responseType:r,url:o}=t,i=e.keys().sort().map(u=>`${u}=${e.getAll(u)}`).join("&"),s=n+"."+r+"."+o+"?"+i,a=Dw(s);return a}function Dw(t){let e=0;for(let n of t)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483647+1,e.toString()}function Lf(t){return[{provide:wo,useFactory:()=>(ze("NgHttpTransferCache"),re({isCacheActive:!0},t))},{provide:hw,useValue:mw,multi:!0,deps:[Ue,wo]},{provide:yo,multi:!0,useFactory:()=>{let e=O(dt),n=O(wo);return()=>{pa(e).then(()=>{n.isCacheActive=!1})}}}]}var Ta=class extends vo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},xa=class t extends Ta{static makeCurrent(){Mf(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=ww();return n==null?null:Ew(n)}resetBaseElement(){Sn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return _f(document.cookie,e)}},Sn=null;function ww(){return Sn=Sn||document.querySelector("base"),Sn?Sn.getAttribute("href"):null}var Co;function Ew(t){Co=Co||document.createElement("a"),Co.setAttribute("href",t);let e=Co.pathname;return e.charAt(0)==="/"?e:`/${e}`}var Iw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),Sa=new A("EventManagerPlugins"),Hf=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new E(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(C(Sa),C(k))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),bo=class{constructor(e){this._doc=e}},ba="ng-app-id",$f=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ia(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${ba}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(ba),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(ba,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(C(se),C(to),C(ks,8),C(Ne))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),Ma={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/"},Aa=/%COMP%/g,Uf="%COMP%",Cw=`_nghost-${Uf}`,bw=`_ngcontent-${Uf}`,Mw=!0,Tw=new A("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>Mw});function xw(t){return bw.replace(Aa,t)}function Sw(t){return Cw.replace(Aa,t)}function zf(t,e){return e.map(n=>n.replace(Aa,t))}var jf=(()=>{let e=class e{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ia(u),this.defaultRenderer=new _n(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ge.ShadowDom&&(o=Ge(re({},o),{encapsulation:ge.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Mo?i.applyToHost(r):i instanceof An&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case ge.Emulated:s=new Mo(c,l,o,this.appId,d,a,u,f);break;case ge.ShadowDom:return new _a(c,l,r,o,a,u,this.nonce,f);default:s=new An(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(C(Hf),C($f),C(to),C(Tw),C(se),C(Ne),C(k),C(ks))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),_n=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Ma[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(Vf(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Vf(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new E(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=Ma[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Ma[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(ct.DashCase|ct.Important)?e.style.setProperty(n,r,o&ct.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&ct.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Ut().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function Vf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var _a=class extends _n{constructor(e,n,r,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=zf(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},An=class extends _n{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?zf(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Mo=class extends An{constructor(e,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(e,n,r,i,s,a,u,c),this.contentAttr=xw(c),this.hostAttr=Sw(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},_w=(()=>{let e=class e extends bo{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(C(se))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),Bf=["alt","control","meta","shift"],Aw={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Nw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Ow=(()=>{let e=class e extends bo{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ut().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Bf.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=Aw[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Bf.forEach(a=>{if(a!==i){let u=Nw[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(C(se))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})();function b_(t,e){return rf(re({rootComponent:t},Rw(e)))}function Rw(t){return{appProviders:[...jw,...t?.providers??[]],platformProviders:Lw}}function Fw(){xa.makeCurrent()}function Pw(){return new me}function kw(){return yl(document),document}var Lw=[{provide:Ne,useValue:Ea},{provide:Ps,useValue:Fw,multi:!0},{provide:se,useFactory:kw,deps:[]}];var jw=[{provide:Xr,useValue:"root"},{provide:me,useFactory:Pw,deps:[]},{provide:Sa,useClass:_w,multi:!0,deps:[se,k,Ne]},{provide:Sa,useClass:Ow,multi:!0,deps:[se]},jf,$f,Hf,{provide:hn,useExisting:jf},{provide:Do,useClass:Iw,deps:[]},[]];function Vw(){return new Bw(C(se))}var Bw=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(o){return new(o||e)(C(se))},e.\u0275prov=N({token:e,factory:function(o){let i=null;return o?i=new o:i=Vw(),i},providedIn:"root"});let t=e;return t})();function M_(...t){let e=[],n=new Set,r=n.has(1);for(let{\u0275providers:o,\u0275kind:i}of t)n.add(i),o.length&&e.push(o);return Mn([[],Df(),n.has(0)||r?[]:Lf({}),e])}export{$ as a,Qf as b,Fo as c,qt as d,Q as e,zt as f,Qe as g,de as h,Qt as i,ap as j,up as k,Ke as l,Te as m,mp as n,ae as o,Kt as p,Lo as q,Et as r,vp as s,jo as t,Vo as u,Mp as v,Me as w,su as x,xp as y,uu as z,_p as A,Jt as B,Je as C,Bo as D,Ap as E,Np as F,du as G,Uo as H,Fp as I,zo as J,Pp as K,kp as L,Lp as M,Xf as N,jp as O,Vp as P,Wt as Q,pu as R,zn as S,E as T,N as U,Ux as V,_ as W,A as X,C as Y,O as Z,zx as _,Yr as $,Ac as aa,Gx as ba,Wx as ca,qx as da,Zx as ea,Yx as fa,sl as ga,Os as ha,Mn as ia,je as ja,Qx as ka,Ae as la,yl as ma,to as na,Ps as oa,Ne as pa,Kx as qa,Jx as ra,Ue as sa,Mm as ta,lt as ua,hn as va,Ys as wa,ar as xa,Xx as ya,ne as za,md as Aa,pe as Ba,k as Ca,Ny as Da,zy as Ea,Yy as Fa,Qy as Ga,Jy as Ha,Xy as Ia,xn as Ja,ts as Ka,tS as La,nS as Ma,rS as Na,oS as Oa,Fd as Pa,Pd as Qa,jv as Ra,iS as Sa,mo as Ta,Zv as Ua,sS as Va,Kv as Wa,aS as Xa,tD as Ya,Hd as Za,nD as _a,uS as $a,cs as ab,uD as bb,cS as cb,lS as db,dS as eb,fS as fb,pS as gb,gS as hb,mS as ib,yS as jb,vS as kb,bD as lb,Yd as mb,Qd as nb,DS as ob,Kd as pb,xD as qb,ef as rb,yo as sb,of as tb,dt as ub,pa as vb,wS as wb,jD as xb,ES as yb,ZD as zb,IS as Ab,CS as Bb,Ut as Cb,Mf as Db,se as Eb,Tf as Fb,wa as Gb,JD as Hb,ew as Ib,US as Jb,aw as Kb,zS as Lb,GS as Mb,dw as Nb,WS as Ob,qS as Pb,bf as Qb,Do as Rb,hw as Sb,xa as Tb,Sa as Ub,bo as Vb,jf as Wb,b_ as Xb,Bw as Yb,M_ as Zb}; diff --git a/docs/citations/server/chunk-YKLTUIIX.mjs b/docs/citations/server/chunk-YKLTUIIX.mjs new file mode 100644 index 0000000..152f4ab --- /dev/null +++ b/docs/citations/server/chunk-YKLTUIIX.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as F}from"./chunk-KS5CTFF5.mjs";import{Ia as p,Ib as k,Ka as I,La as M,Ma as w,Na as L,Oa as y,Pa as a,Qa as g,Sa as x,Ua as u,Va as o,Xa as d,Ya as _,_ as v,aa as b,ba as l,bb as T,ca as c,cb as m,f,w as h,ya as r,za as O}from"./chunk-JHH2AAIU.mjs";var S=class{constructor(){this.itemsPerPage=10}getCurrentPage(){return this.currentPage}setCurrentPage(s){this.currentPage=s}getItemsPerPage(){return this.itemsPerPage}};var E=n=>({current:n});function D(n,s){if(n&1){let e=x();a(0,"li",2)(1,"a",3),u("click",function(){let P=l(e).$implicit,V=o(2);return c(V.pager.goToPage(P.index))}),a(2,"span"),d(3),g()()()}if(n&2){let e=s.$implicit,i=o(2);r(1),p("ngClass",m(2,E,i.isCurrentPage(e.index))),r(2),_(e.label)}}var C=n=>({disabled:n});function $(n,s){if(n&1){let e=x();a(0,"ul",1)(1,"li",2)(2,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToFirstPage())}),a(3,"span"),d(4),g()()(),a(5,"li",2)(6,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToPreviousPage())}),a(7,"span"),d(8),g()()(),L(9,D,4,4,"li",4,w),a(11,"li",2)(12,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToNextPage())}),a(13,"span"),d(14),g()()(),a(15,"li",2)(16,"a",3),u("click",function(){l(e);let t=o();return c(t.pager.goToLastPage())}),a(17,"span"),d(18),g()()()()}if(n&2){let e=o();r(2),p("ngClass",m(8,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[0].label),r(2),p("ngClass",m(10,C,e.previousIsDisabled())),r(2),_(e.pager.getPagerItemList().getFirstEdges()[1].label),r(1),y(e.pager.getPagerItemList().getNumbers()),r(3),p("ngClass",m(12,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[0].label),r(2),p("ngClass",m(14,C,e.nextIsDisabled())),r(2),_(e.pager.getPagerItemList().getLastEdges()[1].label)}}var A=(()=>{let s=class s{constructor(i){this.pager=i,this.list=0,this.paginatedList=new f(this.pager.getPaginatedList()),this.paginatedList$=this.paginatedList.asObservable().pipe(h(t=>!!t))}ngOnInit(){this.pager.init(this.list,this.options),this.pager.currentOffset$.subscribe(()=>{this.paginatedList.next(this.pager.getPaginatedList())})}ngOnChanges(i){let t=i.list;t&&(t.isFirstChange()||this.pager.init(t.currentValue,this.options))}previousIsDisabled(){return this.pager.getCurrentPage()===this.pager.getPreviousPage()}nextIsDisabled(){return this.pager.getCurrentPage()===this.pager.getNextPage()}isCurrentPage(i){return this.pager.isCurrentPage(i)}hasList(){return typeof this.list=="object"?this.pager.getTotalPage()>1:!1}};s.\u0275fac=function(t){return new(t||s)(O(F))},s.\u0275cmp=v({type:s,selectors:[["app-pager"]],inputs:{list:"list",options:"options"},outputs:{paginatedList$:"paginatedList$"},standalone:!0,features:[b,T],decls:2,vars:1,consts:[["class","ng-pager nav","aria-label","Pagination"],["aria-label","Pagination",1,"ng-pager","nav"],[1,"w-12"],[3,"ngClass","click"],["class","w-12"]],template:function(t,P){t&1&&(a(0,"nav"),I(1,$,19,16,"ul",0),g()),t&2&&(r(1),M(1,P.hasList()?1:-1))},dependencies:[k],styles:[".ng-pager[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem}.ng-pager[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}ul.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block;padding:5px 10px;list-style:none;width:40px}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{cursor:pointer}.ng-pager[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a.current[_ngcontent-%COMP%]{font-weight:700}.ng-pager[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#2199e8;color:#fefefe;cursor:default}.ng-pager[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{padding:.1875rem .625rem;color:#cacaca;cursor:default}"]});let n=s;return n})();export{S as a,A as b}; diff --git a/docs/citations/server/chunk-ZR3EWU6Z.mjs b/docs/citations/server/chunk-ZR3EWU6Z.mjs deleted file mode 100644 index 3a3b951..0000000 --- a/docs/citations/server/chunk-ZR3EWU6Z.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as F}from"./chunk-5LNREIAP.mjs";import{a as A}from"./chunk-WESW6LFQ.mjs";import{a as B}from"./chunk-BAQQOPV7.mjs";import"./chunk-QKRI2DJ5.mjs";import{$a as g,Ia as h,Ka as u,La as x,Mb as T,N as c,Pa as s,Q as p,Qa as a,Ra as b,S as d,Xa as C,Yb as w,Z as o,Za as v,_ as f,cb as y,f as m,fb as k,gb as S,ya as r}from"./chunk-XUIXZ2OS.mjs";import"./chunk-KRLCULJA.mjs";function M(e,t){e&1&&(s(0,"h1",0),C(1),a(),s(2,"p",1),b(3,"app-link-cites-by-author",2),a()),e&2&&(r(1),v(" ",t.getCite()," "),r(2),h("author",t.getAuthor()))}var q=(()=>{let t=class t{constructor(){this.cite=new m({}),this.cite$=this.cite.asObservable().pipe(c(1)),this.citesService=o(B),this.click=o(F),this.title=o(w),this.title.setTitle("Citations - Citation al\xE9atoire"),this.click.refresh$.pipe(d(i=>console.info("refresh subscribe",i)),p(()=>this.citesService.getRandomCite())).subscribe({next:i=>this.cite.next(i)})}ngOnInit(){}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=f({type:t,selectors:[["app-random"]],standalone:!0,features:[g([]),y],decls:2,vars:3,consts:[[1,"my-4","text-3xl","md:text-5xl","text-violet-800","font-bold","leading-tight","text-center","md:text-left","slide-in-bottom-h1"],[1,"leading-normal","text-base","md:text-2xl","mb-8","text-center","md:text-left","slide-in-bottom-subtitle"],[3,"author"]],template:function(n,I){if(n&1&&(u(0,M,4,2),k(1,"async")),n&2){let l;x(0,(l=S(1,1,I.cite$))?0:-1,l)}},dependencies:[T,A],encapsulation:2});let e=t;return e})();export{q as RandomComponent}; diff --git a/docs/citations/server/index.server.html b/docs/citations/server/index.server.html index 17d1119..2aa26e9 100644 --- a/docs/citations/server/index.server.html +++ b/docs/citations/server/index.server.html @@ -27,9 +27,9 @@ - + - + diff --git a/docs/citations/server/main.server.mjs b/docs/citations/server/main.server.mjs index 1688953..1964722 100644 --- a/docs/citations/server/main.server.mjs +++ b/docs/citations/server/main.server.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{a}from"./chunk-CF5WBSH6.mjs";import"./chunk-5LNREIAP.mjs";import"./chunk-OL53WL6O.mjs";import"./chunk-MUV6HIBH.mjs";import"./chunk-B6CYFCU2.mjs";import"./chunk-BAQQOPV7.mjs";import"./chunk-QKRI2DJ5.mjs";import"./chunk-XUIXZ2OS.mjs";import"./chunk-KRLCULJA.mjs";export{a as default}; +import{a}from"./chunk-RGQQJVP5.mjs";import"./chunk-AGIMZMOE.mjs";import"./chunk-KK4XS2FZ.mjs";import"./chunk-QDBRHCH7.mjs";import"./chunk-KS5CTFF5.mjs";import"./chunk-SNHYI5K2.mjs";import"./chunk-IWPG2T2Y.mjs";import"./chunk-JHH2AAIU.mjs";import"./chunk-KRLCULJA.mjs";export{a as default}; diff --git a/docs/citations/server/render-utils.server.mjs b/docs/citations/server/render-utils.server.mjs index fdc3274..6329ddb 100644 --- a/docs/citations/server/render-utils.server.mjs +++ b/docs/citations/server/render-utils.server.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{b as E,c as w,e as N,f as A,g as I}from"./chunk-OL53WL6O.mjs";import{c as P,d as S}from"./chunk-QKRI2DJ5.mjs";import{mb as f,ob as g,tb as h,ub as p,vb as y,xb as C}from"./chunk-XUIXZ2OS.mjs";import{i as l,j as d,k as u}from"./chunk-KRLCULJA.mjs";function a(e,n,i,t=""){return d(this,null,function*(){for(let r of e){let{path:o,redirectTo:c,loadChildren:T,children:R}=r;if(o===void 0)continue;let s=x(t,o);if(c!==void 0){yield{route:s,success:!1,redirect:!0};continue}if(/[:*]/.test(o)){yield{route:s,success:!1,redirect:!1};continue}if(yield{route:s,success:!0,redirect:!1},R?.length&&(yield*u(a(R,n,i,s))),T){let m=yield new l(P(r,n,i).toPromise());if(m){let{routes:_,injector:L=i}=m;yield*u(a(_,n,L,s))}}}})}function v(e,n){return d(this,null,function*(){let i=h(C,"server",[{provide:E,useValue:{document:n,url:""}},{provide:f,useFactory:()=>{class t extends f{ignoredLogs=new Set(["Angular is running in development mode."]);log(o){this.ignoredLogs.has(o)||super.log(o)}}return new t}},...w])();try{let t;V(e)?t=yield new l(e()):t=(yield new l(i.bootstrapModule(e))).injector.get(p),yield new l(y(t));let r=t.injector,o=r.get(S);if(o.config.length===0)yield{route:"",success:!0,redirect:!1};else{let c=r.get(g);yield*u(a(o.config,c,r))}}finally{i.destroy()}})}function V(e){return typeof e=="function"&&!("\u0275mod"in e)}function x(...e){return e.filter(Boolean).join("/")}export{v as extractRoutes,I as renderApplication,A as renderModule,f as \u0275Console,N as \u0275SERVER_CONTEXT}; +import{b as E,c as w,e as N,f as A,g as I}from"./chunk-KK4XS2FZ.mjs";import{c as P,d as S}from"./chunk-IWPG2T2Y.mjs";import{lb as f,nb as g,sb as h,tb as p,ub as y,wb as C}from"./chunk-JHH2AAIU.mjs";import{i as l,j as d,k as u}from"./chunk-KRLCULJA.mjs";function a(e,n,i,t=""){return d(this,null,function*(){for(let r of e){let{path:o,redirectTo:c,loadChildren:T,children:R}=r;if(o===void 0)continue;let s=x(t,o);if(c!==void 0){yield{route:s,success:!1,redirect:!0};continue}if(/[:*]/.test(o)){yield{route:s,success:!1,redirect:!1};continue}if(yield{route:s,success:!0,redirect:!1},R?.length&&(yield*u(a(R,n,i,s))),T){let m=yield new l(P(r,n,i).toPromise());if(m){let{routes:_,injector:L=i}=m;yield*u(a(_,n,L,s))}}}})}function v(e,n){return d(this,null,function*(){let i=h(C,"server",[{provide:E,useValue:{document:n,url:""}},{provide:f,useFactory:()=>{class t extends f{ignoredLogs=new Set(["Angular is running in development mode."]);log(o){this.ignoredLogs.has(o)||super.log(o)}}return new t}},...w])();try{let t;V(e)?t=yield new l(e()):t=(yield new l(i.bootstrapModule(e))).injector.get(p),yield new l(y(t));let r=t.injector,o=r.get(S);if(o.config.length===0)yield{route:"",success:!0,redirect:!1};else{let c=r.get(g);yield*u(a(o.config,c,r))}}finally{i.destroy()}})}function V(e){return typeof e=="function"&&!("\u0275mod"in e)}function x(...e){return e.filter(Boolean).join("/")}export{v as extractRoutes,I as renderApplication,A as renderModule,f as \u0275Console,N as \u0275SERVER_CONTEXT}; diff --git a/docs/citations/server/server.mjs b/docs/citations/server/server.mjs index c859185..dd7794a 100644 --- a/docs/citations/server/server.mjs +++ b/docs/citations/server/server.mjs @@ -1,5 +1,5 @@ import './polyfills.server.mjs'; -import{a as pl}from"./chunk-CF5WBSH6.mjs";import"./chunk-5LNREIAP.mjs";import{e as ul,f as cl,g as ll}from"./chunk-OL53WL6O.mjs";import"./chunk-MUV6HIBH.mjs";import"./chunk-B6CYFCU2.mjs";import"./chunk-BAQQOPV7.mjs";import"./chunk-QKRI2DJ5.mjs";import{Hb as ol}from"./chunk-XUIXZ2OS.mjs";import{a as U,b as Oe,c as y,d as ws,e as h,f as Rg,g as We,h as ie}from"./chunk-KRLCULJA.mjs";var ml=h((Hk,dl)=>{"use strict";var Mg=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Dg=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Fg=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Bg=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],fl=(t,e,r)=>{let i=t;return typeof e=="string"||Array.isArray(e)?i=t.toLocaleString(e,r):(e===!0||r!==void 0)&&(i=t.toLocaleString(void 0,r)),i};dl.exports=(t,e)=>{if(!Number.isFinite(t))throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);e=Object.assign({bits:!1,binary:!1},e);let r=e.bits?e.binary?Bg:Fg:e.binary?Dg:Mg;if(e.signed&&t===0)return` 0 ${r[0]}`;let i=t<0,n=i?"-":e.signed?"+":"";i&&(t=-t);let a;if(e.minimumFractionDigits!==void 0&&(a={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(a=Object.assign({maximumFractionDigits:e.maximumFractionDigits},a)),t<1){let c=fl(t,e.locale,a);return n+c+" "+r[0]}let s=Math.min(Math.floor(e.binary?Math.log(t)/Math.log(1024):Math.log10(t)/3),r.length-1);t/=Math.pow(e.binary?1024:1e3,s),a||(t=t.toPrecision(3));let o=fl(Number(t),e.locale,a),u=r[s];return n+o+" "+u}});var _t=h((KA,Vl)=>{"use strict";Vl.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}});var Zs=h((rT,Qs)=>{"use strict";var r2=y("tty"),i2=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||r2.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),W=(t,e,r=t)=>i=>{let n=""+i,a=n.indexOf(e,t.length);return~a?t+gp(n,e,r,a)+e:t+n+e},gp=(t,e,r,i)=>{let n=t.substring(0,i)+r,a=t.substring(i+e.length),s=a.indexOf(e);return~s?n+gp(a,e,r,s):n+a},xp=(t=i2)=>({isColorSupported:t,reset:t?e=>`\x1B[0m${e}\x1B[0m`:String,bold:t?W("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:t?W("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:t?W("\x1B[3m","\x1B[23m"):String,underline:t?W("\x1B[4m","\x1B[24m"):String,inverse:t?W("\x1B[7m","\x1B[27m"):String,hidden:t?W("\x1B[8m","\x1B[28m"):String,strikethrough:t?W("\x1B[9m","\x1B[29m"):String,black:t?W("\x1B[30m","\x1B[39m"):String,red:t?W("\x1B[31m","\x1B[39m"):String,green:t?W("\x1B[32m","\x1B[39m"):String,yellow:t?W("\x1B[33m","\x1B[39m"):String,blue:t?W("\x1B[34m","\x1B[39m"):String,magenta:t?W("\x1B[35m","\x1B[39m"):String,cyan:t?W("\x1B[36m","\x1B[39m"):String,white:t?W("\x1B[37m","\x1B[39m"):String,gray:t?W("\x1B[90m","\x1B[39m"):String,bgBlack:t?W("\x1B[40m","\x1B[49m"):String,bgRed:t?W("\x1B[41m","\x1B[49m"):String,bgGreen:t?W("\x1B[42m","\x1B[49m"):String,bgYellow:t?W("\x1B[43m","\x1B[49m"):String,bgBlue:t?W("\x1B[44m","\x1B[49m"):String,bgMagenta:t?W("\x1B[45m","\x1B[49m"):String,bgCyan:t?W("\x1B[46m","\x1B[49m"):String,bgWhite:t?W("\x1B[47m","\x1B[49m"):String});Qs.exports=xp();Qs.exports.createColors=xp});var Ys=h((iT,Ep)=>{"use strict";var Js="'".charCodeAt(0),yp='"'.charCodeAt(0),Mn="\\".charCodeAt(0),wp="/".charCodeAt(0),Dn=` +import{a as pl}from"./chunk-RGQQJVP5.mjs";import"./chunk-AGIMZMOE.mjs";import{e as ul,f as cl,g as ll}from"./chunk-KK4XS2FZ.mjs";import"./chunk-QDBRHCH7.mjs";import"./chunk-KS5CTFF5.mjs";import"./chunk-SNHYI5K2.mjs";import"./chunk-IWPG2T2Y.mjs";import{Gb as ol}from"./chunk-JHH2AAIU.mjs";import{a as U,b as Oe,c as y,d as ws,e as h,f as Rg,g as We,h as ie}from"./chunk-KRLCULJA.mjs";var ml=h((Hk,dl)=>{"use strict";var Mg=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Dg=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Fg=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Bg=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],fl=(t,e,r)=>{let i=t;return typeof e=="string"||Array.isArray(e)?i=t.toLocaleString(e,r):(e===!0||r!==void 0)&&(i=t.toLocaleString(void 0,r)),i};dl.exports=(t,e)=>{if(!Number.isFinite(t))throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);e=Object.assign({bits:!1,binary:!1},e);let r=e.bits?e.binary?Bg:Fg:e.binary?Dg:Mg;if(e.signed&&t===0)return` 0 ${r[0]}`;let i=t<0,n=i?"-":e.signed?"+":"";i&&(t=-t);let a;if(e.minimumFractionDigits!==void 0&&(a={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(a=Object.assign({maximumFractionDigits:e.maximumFractionDigits},a)),t<1){let c=fl(t,e.locale,a);return n+c+" "+r[0]}let s=Math.min(Math.floor(e.binary?Math.log(t)/Math.log(1024):Math.log10(t)/3),r.length-1);t/=Math.pow(e.binary?1024:1e3,s),a||(t=t.toPrecision(3));let o=fl(Number(t),e.locale,a),u=r[s];return n+o+" "+u}});var _t=h((KA,Vl)=>{"use strict";Vl.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}});var Zs=h((rT,Qs)=>{"use strict";var r2=y("tty"),i2=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||r2.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),W=(t,e,r=t)=>i=>{let n=""+i,a=n.indexOf(e,t.length);return~a?t+gp(n,e,r,a)+e:t+n+e},gp=(t,e,r,i)=>{let n=t.substring(0,i)+r,a=t.substring(i+e.length),s=a.indexOf(e);return~s?n+gp(a,e,r,s):n+a},xp=(t=i2)=>({isColorSupported:t,reset:t?e=>`\x1B[0m${e}\x1B[0m`:String,bold:t?W("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:t?W("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:t?W("\x1B[3m","\x1B[23m"):String,underline:t?W("\x1B[4m","\x1B[24m"):String,inverse:t?W("\x1B[7m","\x1B[27m"):String,hidden:t?W("\x1B[8m","\x1B[28m"):String,strikethrough:t?W("\x1B[9m","\x1B[29m"):String,black:t?W("\x1B[30m","\x1B[39m"):String,red:t?W("\x1B[31m","\x1B[39m"):String,green:t?W("\x1B[32m","\x1B[39m"):String,yellow:t?W("\x1B[33m","\x1B[39m"):String,blue:t?W("\x1B[34m","\x1B[39m"):String,magenta:t?W("\x1B[35m","\x1B[39m"):String,cyan:t?W("\x1B[36m","\x1B[39m"):String,white:t?W("\x1B[37m","\x1B[39m"):String,gray:t?W("\x1B[90m","\x1B[39m"):String,bgBlack:t?W("\x1B[40m","\x1B[49m"):String,bgRed:t?W("\x1B[41m","\x1B[49m"):String,bgGreen:t?W("\x1B[42m","\x1B[49m"):String,bgYellow:t?W("\x1B[43m","\x1B[49m"):String,bgBlue:t?W("\x1B[44m","\x1B[49m"):String,bgMagenta:t?W("\x1B[45m","\x1B[49m"):String,bgCyan:t?W("\x1B[46m","\x1B[49m"):String,bgWhite:t?W("\x1B[47m","\x1B[49m"):String});Qs.exports=xp();Qs.exports.createColors=xp});var Ys=h((iT,Ep)=>{"use strict";var Js="'".charCodeAt(0),yp='"'.charCodeAt(0),Mn="\\".charCodeAt(0),wp="/".charCodeAt(0),Dn=` `.charCodeAt(0),ui=" ".charCodeAt(0),Fn="\f".charCodeAt(0),Bn=" ".charCodeAt(0),zn="\r".charCodeAt(0),n2="[".charCodeAt(0),a2="]".charCodeAt(0),s2="(".charCodeAt(0),o2=")".charCodeAt(0),u2="{".charCodeAt(0),c2="}".charCodeAt(0),l2=";".charCodeAt(0),p2="*".charCodeAt(0),f2=":".charCodeAt(0),d2="@".charCodeAt(0),Un=/[\t\n\f\r "#'()/;[\\\]{}]/g,$n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,m2=/.[\r\n"'(/\\]/,Sp=/[\da-f]/i;Ep.exports=function(e,r={}){let i=e.css.valueOf(),n=r.ignoreErrors,a,s,o,u,c,l,p,f,d,m,v=i.length,b=0,x=[],k=[];function C(){return b}function q(_){throw e.error("Unclosed "+_,b)}function O(){return k.length===0&&b>=v}function T(_){if(k.length)return k.pop();if(b>=v)return;let X=_?_.ignoreUnclosed:!1;switch(a=i.charCodeAt(b),a){case Dn:case ui:case Bn:case zn:case Fn:{s=b;do s+=1,a=i.charCodeAt(s);while(a===ui||a===Dn||a===Bn||a===zn||a===Fn);m=["space",i.slice(b,s)],b=s-1;break}case n2:case a2:case u2:case c2:case f2:case l2:case o2:{let N=String.fromCharCode(a);m=[N,N,b];break}case s2:{if(f=x.length?x.pop()[1]:"",d=i.charCodeAt(b+1),f==="url"&&d!==Js&&d!==yp&&d!==ui&&d!==Dn&&d!==Bn&&d!==Fn&&d!==zn){s=b;do{if(l=!1,s=i.indexOf(")",s+1),s===-1)if(n||X){s=b;break}else q("bracket");for(p=s;i.charCodeAt(p-1)===Mn;)p-=1,l=!l}while(l);m=["brackets",i.slice(b,s+1),b,s],b=s}else s=i.indexOf(")",b+1),u=i.slice(b,s+1),s===-1||m2.test(u)?m=["(","(",b]:(m=["brackets",u,b,s],b=s);break}case Js:case yp:{o=a===Js?"'":'"',s=b;do{if(l=!1,s=i.indexOf(o,s+1),s===-1)if(n||X){s=b+1;break}else q("string");for(p=s;i.charCodeAt(p-1)===Mn;)p-=1,l=!l}while(l);m=["string",i.slice(b,s+1),b,s],b=s;break}case d2:{Un.lastIndex=b+1,Un.test(i),Un.lastIndex===0?s=i.length-1:s=Un.lastIndex-2,m=["at-word",i.slice(b,s+1),b,s],b=s;break}case Mn:{for(s=b,c=!0;i.charCodeAt(s+1)===Mn;)s+=1,c=!c;if(a=i.charCodeAt(s+1),c&&a!==wp&&a!==ui&&a!==Dn&&a!==Bn&&a!==zn&&a!==Fn&&(s+=1,Sp.test(i.charAt(s)))){for(;Sp.test(i.charAt(s+1));)s+=1;i.charCodeAt(s+1)===ui&&(s+=1)}m=["word",i.slice(b,s+1),b,s],b=s;break}default:{a===wp&&i.charCodeAt(b+1)===p2?(s=i.indexOf("*/",b+2)+1,s===0&&(n||X?s=i.length:q("comment")),m=["comment",i.slice(b,s+1),b,s],b=s):($n.lastIndex=b+1,$n.test(i),$n.lastIndex===0?s=i.length-1:s=$n.lastIndex-2,m=["word",i.slice(b,s+1),b,s],x.push(m),b=s);break}}return b++,m}function re(_){k.push(_)}return{back:re,endOfFile:O,nextToken:T,position:C}}});var Ks=h((nT,Cp)=>{"use strict";var ve=Zs(),h2=Ys(),kp;function v2(t){kp=t}var b2={";":ve.yellow,":":ve.yellow,"(":ve.cyan,")":ve.cyan,"[":ve.yellow,"]":ve.yellow,"{":ve.yellow,"}":ve.yellow,"at-word":ve.cyan,brackets:ve.cyan,call:ve.cyan,class:ve.yellow,comment:ve.gray,hash:ve.magenta,string:ve.green};function g2([t,e],r){if(t==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!r.endOfFile()){let i=r.nextToken();if(r.back(i),i[0]==="brackets"||i[0]==="(")return"call"}return t}function Ap(t){let e=h2(new kp(t),{ignoreErrors:!0}),r="";for(;!e.endOfFile();){let i=e.nextToken(),n=b2[g2(i,e)];n?r+=i[1].split(/\r?\n/).map(a=>n(a)).join(` `):r+=i[1]}return r}Ap.registerInput=v2;Cp.exports=Ap});var Hn=h((aT,qp)=>{"use strict";var Tp=Zs(),_p=Ks(),ci=class t extends Error{constructor(e,r,i,n,a,s){super(e),this.name="CssSyntaxError",this.reason=e,a&&(this.file=a),n&&(this.source=n),s&&(this.plugin=s),typeof r<"u"&&typeof i<"u"&&(typeof r=="number"?(this.line=r,this.column=i):(this.line=r.line,this.column=r.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=Tp.isColorSupported),_p&&e&&(r=_p(r));let i=r.split(/\r?\n/),n=Math.max(this.line-3,0),a=Math.min(this.line+2,i.length),s=String(a).length,o,u;if(e){let{bold:c,gray:l,red:p}=Tp.createColors(!0);o=f=>c(p(f)),u=f=>l(f)}else o=u=c=>c;return i.slice(n,a).map((c,l)=>{let p=n+1+l,f=" "+(" "+p).slice(-s)+" | ";if(p===this.line){let d=u(f.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+u(f)+c+` `+d+o("^")}return" "+u(f)+c}).join(` diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index d37345b..ca2b1fb 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -23,3 +23,4 @@ describe('AppComponent', () => { const app = fixture.componentInstance; expect(app.title.getTitle()).toEqual('Liste de Citations'); }); +}); diff --git a/src/app/app.config.server.ts b/src/app/app.config.server.ts index d7bae3b..ede75c8 100644 --- a/src/app/app.config.server.ts +++ b/src/app/app.config.server.ts @@ -3,9 +3,7 @@ import { provideServerRendering } from '@angular/platform-server'; import { appConfig } from './app.config'; const serverConfig: ApplicationConfig = { - providers: [ - provideServerRendering(), - ] + providers: [provideServerRendering()], }; export const config = mergeApplicationConfig(appConfig, serverConfig); diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 75840bc..e68ac9b 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -5,21 +5,21 @@ export const routes: Routes = [ path: '', loadComponent: () => import('./components/home/home.component').then( - (c) => c.HomeComponent + (c) => c.HomeComponent, ) /* */, }, { path: 'cites', loadComponent: () => import('./components/list-cites/list-cites.component').then( - (c) => c.ListCitesComponent + (c) => c.ListCitesComponent, ) /* */, }, { path: 'authors', loadComponent: () => import('./components/list-authors/list-authors.component').then( - (c) => c.ListAuthorsComponent + (c) => c.ListAuthorsComponent, ) /* */, }, { @@ -33,21 +33,21 @@ export const routes: Routes = [ path: 'random', loadComponent: () => import('./components/random/random.component').then( - (c) => c.RandomComponent + (c) => c.RandomComponent, ) /* */, }, { path: 'search', loadComponent: () => import('./components/list-cites/list-cites.component').then( - (c) => c.ListCitesComponent + (c) => c.ListCitesComponent, ) /* */, }, { path: '**', loadComponent: () => import('./components/pageNotFound/page-not-found.component').then( - (c) => c.PageNotFoundComponent + (c) => c.PageNotFoundComponent, ) /* */, }, ]; diff --git a/src/app/components/cite/cite.component.ts b/src/app/components/cite/cite.component.ts index 2ea367d..04b6c26 100644 --- a/src/app/components/cite/cite.component.ts +++ b/src/app/components/cite/cite.component.ts @@ -1,4 +1,3 @@ -/* eslint-disable prettier/prettier */ import { Component, Input } from '@angular/core'; import { Title } from '@angular/platform-browser'; import { Cites } from '../../services/Cites'; @@ -8,29 +7,30 @@ import { CiteI } from '../../models/Cite'; @Component({ selector: 'app-cite', template: ` -

- {{ cite.getCite() }} -

-

- -

+ > + {{ cite.getCite() }} + +

+ +

`, - styles: [], - providers: [], standalone: true, imports: [LinkCitesByAuthorComponent], }) export class CiteComponent { - @Input({required: true}) cite!: CiteI; + @Input({ required: true }) cite!: CiteI; - constructor(protected citesService: Cites, protected title: Title) { + constructor( + protected citesService: Cites, + protected title: Title, + ) { this.title.setTitle('Citations - Citation du jour'); } } diff --git a/src/app/components/home/home.component.ts b/src/app/components/home/home.component.ts index ec704af..e16441c 100644 --- a/src/app/components/home/home.component.ts +++ b/src/app/components/home/home.component.ts @@ -1,9 +1,7 @@ -/* eslint-disable prettier/prettier */ +import { AsyncPipe } from '@angular/common'; import { Component } from '@angular/core'; import { Title } from '@angular/platform-browser'; import { Cites } from '../../services/Cites'; -import { LinkCitesByAuthorComponent } from '../link-cites-by-author/link-cites-by-author.component'; -import { AsyncPipe } from '@angular/common'; import { CiteComponent } from '../cite/cite.component'; @Component({ @@ -13,13 +11,14 @@ import { CiteComponent } from '../cite/cite.component'; } `, - styles: [], - providers: [], standalone: true, - imports: [AsyncPipe, LinkCitesByAuthorComponent, CiteComponent], + imports: [AsyncPipe, CiteComponent], }) export class HomeComponent { - constructor(protected citesService: Cites, protected title: Title) { + constructor( + protected citesService: Cites, + protected title: Title, + ) { this.title.setTitle('Citations - Citation du jour'); } } diff --git a/src/app/components/list-authors/list-authors.component.ts b/src/app/components/list-authors/list-authors.component.ts index 09b42b0..b3d7302 100644 --- a/src/app/components/list-authors/list-authors.component.ts +++ b/src/app/components/list-authors/list-authors.component.ts @@ -44,11 +44,11 @@ import { NgClass } from '@angular/common'; @@ -68,7 +68,6 @@ import { NgClass } from '@angular/common'; `, - providers: [], standalone: true, imports: [NgClass, RouterLink, PagerComponent], }) @@ -85,7 +84,7 @@ export class ListAuthorsComponent constructor( public authorService: Authors, protected title: Title, - protected device: Device + protected device: Device, ) { super(); this.title.setTitle('Citations - Liste des auteurs'); @@ -140,7 +139,7 @@ export class ListAuthorsComponent return this.sort === 'total'; } - setPaginatedList(ev: AuthorI[]): void { - this.paginatedAuthors = ev; + setPaginatedList(ev: unknown[]): void { + this.paginatedAuthors = ev as AuthorI[]; } } diff --git a/src/app/components/list-cites-by-authors/list-cites-by-authors.component.ts b/src/app/components/list-cites-by-authors/list-cites-by-authors.component.ts index bec5fba..f65dea0 100644 --- a/src/app/components/list-cites-by-authors/list-cites-by-authors.component.ts +++ b/src/app/components/list-cites-by-authors/list-cites-by-authors.component.ts @@ -1,13 +1,12 @@ /* eslint-disable prettier/prettier */ +import { NgPlural, NgPluralCase } from '@angular/common'; import { Component, Input, OnInit } from '@angular/core'; +import { Title } from '@angular/platform-browser'; import { CiteI } from '../../models/Cite'; import { Cites } from '../../services/Cites'; -import { Title } from '@angular/platform-browser'; import { Device } from '../../tools/Device'; import { BasePaginatedComponent } from '../common/BasePaginatedComponent'; import { PagerComponent } from '../pager/pager.component'; -import { NgIf, NgPlural, NgPluralCase, NgFor } from '@angular/common'; -import { BehaviorSubject, filter, switchMap } from 'rxjs'; @Component({ selector: 'app-list-cites-by-authors', @@ -56,7 +55,6 @@ import { BehaviorSubject, filter, switchMap } from 'rxjs'; `, - providers: [], standalone: true, imports: [NgPlural, NgPluralCase, PagerComponent], }) @@ -90,13 +88,13 @@ export class ListCitesByAuthorsComponent protected fillCites(citesList: CiteI[]): void { this.cites = []; this.paginatedCites = []; - citesList.forEach((cite, index) => { + citesList.forEach((cite) => { this.cites.push(cite); }); this.paginatedCites = this.cites.slice(0, this.itemsPerPage); } - setPaginatedList(ev: CiteI[]): void { - this.paginatedCites = ev; + setPaginatedList(ev: unknown[]): void { + this.paginatedCites = ev as CiteI[]; } } diff --git a/src/app/components/list-cites/list-cites.component.ts b/src/app/components/list-cites/list-cites.component.ts index 890ca87..044f059 100644 --- a/src/app/components/list-cites/list-cites.component.ts +++ b/src/app/components/list-cites/list-cites.component.ts @@ -70,7 +70,6 @@ import { OnChanges } from '@angular/core'; `, - providers: [], standalone: true, imports: [ RouterLink, @@ -129,13 +128,13 @@ export class ListCitesComponent protected fillCites(citesList: CiteI[]): void { this.cites = []; this.paginatedCites = []; - citesList.forEach((cite, index) => { + citesList.forEach((cite) => { this.cites.push(cite); }); this.paginatedCites = this.cites.slice(0, this.itemsPerPage); } - setPaginatedList(ev: CiteI[]): void { - this.paginatedCites = ev; + setPaginatedList(ev: unknown[]): void { + this.paginatedCites = ev as CiteI[]; } } diff --git a/src/app/components/navbar-desktop/navbar-desktop.component.ts b/src/app/components/navbar-desktop/navbar-desktop.component.ts index 0b02d49..e9384eb 100644 --- a/src/app/components/navbar-desktop/navbar-desktop.component.ts +++ b/src/app/components/navbar-desktop/navbar-desktop.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core'; +import { RouterLink, RouterLinkActive } from '@angular/router'; import { BaseNavbarComponent } from '../common/BaseNavbarComponent'; import { SearchComponent } from '../search/search.component'; -import { RouterLink, RouterLinkActive } from '@angular/router'; @Component({ selector: 'app-navbar-desktop', diff --git a/src/app/components/navbar-mobile/navbar-mobile.component.ts b/src/app/components/navbar-mobile/navbar-mobile.component.ts index bf9ca80..1e704df 100644 --- a/src/app/components/navbar-mobile/navbar-mobile.component.ts +++ b/src/app/components/navbar-mobile/navbar-mobile.component.ts @@ -1,7 +1,6 @@ -import { Component, inject } from '@angular/core'; -import { BaseNavbarComponent } from '../common/BaseNavbarComponent'; +import { Component } from '@angular/core'; import { RouterLink, RouterLinkActive } from '@angular/router'; -import { Click } from '../../services/Click'; +import { BaseNavbarComponent } from '../common/BaseNavbarComponent'; @Component({ selector: 'app-navbar-mobile', diff --git a/src/app/components/pager/pager.component.spec.ts b/src/app/components/pager/pager.component.spec.ts index 9a874ba..7991dd1 100644 --- a/src/app/components/pager/pager.component.spec.ts +++ b/src/app/components/pager/pager.component.spec.ts @@ -8,8 +8,8 @@ describe('PagerComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [PagerComponent], -}).compileComponents(); + imports: [PagerComponent], + }).compileComponents(); fixture = TestBed.createComponent(PagerComponent); component = fixture.componentInstance; diff --git a/src/app/components/pager/pager.component.ts b/src/app/components/pager/pager.component.ts index eeac90a..faed9f6 100644 --- a/src/app/components/pager/pager.component.ts +++ b/src/app/components/pager/pager.component.ts @@ -1,4 +1,5 @@ /* eslint-disable prettier/prettier */ +import { NgClass } from '@angular/common'; import { Component, Input, @@ -7,10 +8,9 @@ import { Output, SimpleChanges, } from '@angular/core'; -import { PagerService } from '../../services/Pager/pager.service'; -import { PagerOptionsInterface } from '../../services/Pager/pager.interface'; import { BehaviorSubject, filter } from 'rxjs'; -import { NgIf, NgClass, NgFor } from '@angular/common'; +import { PagerOptionsInterface } from '../../services/Pager/pager.interface'; +import { PagerService } from '../../services/Pager/pager.service'; @Component({ selector: 'app-pager', @@ -68,14 +68,13 @@ import { NgIf, NgClass, NgFor } from '@angular/common'; `, styleUrls: ['./pager.component.scss'], - providers: [], standalone: true, imports: [NgClass], }) export class PagerComponent implements OnInit, OnChanges { - @Input() list: Array | number = 0; + @Input() list: Array | number = 0; @Input() options?: PagerOptionsInterface; - private paginatedList: BehaviorSubject> = new BehaviorSubject( + private paginatedList: BehaviorSubject> = new BehaviorSubject( this.pager.getPaginatedList() ); @Output() paginatedList$ = this.paginatedList @@ -87,12 +86,12 @@ export class PagerComponent implements OnInit, OnChanges { // do i need ngOnInit, or ngOnChanges is enough ? ngOnInit(): void { this.pager.init(this.list, this.options); - this.pager.currentOffset$.subscribe((value) => { + this.pager.currentOffset$.subscribe(() => { this.paginatedList.next(this.pager.getPaginatedList()); }); } - ngOnChanges(changes: SimpleChanges) { + ngOnChanges(changes: SimpleChanges): void { const list = changes['list']; if (!list) { return; diff --git a/src/app/components/random/random.component.ts b/src/app/components/random/random.component.ts index 00b028d..f6e1840 100644 --- a/src/app/components/random/random.component.ts +++ b/src/app/components/random/random.component.ts @@ -1,12 +1,12 @@ /* eslint-disable prettier/prettier */ -import { Component, OnInit, inject, runInInjectionContext } from '@angular/core'; +import { Component, inject } from '@angular/core'; import { CiteI } from '../../models/Cite'; import { Cites } from '../../services/Cites'; import { Click } from '../../services/Click'; import { Title } from '@angular/platform-browser'; import { LinkCitesByAuthorComponent } from '../link-cites-by-author/link-cites-by-author.component'; import { AsyncPipe, NgIf } from '@angular/common'; -import { BehaviorSubject, Observable, ReplaySubject, skip, switchMap, tap } from 'rxjs'; +import { BehaviorSubject, skip, switchMap, tap } from 'rxjs'; @Component({ selector: 'app-random', @@ -28,13 +28,12 @@ import { BehaviorSubject, Observable, ReplaySubject, skip, switchMap, tap } from } `, standalone: true, - providers: [], imports: [NgIf, AsyncPipe, LinkCitesByAuthorComponent], }) -export class RandomComponent implements OnInit { +export class RandomComponent { private cite: BehaviorSubject = new BehaviorSubject({} as CiteI); protected cite$ = this.cite.asObservable().pipe(skip(1)); - + protected citesService: Cites = inject(Cites); protected click: Click = inject(Click); protected title: Title = inject(Title); @@ -49,8 +48,4 @@ export class RandomComponent implements OnInit { next: (cite) => this.cite.next(cite), }); } - - ngOnInit(): void { - - } } diff --git a/src/app/components/search/search.component.spec.ts b/src/app/components/search/search.component.spec.ts index 6270ac3..152bd1c 100644 --- a/src/app/components/search/search.component.spec.ts +++ b/src/app/components/search/search.component.spec.ts @@ -15,12 +15,10 @@ describe('SearchComponent', () => { expect(app).toBeTruthy(); }); - it('should render title', () => { + it('should render input', () => { const fixture = TestBed.createComponent(SearchComponent); fixture.detectChanges(); const compiled = fixture.nativeElement; - expect(compiled.querySelector('.content span').textContent).toContain( - 'citations app is running!', - ); + expect(compiled.querySelector('input')).toContain('Rechercher...'); }); }); diff --git a/src/app/components/search/search.component.ts b/src/app/components/search/search.component.ts index 9d78b86..4132d38 100644 --- a/src/app/components/search/search.component.ts +++ b/src/app/components/search/search.component.ts @@ -6,7 +6,7 @@ import { OnInit, ViewChild, } from '@angular/core'; -import { fromEvent, Subject, debounceTime, map, takeUntil, tap, Observable } from 'rxjs'; +import { fromEvent, Subject, debounceTime, map, takeUntil } from 'rxjs'; import { ActivatedRoute, Router } from '@angular/router'; @Component({ @@ -38,10 +38,10 @@ export class SearchComponent implements AfterViewInit, OnInit, OnDestroy { constructor( protected activatedRouter: ActivatedRoute, - protected router: Router + protected router: Router, ) {} - ngOnInit(): any { + ngOnInit(): void { // reset q input when route change this.activatedRouter.queryParamMap.subscribe((params) => { if (!params.get('q')) { @@ -53,7 +53,7 @@ export class SearchComponent implements AfterViewInit, OnInit, OnDestroy { } // #2 the event on which we will complete the main Observable property - ngOnDestroy(): any { + ngOnDestroy(): void { this.ngUnsubscribe.next(); this.ngUnsubscribe.complete(); } @@ -66,7 +66,7 @@ export class SearchComponent implements AfterViewInit, OnInit, OnDestroy { ((event as Event).currentTarget as HTMLInputElement).value ), debounceTime(500), - takeUntil(this.ngUnsubscribe) + takeUntil(this.ngUnsubscribe), ) .subscribe({ next: (next: string) => { diff --git a/src/app/fixtures/data.ts b/src/app/fixtures/data.ts index fbb58e2..7cbb1cf 100644 --- a/src/app/fixtures/data.ts +++ b/src/app/fixtures/data.ts @@ -580,6 +580,11 @@ const data: FixtureCiteI[] = [ {cite: `Vous pouvez toujours donner quelque chose, même si c'est seulement de la gentillesse.`, author: `Anne Frank`, tags: ['générosité']}, {cite: `Il n'est rien de réel que le rêve et l'amour.`, author: `Anna De Noailles`, tags: []}, {cite: `Celui qui a bon coeur n'est jamais sot.`, author: `George Sand`, tags: ['gentillesse', 'intelligence']}, + {cite: `Il n'y a point de tableau plus charmant que celui de la famille.`, author: `Jean-Jacques Rousseau`, tags: []}, + {cite: `Il ne faut pas regarder quel bien nous fait un ami, mais seulement le désir qu'il a de nous en faire.`, author: `Madeleine de Souvré`, tags: []}, + {cite: `Pour moi aussi, l'amour était (ou est) toujours plus important et plus sacré que l'objet qui le suscite.`, author: `Rosa Luxemburg`, tags: ['amour', 'extrait', 'la vie']}, + {cite: `Soyez donc des hommes, ou mieux : des surhommes ! Soyez fidèles aux buts tracés.`, author: `Marc Shelley`, tags: ['objectif']}, + {cite: `L'avenir peut s'éveiller plus beau que le passé.`, author: `George Sand`, tags: []}, // {cite: `.`, author: ``, tags: []}, ]; diff --git a/src/app/services/Cites.ts b/src/app/services/Cites.ts index 06ba382..f2b7fe3 100644 --- a/src/app/services/Cites.ts +++ b/src/app/services/Cites.ts @@ -1,22 +1,21 @@ +import { Injectable } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; import { BehaviorSubject, EMPTY, - from, Observable, - of, distinct, filter, + from, map, + of, switchMap, take, tap, toArray, - skip, } from 'rxjs'; import { cites } from '../fixtures/data'; import { Cite, CiteI } from '../models/Cite'; -import { Injectable } from '@angular/core'; -import { ActivatedRoute } from '@angular/router'; import { CiteOfTheDay } from '../tools/CiteOfTheDay.service'; @Injectable() @@ -41,7 +40,7 @@ export class Cites { }); }), distinct(), - take(1) // auto unsubscribe, force complete + take(1), // auto unsubscribe, force complete ); // local cache for the counter protected count = 0; @@ -51,7 +50,7 @@ export class Cites { .pipe( tap((next) => (this.originalCites = next)), tap((next) => (this.count = next.length)), - switchMap(() => this.reset()) + switchMap(() => this.reset()), ) .subscribe(); } @@ -59,7 +58,7 @@ export class Cites { public reset(): Observable { return of(this.originalCites).pipe( filter((value) => !!value), - tap((next) => this.cites.next(next)) + tap((next) => this.cites.next(next)), ); } @@ -82,7 +81,7 @@ export class Cites { item.getTags().includes(search.toLowerCase())) ); }), - toArray() + toArray(), ); } @@ -98,7 +97,7 @@ export class Cites { item && item.getAuthor().toLowerCase().includes(author.toLowerCase()) ); }), - toArray() + toArray(), ); } @@ -125,7 +124,7 @@ export class Cites { getRandomCite(): Observable { return this.cites.pipe( - map((cites) => cites[Math.floor(Math.random() * cites.length)]) + map((cites) => cites[Math.floor(Math.random() * cites.length)]), ); } } diff --git a/src/app/services/Click.ts b/src/app/services/Click.ts index 89c1304..1b095c5 100644 --- a/src/app/services/Click.ts +++ b/src/app/services/Click.ts @@ -1,5 +1,5 @@ -import { BehaviorSubject, debounceTime, Observable, skip, tap } from 'rxjs'; import { Injectable } from '@angular/core'; +import { BehaviorSubject, debounceTime, Observable } from 'rxjs'; @Injectable() export class Click { diff --git a/src/app/services/Pager/pager-list-parts.ts b/src/app/services/Pager/pager-list-parts.ts index 7c8a8a5..ce3b5c2 100644 --- a/src/app/services/Pager/pager-list-parts.ts +++ b/src/app/services/Pager/pager-list-parts.ts @@ -20,7 +20,7 @@ export class PagerListParts implements PagerListPartsInterface { }) .reverse(); - this.pagerNumbers = this.pager.filter((value, index) => { + this.pagerNumbers = this.pager.filter((value) => { return ( !this.pagerFirstEdges.includes(value) && !this.pagerLastEdges.includes(value) diff --git a/src/app/services/Pager/pager.interface.ts b/src/app/services/Pager/pager.interface.ts index a44bd08..3c40d6a 100644 --- a/src/app/services/Pager/pager.interface.ts +++ b/src/app/services/Pager/pager.interface.ts @@ -11,7 +11,7 @@ export interface PagerInterface { } export interface PagerNavigationInterface { - getPaginatedList(): Array; + getPaginatedList(): Array; goToPage(pageIndex: number): number; goToFirstPage(): number; goToPreviousPage(): number; diff --git a/src/app/services/Pager/pager.service.ts b/src/app/services/Pager/pager.service.ts index 94ce205..b6e01b7 100644 --- a/src/app/services/Pager/pager.service.ts +++ b/src/app/services/Pager/pager.service.ts @@ -24,7 +24,7 @@ export class PageIndexDoesNotExists extends Error {} export class PagerService implements PagerInterface, PagerNavigationInterface, PagerTemplateInterface { - private originalList: number[] = []; + private originalList: unknown[] | number[] = []; private itemPerPage = 5; private maxPagerItem = 5; private firstPage = 1; @@ -43,12 +43,12 @@ export class PagerService filter((value) => !!value), map((value) => { return this.getOffsetForPage(value); - }) + }), ); constructor() {} - init(list: Array | number, options?: PagerOptionsInterface): void { + init(list: Array | number, options?: PagerOptionsInterface): void { /** Seems to be a source of bug : authors page, swith between alpha and total fails because of this if (this.pagerIndexList.length) { return @@ -115,7 +115,7 @@ export class PagerService return this.nextPage; } - getPaginatedList(): Array { + getPaginatedList(): Array { const startOffset = this.getOffset(); const endOffset = startOffset + this.itemPerPage; @@ -220,8 +220,8 @@ export class PagerService return this; } - private setTotalPage(list: Array | number): PagerService { - let count = typeof list === 'object' ? list.length : list; + private setTotalPage(list: Array | number): PagerService { + const count = typeof list === 'object' ? list.length : list; this.totalPage = Math.ceil(count / this.itemPerPage); return this; @@ -268,8 +268,8 @@ export class PagerService this.currentPage.getValue() < this.firstPage ? this.firstPage : currentPage > this.lastPage - ? this.lastPage - : currentPage + ? this.lastPage + : currentPage, ); return this; diff --git a/src/app/tools/CiteOfTheDay.service.ts b/src/app/tools/CiteOfTheDay.service.ts index c75c562..5262d62 100644 --- a/src/app/tools/CiteOfTheDay.service.ts +++ b/src/app/tools/CiteOfTheDay.service.ts @@ -1,4 +1,3 @@ -import { Injectable } from '@angular/core'; import { CiteI } from '../models/Cite'; export class CiteOfTheDay { @@ -16,8 +15,8 @@ export class CiteOfTheDay { startYearDate.setFullYear( parseInt( new Date().getFullYear().toString(10).substr(0, substrLength) + padding, - 0 - ) + 0, + ), ); return startYearDate.getFullYear(); @@ -54,7 +53,7 @@ export class CiteOfTheDay { if (currentYear === startYear) { years[currentYear] = CiteOfTheDay.getNumberOfDayInCurrentYear( aDate, - currentYear + currentYear, ); return years; diff --git a/src/main.ts b/src/main.ts index 35b00f3..8882c45 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,5 +2,6 @@ import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; -bootstrapApplication(AppComponent, appConfig) - .catch((err) => console.error(err)); +bootstrapApplication(AppComponent, appConfig).catch((err) => + console.error(err), +);