From f88232f306838839791cd64da146dbc3a79e8edc Mon Sep 17 00:00:00 2001 From: Rebolon Date: Mon, 25 Dec 2023 15:26:53 +0100 Subject: [PATCH] latest build --- .prettierrc.json | 1 + docs/citations/3rdpartylicenses.txt | 10 ++-- docs/citations/browser/authors/index.html | 10 ++-- docs/citations/browser/chunk-2AQYUIV4.js | 1 + docs/citations/browser/chunk-2PGUG3V3.js | 1 - docs/citations/browser/chunk-6XHDLL73.js | 1 + docs/citations/browser/chunk-7ZVU332C.js | 1 + docs/citations/browser/chunk-A2D6WYRG.js | 1 + .../{chunk-D2LGKUJJ.js => chunk-ACJNTKPU.js} | 2 +- .../{chunk-EG6KUQWY.js => chunk-APJBKNQ6.js} | 2 +- docs/citations/browser/chunk-BYGGLSSH.js | 8 --- .../{chunk-VFH3BR32.js => chunk-C2V7MVMA.js} | 2 +- docs/citations/browser/chunk-D736JXLS.js | 1 - docs/citations/browser/chunk-DRO5L2YF.js | 8 +++ docs/citations/browser/chunk-HDA2YQ5N.js | 1 + docs/citations/browser/chunk-KYXWFYWT.js | 1 - docs/citations/browser/chunk-M5ZGNTB4.js | 1 - .../{chunk-IBSWMS7N.js => chunk-NFYEC45H.js} | 2 +- .../{chunk-JLNRUKIL.js => chunk-NOXTTEZS.js} | 2 +- docs/citations/browser/chunk-QSNRUJH3.js | 1 - docs/citations/browser/chunk-SBV6RI7O.js | 1 + docs/citations/browser/chunk-SRZDJSAF.js | 1 - docs/citations/browser/chunk-WGOH2KAO.js | 1 + docs/citations/browser/chunk-ZF25AG57.js | 1 - docs/citations/browser/cites/index.html | 8 +-- docs/citations/browser/index.html | 6 +- docs/citations/browser/main-JRQUF7EH.js | 1 - docs/citations/browser/main-RWDZTU7D.js | 1 + docs/citations/browser/ngsw.json | 58 +++++++++---------- docs/citations/browser/random/index.html | 6 +- docs/citations/browser/search/index.html | 8 +-- docs/citations/server/chunk-2XWCB3X2.mjs | 2 - ...{chunk-5QOYJTZA.mjs => chunk-3YTLE7MV.mjs} | 2 +- ...{chunk-JKLVL2PE.mjs => chunk-5IU5EODB.mjs} | 2 +- docs/citations/server/chunk-63MDULU4.mjs | 2 + docs/citations/server/chunk-774APDQT.mjs | 2 - docs/citations/server/chunk-BATPUMTE.mjs | 2 - docs/citations/server/chunk-BYPIT5RB.mjs | 2 - docs/citations/server/chunk-CAD7DCX2.mjs | 2 - docs/citations/server/chunk-DOGPKTTQ.mjs | 2 + docs/citations/server/chunk-ENJZYGN6.mjs | 2 + docs/citations/server/chunk-FEYOAGXQ.mjs | 2 - docs/citations/server/chunk-GLFCWGW7.mjs | 2 + docs/citations/server/chunk-HGOSHWRO.mjs | 2 + docs/citations/server/chunk-K24IRBBC.mjs | 35 ----------- docs/citations/server/chunk-KZTCF2WX.mjs | 2 + docs/citations/server/chunk-MCDURKWW.mjs | 2 - docs/citations/server/chunk-O7A4EXKR.mjs | 2 + docs/citations/server/chunk-RDPBST2P.mjs | 2 - docs/citations/server/chunk-RYKLRPLU.mjs | 2 - docs/citations/server/chunk-SDY2LBHQ.mjs | 2 + docs/citations/server/chunk-SMRITTJZ.mjs | 35 +++++++++++ ...{chunk-IUWECXI7.mjs => chunk-TJUITN6C.mjs} | 2 +- docs/citations/server/chunk-UDU2NQDI.mjs | 2 + docs/citations/server/chunk-UUM2VQFI.mjs | 2 + docs/citations/server/chunk-V5CKKFML.mjs | 2 - docs/citations/server/chunk-WLIBDTUD.mjs | 2 - docs/citations/server/chunk-YS7GH654.mjs | 2 - docs/citations/server/chunk-YUGSSZA4.mjs | 2 + docs/citations/server/chunk-ZZMN2OEB.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 +- 64 files changed, 142 insertions(+), 141 deletions(-) create mode 100644 docs/citations/browser/chunk-2AQYUIV4.js delete mode 100644 docs/citations/browser/chunk-2PGUG3V3.js create mode 100644 docs/citations/browser/chunk-6XHDLL73.js create mode 100644 docs/citations/browser/chunk-7ZVU332C.js create mode 100644 docs/citations/browser/chunk-A2D6WYRG.js rename docs/citations/browser/{chunk-D2LGKUJJ.js => chunk-ACJNTKPU.js} (71%) rename docs/citations/browser/{chunk-EG6KUQWY.js => chunk-APJBKNQ6.js} (80%) delete mode 100644 docs/citations/browser/chunk-BYGGLSSH.js rename docs/citations/browser/{chunk-VFH3BR32.js => chunk-C2V7MVMA.js} (98%) delete mode 100644 docs/citations/browser/chunk-D736JXLS.js create mode 100644 docs/citations/browser/chunk-DRO5L2YF.js create mode 100644 docs/citations/browser/chunk-HDA2YQ5N.js delete mode 100644 docs/citations/browser/chunk-KYXWFYWT.js delete mode 100644 docs/citations/browser/chunk-M5ZGNTB4.js rename docs/citations/browser/{chunk-IBSWMS7N.js => chunk-NFYEC45H.js} (84%) rename docs/citations/browser/{chunk-JLNRUKIL.js => chunk-NOXTTEZS.js} (72%) delete mode 100644 docs/citations/browser/chunk-QSNRUJH3.js create mode 100644 docs/citations/browser/chunk-SBV6RI7O.js delete mode 100644 docs/citations/browser/chunk-SRZDJSAF.js create mode 100644 docs/citations/browser/chunk-WGOH2KAO.js delete mode 100644 docs/citations/browser/chunk-ZF25AG57.js delete mode 100644 docs/citations/browser/main-JRQUF7EH.js create mode 100644 docs/citations/browser/main-RWDZTU7D.js delete mode 100644 docs/citations/server/chunk-2XWCB3X2.mjs rename docs/citations/server/{chunk-5QOYJTZA.mjs => chunk-3YTLE7MV.mjs} (82%) rename docs/citations/server/{chunk-JKLVL2PE.mjs => chunk-5IU5EODB.mjs} (98%) create mode 100644 docs/citations/server/chunk-63MDULU4.mjs delete mode 100644 docs/citations/server/chunk-774APDQT.mjs delete mode 100644 docs/citations/server/chunk-BATPUMTE.mjs delete mode 100644 docs/citations/server/chunk-BYPIT5RB.mjs delete mode 100644 docs/citations/server/chunk-CAD7DCX2.mjs create mode 100644 docs/citations/server/chunk-DOGPKTTQ.mjs create mode 100644 docs/citations/server/chunk-ENJZYGN6.mjs delete mode 100644 docs/citations/server/chunk-FEYOAGXQ.mjs create mode 100644 docs/citations/server/chunk-GLFCWGW7.mjs create mode 100644 docs/citations/server/chunk-HGOSHWRO.mjs delete mode 100644 docs/citations/server/chunk-K24IRBBC.mjs create mode 100644 docs/citations/server/chunk-KZTCF2WX.mjs delete mode 100644 docs/citations/server/chunk-MCDURKWW.mjs create mode 100644 docs/citations/server/chunk-O7A4EXKR.mjs delete mode 100644 docs/citations/server/chunk-RDPBST2P.mjs delete mode 100644 docs/citations/server/chunk-RYKLRPLU.mjs create mode 100644 docs/citations/server/chunk-SDY2LBHQ.mjs create mode 100644 docs/citations/server/chunk-SMRITTJZ.mjs rename docs/citations/server/{chunk-IUWECXI7.mjs => chunk-TJUITN6C.mjs} (99%) create mode 100644 docs/citations/server/chunk-UDU2NQDI.mjs create mode 100644 docs/citations/server/chunk-UUM2VQFI.mjs delete mode 100644 docs/citations/server/chunk-V5CKKFML.mjs delete mode 100644 docs/citations/server/chunk-WLIBDTUD.mjs delete mode 100644 docs/citations/server/chunk-YS7GH654.mjs create mode 100644 docs/citations/server/chunk-YUGSSZA4.mjs create mode 100644 docs/citations/server/chunk-ZZMN2OEB.mjs diff --git a/.prettierrc.json b/.prettierrc.json index 8d23088..0fcd698 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,5 +1,6 @@ { "tabWidth": 2, + "bracketSameLine": true, "attributeGroups": [ "$ANGULAR_STRUCTURAL_DIRECTIVE", "$ANGULAR_TWO_WAY_BINDING", diff --git a/docs/citations/3rdpartylicenses.txt b/docs/citations/3rdpartylicenses.txt index c34e920..264d728 100644 --- a/docs/citations/3rdpartylicenses.txt +++ b/docs/citations/3rdpartylicenses.txt @@ -14,6 +14,11 @@ Package: @angular/platform-browser License: "MIT" +-------------------------------------------------------------------------------- +Package: @angular/core +License: "MIT" + + -------------------------------------------------------------------------------- Package: @angular/router License: "MIT" @@ -242,11 +247,6 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/core -License: "MIT" - - -------------------------------------------------------------------------------- Package: @angular/common License: "MIT" diff --git a/docs/citations/browser/authors/index.html b/docs/citations/browser/authors/index.html index 890571b..59b9756 100644 --- a/docs/citations/browser/authors/index.html +++ b/docs/citations/browser/authors/index.html @@ -25,11 +25,11 @@ - + - + - + - \ No newline at end of file + \ No newline at end of file diff --git a/docs/citations/browser/chunk-2AQYUIV4.js b/docs/citations/browser/chunk-2AQYUIV4.js new file mode 100644 index 0000000..4aad68c --- /dev/null +++ b/docs/citations/browser/chunk-2AQYUIV4.js @@ -0,0 +1 @@ +import{a as H,b as J}from"./chunk-HDA2YQ5N.js";import{a as _,b as R,c as U,d as q}from"./chunk-A2D6WYRG.js";import{b as G}from"./chunk-C2V7MVMA.js";import{d as O}from"./chunk-7ZVU332C.js";import{Aa as g,Ab as j,Bb as M,Cb as W,Ha as B,Hb as z,La as h,Na as k,P as A,Qa as I,Ra as F,Sa as s,T as S,Ta as l,U as $,W as c,Xa as f,Ya as E,Za as N,_a as a,ab as C,ca as L,fb as w,gb as D,h as T,hb as P,q as d,wa as y,xa as m,za as o}from"./chunk-DRO5L2YF.js";var Q=(t,i)=>i.getName();function V(t,i){t&1&&a(0,"0 Auteur.")}function X(t,i){t&1&&a(0,"1 Auteur.")}function Y(t,i){if(t&1&&a(0),t&2){let p=E();C("",p.authorsCount()," Auteurs.")}}function Z(t,i){if(t&1&&(s(0,"li",12)(1,"a",13),a(2),s(3,"small"),a(4),l()()()),t&2){let p=i.$implicit;o(1),N("routerLink","/authors/",p.getName(),""),o(1),C("",p.getName()," "),o(2),C("(",p.getCount(),")")}}var K=(t,i)=>({"font-semibold":t,"font-normal":i}),tt=t=>({itemPerPage:t}),ct=(()=>{let i=class i extends U{constructor(n,u,e){super(),this.authorService=n,this.title=u,this.device=e,this.sort=m("text"),this.isSortByText=y(()=>this.sort()==="text"),this.isSortByTotal=y(()=>this.sort()==="total"),this.authors=m([]),this.authors$=R(this.sort).pipe($(r=>r==="text"?this.authorService.authors$:this.authorService.authors$.pipe(d(x=>x.sort((b,v)=>b.getCount()>v.getCount()?-1:b.getCount()this.authors.set(r)),_()),this.authorsCount=m(0),this.authorsCount$=this.authors$.pipe(d(r=>r.length),S(0),c(r=>this.authorsCount.set(r)),_()),this.pagerPaginatedAuthors$=new T,this.displayedPaginatedAuthors=m([]),this.displayedPaginatedAuthors$=this.authors$.pipe(A(this.pagerPaginatedAuthors$),d(r=>r.slice(0,this.itemsPerPage)),c(r=>this.displayedPaginatedAuthors.set(r)),_()),this.itemsPerPage=11,this.title.setTitle("Citations - Liste des auteurs"),e.isMobile()&&(this.itemsPerPage=8),this.authors$.subscribe(),this.authorsCount$.subscribe(),this.displayedPaginatedAuthors$.subscribe()}sortByAuthor(){this.sort.set("text")}sortByCount(){this.sort.set("total")}setPaginatedList(n){n[0]&&(n[0]instanceof H||!n[0])&&this.pagerPaginatedAuthors$.next(n)}};i.\u0275fac=function(u){return new(u||i)(g(J),g(z),g(G))},i.\u0275cmp=L({type:i,selectors:[["app-list-authors"]],standalone:!0,features:[B,w],decls:16,vars:15,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],["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(u,e){u&1&&(s(0,"div",0)(1,"h1",1),k(2,V,1,0,"ng-template",2)(3,X,1,0,"ng-template",3)(4,Y,1,1,"ng-template",4),l(),s(5,"button",5),f("click",function(){return e.sortByAuthor()}),a(6," Trier par nom "),l(),s(7,"button",6),f("click",function(){return e.sortByCount()}),a(8," Trier par total "),l(),s(9,"ul",7),I(10,Z,5,3,"li",14,Q),l()(),s(12,"div",8)(13,"div",9)(14,"section",10)(15,"app-pager",11),f("paginatedList$",function(x){return e.setPaginatedList(x)}),l()()()()),u&2&&(o(1),h("ngPlural",e.authorsCount()),o(4),h("ngClass",P(7,K,e.isSortByText()===!0,e.isSortByText()===!1))("disabled",e.isSortByText()),o(2),h("ngClass",P(10,K,e.isSortByTotal(),e.isSortByTotal()))("disabled",e.isSortByTotal()),o(3),F(e.displayedPaginatedAuthors()),o(5),h("list",e.authors())("options",D(13,tt,e.getItemsPerPage())))},dependencies:[j,M,W,O,q],encapsulation:2});let t=i;return t})();export{ct as ListAuthorsComponent}; diff --git a/docs/citations/browser/chunk-2PGUG3V3.js b/docs/citations/browser/chunk-2PGUG3V3.js deleted file mode 100644 index 41d96ff..0000000 --- a/docs/citations/browser/chunk-2PGUG3V3.js +++ /dev/null @@ -1 +0,0 @@ -import{j as I}from"./chunk-QSNRUJH3.js";import{$ as F,B as f,F as l,I as g,L as y,R as k,T as v,X as x,h as d,k as L,p as n,r as N,t as j}from"./chunk-BYGGLSSH.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-6XHDLL73.js b/docs/citations/browser/chunk-6XHDLL73.js new file mode 100644 index 0000000..8457ebc --- /dev/null +++ b/docs/citations/browser/chunk-6XHDLL73.js @@ -0,0 +1 @@ +import{a as S}from"./chunk-APJBKNQ6.js";import{a as b}from"./chunk-ACJNTKPU.js";import{k}from"./chunk-7ZVU332C.js";import{Db as v,Hb as y,La as s,Na as c,Oa as d,Sa as a,Ta as r,U as l,Ua as f,_a as h,ab as u,ba as o,ca as p,fb as x,ib as C,jb as g,za as n}from"./chunk-DRO5L2YF.js";function A(e,t){e&1&&(a(0,"h1",0),h(1),r(),a(2,"p",1),f(3,"app-link-cites-by-author",2),r()),e&2&&(n(1),u(" ",t.getCite()," "),n(2),s("author",t.getAuthor()))}var L=(()=>{let t=class t{constructor(){this.citesService=o(k),this.click=o(S),this.title=o(y),this.cite$=this.click.refresh$.pipe(l(()=>this.citesService.getRandomCite())),this.title.setTitle("Citations - Citation al\xE9atoire")}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=p({type:t,selectors:[["app-random"]],standalone:!0,features:[x],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(i,w){if(i&1&&(c(0,A,4,2),C(1,"async")),i&2){let m;d(0,(m=g(1,1,w.cite$))?0:-1,m)}},dependencies:[v,b],encapsulation:2});let e=t;return e})();export{L as RandomComponent}; diff --git a/docs/citations/browser/chunk-7ZVU332C.js b/docs/citations/browser/chunk-7ZVU332C.js new file mode 100644 index 0000000..2f9676e --- /dev/null +++ b/docs/citations/browser/chunk-7ZVU332C.js @@ -0,0 +1 @@ +import{$ as E,A as D,Aa as M,B as _,Ba as Oe,C as ue,D as le,Ea as Q,F as lt,Fa as ce,G as P,Ga as br,H as ar,Hb as Nr,Ia as yr,J as je,Ja as Cr,K as Me,L as k,Ma as qr,N as ct,O as or,R as ur,T as lr,U as R,Ua as Sr,V as cr,W as C,Wa as Lr,X as L,Xa as Rr,Y as S,Z as hr,_ as ht,a as d,aa as Te,b as x,ba as m,c as tr,ca as dr,d as rr,da as De,db as wr,ea as Pe,eb as xr,f as st,fb as Ar,g as at,h as $,i as w,ja as dt,k as T,ka as pr,kb as Ir,l as q,la as mr,m as h,ma as Ee,mb as jr,n as oe,na as fr,nb as Mr,o as nr,p as ir,pa as gr,pb as Tr,q as v,qb as Dr,r as Ie,rb as ft,s as I,sa as vr,sb as Pr,t as ot,ta as pt,tb as Er,v as sr,va as mt,vb as Ue,w as ut,wb as Or,xb as Ur,yb as gt,zb as Ne}from"./chunk-DRO5L2YF.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:[]},{cite:"La vie est comme un arc-en-ciel : il faut la pluie et le soleil pour en voir les couleurs.",author:"Arunachala Ramaiya",tags:["bonheur"]}],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()||!t?T:h(this.cites.getValue()).pipe(R(n=>q(n)),D(n=>n&&n.getAuthor().toLowerCase().includes(t.toLowerCase())),ue())}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,ie as j,pa as k}; diff --git a/docs/citations/browser/chunk-A2D6WYRG.js b/docs/citations/browser/chunk-A2D6WYRG.js new file mode 100644 index 0000000..33d5303 --- /dev/null +++ b/docs/citations/browser/chunk-A2D6WYRG.js @@ -0,0 +1 @@ +import{a as P}from"./chunk-C2V7MVMA.js";import{$a as _,A as k,Aa as T,Ab as B,Ca as w,Da as j,La as p,Na as V,Oa as E,Pa as N,Qa as $,Ra as q,Sa as s,Ta as c,V as M,Va as y,Xa as d,Ya as o,_a as m,ba as f,ca as L,cb as R,e as O,ea as D,fa as g,fb as U,ga as u,gb as C,i as I,j as S,oa as h,pa as F,ya as v,za as a}from"./chunk-DRO5L2YF.js";function A(t){t||(h(A),t=f(w));let r=new O(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(M(r))}function G(t,r){!r?.injector&&h(G);let e=r?.injector??f(F),n=new S(1),i=j(()=>{let l;try{l=t()}catch(b){v(()=>n.error(b));return}v(()=>n.next(l))},{injector:e,manualCleanup:!0});return e.get(w).onDestroy(()=>{i.destroy(),n.complete()}),n.asObservable()}var z=class{constructor(){this.itemsPerPage=10}getCurrentPage(){return this.currentPage}setCurrentPage(r){this.currentPage=r}getItemsPerPage(){return this.itemsPerPage}};var H=t=>({current:t});function J(t,r){if(t&1){let e=y();s(0,"li",2)(1,"a",3),d("click",function(){let l=g(e).$implicit,b=o(2);return u(b.pager.goToPage(l.index))}),s(2,"span"),m(3),c()()()}if(t&2){let e=r.$implicit,n=o(2);a(1),p("ngClass",C(2,H,n.isCurrentPage(e.index))),a(2),_(e.label)}}var x=t=>({disabled:t});function K(t,r){if(t&1){let e=y();s(0,"ul",1)(1,"li",2)(2,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToFirstPage())}),s(3,"span"),m(4),c()()(),s(5,"li",2)(6,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToPreviousPage())}),s(7,"span"),m(8),c()()(),$(9,J,4,4,"li",4,N),s(11,"li",2)(12,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToNextPage())}),s(13,"span"),m(14),c()()(),s(15,"li",2)(16,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToLastPage())}),s(17,"span"),m(18),c()()()()}if(t&2){let e=o();a(2),p("ngClass",C(8,x,e.previousIsDisabled())),a(2),_(e.pager.getPagerItemList().getFirstEdges()[0].label),a(2),p("ngClass",C(10,x,e.previousIsDisabled())),a(2),_(e.pager.getPagerItemList().getFirstEdges()[1].label),a(1),q(e.pager.getPagerItemList().getNumbers()),a(3),p("ngClass",C(12,x,e.nextIsDisabled())),a(2),_(e.pager.getPagerItemList().getLastEdges()[0].label),a(2),p("ngClass",C(14,x,e.nextIsDisabled())),a(2),_(e.pager.getPagerItemList().getLastEdges()[1].label)}}var le=(()=>{let r=class r{constructor(n){this.pager=n,this.list=0,this.paginatedList=new I(this.pager.getPaginatedList()),this.paginatedList$=this.paginatedList.asObservable().pipe(k(i=>!!i))}ngOnChanges(n){let i=n.list;i&&(this.subscription&&this.subscription.unsubscribe(),this.pager.init(i.currentValue,this.options),this.subscription=this.pager.currentOffset$.pipe().subscribe(()=>{this.paginatedList.next(this.pager.getPaginatedList())}))}ngOnDestroy(){this.subscription.unsubscribe()}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}};r.\u0275fac=function(i){return new(i||r)(T(P))},r.\u0275cmp=L({type:r,selectors:[["app-pager"]],inputs:{list:"list",options:"options"},outputs:{paginatedList$:"paginatedList$"},standalone:!0,features:[R([P]),D,U],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(i,l){i&1&&(s(0,"nav"),V(1,K,19,16,"ul",0),c()),i&2&&(a(1),E(1,l.hasList()?1:-1))},dependencies:[B],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 t=r;return t})();export{A as a,G as b,z as c,le as d}; diff --git a/docs/citations/browser/chunk-D2LGKUJJ.js b/docs/citations/browser/chunk-ACJNTKPU.js similarity index 71% rename from docs/citations/browser/chunk-D2LGKUJJ.js rename to docs/citations/browser/chunk-ACJNTKPU.js index a024a27..09084fc 100644 --- a/docs/citations/browser/chunk-D2LGKUJJ.js +++ b/docs/citations/browser/chunk-ACJNTKPU.js @@ -1 +1 @@ -import{d as m}from"./chunk-QSNRUJH3.js";import{Da as r,La as s,Ma as u,Sa as p,Ta as l,Va as d,Za as c,ba as o,ua as a}from"./chunk-BYGGLSSH.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-7ZVU332C.js";import{Ka as r,Sa as s,Ta as u,Za as p,_a as l,ab as d,ca as o,fb as c,za as a}from"./chunk-DRO5L2YF.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-EG6KUQWY.js b/docs/citations/browser/chunk-APJBKNQ6.js similarity index 80% rename from docs/citations/browser/chunk-EG6KUQWY.js rename to docs/citations/browser/chunk-APJBKNQ6.js index 888cca5..7eef8aa 100644 --- a/docs/citations/browser/chunk-EG6KUQWY.js +++ b/docs/citations/browser/chunk-APJBKNQ6.js @@ -1 +1 @@ -import{D as s,X as i,h as r}from"./chunk-BYGGLSSH.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{E as s,Y as i,i as r}from"./chunk-DRO5L2YF.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-BYGGLSSH.js b/docs/citations/browser/chunk-BYGGLSSH.js deleted file mode 100644 index 6bd79fb..0000000 --- a/docs/citations/browser/chunk-BYGGLSSH.js +++ /dev/null @@ -1,8 +0,0 @@ -var Xd=Object.defineProperty,ef=Object.defineProperties;var tf=Object.getOwnPropertyDescriptors;var In=Object.getOwnPropertySymbols;var na=Object.prototype.hasOwnProperty,ra=Object.prototype.propertyIsEnumerable;var ta=(t,e,n)=>e in t?Xd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ge=(t,e)=>{for(var n in e||={})na.call(e,n)&&ta(t,n,e[n]);if(In)for(var n of In(e))ra.call(e,n)&&ta(t,n,e[n]);return t},Ve=(t,e)=>ef(t,tf(e));var oa=(t,e)=>{var n={};for(var r in t)na.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&&ra.call(t,r)&&(n[r]=t[r]);return n};function m(t){return typeof t=="function"}function dt(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=dt(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 Be(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(m(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{ia(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)ia(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)&&Be(n,e)}remove(e){let{_finalizers:n}=this;n&&Be(n,e),e instanceof t&&e._removeParent(this)}};V.EMPTY=(()=>{let t=new V;return t.closed=!0,t})();var ho=V.EMPTY;function bn(t){return t instanceof V||t&&"closed"in t&&m(t.remove)&&m(t.add)&&m(t.unsubscribe)}function ia(t){m(t)?t():t.unsubscribe()}var ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ft={setTimeout(t,e,...n){let{delegate:r}=ft;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=ft;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Mn(t){ft.setTimeout(()=>{let{onUnhandledError:e}=ce;if(e)e(t);else throw t})}function Y(){}var sa=(()=>go("C",void 0,void 0))();function aa(t){return go("E",void 0,t)}function ua(t){return go("N",t,void 0)}function go(t,e,n){return{kind:t,value:e,error:n}}var He=null;function pt(t){if(ce.useDeprecatedSynchronousErrorHandling){let e=!He;if(e&&(He={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=He;if(He=null,n)throw r}}else t()}function ca(t){ce.useDeprecatedSynchronousErrorHandling&&He&&(He.errorThrown=!0,He.error=t)}var $e=class extends V{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,bn(e)&&e.add(this)):this.destination=of}static create(e,n,r){return new be(e,n,r)}next(e){this.isStopped?yo(ua(e),this):this._next(e)}error(e){this.isStopped?yo(aa(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?yo(sa,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()}}},nf=Function.prototype.bind;function mo(t,e){return nf.call(t,e)}var vo=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)}}},be=class extends $e{constructor(e,n,r){super();let o;if(m(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ce.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&mo(e.next,i),error:e.error&&mo(e.error,i),complete:e.complete&&mo(e.complete,i)}):o=e}this.destination=new vo(o)}};function Tn(t){ce.useDeprecatedSynchronousErrorHandling?ca(t):Mn(t)}function rf(t){throw t}function yo(t,e){let{onStoppedNotification:n}=ce;n&&ft.setTimeout(()=>n(t,e))}var of={closed:!0,next:Y,error:rf,complete:Y};var ht=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function z(t){return t}function sf(...t){return Do(t)}function Do(t){return t.length===0?z: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=uf(n)?n:new be(n,r,o);return pt(()=>{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)}[ht](){return this}pipe(...n){return Do(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??ce.Promise)!==null&&e!==void 0?e:Promise}function af(t){return t&&m(t.next)&&m(t.error)&&m(t.complete)}function uf(t){return t&&t instanceof $e||af(t)&&bn(t)}var da=dt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var U=(()=>{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 da}next(n){pt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){pt(()=>{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(){pt(()=>{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?ho:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,Be(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 U{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:ho}};var jt={now(){return(jt.delegate||Date).now()},delegate:void 0};var wo=class extends U{constructor(e=1/0,n=1/0,r=jt){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(e),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s{if(Eo(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 Vt(t,e,n,r,o)}var Vt=class extends $e{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 g((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:cf}=Array;function fa(t){return t.length===1&&cf(t[0])?t[0]:t}function ha(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 pa(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 Ue(t){return this instanceof Ue?(this.v=t,this):new Ue(t)}function ga(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 Ue?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 ma(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 pa=="function"?pa(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 gt=t=>t&&typeof t.length=="number"&&typeof t!="function";function Sn(t){return m(t?.then)}function _n(t){return m(t[ht])}function An(t){return Symbol.asyncIterator&&m(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 lf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var On=lf();function Rn(t){return m(t?.[On])}function Fn(t){return ga(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Ue(n.read());if(o)return yield Ue(void 0);yield yield Ue(r)}}finally{n.releaseLock()}})}function Pn(t){return m(t?.getReader)}function T(t){if(t instanceof E)return t;if(t!=null){if(_n(t))return df(t);if(gt(t))return ff(t);if(Sn(t))return pf(t);if(An(t))return ya(t);if(Rn(t))return hf(t);if(Pn(t))return gf(t)}throw Nn(t)}function df(t){return new E(e=>{let n=t[ht]();if(m(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ff(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 hf(t){return new E(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function ya(t){return new E(e=>{mf(t,e).catch(n=>e.error(n))})}function gf(t){return ya(Fn(t))}function mf(t,e){var n,r,o,i;return ha(this,void 0,void 0,function*(){try{for(n=ma(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 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 va(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;T(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 ne(t,e,n=1/0){return m(e)?ne((r,o)=>Me((i,s)=>e(r,i,o,s))(T(t(r,o))),n):(typeof e=="number"&&(n=e),g((r,o)=>va(r,o,t,n)))}function ze(t=1/0){return ne(z,t)}function kn(t){return t&&m(t.schedule)}function Io(t){return t[t.length-1]}function Da(t){return m(Io(t))?t.pop():void 0}function re(t){return kn(Io(t))?t.pop():void 0}function Ln(t,e){return typeof Io(t)=="number"?t.pop():e}function jn(t,e=0){return g((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 Vn(t,e=0){return g((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function wa(t,e){return T(t).pipe(Vn(e),jn(e))}function Ea(t,e){return T(t).pipe(Vn(e),jn(e))}function Ia(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 Ca(t,e){return new E(n=>{let r;return W(n,e,()=>{r=t[On](),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)}),()=>m(r?.return)&&r.return()})}function Bn(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 ba(t,e){return Bn(Fn(t),e)}function Ma(t,e){if(t!=null){if(_n(t))return wa(t,e);if(gt(t))return Ia(t,e);if(Sn(t))return Ea(t,e);if(An(t))return Bn(t,e);if(Rn(t))return Ca(t,e);if(Pn(t))return ba(t,e)}throw Nn(t)}function Q(t,e){return e?Ma(t,e):T(t)}function Ta(...t){let e=re(t),n=Ln(t,1/0);return t=fa(t),g((r,o)=>{ze(n)(Q([r,...t],e)).subscribe(o)})}function yf(...t){return Ta(...t)}function Co(){return ze(1)}function mt(...t){return Co()(Q(t,re(t)))}function xa(...t){let e=re(t);return g((n,r)=>{(e?mt(t,n,e):mt(t,n)).subscribe(r)})}function Bt(t,e){return g((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++;T(t(u,l)).subscribe(o=y(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function bo(){return g((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 Ht=class extends E{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Eo(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 bo()(this)}};var $t=class extends U{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)}};var Hn=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 $n=class extends Hn{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,Be(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=jt.now;var Un=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 Un($n),Sa=zt;var Ge=new E(t=>t.complete());function Gt(...t){let e=re(t);return Q(t,e)}function vf(t,e){let n=m(t)?t:()=>t,r=o=>o.error(n());return new E(e?o=>e.schedule(r,0,o):r)}function Df(t){return!!t&&(t instanceof E||m(t.lift)&&m(t.subscribe))}var We=dt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function _a(t){return t instanceof Date&&!isNaN(t)}var{isArray:wf}=Array;function Ef(t,e){return wf(e)?t(...e):t(e)}function zn(t){return Me(e=>Ef(t,e))}var{isArray:If}=Array,{getPrototypeOf:Cf,prototype:bf,keys:Mf}=Object;function Aa(t){if(t.length===1){let e=t[0];if(If(e))return{args:e,keys:null};if(Tf(e)){let n=Mf(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Tf(t){return t&&typeof t=="object"&&Cf(t)===bf}function Na(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function xf(...t){let e=re(t),n=Da(t),{args:r,keys:o}=Aa(t);if(r.length===0)return Q([],e);let i=new E(Sf(r,e,o?s=>Na(o,s):z));return n?i.pipe(zn(n)):i}function Sf(t,e,n=z){return r=>{Oa(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=Q(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?W(n,t,e):e()}function _f(t){return new E(e=>{T(t()).subscribe(e)})}var Af=["addListener","removeListener"],Nf=["addEventListener","removeEventListener"],Of=["on","off"];function Mo(t,e,n,r){if(m(n)&&(r=n,n=void 0),r)return Mo(t,e,n).pipe(zn(r));let[o,i]=Pf(t)?Nf.map(s=>a=>t[s](e,a,n)):Rf(t)?Af.map(Ra(t,e)):Ff(t)?Of.map(Ra(t,e)):[];if(!o&>(t))return ne(s=>Mo(s,e,n))(T(t));if(!o)throw new TypeError("Invalid event target");return new E(s=>{let a=(...u)=>s.next(1i(a)})}function Ra(t,e){return n=>r=>t[n](e,r)}function Rf(t){return m(t.addListener)&&m(t.removeListener)}function Ff(t){return m(t.on)&&m(t.off)}function Pf(t){return m(t.addEventListener)&&m(t.removeEventListener)}function Fa(t=0,e,n=Sa){let r=-1;return e!=null&&(kn(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 To(...t){let e=re(t),n=Ln(t,1/0),r=t;return r.length?r.length===1?T(r[0]):ze(n)(Q(r,e)):Ge}var kf=new E(Y);function qe(t,e){return g((n,r)=>{let o=0;n.subscribe(y(r,i=>t.call(e,i,o++)&&r.next(i)))})}function Pa(t){return g((e,n)=>{let r=null,o=!1,i;r=e.subscribe(y(n,void 0,void 0,s=>{i=T(t(s,Pa(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 ka(t,e){return g(Gn(t,e,arguments.length>=2,!1,!0))}var Lf=(t,e)=>(t.push(e),t);function jf(){return g((t,e)=>{ka(Lf,[])(t).subscribe(e)})}function La(t,e){return m(e)?ne(t,e,1):ne(t,1)}function ja(t){return new E(e=>t.subscribe(e))}var Vf={connector:()=>new U};function Wn(t,e=Vf){let{connector:n}=e;return g((r,o)=>{let i=n();T(t(ja(i))).subscribe(o),o.add(r.subscribe(i))})}function Bf(t,e=zt){return g((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 Wt(t){return g((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?()=>Ge:g((e,n)=>{let r=0;e.subscribe(y(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function Va(){return g((t,e)=>{t.subscribe(y(e,Y))})}function xo(t){return Me(()=>t)}function So(t,e){return e?n=>mt(e.pipe(Ze(1),Va()),n.pipe(So(t))):ne((n,r)=>T(t(n,r)).pipe(Ze(1),xo(n)))}function Hf(t,e=zt){let n=Fa(t,e);return So(()=>n)}function $f(t,e){return g((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&&T(e).subscribe(y(r,()=>o.clear(),Y))})}function _o(t,e=z){return t=t??Uf,g((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 Uf(t,e){return t===e}function qn(t=zf){return g((e,n)=>{let r=!1;e.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function zf(){return new We}function Ba(t){return g((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Ao(t,e){let n=arguments.length>=2;return r=>r.pipe(t?qe((o,i)=>t(o,i,r)):z,Ze(1),n?Wt(e):qn(()=>new We))}function Gf(t,e,n,r){return g((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 Vt(i,h=>{try{let D=t(h),A=a.get(D);if(!A){a.set(D,A=r?r():new U);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(T(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 No(t){return t<=0?()=>Ge:g((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 Wf(t,e){let n=arguments.length>=2;return r=>r.pipe(t?qe((o,i)=>t(o,i,r)):z,No(1),n?Wt(e):qn(()=>new We))}function Ha(t,e){let n=m(t)?t:()=>t;return m(e)?Wn(e,{connector:n}):r=>new Ht(r,n)}function qf(t){return t?e=>Wn(t)(e):e=>Ha(new U)(e)}function Zf(t,e){return g(Gn(t,e,arguments.length>=2,!0))}function Zn(t={}){let{connector:e=()=>new U,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 g((D,A)=>{c++,!d&&!l&&f();let S=u=u??e();A.add(()=>{c--,c===0&&!d&&!l&&(a=Oo(h,o))}),S.subscribe(A),!s&&c>0&&(s=new be({next:P=>S.next(P),error:P=>{d=!0,f(),a=Oo(p,n,P),S.error(P)},complete:()=>{l=!0,f(),a=Oo(p,r),S.complete()}}),T(D).subscribe(s))})(i)}}function Oo(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new be({next:()=>{r.unsubscribe(),t()}});return T(e(...n)).subscribe(r)}function Yf(t){return g((e,n)=>{let r=!1,o=y(n,()=>{o?.unsubscribe(),r=!0},Y);T(t).subscribe(o),e.subscribe(y(n,i=>r&&n.next(i)))})}function $a(t){return g((e,n)=>{T(t).subscribe(y(n,()=>n.complete(),Y)),!n.closed&&e.subscribe(n)})}function Yn(t,e,n){let r=m(t)||e||n?{next:t,error:e,complete:n}:t;return r?g((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)}))}):z}var Ua=null;var Ro=1;function L(t){let e=Ua;return Ua=t,e}var za={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 Qf(t){if(!(ko(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ro)){if(!t.producerMustRecompute(t)&&!Fo(t)){t.dirty=!1,t.lastCleanEpoch=Ro;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ro}}function Ga(t){return t&&(t.nextProducerIndex=0),L(t)}function Wa(t,e){if(L(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(ko(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Fo(t){Qn(t);for(let e=0;e0}function Qn(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Kf(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Jf(){throw new Error}var Xf=Jf;function Za(t){Xf=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 Kn(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 Ya(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var ep=R({__forward_ref__:R});function Ru(t){return t.__forward_ref__=Ru,t.toString=function(){return Z(this())},t}function oe(t){return Fu(t)?t():t}function Fu(t){return typeof t=="function"&&t.hasOwnProperty(ep)&&t.__forward_ref__===Ru}function Pu(t){return t&&!!t.\u0275providers}var ku="https://g.co/ng/security#xss",C=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 tp=R({\u0275cmp:R}),np=R({\u0275dir:R}),rp=R({\u0275pipe:R}),op=R({\u0275mod:R}),cr=R({\u0275fac:R}),Zt=R({__NG_ELEMENT_ID__:R}),Qa=R({__NG_ENV_ID__:R});function bt(t){return typeof t=="string"?t:t==null?"":String(t)}function ip(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():bt(t)}function sp(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 ap(t,e){t==null&&up(e,t,null,"!=")}function up(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 Ka(t,Lu)||Ka(t,ju)}function BT(t){return Or(t)!==null}function Ka(t,e){return t.hasOwnProperty(e)?t[e]:null}function cp(t){let e=t&&(t[Lu]||t[ju]);return e||null}function Ja(t){return t&&(t.hasOwnProperty(Xa)||t.hasOwnProperty(lp))?t[Xa]:null}var Lu=R({\u0275prov:R}),Xa=R({\u0275inj:R}),ju=R({ngInjectableDef:R}),lp=R({ngInjectorDef:R}),x=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}(x||{}),Ko;function Vu(){return Ko}function q(t){let e=Ko;return Ko=t,e}function Bu(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&x.Optional)return null;if(e!==void 0)return e;Qi(Z(t),"Injector")}var de=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 dp={},Yt=dp,Jo="__NG_DI_FLAG__",lr="ngTempTokenPath",fp="ngTokenPath",pp=/\n/gm,hp="\u0275",eu="__source",It;function gp(){return It}function _e(t){let e=It;return It=t,e}function mp(t,e=x.Default){if(It===void 0)throw new C(-203,!1);return It===null?Bu(t,void 0,e):It.get(t,e&x.Optional?null:void 0,e)}function b(t,e=x.Default){return(Vu()||mp)(oe(t),e)}function _(t,e=x.Default){return b(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 Xo(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(pp,` - `)}`}function Fr(t){return{toString:t}.toString()}var $u=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}($u||{}),we=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(we||{}),Mt={},Ne=[];function Uu(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 ei(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&&Uu(p,c,0)!==-1||r&2&&c!==f){if(le(r))return!1;s=!0}}}}return le(r)||s}function le(t){return(t&1)===0}function bp(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!==""&&!le(s)&&(e+=nu(i,o),o=""),r=s,i=i||!le(r);n++}return o!==""&&(e+=nu(i,o)),e}function _p(t){return t.map(Sp).join(",")}function Ap(t){let e=[],n=[],r=1,o=2;for(;r{let e=Ku(t),n=Ve(ge({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===$u.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||Ne,_:null,schemas:t.schemas||null,tView:null,id:""});Ju(n);let r=t.dependencies;return n.directiveDefs=ou(r,!1),n.pipeDefs=ou(r,!0),n.id=Fp(n),n})}function Np(t){return Oe(t)||Zu(t)}function Op(t){return t!==null}function ru(t,e){if(t==null)return Mt;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=Ku(t);return Ju(e),e})}function qu(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 Oe(t){return t[tp]||null}function Zu(t){return t[np]||null}function Yu(t){return t[rp]||null}function Rp(t){let e=Oe(t)||Zu(t)||Yu(t);return e!==null?e.standalone:!1}function Qu(t,e){let n=t[op]||null;if(!n&&e===!0)throw new Error(`Type ${Z(t)} does not have '\u0275mod' property.`);return n}function Ku(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||Mt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ne,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ru(t.inputs,e),outputs:ru(t.outputs),debugInfo:null}}function Ju(t){t.features?.forEach(e=>e(t))}function ou(t,e){if(!t)return null;let n=e?Yu:Np;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(Op)}function Fp(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 K=0,w=1,v=2,k=3,fe=4,he=5,Te=6,Kt=7,H=8,Tt=9,xt=10,F=11,Jt=12,iu=13,Rt=14,J=15,un=16,vt=17,ve=18,kr=19,Xu=20,Ae=21,Lo=22,Je=23,B=25,ec=1,Xt=6,xe=7,dr=8,St=9,$=10,_t=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(_t||{});function De(t){return Array.isArray(t)&&typeof t[ec]=="object"}function ie(t){return Array.isArray(t)&&t[ec]===!0}function tc(t){return(t.flags&4)!==0}function cn(t){return t.componentOffset>-1}function Ki(t){return(t.flags&1)===1}function Xe(t){return!!t.template}function nc(t){return(t[v]&512)!==0}function et(t,e){let n=t.hasOwnProperty(cr);return n?t[cr]:null}var ti=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rc(){return oc}function oc(t){return t.type.prototype.ngOnChanges&&(t.setInput=kp),Pp}rc.ngInherit=!0;function Pp(){let t=sc(this),e=t?.current;if(e){let n=t.previous;if(n===Mt)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function kp(t,e,n,r){let o=this.declaredInputs[n],i=sc(t)||Lp(t,{previous:Mt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new ti(u&&u.currentValue,e,a===Mt),t[r]=e}var ic="__ngSimpleChanges__";function sc(t){return t[ic]||null}function Lp(t,e){return t[ic]=e}var su=null;var me=function(t,e,n){su?.(t,e,n)},ac="svg",jp="math";function pe(t){for(;Array.isArray(t);)t=t[K];return t}function Vp(t,e){return pe(e[t])}function X(t,e){return pe(e[t.index])}function Ji(t,e){return t.data[e]}function Bp(t,e){return t[e]}function ke(t,e){let n=e[t];return De(n)?n:n[K]}function Hp(t){return(t[v]&4)===4}function Xi(t){return(t[v]&128)===128}function $p(t){return ie(t[k])}function fr(t,e){return e==null?null:t[e]}function uc(t){t[vt]=0}function Up(t){t[v]&1024||(t[v]|=1024,Xi(t)&&Lr(t))}function zp(t,e){for(;t>0;)e=e[Rt],t--;return e}function cc(t){t[v]&9216&&Lr(t)}function Lr(t){let e=t[k];for(;e!==null&&!(ie(e)&&e[v]&_t.HasChildViewsToRefresh||De(e)&&e[v]&8192);){if(ie(e))e[v]|=_t.HasChildViewsToRefresh;else if(e[v]|=8192,!Xi(e))break;e=e[k]}}function lc(t,e){if((t[v]&256)===256)throw new C(911,!1);t[Ae]===null&&(t[Ae]=[]),t[Ae].push(e)}function Gp(t,e){if(t[Ae]===null)return;let n=t[Ae].indexOf(e);n!==-1&&t[Ae].splice(n,1)}var I={lFrame:yc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Wp(){return I.lFrame.elementDepthCount}function qp(){I.lFrame.elementDepthCount++}function Zp(){I.lFrame.elementDepthCount--}function dc(){return I.bindingsEnabled}function ln(){return I.skipHydrationRootTNode!==null}function Yp(t){return I.skipHydrationRootTNode===t}function Qp(t){I.skipHydrationRootTNode=t}function Kp(){I.skipHydrationRootTNode=null}function M(){return I.lFrame.lView}function ee(){return I.lFrame.tView}function $T(t){return I.lFrame.contextLView=t,t[H]}function UT(t){return I.lFrame.contextLView=null,t}function te(){let t=fc();for(;t!==null&&t.type===64;)t=t.parent;return t}function fc(){return I.lFrame.currentTNode}function Jp(){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 pc(){return I.lFrame.isParent}function Xp(){I.lFrame.isParent=!1}function jr(){let t=I.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function eh(){return I.lFrame.bindingIndex}function th(t){return I.lFrame.bindingIndex=t}function fn(){return I.lFrame.bindingIndex++}function nh(t){let e=I.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function rh(){return I.lFrame.inI18n}function oh(t,e){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=t,ni(e)}function ih(){return I.lFrame.currentDirectiveIndex}function ni(t){I.lFrame.currentDirectiveIndex=t}function hc(){return I.lFrame.currentQueryIndex}function es(t){I.lFrame.currentQueryIndex=t}function sh(t){let e=t[w];return e.type===2?e.declTNode:e.type===1?t[he]:null}function gc(t,e,n){if(n&x.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=sh(i),o===null||(i=i[Rt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=I.lFrame=mc();return r.currentTNode=e,r.lView=t,!0}function ts(t){let e=mc(),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 mc(){let t=I.lFrame,e=t===null?null:t.child;return e===null?yc(t):e}function yc(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 vc(){let t=I.lFrame;return I.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Dc=vc;function ns(){let t=vc();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 ah(t){return(I.lFrame.contextLView=zp(t,I.lFrame.contextLView))[H]}function pn(){return I.lFrame.selectedIndex}function tt(t){I.lFrame.selectedIndex=t}function Vr(){let t=I.lFrame;return Ji(t.tView,t.selectedIndex)}function zT(){I.lFrame.currentNamespace=ac}function GT(){uh()}function uh(){I.lFrame.currentNamespace=null}function wc(){return I.lFrame.currentNamespace}var Ec=!0;function rs(){return Ec}function Le(t){Ec=t}function ch(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=oc(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 os(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[vt]+=65536),(a>14>16&&(t[v]&3)===e&&(t[v]+=16384,au(a,i)):au(a,i)}var Ct=-1,en=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function dh(t){return t instanceof en}function fh(t){return(t.flags&8)!==0}function ph(t){return(t.flags&16)!==0}function Cc(t){return t!==Ct}function pr(t){let e=t&32767;return t&32767}function hh(t){return t>>16}function hr(t,e){let n=hh(t),r=e;for(;n>0;)r=r[Rt],n--;return r}var ri=!0;function gr(t){let e=ri;return ri=t,e}var gh=256,bc=gh-1,Mc=5,mh=0,ye={};function yh(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Zt)&&(r=n[Zt]),r==null&&(r=n[Zt]=mh++);let o=r&bc,i=1<>Mc)]|=i}function Tc(t,e){let n=xc(t,e);if(n!==-1)return n;let r=e[w];r.firstCreatePass&&(t.injectorIndex=e.length,Vo(r.data,t),Vo(e,null),Vo(r.blueprint,null));let o=is(t,e),i=t.injectorIndex;if(Cc(o)){let s=pr(o),a=hr(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 Vo(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 is(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 Ct;if(n++,o=o[Rt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ct}function vh(t,e,n){yh(t,e,n)}function Dh(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&&Xe(p)&&p.type===n)return u}return null}function At(t,e,n,r){let o=t[n],i=e.data;if(dh(o)){let s=o;s.resolving&&sp(ip(i[n]));let a=gr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?q(s.injectImpl):null,l=gc(t,r,x.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&ch(n,i[n],e)}finally{c!==null&&q(c),gr(a),s.resolving=!1,Dc()}}return o}function Eh(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Zt)?t[Zt]:void 0;return typeof e=="number"?e>=0?e&bc:Ih:e}function uu(t,e,n){let r=1<>Mc)]&r)}function cu(t,e){return!(t&x.Self)&&!(t&x.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 Ih(){return new Ke(te(),M())}function WT(t){return Fr(()=>{let e=t.prototype.constructor,n=e[cr]||oi(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[cr]||oi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function oi(t){return Fu(t)?()=>{let e=oi(oe(t));return e&&e()}:et(t)}function Ch(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=Nc(i,s,n,r|x.Self,ye);if(a!==ye)return a;let u=i.parent;if(!u){let c=s[Xu];if(c){let l=c.get(n,ye,r);if(l!==ye)return l}u=Oc(s),s=s[Rt]}i=u}return o}function Oc(t){let e=t[w],n=e.type;return n===2?e.declTNode:n===1?t[he]:null}function Rc(t){return Dh(te(),t)}var Jn="__parameters__";function bh(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=bh(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(Jn)?u[Jn]:Object.defineProperty(u,Jn,{value:[]})[Jn];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 Mh(t){return typeof t=="function"}function Th(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?ss(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 Sh(t,e){let n=[];for(let r=0;r{n.push(s)};return ss(e,s=>{let a=s;ii(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 ii(t,e,n,r){if(t=oe(t),!t)return!1;let o=null,i=Ja(t),s=!i&&Oe(t);if(!i&&!s){let u=t.ngModule;if(i=Ja(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)ii(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ss(i.imports,l=>{ii(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Bc(c,e)}if(!a){let c=et(o)||(()=>new o);e({provide:o,useFactory:c,deps:Ne},o),e({provide:jc,useValue:o,multi:!0},o),e({provide:hn,useValue:()=>b(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;us(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function us(t,e){for(let n of t)Pu(n)&&(n=n.\u0275providers),Array.isArray(n)?us(n,e):e(n)}var Ah=R({provide:String,useValue:R});function Hc(t){return t!==null&&typeof t=="object"&&Ah in t}function Nh(t){return!!(t&&t.useExisting)}function Oh(t){return!!(t&&t.useFactory)}function si(t){return typeof t=="function"}var Br=new N("Set Injector scope."),sr={},Rh={},Bo;function cs(){return Bo===void 0&&(Bo=new yr),Bo}var Re=class{},tn=class extends Re{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,ui(e,s=>this.processProvider(s)),this.records.set(Lc,Dt(void 0,this)),o.has("environment")&&this.records.set(Re,Dt(void 0,this));let i=this.records.get(Br);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(jc,Ne,x.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=_e(this),r=q(void 0),o;try{return e()}finally{_e(n),q(r)}}get(e,n=Yt,r=x.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Qa))return e[Qa](this);r=Rr(r);let o,i=_e(this),s=q(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Vh(e)&&Or(e);c&&this.injectableDefInScope(c)?u=Dt(ai(e),sr):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&x.Self?cs():this.parent;return n=r&x.Optional&&n===Yt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[lr]=a[lr]||[]).unshift(Z(e)),i)throw a;return vp(a,e,"R3InjectorError",this.source)}else throw a}finally{q(s),_e(i)}}resolveInjectorInitializers(){let e=_e(this),n=q(void 0),r;try{let o=this.get(hn,Ne,x.Self);for(let i of o)i()}finally{_e(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=oe(e);let n=si(e)?e:oe(e&&e.provide),r=Ph(e);if(!si(e)&&e.multi===!0){let o=this.records.get(n);o||(o=Dt(void 0,sr,!0),o.factory=()=>Xo(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===sr&&(n.value=Rh,n.value=n.factory()),typeof n.value=="object"&&n.value&&jh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=oe(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 ai(t){let e=Or(t),n=e!==null?e.factory:et(t);if(n!==null)return n;if(t instanceof N)throw new C(204,!1);if(t instanceof Function)return Fh(t);throw new C(204,!1)}function Fh(t){let e=t.length;if(e>0){let r=Sh(e,"?");throw new C(204,!1)}let n=cp(t);return n!==null?()=>n.factory(t):()=>new t}function Ph(t){if(Hc(t))return Dt(void 0,t.useValue);{let e=kh(t);return Dt(e,sr)}}function kh(t,e,n){let r;if(si(t)){let o=oe(t);return et(o)||ai(o)}else if(Hc(t))r=()=>oe(t.useValue);else if(Oh(t))r=()=>t.useFactory(...Xo(t.deps||[]));else if(Nh(t))r=()=>b(oe(t.useExisting));else{let o=oe(t&&(t.useClass||t.provide));if(Lh(t))r=()=>new o(...Xo(t.deps));else return et(o)||ai(o)}return r}function Dt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Lh(t){return!!t.deps}function jh(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Vh(t){return typeof t=="function"||typeof t=="object"&&t instanceof N}function ui(t,e){for(let n of t)Array.isArray(n)?ui(n,e):n&&Pu(n)?ui(n.\u0275providers,e):e(n)}function qT(t,e){t instanceof tn&&t.assertNotDestroyed();let n,r=_e(t),o=q(void 0);try{return e()}finally{_e(r),q(o)}}function Bh(t){if(!Vu()&&!gp())throw new C(-203,!1)}function lu(t,e=null,n=null,r){let o=$c(t,e,n,r);return o.resolveInjectorInitializers(),o}function $c(t,e=null,n=null,r,o=new Set){let i=[n||Ne,_h(t)];return r=r||(typeof t=="object"?void 0:Z(t)),new tn(i,e||cs(),r||null,o)}var ot=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return lu({name:""},o,r,"");{let i=r.name??"";return lu({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=Yt,e.NULL=new yr,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>b(Lc)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var ci;function Uc(t){ci=t}function Hr(){if(ci!==void 0)return ci;if(typeof document<"u")return document;throw new C(210,!1)}var $r=new N("AppId",{providedIn:"root",factory:()=>Hh}),Hh="ng",ls=new N("Platform Initializer"),Se=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var ZT=new N("AnimationModuleType"),ds=new N("CSP nonce",{providedIn:"root",factory:()=>Hr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function $h(t){return t.ownerDocument.body}function zc(t){return t instanceof Function?t():t}function qt(t){return(t??_(ot)).get(Se)==="browser"}var Uh="ngSkipHydration",zh="ngskiphydration";function Gc(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,Zh="\u200B$1\u200B";function Yh(t){return t.replace(Wh,e=>e.replace(qh,Zh))}var qc=new Map,Qh=0;function Kh(){return Qh++}function Jh(t){qc.set(t[kr],t)}function Xh(t){qc.delete(t[kr])}var du="__ngContext__";function nt(t,e){De(e)?(t[du]=e[kr],Jh(e)):t[du]=e}var eg;function fs(t,e){return eg(t,e)}function ps(t){let e=t[k];return ie(e)?e[k]:e}function Zc(t){return Qc(t[Jt])}function Yc(t){return Qc(t[fe])}function Qc(t){for(;t!==null&&!ie(t);)t=t[fe];return t}function wt(t,e,n,r,o){if(r!=null){let i,s=!1;ie(r)?i=r:De(r)&&(s=!0,r=r[K]);let a=pe(r);t===0&&n!==null?o==null?el(e,n,a):Dr(e,n,a,o||null,!0):t===1&&n!==null?Dr(e,n,a,o||null,!0):t===2?nl(e,a,s):t===3&&e.destroyNode(a),i!=null&&vg(e,t,i,n,o)}}function Kc(t,e){return t.createText(e)}function tg(t,e,n){t.setValue(e,n)}function Jc(t,e){return t.createComment(Yh(e))}function hs(t,e,n){return t.createElement(e,n)}function ng(t,e){let n=e[F];mn(t,e,n,2,null,null),e[K]=null,e[he]=null}function rg(t,e,n,r,o,i){r[K]=o,r[he]=e,mn(t,r,n,1,o,i)}function og(t,e){mn(t,e,e[F],2,null,null)}function ig(t){let e=t[Jt];if(!e)return Ho(t[w],t);for(;e;){let n=null;if(De(e))n=e[Jt];else{let r=e[$];r&&(n=r)}if(!n){for(;e&&!e[fe]&&e!==t;)De(e)&&Ho(e[w],e),e=e[k];e===null&&(e=t),De(e)&&Ho(e[w],e),n=e&&e[fe]}e=n}}function sg(t,e,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][fe]=e),r0&&(t[n-1][fe]=r[fe]);let i=mr(t,$+e);ng(r[w],r);let s=i[ve];s!==null&&s.detachView(i[w]),r[k]=null,r[fe]=null,r[v]&=-129}return r}function Ur(t,e){if(!(e[v]&256)){let n=e[F];e[Je]&&qa(e[Je]),n.destroyNode&&mn(t,e,n,3,null,null),ig(e)}}function Ho(t,e){if(!(e[v]&256)){e[v]&=-129,e[v]|=256,cg(t,e),ug(t,e),e[w].type===1&&e[F].destroy();let n=e[un];if(n!==null&&ie(e[k])){n!==e[k]&&Xc(n,e);let r=e[ve];r!==null&&r.detachView(t)}Xh(e)}}function ug(t,e){let n=t.cleanup,r=e[Kt];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[Kt]=null);let o=e[Ae];if(o!==null){e[Ae]=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 X(r,n)}}function Dr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function el(t,e,n){t.appendChild(e,n)}function fu(t,e,n,r,o){r!==null?Dr(t,e,n,r,o):el(t,e,n)}function fg(t,e,n,r){t.removeChild(e,n,r)}function gs(t,e){return t.parentNode(e)}function pg(t,e){return t.nextSibling(e)}function hg(t,e,n){return mg(t,e,n)}function gg(t,e,n){return t.type&40?X(t,n):null}var mg=gg,pu;function ms(t,e,n,r){let o=lg(t,r,e),i=e[F],s=r.parent||e[he],a=hg(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return Xn}function hu(t){return wg()?.createScriptURL(t)||t}var wr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ku})`}};function zr(t){return t instanceof wr?t.changingThisBreaksApplicationSecurity:t}function vs(t,e){let n=Eg(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${ku})`)}return n===e}function Eg(t){return t instanceof wr&&t.getTypeName()||null}var Ig=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sl(t){return t=String(t),t.match(Ig)?t:"unsafe:"+t}var Gr=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}(Gr||{});function Cg(t){let e=al();return e?e.sanitize(Gr.URL,t)||"":vs(t,"URL")?zr(t):sl(bt(t))}function bg(t){let e=al();if(e)return hu(e.sanitize(Gr.RESOURCE_URL,t)||"");if(vs(t,"ResourceURL"))return hu(zr(t));throw new C(904,!1)}function Mg(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?bg:Cg}function YT(t,e,n){return Mg(e,n)(t)}function al(){let t=M();return t&&t[xt].sanitizer}function Tg(){let t=new st;return _(Se)==="browser"&&(t.store=xg(Hr(),_($r))),t}var st=(()=>{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 Pg(t,e,n=!1){let r=t.getAttribute($o);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(st,null,{optional:!0});c!==null&&(a=c.get(dl,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,Wr(u,0,t.nextSibling)),s?t.setAttribute($o,s):t.removeAttribute($o),u}function kg(){fl=Pg}function ws(t,e,n=!1){return fl(t,e,n)}function Lg(t){let e=t._lView;return e[w].type===2?null:(nc(e)&&(e=e[B]),e)}function jg(t){return t.textContent?.replace(/\s/gm,"")}function Vg(t){let e=Hr(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=jg(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 Wr(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function fi(t,e){return t.segmentHeads?.[e]??null}function Bg(t,e){let n=t.data,r=n[Sg]?.[e]??null;return r===null&&n[Ds]?.[e]&&(r=Es(t,e)),r}function pl(t,e){return t.data[Ds]?.[e]??null}function Es(t,e){let n=pl(t,e)??[],r=0;for(let o of n)r+=o[Er]*(o[ll]??1);return r}function qr(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[Og];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var pi=class{},Ir=class{};function Hg(t){let e=Error(`No component factory found for ${Z(t)}.`);return e[$g]=t,e}var $g="ngComponent";var hi=class{resolveComponentFactory(e){throw Hg(e)}},Zr=(()=>{let e=class e{};e.NULL=new hi;let t=e;return t})();function Ug(){return Ft(te(),M())}function Ft(t,e){return new at(X(t,e))}var at=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Ug;let t=e;return t})();function zg(t){return t instanceof at?t.nativeElement:t}var rn=class{},Is=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Gg();let t=e;return t})();function Gg(){let t=M(),e=te(),n=ke(e.index,t);return(De(n)?n:t)[F]}var Wg=(()=>{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(".")}},qg=new on("17.0.4"),Uo={};function Cs(t){let e=L(null);try{return t()}finally{L(e)}}function hl(t){return bs(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,mi=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||Yg}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 yi(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}},yi=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}},vi=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 vi,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 gu(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 Ei(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))}},Ei=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 mu(){return new Ms([new gi])}var Ms=(()=>{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||mu()),deps:[[e,new kc,new as]]}}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:mu});let t=e;return t})();function yu(){return new Ts([new Di])}var Ts=(()=>{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||yu()),deps:[[e,new kc,new as]]}}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:yu});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(pe(i)),ie(i)&&Qg(i,r);let s=n.type;if(s&8)br(t,e,n.child,r);else if(s&32){let a=fs(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=tl(e,n);if(Array.isArray(a))r.push(...a);else{let u=ps(e[J]);br(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Qg(t,e){for(let n=$;n{Lr(t.lView)},consumerOnSignalRead(){this.lView[Je]=this}}),tm="ngOriginalError";function zo(t){return t[tm]}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&&zo(e);for(;n&&zo(n);)n=zo(n);return n||null}},er=new N(""),ml=!1,yl=new N("",{providedIn:"root",factory:()=>ml});var Ie={};function QT(t){vl(ee(),M(),pn()+t,!1)}function vl(t,e,n,r){if(!r)if((e[v]&3)===3){let i=t.preOrderCheckHooks;i!==null&&rr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&or(e,i,0,n)}tt(n)}function se(t,e=x.Default){let n=M();if(n===null)return b(t,e);let r=te();return Ac(r,n,oe(t),e)}function nm(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rB&&vl(t,e,B,!1),me(s?2:0,o),n(r,o)}finally{tt(i),me(s?3:1,o)}}function El(t,e,n){if(tc(e)){let r=L(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function am(t){Wc(t)?rl(t):Vg(t)}function um(){Ml=am}function cm(t,e,n,r){let o=Fl(e);o.push(n),t.firstCreatePass&&Pl(t).push(r,o.length-1)}function lm(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 vu(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?Du(n,e,o,i):r.hasOwnProperty(o)&&Du(n,e,r[o],i)}return n}function Du(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function dm(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 mm(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;cn(n)&&Cm(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||Tc(n,e),nt(r,e);let s=n.initialInputs;for(let a=o;a-1&&(nn(e,r),mr(n,r))}this._attachedToViewContainer=!1}Ur(this._lView[w],this._lView)}onDestroy(e){lc(this._lView,e)}markForCheck(){_s(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){cc(this._lView),this._lView[v]|=128}detectChanges(){Sm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,og(this._lView[w],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=e}},Ul=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Rm;let t=e;return t})();function Rm(t){return Fm(te(),M(),(t&16)===16)}function Fm(t,e,n){if(cn(t)&&!n){let r=ke(t.index,e);return new rt(r,r)}else if(t.type&47){let r=e[J];return new rt(r,e)}return null}var zl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Pm,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),bi=class extends zl{constructor(e){super(),this._lView=e}onDestroy(e){return lc(this._lView,e),()=>Gp(this._lView,e)}};function Pm(){return new bi(M())}var wu=new Set;function je(t){wu.has(t)||(wu.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var Mi=class extends U{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=Go(i),o&&(o=Go(o)),s&&(s=Go(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof V&&e.add(a),a}};function Go(t){return e=>{setTimeout(t,void 0,e)}}var Qe=Mi;function Eu(...t){}function km(){let t=typeof de.requestAnimationFrame=="function",e=de[t?"requestAnimationFrame":"setTimeout"],n=de[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 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=km().nativeRequestAnimationFrame,Vm(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,Lm,Eu,Eu);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)}},Lm={};function As(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 jm(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(de,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ti(t),t.isCheckStableRunning=!0,As(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ti(t))}function Vm(t){let e=()=>{jm(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Bm(a))return n.invokeTask(o,i,s,a);try{return Iu(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Cu(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Iu(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Cu(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ti(t),As(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 Ti(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Iu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cu(t){t._nesting--,As(t)}var Gl=new N("",{providedIn:"root",factory:Wl});function Wl(){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 To(n,r.pipe(Zn()))}function Bm(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Et=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Et||{}),Hm={destroy(){}};function $m(t,e){!e&&Bh($m);let n=e?.injector??_(ot);if(!qt(n))return Hm;je("NgAfterNextRender");let r=n.get(ql),o=r.handler??=new Si,i=e?.phase??Et.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(zl).onDestroy(s),u=new xi(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var xi=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)}}},Si=class{constructor(){this.executingCallbacks=!1,this.buckets={[Et.EarlyRead]:new Set,[Et.Write]:new Set,[Et.MixedReadWrite]:new Set,[Et.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()}},ql=(()=>{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 Um(t,e){let n=ke(e,t),r=n[w];zm(r,n);let o=n[K];o!==null&&n[Te]===null&&(n[Te]=ws(o,n[Tt])),Ns(r,n,n[H])}function zm(t,e){for(let n=e.length;n0&&ol(t,n,i.join(" "))}}function Jm(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=Qt(o.hostAttrs,n=Qt(n,o.hostAttrs))}}function tr(t){return t===Mt?{}:t===Ne?[]:t}function ry(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function oy(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function iy(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function sy(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 Os(t,e,n){return t[e]=n}function ay(t,e){return t[e]}function Fe(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=Fe(t,e,n);return Fe(t,e+1,r)||o}function uy(t,e,n,r){let o=M(),i=fn();if(Fe(o,i,e)){let s=ee(),a=Vr();Al(a,o,t,e,n,r)}return uy}function Rs(t,e,n,r){return Fe(t,fn(),n)?e+bt(n)+r:Ie}function cy(t,e,n,r,o,i){let s=eh(),a=Zl(t,s,n,o);return nh(2),a?e+bt(n)+r+bt(o)+i:Ie}function ly(t,e,n,r,o,i){let s=M(),a=Rs(s,e,n,r);if(a!==Ie){let u=Vr();Al(u,s,t,a,o,i)}return ly}function dy(t,e,n){let r=M(),o=fn();if(Fe(r,o,e)){let i=ee(),s=Vr();Tl(i,s,r,t,e,r[F],n,!1)}return dy}function Mu(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";Ss(t,n,i[s],s,r)}function Yl(t){let e=t[Xt]??[],r=t[k][F];for(let o of e)fy(o,r);t[Xt]=Ne}function fy(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[Er];for(;n0&&(i.firstChild=t,t=Xr(r[Er],t)),n.push(i)}return[t,n]}var Kl=(t,e)=>null;function wy(t,e){let n=t[Xt];return!e||n===null||n.length===0?null:n[0].data[Ag]===e?n.shift():(Yl(t),null)}function Ey(){Kl=wy}function sn(t,e){return Kl(t,e)}var Oi=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 qo(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function Iy(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=qo(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=qo(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 xr,o??=xu(t,i,s,n),Ri(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;)Tu(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=qo(i,c,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{r??=new xr,o??=xu(t,i,s,n);let f=n(i,l);if(Ri(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;)Tu(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 Ri(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Tu(t,e,n,r,o){if(Ri(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 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 eo(t,e,n,r){let o=e.tView,s=t[v]&4096?4096:16,a=Yr(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)),Ns(o,a,n),a}function Jl(t,e){let n=$+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=Cy;let t=e;return t})();function Cy(){let t=te();return td(t,M())}var by=yn,ed=class extends by{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Ft(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){let e=is(this._hostTNode,this._hostLView);if(Cc(e)){let n=hr(e,this._hostLView),r=pr(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=Su(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&&!Mh(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 Nt(Oe(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(s?c:this.parentInjector).get(Re,null);D&&(i=D)}let l=Oe(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($p(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[k],c=new ed(u,u[he],u[k]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return to(s,o,i,r),e.attachToViewContainerRef(),Pc(Zo(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Su(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=nn(this._lContainer,n);r&&(mr(Zo(this._lContainer),n),Ur(r[w],r))}detach(e){let n=this._adjustIndex(e,-1),r=nn(this._lContainer,n);return r&&mr(Zo(this._lContainer),n)!=null?new rt(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Su(t){return t[dr]}function Zo(t){return t[dr]||(t[dr]=[])}function td(t,e){let n,r=e[t.index];return ie(r)?n=r:(n=Ol(r,e,null,t),e[t.index]=n,Kr(e,n)),nd(n,e,t,r),new ed(n,t,e)}function My(t,e){let n=t[F],r=n.createComment(""),o=X(e,t),i=gs(n,o);return Dr(n,i,r,pg(n,o),!1),r}var nd=rd,Fs=(t,e,n)=>!1;function Ty(t,e,n){return Fs(t,e,n)}function rd(t,e,n,r){if(t[xe])return;let o;n.type&8?o=pe(r):o=My(e,n),t[xe]=o}function xy(t,e,n){if(t[xe]&&t[Xt])return!0;let r=n[Te],o=e.index-B;if(!r||Gh(e)||qr(r,o))return!1;let s=fi(r,o),a=r.data[Ds]?.[o],[u,c]=Dy(s,a);return t[xe]=u,t[Xt]=c,!0}function Sy(t,e,n,r){Fs(t,n,e)||rd(t,e,n,r)}function _y(){nd=Sy,Fs=xy}function Ay(t,e,n,r,o,i,s,a,u){let c=e.consts,l=Qr(e,t,4,s||null,fr(c,a));xl(e,n,l,fr(c,u)),os(e,l);let d=l.tView=xs(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 Fi(t,e,n,r,o,i,s,a){let u=M(),c=ee(),l=t+B,d=c.firstCreatePass?Ay(l,c,u,e,n,r,o,i,s):c.data[l];dn(d,!1);let f=od(c,u,d,t);rs()&&ms(c,u,f,d),nt(f,u);let p=Ol(f,u,f,d);return u[l]=p,Kr(u,p),Ty(p,d,u),Ki(d)&&Il(c,u,d),s!=null&&Cl(u,d,a),Fi}var od=id;function id(t,e,n,r){return Le(!0),e[F].createComment("")}function Ny(t,e,n,r){let o=e[Te],i=!o||ln()||qr(o,r);if(Le(i),i)return id(t,e,n,r);let s=o.data[_g]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Jr(o,t,e,n);Wr(o,r,a);let u=Es(o,r);return Xr(u,a)}function Oy(){od=Ny}function JT(t,e,n){je("NgControlFlow");let r=M(),o=fn(),i=ji(r,B+t),s=0;if(Fe(r,o,e)){let a=L(null);try{if(Xl(i,s),e!==-1){let u=Vi(r[w],B+e),c=sn(i,u.tView.ssrId),l=eo(r,u,n,{dehydratedView:c});to(i,l,s,an(u,c))}}finally{L(a)}}else{let a=Jl(i,s);a!==void 0&&(a[H]=n)}}var Pi=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function XT(t,e){return e}var ki=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function ex(t,e,n,r,o,i,s,a,u,c,l){je("NgControlFlow");let d=u!==void 0,f=M(),p=a?s.bind(f[J][H]):s,h=new ki(d,p);f[B+t]=h,Fi(t+1,e,n,r,o,i),d&&Fi(t+2,u,c,l)}var Li=class extends Oi{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,to(this.lContainer,n,e,an(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Ry(this.lContainer,e)}create(e,n){let r=sn(this.lContainer,this.templateTNode.tView.ssrId);return eo(this.hostLView,this.templateTNode,new Pi(this.lContainer,n,e),{dehydratedView:r})}destroy(e){Ur(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(Le(!0),hs(r,o,wc()));function Ly(t,e,n,r,o,i){let s=e[Te],a=!s||ln()||qr(s,i);if(Le(a),a)return hs(r,o,wc());let u=Jr(s,t,e,n);return pl(s,i)&&Wr(s,i,u.nextSibling),s&&(Gc(n)||Wc(u))&&cn(n)&&(Qp(n),rl(u)),u}function jy(){ud=Ly}var Vy=(t,e,n,r)=>(Le(!0),Jc(e[F],""));function By(t,e,n,r){let o,i=e[Te],s=!i||ln();if(Le(s),s)return Jc(e[F],"");let a=Jr(i,t,e,n),u=Bg(i,r);return Wr(i,r,a),o=Xr(u,a),o}function Hy(){Vy=By}function nx(){return M()}var Ye=void 0;function $y(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Uy=["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",$y],Yo={};function cd(t){let e=zy(t),n=_u(e);if(n)return n;let r=e.split("-")[0];if(n=_u(r),n)return n;if(r==="en")return Uy;throw new C(701,!1)}function ld(t){return cd(t)[Ps.PluralCase]}function _u(t){return t in Yo||(Yo[t]=de.ng&&de.ng.common&&de.ng.common.locales&&de.ng.common.locales[t]),Yo[t]}var Ps=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}(Ps||{});function zy(t){return t.toLowerCase().replace(/_/g,"-")}var Sr="en-US";var Gy=Sr;function Wy(t){ap(t,"Expected localeId to be defined"),typeof t=="string"&&(Gy=t.toLowerCase().replace(/_/g,"-"))}function no(t){return!!t&&typeof t.then=="function"}function ks(t){return!!t&&typeof t.subscribe=="function"}function qy(t,e,n,r){let o=M(),i=ee(),s=te();return Yy(i,o,o[F],s,t,e,r),qy}function Zy(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 Yy(t,e,n,r,o,i,s){let a=Ki(r),c=t.firstCreatePass&&Pl(t),l=e[H],d=Fl(e),f=!0;if(r.type&3||s){let D=X(r,e),A=s?s(D):D,S=d.length,P=s?Ce=>s(pe(Ce[r.index])):r.index,G=null;if(!s&&a&&(G=Zy(t,e,o,r.index)),G!==null){let Ce=G.__ngLastListenerFn__||G;Ce.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,f=!1}else{i=Nu(r,e,l,i,!1);let Ce=n.listen(A,o,i);d.push(i,Ce),c&&c.push(o,P,S,S+1)}}else i=Nu(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?ke(t.index,e):e;_s(a);let u=Au(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Au(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function rx(t=1){return ah(t)}function Qy(t,e,n,r,o){let i=M(),s=Rs(i,e,n,r);if(s!==Ie){let a=ee(),u=Vr();Tl(a,u,i,t,s,i[F],o,!1)}return Qy}function Ky(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function ox(t,e=""){let n=M(),r=ee(),o=t+B,i=r.firstCreatePass?Qr(r,o,1,e,null):r.data[o],s=dd(r,n,i,e,t);n[o]=s,rs()&&ms(r,n,s,i),dn(i,!1)}var dd=(t,e,n,r,o)=>(Le(!0),Kc(e[F],r));function Jy(t,e,n,r,o){let i=e[Te],s=!i||ln()||qr(i,o);return Le(s),s?Kc(e[F],r):Jr(i,t,e,n)}function Xy(){dd=Jy}function ev(t){return fd("",t,""),ev}function fd(t,e,n){let r=M(),o=Rs(r,t,e,n);return o!==Ie&&Ll(r,pn(),o),fd}function tv(t,e,n,r,o){let i=M(),s=cy(i,t,e,n,r,o);return s!==Ie&&Ll(i,pn(),s),tv}var Pe=class{},Bi=class{};var Hi=class extends Pe{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Mr(this);let o=Qu(e);this._bootstrapComponents=zc(o.bootstrap),this._r3Injector=$c(e,n,[{provide:Pe,useValue:this},{provide:Zr,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)}},$i=class extends Bi{constructor(e){super(),this.moduleType=e}create(e){return new Hi(this.moduleType,e,[])}};var _r=class extends Pe{constructor(e){super(),this.componentFactoryResolver=new Mr(this),this.instance=null;let n=new tn([...e.providers,{provide:Pe,useValue:this},{provide:Zr,useValue:this.componentFactoryResolver}],e.parent||cs(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function nv(t,e,n=null){return new _r({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var rv=(()=>{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?nv([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(Re))});let t=e;return t})();function ix(t){je("NgStandalone"),t.getStandaloneInjector=e=>e.get(rv).getOrCreateStandaloneInjector(t)}function sx(t,e,n){let r=jr()+t,o=M();return o[r]===Ie?Os(o,r,n?e.call(n):e()):ay(o,r)}function ax(t,e,n,r){return hd(M(),jr(),t,e,n,r)}function ux(t,e,n,r,o){return ov(M(),jr(),t,e,n,r,o)}function pd(t,e){let n=t[e];return n===Ie?void 0:n}function hd(t,e,n,r,o,i){let s=e+n;return Fe(t,s,o)?Os(t,s+1,i?r.call(i,o):r(o)):pd(t,s+1)}function ov(t,e,n,r,o,i,s){let a=e+n;return Zl(t,a,o,i)?Os(t,a+2,s?r.call(s,o,i):r(o,i)):pd(t,a+2)}function cx(t,e){let n=ee(),r,o=t+B;n.firstCreatePass?(r=iv(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=et(r.type,!0)),s,a=q(se);try{let u=gr(!1),c=i();return gr(u),Ky(n,M(),o,c),c}finally{q(a)}}function iv(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function lx(t,e,n){let r=t+B,o=M(),i=Bp(o,r);return sv(o,r)?hd(o,jr(),e,i.transform,n,i):i.transform(n)}function sv(t,e){return t[w].data[e].pure}function av(){return this._results[Symbol.iterator]()}var Ui=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]=av)}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=xh(e);(this._changesDetected=!Th(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()}},Ot=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=lv;let t=e;return t})(),uv=Ot,cv=class extends uv{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=eo(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new rt(o)}};function lv(){return Ls(te(),M())}function Ls(t,e){return t.type&4?new cv(e,t,Ft(t,e)):null}var zi=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Gi=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=_(yv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(no(s))r.push(s);else if(ks(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})(),wd=(()=>{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 vv(){return typeof $localize<"u"&&$localize.locale||Sr}var vn=new N("LocaleId",{providedIn:"root",factory:()=>_(vn,x.Optional|x.SkipSelf)||vv()});var Ed=(()=>{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=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yi=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},mx=(()=>{let e=class e{compileModuleSync(r){return new $i(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Qu(r),s=zc(i.declarations).reduce((a,u)=>{let c=Oe(u);return c&&a.push(new Nt(c)),a},[]);return new Yi(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 Id=new N("");var ur=null;var Cd=new N("PlatformDestroyListeners"),ro=new N("appBootstrapListener");function Dv(){Za(()=>{throw new C(600,!1)})}function wv(t){return t.isBoundToModule}function Ev(t=[]){if(ur)return ur;let e=Cv(t);return ur=e,Dv(),Iv(e),e}function Iv(t){t.get(ls,null)?.forEach(n=>n())}function bd(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=Ev(r),i=[_v(),...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(Cd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Mv(c,u,()=>{let p=a.get(Dd);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(vn,Sr);Wy(h||Sr);let D=a.get(Pt);return e!==void 0&&D.bootstrap(e),D})})})}catch(e){return Promise.reject(e)}}function Cv(t=[],e){return ot.create({name:e,providers:[{provide:Br,useValue:"platform"},{provide:Cd,useValue:new Set([()=>ur=null])},...t]})}function bv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function Mv(t,e,n){try{let r=n();return no(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Pt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(Md),this.zoneIsStable=_(Gl),this.componentTypes=[],this.components=[],this.isStable=_(Ed).hasPendingTasks.pipe(Bt(r=>r?Gt(!1):this.zoneIsStable),_o(),Zn()),this._injector=_(Re)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Ir;if(!this._injector.get(Dd).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&Rp(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(Zr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=wv(a)?void 0:this._injector.get(Pe),c=o||a.selector,l=a.create(ot.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Id,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(ro,[]);[...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 Md=new N("",{providedIn:"root",factory:()=>_(Ee).handleError.bind(void 0)});function Tv(){let t=_(j),e=_(Ee);return n=>t.runOutsideAngular(()=>e.handleError(n))}var xv=(()=>{let e=class e{constructor(){this.zone=_(j),this.applicationRef=_(Pt)}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 Sv(t){return[{provide:j,useFactory:t},{provide:hn,multi:!0,useFactory:()=>{let e=_(xv,{optional:!0});return()=>e.initialize()}},{provide:Md,useFactory:Tv},{provide:Gl,useFactory:Wl}]}function _v(t){let e=Sv(()=>new j(bv(t)));return gn([[],e])}var nr;function js(t){nr??=new WeakMap;let e=nr.get(t);if(e)return e;let n=t.isStable.pipe(Ao(r=>r)).toPromise().then(()=>{});return nr.set(t,n),t.onDestroy(()=>nr?.delete(t)),n}function yx(){return!1}var Ou=!1;function Av(){Ou||(Ou=!0,kg(),jy(),Xy(),Hy(),Oy(),_y(),Ey(),um())}function Nv(t,e){return js(t)}function Td(){return gn([{provide:er,useFactory:()=>{let t=!0;return qt()&&(t=!!_(st,{optional:!0})?.get(dl,null)),t&&je("NgHydration"),t}},{provide:hn,useValue:()=>{qt()&&_(er)&&(Ov(),Av())},multi:!0},{provide:yl,useFactory:()=>qt()&&_(er)},{provide:ro,useFactory:()=>{if(qt()&&_(er)){let t=_(Pt),e=_(ot);return()=>{Nv(t,e).then(()=>{j.assertInAngularZone(),py(t)})}}return()=>{}},multi:!0}])}function Ov(){let t=Hr(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Fg){e=n;break}if(!e)throw new C(-507,!1)}function Rv(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function vx(t){let e=Oe(t);if(!e)return null;let n=new Nt(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 Bs=null;function Lt(){return Bs}function Nd(t){Bs||(Bs=t)}var oo=class{},ae=new N("DocumentToken"),Od=(()=>{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:()=>(()=>_(kv))(),providedIn:"platform"});let t=e;return t})();var kv=(()=>{let e=class e extends Od{constructor(){super(),this._doc=_(ae),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Lt().getBaseHref(this._doc)}onPopState(r){let o=Lt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Lt().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 Rd(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 Sd(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 ut(t){return t&&t[0]!=="?"?"?"+t:t}var zs=(()=>{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:()=>(()=>_(jv))(),providedIn:"root"});let t=e;return t})(),Lv=new N("appBaseHref"),jv=(()=>{let e=class e extends zs{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??_(ae).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 Rd(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+ut(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+ut(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+ut(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(Od),b(Lv,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Vv=(()=>{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=$v(Sd(_d(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+ut(o))}normalize(r){return e.stripTrailingSlash(Hv(this._basePath,_d(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+ut(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+ut(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=ut,e.joinWithSlash=Rd,e.stripTrailingSlash=Sd,e.\u0275fac=function(o){return new(o||e)(b(zs))},e.\u0275prov=O({token:e,factory:()=>Bv(),providedIn:"root"});let t=e;return t})();function Bv(){return new Vv(b(zs))}function Hv(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function _d(t){return t.replace(/\/index.html$/,"")}function $v(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var kt=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}(kt||{});var Uv=ld;var Fd=(()=>{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 Gv(s))(b(vn)),i},providedIn:"root"});let t=e;return t})();function zv(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 Gv=(()=>{let e=class e extends Fd{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(Uv(o||this.locale)(r)){case kt.Zero:return"zero";case kt.One:return"one";case kt.Two:return"two";case kt.Few:return"few";case kt.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(b(vn))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})();function Pd(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 Vs=/\s+/,Ad=[],jx=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Ad,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Vs):Ad}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Vs):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(Vs).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)(se(Ms),se(Ts),se(at),se(Is))},e.\u0275dir=Pr({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Hs=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 Wv=(()=>{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=zv(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)(se(Fd))},e.\u0275dir=Pr({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),Vx=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new Hs(i,o))}};e.\u0275fac=function(o){return new(o||e)(Rc("ngPluralCase"),se(Ot),se(yn),se(Wv,1))},e.\u0275dir=Pr({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function qv(t,e){return new C(2100,!1)}var $s=class{createSubscription(e,n){return Cs(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){Cs(()=>e.unsubscribe())}},Us=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},Zv=new Us,Yv=new $s,Bx=(()=>{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(no(r))return Zv;if(ks(r))return Yv;throw qv(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)(se(Ul,16))},e.\u0275pipe=qu({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Gs="browser",Qv="server";function Hx(t){return t===Gs}function Ws(t){return t===Qv}var io=class{};var ao=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 $d=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}($d||{}),qs=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new ao,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 uo=class t extends qs{constructor(e={}){super(e),this.type=$d.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 Jv=new N("");var kd="b",Ld="h",jd="s",Vd="st",Bd="u",Hd="rt",so=new N(""),Xv=["GET","HEAD"];function eD(t,e){let l=_(so),{isCacheActive:n}=l,r=oa(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!Xv.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=_(st),a=nD(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[kd]:d,[Hd]:f,[Ld]:p,[jd]:h,[Vd]:D,[Bd]: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 ao(p);return Gt(new uo({body:S,headers:P,status:h,statusText:D,url:A}))}return e(t).pipe(Yn(d=>{d instanceof uo&&s.set(a,{[kd]:d.body,[Ld]:tD(d.headers,c),[jd]:d.status,[Vd]:d.statusText,[Bd]:d.url||"",[Hd]:t.responseType})}))}function tD(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 nD(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=rD(s);return a}function rD(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 Ud(t){return[{provide:so,useFactory:()=>(je("NgHttpTransferCache"),ge({isCacheActive:!0},t))},{provide:Jv,useValue:eD,multi:!0,deps:[st,so]},{provide:ro,multi:!0,useFactory:()=>{let e=_(Pt),n=_(so);return()=>{js(e).then(()=>{n.isCacheActive=!1})}}}]}var Qs=class extends oo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ks=class t extends Qs{static makeCurrent(){Nd(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=oD();return n==null?null:iD(n)}resetBaseElement(){Dn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Pd(document.cookie,e)}},Dn=null;function oD(){return Dn=Dn||document.querySelector("base"),Dn?Dn.getAttribute("href"):null}var co;function iD(t){co=co||document.createElement("a"),co.setAttribute("href",t);let e=co.pathname;return e.charAt(0)==="/"?e:`/${e}`}var sD=(()=>{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})(),Js=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 C(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(b(Js),b(j))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),lo=class{constructor(e){this._doc=e}},Zs="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=Ws(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[${Zs}="${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(Zs),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Zs,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(ae),b($r),b(ds,8),b(Se))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),Ys={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/"},ea=/%COMP%/g,Yd="%COMP%",aD=`_nghost-${Yd}`,uD=`_ngcontent-${Yd}`,cD=!0,lD=new N("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>cD});function dD(t){return uD.replace(ea,t)}function fD(t){return aD.replace(ea,t)}function Qd(t,e){return e.map(n=>n.replace(ea,t))}var zd=(()=>{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=Ws(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=Ve(ge({},o),{encapsulation:we.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof fo?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 fo(c,l,o,this.appId,d,a,u,f);break;case we.ShadowDom:return new Xs(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)(b(qd),b(Zd),b($r),b(lD),b(ae),b(Se),b(j),b(ds))},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(Ys[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(Gd(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Gd(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=Ys[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Ys[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&(it.DashCase|it.Important)?e.style.setProperty(n,r,o&it.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&it.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=Lt().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 Gd(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Xs=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=Qd(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?Qd(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},fo=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=dD(c),this.hostAttr=fD(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}},pD=(()=>{let e=class e extends lo{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(ae))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})(),Wd=["alt","control","meta","shift"],hD={"\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"},gD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},mD=(()=>{let e=class e extends lo{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(()=>Lt().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."),Wd.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=hD[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"),Wd.forEach(a=>{if(a!==i){let u=gD[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(ae))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let t=e;return t})();function CS(t,e){return bd(ge({rootComponent:t},yD(e)))}function yD(t){return{appProviders:[...ID,...t?.providers??[]],platformProviders:ED}}function vD(){Ks.makeCurrent()}function DD(){return new Ee}function wD(){return Uc(document),document}var ED=[{provide:Se,useValue:Gs},{provide:ls,useValue:vD,multi:!0},{provide:ae,useFactory:wD,deps:[]}];var ID=[{provide:Br,useValue:"root"},{provide:Ee,useFactory:DD,deps:[]},{provide:Js,useClass:pD,multi:!0,deps:[ae,j,Se]},{provide:Js,useClass:mD,multi:!0,deps:[ae]},zd,Zd,qd,{provide:rn,useExisting:zd},{provide:io,useClass:sD,deps:[]},[]];function CD(){return new bD(b(ae))}var bD=(()=>{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(ae))},e.\u0275prov=O({token:e,factory:function(o){let i=null;return o?i=new o:i=CD(),i},providedIn:"root"});let t=e;return t})();function bS(...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([[],Td(),n.has(0)||r?[]:Ud({}),e])}export{ge as a,Ve as b,V as c,sf as d,bo as e,Ht as f,U as g,$t as h,wo as i,Ge as j,Q as k,Gt as l,vf as m,Df as n,We as o,Me as p,xf as q,ne as r,ze as s,Co as t,mt as u,_f as v,Mo as w,To as x,kf as y,qe as z,Pa as A,jf as B,La as C,Bf as D,Wt as E,Ze as F,xo as G,Hf as H,$f as I,Ba as J,Ao as K,Gf as L,No as M,Wf as N,yf as O,qf as P,Zf as Q,Yf as R,xa as S,Bt as T,$a as U,Yn as V,C as W,O as X,BT as Y,x as Z,N as _,b as $,_ as aa,HT as ba,Pr as ca,rc as da,$T as ea,UT as fa,zT as ga,GT as ha,WT as ia,Rc as ja,gn as ka,Re as la,qT as ma,ot as na,Se as oa,ZT as pa,YT as qa,at as ra,rn as sa,Is as ta,QT as ua,se as va,Ul as wa,Qe as xa,j as ya,$m as za,ty as Aa,sy as Ba,uy as Ca,ly as Da,dy as Ea,yn as Fa,Fi as Ga,JT as Ha,XT as Ia,ex as Ja,tx as Ka,sd as La,ad as Ma,ky as Na,nx as Oa,no as Pa,qy as Qa,rx as Ra,Qy as Sa,ox as Ta,ev as Ua,fd as Va,tv as Wa,Bi as Xa,nv as Ya,ix as Za,sx as _a,ax as $a,ux as ab,cx as bb,lx as cb,fx as db,px as eb,hx as fb,gx as gb,yv as hb,wd as ib,Ed as jb,mx as kb,ro as lb,Pt as mb,yx as nb,Rv as ob,vx as pb,ae as qb,zs as rb,Vv as sb,jx as tb,Wv as ub,Vx as vb,Bx as wb,Hx as xb,zd as yb,CS as zb,bD as Ab,bS as Bb}; diff --git a/docs/citations/browser/chunk-VFH3BR32.js b/docs/citations/browser/chunk-C2V7MVMA.js similarity index 98% rename from docs/citations/browser/chunk-VFH3BR32.js rename to docs/citations/browser/chunk-C2V7MVMA.js index f51ab44..4c01145 100644 --- a/docs/citations/browser/chunk-VFH3BR32.js +++ b/docs/citations/browser/chunk-C2V7MVMA.js @@ -1 +1 @@ -import{X as u,h as d,p as m,z as o}from"./chunk-BYGGLSSH.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}; +import{A as o,Y as u,i as d,q as m}from"./chunk-DRO5L2YF.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-D736JXLS.js b/docs/citations/browser/chunk-D736JXLS.js deleted file mode 100644 index 1fece6e..0000000 --- a/docs/citations/browser/chunk-D736JXLS.js +++ /dev/null @@ -1 +0,0 @@ -import{a as z,b as R}from"./chunk-ZF25AG57.js";import{b as q}from"./chunk-VFH3BR32.js";import{j as W}from"./chunk-QSNRUJH3.js";import{$a as j,Aa as L,Ab as N,Ea as f,Ga as x,Ha as I,Ja as T,Ka as S,La as c,Ma as d,O as B,Qa as w,Ra as s,S as _,T as b,Ta as h,Va as P,Wa as y,Za as F,_a as D,ba as A,bb as p,cb as r,g as $,i as v,p as C,ua as u,ub as E,va as g,vb as M,wb as k}from"./chunk-BYGGLSSH.js";var G=(t,i)=>i.getId();function H(t,i){if(t&1&&h(0),t&2){let n=s();P('Aucune citation de "',n,'"\xA0')}}function J(t,i){if(t&1&&(h(0),p(1,"async")),t&2){let n=s(),e=s();y("",r(1,2,e.citesCount$),' citation de "',n,'":\xA0')}}function K(t,i){if(t&1&&(h(0),p(1,"async")),t&2){let n=s(),e=s();y("",r(1,2,e.citesCount$),' citations de "',n,'":\xA0')}}function O(t,i){if(t&1&&(c(0,"h1",7),p(1,"async"),x(2,H,1,1,"ng-template",8)(3,J,2,4,"ng-template",9)(4,K,2,4,"ng-template",10),d()),t&2){let n=s(),e;f("ngPlural",(e=r(1,1,n.citesCount$))!==null&&e!==void 0?e:0)}}function Q(t,i){if(t&1&&(c(0,"li",11)(1,"cite"),h(2),d()()),t&2){let n=i.$implicit;u(2),P("\u201D",n.getCite(),"\u201D")}}var U=()=>[],V=t=>({itemPerPage:t}),at=(()=>{let i=class i extends z{set author(e){this.author$.next(e)}constructor(e,l,a){super(),this.citeService=e,this.title=l,this.device=a,this.author$=new v(1),this.cites$=this.author$.pipe(b(o=>this.citeService.searchByAuthor(o)),_([])),this.citesCount$=this.cites$.pipe(C(o=>o.length),_(0)),this.pagerPaginatedCites$=new $,this.displayedPaginatedCites$=this.cites$.pipe(B(this.pagerPaginatedCites$),C(o=>o.slice(0,this.itemsPerPage))),this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,a.isMobile()&&(this.itemsPerPage=4)}setPaginatedList(e){this.pagerPaginatedCites$.next(e)}};i.\u0275fac=function(l){return new(l||i)(g(W),g(N),g(q))},i.\u0275cmp=A({type:i,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[L,F],decls:12,vars:12,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(l,a){if(l&1&&(c(0,"div",0),x(1,O,5,3,"h1",1),p(2,"async"),c(3,"ul",2),T(4,Q,3,1,"li",12,G),p(6,"async"),d()(),c(7,"div",3)(8,"div",4)(9,"section",5)(10,"app-pager",6),w("paginatedList$",function(m){return a.setPaginatedList(m)}),p(11,"async"),d()()()()),l&2){let o,m;u(1),I(1,(o=r(2,3,a.author$))?1:-1,o),u(3),S(r(6,5,a.displayedPaginatedCites$)),u(6),f("list",(m=r(11,7,a.cites$))!==null&&m!==void 0?m:D(9,U))("options",j(10,V,a.getItemsPerPage()))}},dependencies:[k,E,M,R],encapsulation:2});let t=i;return t})();export{at as ListCitesByAuthorsComponent}; diff --git a/docs/citations/browser/chunk-DRO5L2YF.js b/docs/citations/browser/chunk-DRO5L2YF.js new file mode 100644 index 0000000..7315d98 --- /dev/null +++ b/docs/citations/browser/chunk-DRO5L2YF.js @@ -0,0 +1,8 @@ +var Nf=Object.defineProperty,Of=Object.defineProperties;var Rf=Object.getOwnPropertyDescriptors;var _n=Object.getOwnPropertySymbols;var Ca=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable;var Ia=(t,e,n)=>e in t?Nf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ee=(t,e)=>{for(var n in e||={})Ca.call(e,n)&&Ia(t,n,e[n]);if(_n)for(var n of _n(e))ba.call(e,n)&&Ia(t,n,e[n]);return t},ve=(t,e)=>Of(t,Rf(e));var Ma=(t,e)=>{var n={};for(var r in t)Ca.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&_n)for(var r of _n(t))e.indexOf(r)<0&&ba.call(t,r)&&(n[r]=t[r]);return n};function m(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 An=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 ze(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(m(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)&&ze(n,e)}remove(e){let{_finalizers:n}=this;n&&ze(n,e),e instanceof t&&e._removeParent(this)}};V.EMPTY=(()=>{let t=new V;return t.closed=!0,t})();var xo=V.EMPTY;function Nn(t){return t instanceof V||t&&"closed"in t&&m(t.remove)&&m(t.add)&&m(t.unsubscribe)}function Ta(t){m(t)?t():t.unsubscribe()}var de={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 On(t){mt.setTimeout(()=>{let{onUnhandledError:e}=de;if(e)e(t);else throw t})}function te(){}var xa=(()=>So("C",void 0,void 0))();function Sa(t){return So("E",void 0,t)}function _a(t){return So("N",t,void 0)}function So(t,e,n){return{kind:t,value:e,error:n}}var Ge=null;function yt(t){if(de.useDeprecatedSynchronousErrorHandling){let e=!Ge;if(e&&(Ge={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Ge;if(Ge=null,n)throw r}}else t()}function Aa(t){de.useDeprecatedSynchronousErrorHandling&&Ge&&(Ge.errorThrown=!0,Ge.error=t)}var We=class extends V{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Nn(e)&&e.add(this)):this.destination=kf}static create(e,n,r){return new Me(e,n,r)}next(e){this.isStopped?Ao(_a(e),this):this._next(e)}error(e){this.isStopped?Ao(Sa(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ao(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()}}},Ff=Function.prototype.bind;function _o(t,e){return Ff.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){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)}}},Me=class extends We{constructor(e,n,r){super();let o;if(m(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&de.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 Rn(t){de.useDeprecatedSynchronousErrorHandling?Aa(t):On(t)}function Pf(t){throw t}function Ao(t,e){let{onStoppedNotification:n}=de;n&&mt.setTimeout(()=>n(t,e))}var kf={closed:!0,next:te,error:Pf,complete:te};var vt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function G(t){return t}function Lf(...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 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=Vf(n)?n:new Me(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=Na(r),new r((o,i)=>{let s=new Me({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=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??de.Promise)!==null&&e!==void 0?e:Promise}function jf(t){return t&&m(t.next)&&m(t.error)&&m(t.complete)}function Vf(t){return t&&t instanceof We||jf(t)&&Nn(t)}var Oa=gt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=(()=>{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 Fn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Oa}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 V(()=>{this.currentObservers=null,ze(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 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:xo}};var Ut={now(){return(Ut.delegate||Date).now()},delegate:void 0};var Ro=class extends z{constructor(e=1/0,n=1/0,r=Ut){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(e),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s{if(Fo(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 zt(t,e,n,r,o)}var zt=class extends We{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 Te(t,e){return g((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:Bf}=Array;function Ra(t){return t.length===1&&Bf(t[0])?t[0]:t}function Pa(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 Fa(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 qe(t){return this instanceof qe?(this.v=t,this):new qe(t)}function ka(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 qe?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 La(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 Fa=="function"?Fa(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 Pn(t){return m(t?.then)}function kn(t){return m(t[vt])}function Ln(t){return Symbol.asyncIterator&&m(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 Hf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vn=Hf();function Bn(t){return m(t?.[Vn])}function Hn(t){return ka(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield qe(n.read());if(o)return yield qe(void 0);yield yield qe(r)}}finally{n.releaseLock()}})}function $n(t){return m(t?.getReader)}function _(t){if(t instanceof E)return t;if(t!=null){if(kn(t))return $f(t);if(Dt(t))return Uf(t);if(Pn(t))return zf(t);if(Ln(t))return ja(t);if(Bn(t))return Gf(t);if($n(t))return Wf(t)}throw jn(t)}function $f(t){return new E(e=>{let n=t[vt]();if(m(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,On)})}function Gf(t){return new E(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function ja(t){return new E(e=>{qf(t,e).catch(n=>e.error(n))})}function Wf(t){return ja(Hn(t))}function qf(t,e){var n,r,o,i;return Pa(this,void 0,void 0,function*(){try{for(n=La(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 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 Va(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 S=!1;_(n(v,l++)).subscribe(y(e,C=>{o?.(C),i?p(C):e.next(C)},()=>{S=!0},void 0,()=>{if(S)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 se(t,e,n=1/0){return m(e)?se((r,o)=>Te((i,s)=>e(r,i,o,s))(_(t(r,o))),n):(typeof e=="number"&&(n=e),g((r,o)=>Va(r,o,t,n)))}function Ze(t=1/0){return se(G,t)}function Un(t){return t&&m(t.schedule)}function Po(t){return t[t.length-1]}function Ba(t){return m(Po(t))?t.pop():void 0}function ae(t){return Un(Po(t))?t.pop():void 0}function zn(t,e){return typeof Po(t)=="number"?t.pop():e}function Gn(t,e=0){return g((n,r)=>{n.subscribe(y(r,o=>Y(r,t,()=>r.next(o),e),()=>Y(r,t,()=>r.complete(),e),o=>Y(r,t,()=>r.error(o),e)))})}function Wn(t,e=0){return g((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Ha(t,e){return _(t).pipe(Wn(e),Gn(e))}function $a(t,e){return _(t).pipe(Wn(e),Gn(e))}function Ua(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 za(t,e){return new E(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)}),()=>m(r?.return)&&r.return()})}function qn(t,e){if(!t)throw new Error("Iterable cannot be null");return new E(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(Dt(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 ne(t,e){return e?Wa(t,e):_(t)}function qa(...t){let e=ae(t),n=zn(t,1/0);return t=Ra(t),g((r,o)=>{Ze(n)(ne([r,...t],e)).subscribe(o)})}function Zf(...t){return qa(...t)}function ko(){return Ze(1)}function wt(...t){return ko()(ne(t,ae(t)))}function Za(...t){let e=ae(t);return g((n,r)=>{(e?wt(t,n,e):wt(t,n)).subscribe(r)})}function Gt(t,e){return g((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++;_(t(u,l)).subscribe(o=y(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Zn(t,e,n){let r=m(t)||e||n?{next:t,error:e,complete:n}:t;return r?g((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)}))}):G}function Lo(){return g((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 Wt=class extends E{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Fo(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 Lo()(this)}};var qt=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)}};var Yn=class extends V{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 Qn=class extends Yn{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,ze(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var Et=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)}};Et.now=Ut.now;var Kn=class extends Et{constructor(e,n=Et.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 Kn(Qn),Ya=Yt;var Ye=new E(t=>t.complete());function Qt(...t){let e=ae(t);return ne(t,e)}function Yf(t,e){let n=m(t)?t:()=>t,r=o=>o.error(n());return new E(e?o=>e.schedule(r,0,o):r)}function Qf(t){return!!t&&(t instanceof E||m(t.lift)&&m(t.subscribe))}var Qe=gt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Qa(t){return t instanceof Date&&!isNaN(t)}var{isArray:Kf}=Array;function Jf(t,e){return Kf(e)?t(...e):t(e)}function Jn(t){return Te(e=>Jf(t,e))}var{isArray:Xf}=Array,{getPrototypeOf:ep,prototype:tp,keys:np}=Object;function Ka(t){if(t.length===1){let e=t[0];if(Xf(e))return{args:e,keys:null};if(rp(e)){let n=np(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function rp(t){return t&&typeof t=="object"&&ep(t)===tp}function Ja(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function op(...t){let e=ae(t),n=Ba(t),{args:r,keys:o}=Ka(t);if(r.length===0)return ne([],e);let i=new E(ip(r,e,o?s=>Ja(o,s):G));return n?i.pipe(Jn(n)):i}function ip(t,e,n=G){return r=>{Xa(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=ne(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 Xa(t,e,n){t?Y(n,t,e):e()}function sp(t){return new E(e=>{_(t()).subscribe(e)})}var ap=["addListener","removeListener"],up=["addEventListener","removeEventListener"],cp=["on","off"];function jo(t,e,n,r){if(m(n)&&(r=n,n=void 0),r)return jo(t,e,n).pipe(Jn(r));let[o,i]=fp(t)?up.map(s=>a=>t[s](e,a,n)):lp(t)?ap.map(eu(t,e)):dp(t)?cp.map(eu(t,e)):[];if(!o&&Dt(t))return se(s=>jo(s,e,n))(_(t));if(!o)throw new TypeError("Invalid event target");return new E(s=>{let a=(...u)=>s.next(1i(a)})}function eu(t,e){return n=>r=>t[n](e,r)}function lp(t){return m(t.addListener)&&m(t.removeListener)}function dp(t){return m(t.on)&&m(t.off)}function fp(t){return m(t.addEventListener)&&m(t.removeEventListener)}function tu(t=0,e,n=Ya){let r=-1;return e!=null&&(Un(e)?n=e:r=e),new E(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 Vo(...t){let e=ae(t),n=zn(t,1/0),r=t;return r.length?r.length===1?_(r[0]):Ze(n)(ne(r,e)):Ye}var pp=new E(te);function Ke(t,e){return g((n,r)=>{let o=0;n.subscribe(y(r,i=>t.call(e,i,o++)&&r.next(i)))})}function nu(t){return g((e,n)=>{let r=null,o=!1,i;r=e.subscribe(y(n,void 0,void 0,s=>{i=_(t(s,nu(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(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 ru(t,e){return g(Xn(t,e,arguments.length>=2,!1,!0))}var hp=(t,e)=>(t.push(e),t);function gp(){return g((t,e)=>{ru(hp,[])(t).subscribe(e)})}function ou(t,e){return m(e)?se(t,e,1):se(t,1)}function iu(t){return new E(e=>t.subscribe(e))}var mp={connector:()=>new z};function er(t,e=mp){let{connector:n}=e;return g((r,o)=>{let i=n();_(t(iu(i))).subscribe(o),o.add(r.subscribe(i))})}function yp(t,e=Yt){return g((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 Kt(t){return g((e,n)=>{let r=!1;e.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function Je(t){return t<=0?()=>Ye:g((e,n)=>{let r=0;e.subscribe(y(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function su(){return g((t,e)=>{t.subscribe(y(e,te))})}function Bo(t){return Te(()=>t)}function Ho(t,e){return e?n=>wt(e.pipe(Je(1),su()),n.pipe(Ho(t))):se((n,r)=>_(t(n,r)).pipe(Je(1),Bo(n)))}function vp(t,e=Yt){let n=tu(t,e);return Ho(()=>n)}function Dp(t,e){return g((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&&_(e).subscribe(y(r,()=>o.clear(),te))})}function $o(t,e=G){return t=t??wp,g((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 wp(t,e){return t===e}function tr(t=Ep){return g((e,n)=>{let r=!1;e.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Ep(){return new Qe}function au(t){return g((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Uo(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ke((o,i)=>t(o,i,r)):G,Je(1),n?Kt(e):tr(()=>new Qe))}function Ip(t,e,n,r){return g((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 zt(i,h=>{try{let v=t(h),S=a.get(v);if(!S){a.set(v,S=r?r():new z);let C=p(v,S);if(i.next(C),n){let P=y(S,()=>{S.complete(),P?.unsubscribe()},void 0,void 0,()=>a.delete(v));f.add(_(n(C)).subscribe(P))}}S.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 S=new E(C=>{l++;let P=v.subscribe(C);return()=>{P.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return S.key=h,S}})}function zo(t){return t<=0?()=>Ye:g((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 Cp(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ke((o,i)=>t(o,i,r)):G,zo(1),n?Kt(e):tr(()=>new Qe))}function uu(t,e){let n=m(t)?t:()=>t;return m(e)?er(e,{connector:n}):r=>new Wt(r,n)}function bp(t){return t?e=>er(t)(e):e=>uu(new z)(e)}function Mp(t,e){return g(Xn(t,e,arguments.length>=2,!0))}function nr(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 v=s;p(),v?.unsubscribe()};return g((v,S)=>{c++,!d&&!l&&f();let C=u=u??e();S.add(()=>{c--,c===0&&!d&&!l&&(a=Go(h,o))}),C.subscribe(S),!s&&c>0&&(s=new Me({next:P=>C.next(P),error:P=>{d=!0,f(),a=Go(p,n,P),C.error(P)},complete:()=>{l=!0,f(),a=Go(p,r),C.complete()}}),_(v).subscribe(s))})(i)}}function Go(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new Me({next:()=>{r.unsubscribe(),t()}});return _(e(...n)).subscribe(r)}function Tp(t){return g((e,n)=>{let r=!1,o=y(n,()=>{o?.unsubscribe(),r=!0},te);_(t).subscribe(o),e.subscribe(y(n,i=>r&&n.next(i)))})}function cu(t){return g((e,n)=>{_(t).subscribe(y(n,()=>n.complete(),te)),!n.closed&&e.subscribe(n)})}function lu(t,e){return Object.is(t,e)}var B=null,Jt=!1,rr=1,Ne=Symbol("SIGNAL");function L(t){let e=B;return B=t,e}function xp(){return Jt}var en={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 du(t){if(Jt)throw new Error("");if(B===null)return;B.consumerOnSignalRead(t);let e=B.nextProducerIndex++;if(It(B),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function ar(t){It(t);for(let e=0;e0}function It(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function yu(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function vu(t){let e=Object.create(_p);e.computation=t;let n=()=>{if(fu(e),du(e),e.value===or)throw e.error;return e.value};return n[Ne]=e,n}var Wo=Symbol("UNSET"),qo=Symbol("COMPUTING"),or=Symbol("ERRORED"),_p=(()=>ve(ee({},en),{value:Wo,dirty:!0,error:null,equal:lu,producerMustRecompute(t){return t.value===Wo||t.value===qo},producerRecomputeValue(t){if(t.value===qo)throw new Error("Detected cycle in computations.");let e=t.value;t.value=qo;let n=ir(t),r;try{r=t.computation()}catch(o){r=or,t.error=o}finally{sr(t,n)}if(e!==Wo&&e!==or&&r!==or&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}}))();function Ap(){throw new Error}var Du=Ap;function wu(){Du()}function Eu(t){Du=t}var Np=null;function Iu(t){let e=Object.create(Op);e.value=t;let n=()=>(du(e),e.value);return n[Ne]=e,n}function Qo(t,e){hu()||wu();let n=t.value;Object.is(n,e)||t.equal(n,e)||(t.value=e,Rp(t))}function Cu(t,e){hu()||wu(),Qo(t,e(t.value))}var Op=(()=>ve(ee({},en),{equal:lu,value:void 0}))();function Rp(t){t.version++,Sp(),pu(t),Np?.()}function bu(t,e,n){let r=Object.create(Fp);n&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=e;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Yo(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Zo)}let a=()=>{if(r.fn===null)return;if(xp())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!ar(r))return;r.hasRun=!0;let u=ir(r);try{r.cleanupFn(),r.cleanupFn=Zo,r.fn(o)}finally{sr(r,u)}};return r.ref={notify:()=>gu(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Ne]:r},r.ref}var Zo=()=>{},Fp=(()=>ve(ee({},en),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Zo}))();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 cr(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 Mu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Pp=R({__forward_ref__:R});function cc(t){return t.__forward_ref__=cc,t.toString=function(){return K(this())},t}function W(t){return lc(t)?t():t}function lc(t){return typeof t=="function"&&t.hasOwnProperty(Pp)&&t.__forward_ref__===cc}function dc(t){return t&&!!t.\u0275providers}var fc="https://g.co/ng/security#xss",b=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 kp=R({\u0275cmp:R}),Lp=R({\u0275dir:R}),jp=R({\u0275pipe:R}),Vp=R({\u0275mod:R}),Ir=R({\u0275fac:R}),nn=R({__NG_ELEMENT_ID__:R}),Tu=R({__NG_ENV_ID__:R});function _t(t){return typeof t=="string"?t:t==null?"":String(t)}function Bp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():_t(t)}function Hp(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new b(-200,`Circular dependency in DI detected for ${t}${n}`)}function gs(t,e){let n=e?` in ${e}`:"";throw new b(-201,!1)}function $p(t,e){t==null&&Up(e,t,null,"!=")}function Up(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 xu(t,pc)||xu(t,hc)}function Ex(t){return Wr(t)!==null}function xu(t,e){return t.hasOwnProperty(e)?t[e]:null}function zp(t){let e=t&&(t[pc]||t[hc]);return e||null}function Su(t){return t&&(t.hasOwnProperty(_u)||t.hasOwnProperty(Gp))?t[_u]:null}var pc=R({\u0275prov:R}),_u=R({\u0275inj:R}),hc=R({ngInjectableDef:R}),Gp=R({ngInjectorDef:R}),A=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}(A||{}),fi;function gc(){return fi}function Q(t){let e=fi;return fi=t,e}function mc(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&A.Optional)return null;if(e!==void 0)return e;gs(K(t),"Injector")}var pe=globalThis;var O=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 Wp={},rn=Wp,pi="__NG_DI_FLAG__",Cr="ngTempTokenPath",qp="ngTokenPath",Zp=/\n/gm,Yp="\u0275",Au="__source",xt;function Qp(){return xt}function Oe(t){let e=xt;return xt=t,e}function Kp(t,e=A.Default){if(xt===void 0)throw new b(-203,!1);return xt===null?mc(t,void 0,e):xt.get(t,e&A.Optional?null:void 0,e)}function T(t,e=A.Default){return(gc()||Kp)(W(t),e)}function M(t,e=A.Default){return T(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):K(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Zp,` + `)}`}function Zr(t){return{toString:t}.toString()}var vc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(vc||{}),Ce=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ce||{}),At={},Fe=[];function Dc(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&&Dc(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 ih(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+=Ou(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(e+=Ou(i,o)),e}function lh(t){return t.map(ch).join(",")}function dh(t){let e=[],n=[],r=1,o=2;for(;r{let e=xc(t),n=ve(ee({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===vc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ce.Emulated,styles:t.styles||Fe,_:null,schemas:t.schemas||null,tView:null,id:""});Sc(n);let r=t.dependencies;return n.directiveDefs=Fu(r,!1),n.pipeDefs=Fu(r,!0),n.id=gh(n),n})}function fh(t){return Pe(t)||bc(t)}function ph(t){return t!==null}function Ru(t,e){if(t==null)return At;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=xc(t);return Sc(e),e})}function Cc(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 Pe(t){return t[kp]||null}function bc(t){return t[Lp]||null}function Mc(t){return t[jp]||null}function hh(t){let e=Pe(t)||bc(t)||Mc(t);return e!==null?e.standalone:!1}function Tc(t,e){let n=t[Vp]||null;if(!n&&e===!0)throw new Error(`Type ${K(t)} does not have '\u0275mod' property.`);return n}function xc(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||At,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Fe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ru(t.inputs,e),outputs:Ru(t.outputs),debugInfo:null}}function Sc(t){t.features?.forEach(e=>e(t))}function Fu(t,e){if(!t)return null;let n=e?Mc:fh;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(ph)}function gh(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 re=0,w=1,D=2,k=3,he=4,ye=5,xe=6,sn=7,$=8,Nt=9,Ot=10,F=11,an=12,Pu=13,jt=14,oe=15,gn=16,Ct=17,Ee=18,Qr=19,_c=20,Re=21,gr=22,nt=23,H=25,Ac=1,un=6,Se=7,br=8,Rt=9,U=10,Ft=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Ft||{});function Ie(t){return Array.isArray(t)&&typeof t[Ac]=="object"}function ue(t){return Array.isArray(t)&&t[Ac]===!0}function Nc(t){return(t.flags&4)!==0}function mn(t){return t.componentOffset>-1}function ms(t){return(t.flags&1)===1}function ke(t){return!!t.template}function Oc(t){return(t[D]&512)!==0}function rt(t,e){let n=t.hasOwnProperty(Ir);return n?t[Ir]:null}var mi=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Rc(){return Fc}function Fc(t){return t.type.prototype.ngOnChanges&&(t.setInput=yh),mh}Rc.ngInherit=!0;function mh(){let t=kc(this),e=t?.current;if(e){let n=t.previous;if(n===At)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function yh(t,e,n,r){let o=this.declaredInputs[n],i=kc(t)||vh(t,{previous:At,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new mi(u&&u.currentValue,e,a===At),t[r]=e}var Pc="__ngSimpleChanges__";function kc(t){return t[Pc]||null}function vh(t,e){return t[Pc]=e}var ku=null;var De=function(t,e,n){ku?.(t,e,n)},Lc="svg",Dh="math";function ge(t){for(;Array.isArray(t);)t=t[re];return t}function wh(t,e){return ge(e[t])}function ie(t,e){return ge(e[t.index])}function ys(t,e){return t.data[e]}function Eh(t,e){return t[e]}function Be(t,e){let n=e[t];return Ie(n)?n:n[re]}function Ih(t){return(t[D]&4)===4}function vs(t){return(t[D]&128)===128}function Ch(t){return ue(t[k])}function Mr(t,e){return e==null?null:t[e]}function jc(t){t[Ct]=0}function bh(t){t[D]&1024||(t[D]|=1024,vs(t)&&Kr(t))}function Mh(t,e){for(;t>0;)e=e[jt],t--;return e}function Vc(t){t[D]&9216&&Kr(t)}function Kr(t){let e=t[k];for(;e!==null&&!(ue(e)&&e[D]&Ft.HasChildViewsToRefresh||Ie(e)&&e[D]&8192);){if(ue(e))e[D]|=Ft.HasChildViewsToRefresh;else if(e[D]|=8192,!vs(e))break;e=e[k]}}function Bc(t,e){if((t[D]&256)===256)throw new b(911,!1);t[Re]===null&&(t[Re]=[]),t[Re].push(e)}function Th(t,e){if(t[Re]===null)return;let n=t[Re].indexOf(e);n!==-1&&t[Re].splice(n,1)}var I={lFrame:qc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xh(){return I.lFrame.elementDepthCount}function Sh(){I.lFrame.elementDepthCount++}function _h(){I.lFrame.elementDepthCount--}function Hc(){return I.bindingsEnabled}function yn(){return I.skipHydrationRootTNode!==null}function Ah(t){return I.skipHydrationRootTNode===t}function Nh(t){I.skipHydrationRootTNode=t}function Oh(){I.skipHydrationRootTNode=null}function x(){return I.lFrame.lView}function q(){return I.lFrame.tView}function Cx(t){return I.lFrame.contextLView=t,t[$]}function bx(t){return I.lFrame.contextLView=null,t}function J(){let t=$c();for(;t!==null&&t.type===64;)t=t.parent;return t}function $c(){return I.lFrame.currentTNode}function Rh(){let t=I.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function vn(t,e){let n=I.lFrame;n.currentTNode=t,n.isParent=e}function Uc(){return I.lFrame.isParent}function Fh(){I.lFrame.isParent=!1}function Ds(){let t=I.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ph(){return I.lFrame.bindingIndex}function kh(t){return I.lFrame.bindingIndex=t}function Dn(){return I.lFrame.bindingIndex++}function Lh(t){let e=I.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function jh(){return I.lFrame.inI18n}function Vh(t,e){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=t,yi(e)}function Bh(){return I.lFrame.currentDirectiveIndex}function yi(t){I.lFrame.currentDirectiveIndex=t}function zc(){return I.lFrame.currentQueryIndex}function ws(t){I.lFrame.currentQueryIndex=t}function Hh(t){let e=t[w];return e.type===2?e.declTNode:e.type===1?t[ye]:null}function Gc(t,e,n){if(n&A.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&A.Host);)if(o=Hh(i),o===null||(i=i[jt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=I.lFrame=Wc();return r.currentTNode=e,r.lView=t,!0}function Es(t){let e=Wc(),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 Wc(){let t=I.lFrame,e=t===null?null:t.child;return e===null?qc(t):e}function qc(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 Zc(){let t=I.lFrame;return I.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Yc=Zc;function Is(){let t=Zc();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 $h(t){return(I.lFrame.contextLView=Mh(t,I.lFrame.contextLView))[$]}function wn(){return I.lFrame.selectedIndex}function ot(t){I.lFrame.selectedIndex=t}function Jr(){let t=I.lFrame;return ys(t.tView,t.selectedIndex)}function Mx(){I.lFrame.currentNamespace=Lc}function Tx(){Uh()}function Uh(){I.lFrame.currentNamespace=null}function Qc(){return I.lFrame.currentNamespace}var Kc=!0;function Cs(){return Kc}function He(t){Kc=t}function zh(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Fc(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 bs(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[Ct]+=65536),(a>14>16&&(t[D]&3)===e&&(t[D]+=16384,Lu(a,i)):Lu(a,i)}var St=-1,it=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Wh(t){return t instanceof it}function qh(t){return(t.flags&8)!==0}function Zh(t){return(t.flags&16)!==0}function Xc(t){return t!==St}function Tr(t){let e=t&32767;return t&32767}function Yh(t){return t>>16}function xr(t,e){let n=Yh(t),r=e;for(;n>0;)r=r[jt],n--;return r}var vi=!0;function Sr(t){let e=vi;return vi=t,e}var Qh=256,el=Qh-1,tl=5,Kh=0,we={};function Jh(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(nn)&&(r=n[nn]),r==null&&(r=n[nn]=Kh++);let o=r&el,i=1<>tl)]|=i}function _r(t,e){let n=nl(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=Ms(t,e),i=t.injectorIndex;if(Xc(o)){let s=Tr(o),a=xr(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 nl(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ms(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=al(o),r===null)return St;if(n++,o=o[jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return St}function Di(t,e,n){Jh(t,e,n)}function Xh(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&&ke(p)&&p.type===n)return u}return null}function st(t,e,n,r){let o=t[n],i=e.data;if(Wh(o)){let s=o;s.resolving&&Hp(Bp(i[n]));let a=Sr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Q(s.injectImpl):null,l=Gc(t,r,A.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),Sr(a),s.resolving=!1,Yc()}}return o}function tg(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(nn)?t[nn]:void 0;return typeof e=="number"?e>=0?e&el:ng:e}function ju(t,e,n){let r=1<>tl)]&r)}function Vu(t,e){return!(t&A.Self)&&!(t&A.Host&&e)}var tt=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return il(this._tNode,this._lView,e,qr(r),n)}};function ng(){return new tt(J(),x())}function xx(t){return Zr(()=>{let e=t.prototype.constructor,n=e[Ir]||wi(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[Ir]||wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wi(t){return lc(t)?()=>{let e=wi(W(t));return e&&e()}:rt(t)}function rg(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=sl(i,s,n,r|A.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[_c];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=al(s),s=s[jt]}i=u}return o}function al(t){let e=t[w],n=e.type;return n===2?e.declTNode:n===1?t[ye]:null}function ul(t){return Xh(J(),t)}var lr="__parameters__";function og(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function cl(t,e,n){return Zr(()=>{let r=og(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(lr)?u[lr]:Object.defineProperty(u,lr,{value:[]})[lr];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 ig(t){return typeof t=="function"}function sg(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?Ts(n,e):e(n))}function ll(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ar(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ug(t,e){let n=[];for(let r=0;r{n.push(s)};return Ts(e,s=>{let a=s;Ei(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&gl(o,i),n}function gl(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=Su(t),s=!i&&Pe(t);if(!i&&!s){let u=t.ngModule;if(i=Su(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{Ts(i.imports,l=>{Ei(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&gl(c,e)}if(!a){let c=rt(o)||(()=>new o);e({provide:o,useFactory:c,deps:Fe},o),e({provide:pl,useValue:o,multi:!0},o),e({provide:En,useValue:()=>T(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)dc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ss(n,e):e(n)}var lg=R({provide:String,useValue:R});function ml(t){return t!==null&&typeof t=="object"&&lg in t}function dg(t){return!!(t&&t.useExisting)}function fg(t){return!!(t&&t.useFactory)}function Pt(t){return typeof t=="function"}function pg(t){return!!t.useClass}var Xr=new O("Set Injector scope."),Dr={},hg={},Xo;function _s(){return Xo===void 0&&(Xo=new Nr),Xo}var Le=class{},cn=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,Ci(e,s=>this.processProvider(s)),this.records.set(fl,bt(void 0,this)),o.has("environment")&&this.records.set(Le,bt(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(pl,Fe,A.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=Oe(this),r=Q(void 0),o;try{return e()}finally{Oe(n),Q(r)}}get(e,n=rn,r=A.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Tu))return e[Tu](this);r=qr(r);let o,i=Oe(this),s=Q(void 0);try{if(!(r&A.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=Dg(e)&&Wr(e);c&&this.injectableDefInScope(c)?u=bt(Ii(e),Dr):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&A.Self?_s():this.parent;return n=r&A.Optional&&n===rn?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Cr]=a[Cr]||[]).unshift(K(e)),i)throw a;return Xp(a,e,"R3InjectorError",this.source)}else throw a}finally{Q(s),Oe(i)}}resolveInjectorInitializers(){let e=Oe(this),n=Q(void 0),r;try{let o=this.get(En,Fe,A.Self);for(let i of o)i()}finally{Oe(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 b(205,!1)}processProvider(e){e=W(e);let n=Pt(e)?e:W(e&&e.provide),r=mg(e);if(!Pt(e)&&e.multi===!0){let o=this.records.get(n);o||(o=bt(void 0,Dr,!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===Dr&&(n.value=hg,n.value=n.factory()),typeof n.value=="object"&&n.value&&vg(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 O)throw new b(204,!1);if(t instanceof Function)return gg(t);throw new b(204,!1)}function gg(t){let e=t.length;if(e>0){let r=ug(e,"?");throw new b(204,!1)}let n=zp(t);return n!==null?()=>n.factory(t):()=>new t}function mg(t){if(ml(t))return bt(void 0,t.useValue);{let e=yl(t);return bt(e,Dr)}}function yl(t,e,n){let r;if(Pt(t)){let o=W(t);return rt(o)||Ii(o)}else if(ml(t))r=()=>W(t.useValue);else if(fg(t))r=()=>t.useFactory(...hi(t.deps||[]));else if(dg(t))r=()=>T(W(t.useExisting));else{let o=W(t&&(t.useClass||t.provide));if(yg(t))r=()=>new o(...hi(t.deps));else return rt(o)||Ii(o)}return r}function bt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function yg(t){return!!t.deps}function vg(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Dg(t){return typeof t=="function"||typeof t=="object"&&t instanceof O}function Ci(t,e){for(let n of t)Array.isArray(n)?Ci(n,e):n&&dc(n)?Ci(n.\u0275providers,e):e(n)}function Sx(t,e){t instanceof cn&&t.assertNotDestroyed();let n,r=Oe(t),o=Q(void 0);try{return e()}finally{Oe(r),Q(o)}}function vl(t){if(!gc()&&!Qp())throw new b(-203,!1)}function Bu(t,e=null,n=null,r){let o=Dl(t,e,n,r);return o.resolveInjectorInitializers(),o}function Dl(t,e=null,n=null,r,o=new Set){let i=[n||Fe,cg(t)];return r=r||(typeof t=="object"?void 0:K(t)),new cn(i,e||_s(),r||null,o)}var $e=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return Bu({name:""},o,r,"");{let i=r.name??"";return Bu({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=rn,e.NULL=new Nr,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>T(fl)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var bi;function wl(t){bi=t}function eo(){if(bi!==void 0)return bi;if(typeof document<"u")return document;throw new b(210,!1)}var to=new O("AppId",{providedIn:"root",factory:()=>wg}),wg="ng",As=new O("Platform Initializer"),_e=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var _x=new O("AnimationModuleType"),Ns=new O("CSP nonce",{providedIn:"root",factory:()=>eo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Eg(t){return t.ownerDocument.body}function El(t){return t instanceof Function?t():t}function tn(t){return(t??M($e)).get(_e)==="browser"}var Ig="ngSkipHydration",Cg="ngskiphydration";function Il(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,xg="\u200B$1\u200B";function Sg(t){return t.replace(Mg,e=>e.replace(Tg,xg))}var bl=new Map,_g=0;function Ag(){return _g++}function Ng(t){bl.set(t[Qr],t)}function Og(t){bl.delete(t[Qr])}var Hu="__ngContext__";function at(t,e){Ie(e)?(t[Hu]=e[Qr],Ng(e)):t[Hu]=e}var Rg;function Os(t,e){return Rg(t,e)}function Rs(t){let e=t[k];return ue(e)?e[k]:e}function Ml(t){return xl(t[an])}function Tl(t){return xl(t[he])}function xl(t){for(;t!==null&&!ue(t);)t=t[he];return t}function Mt(t,e,n,r,o){if(r!=null){let i,s=!1;ue(r)?i=r:Ie(r)&&(s=!0,r=r[re]);let a=ge(r);t===0&&n!==null?o==null?Nl(e,n,a):Rr(e,n,a,o||null,!0):t===1&&n!==null?Rr(e,n,a,o||null,!0):t===2?Rl(e,a,s):t===3&&e.destroyNode(a),i!=null&&Kg(e,t,i,n,o)}}function Sl(t,e){return t.createText(e)}function Fg(t,e,n){t.setValue(e,n)}function _l(t,e){return t.createComment(Sg(e))}function Fs(t,e,n){return t.createElement(e,n)}function Pg(t,e){let n=e[F];Cn(t,e,n,2,null,null),e[re]=null,e[ye]=null}function kg(t,e,n,r,o,i){r[re]=o,r[ye]=e,Cn(t,r,n,1,o,i)}function Lg(t,e){Cn(t,e,e[F],2,null,null)}function jg(t){let e=t[an];if(!e)return ei(t[w],t);for(;e;){let n=null;if(Ie(e))n=e[an];else{let r=e[U];r&&(n=r)}if(!n){for(;e&&!e[he]&&e!==t;)Ie(e)&&ei(e[w],e),e=e[k];e===null&&(e=t),Ie(e)&&ei(e[w],e),n=e&&e[he]}e=n}}function Vg(t,e,n,r){let o=U+r,i=n.length;r>0&&(n[o-1][he]=e),r0&&(t[n-1][he]=r[he]);let i=Ar(t,U+e);Pg(r[w],r);let s=i[Ee];s!==null&&s.detachView(i[w]),r[k]=null,r[he]=null,r[D]&=-129}return r}function no(t,e){if(!(e[D]&256)){let n=e[F];e[nt]&&Yo(e[nt]),n.destroyNode&&Cn(t,e,n,3,null,null),jg(e)}}function ei(t,e){if(!(e[D]&256)){e[D]&=-129,e[D]|=256,$g(t,e),Hg(t,e),e[w].type===1&&e[F].destroy();let n=e[gn];if(n!==null&&ue(e[k])){n!==e[k]&&Al(n,e);let r=e[Ee];r!==null&&r.detachView(t)}Og(e)}}function Hg(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[Re];if(o!==null){e[Re]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===Ce.None||i===Ce.Emulated)return null}return ie(r,n)}}function Rr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Nl(t,e,n){t.appendChild(e,n)}function $u(t,e,n,r,o){r!==null?Rr(t,e,n,r,o):Nl(t,e,n)}function Gg(t,e,n,r){t.removeChild(e,n,r)}function Ps(t,e){return t.parentNode(e)}function Wg(t,e){return t.nextSibling(e)}function qg(t,e,n){return Yg(t,e,n)}function Zg(t,e,n){return t.type&40?ie(t,n):null}var Yg=Zg,Uu;function ks(t,e,n,r){let o=Ug(t,r,e),i=e[F],s=r.parent||e[ye],a=qg(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return dr}function zu(t){return Xg()?.createScriptURL(t)||t}var Fr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${fc})`}};function ro(t){return t instanceof Fr?t.changingThisBreaksApplicationSecurity:t}function js(t,e){let n=em(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${fc})`)}return n===e}function em(t){return t instanceof Fr&&t.getTypeName()||null}var tm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ll(t){return t=String(t),t.match(tm)?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 nm(t){let e=jl();return e?e.sanitize(oo.URL,t)||"":js(t,"URL")?ro(t):Ll(_t(t))}function rm(t){let e=jl();if(e)return zu(e.sanitize(oo.RESOURCE_URL,t)||"");if(js(t,"ResourceURL"))return zu(ro(t));throw new b(904,!1)}function om(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?rm:nm}function Ax(t,e,n){return om(e,n)(t)}function jl(){let t=x();return t&&t[Ot].sanitizer}function im(){let t=new lt;return M(_e)==="browser"&&(t.store=sm(eo(),M(to))),t}var lt=(()=>{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 hm(t,e,n=!1){let r=t.getAttribute(ti);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(lt,null,{optional:!0});c!==null&&(a=c.get($l,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,io(u,0,t.nextSibling)),s?t.setAttribute(ti,s):t.removeAttribute(ti),u}function gm(){Ul=hm}function Bs(t,e,n=!1){return Ul(t,e,n)}function mm(t){let e=t._lView;return e[w].type===2?null:(Oc(e)&&(e=e[H]),e)}function ym(t){return t.textContent?.replace(/\s/gm,"")}function vm(t){let e=eo(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=ym(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 xi(t,e){return t.segmentHeads?.[e]??null}function Dm(t,e){let n=t.data,r=n[am]?.[e]??null;return r===null&&n[Vs]?.[e]&&(r=Hs(t,e)),r}function zl(t,e){return t.data[Vs]?.[e]??null}function Hs(t,e){let n=zl(t,e)??[],r=0;for(let o of n)r+=o[Pr]*(o[Hl]??1);return r}function so(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[dm];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var Si=class{},kr=class{};function wm(t){let e=Error(`No component factory found for ${K(t)}.`);return e[Em]=t,e}var Em="ngComponent";var _i=class{resolveComponentFactory(e){throw wm(e)}},ao=(()=>{let e=class e{};e.NULL=new _i;let t=e;return t})();function Im(){return Vt(J(),x())}function Vt(t,e){return new dt(ie(t,e))}var dt=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Im;let t=e;return t})();function Cm(t){return t instanceof dt?t.nativeElement:t}var dn=class{},$s=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>bm();let t=e;return t})();function bm(){let t=x(),e=J(),n=Be(e.index,t);return(Ie(n)?n:t)[F]}var Mm=(()=>{let e=class e{};e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),fn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Tm=new fn("17.0.4"),ni={};function Nx(t,e){let n=vu(t);return e?.equal&&(n[Ne].equal=e.equal),n}function Ox(t,e){let n=Iu(t),r=n[Ne];return e?.equal&&(r.equal=e.equal),n.set=o=>Qo(r,o),n.update=o=>Cu(r,o),n.asReadonly=xm.bind(n),n}function xm(){let t=this[Ne];if(t.readonlyFn===void 0){let e=()=>this();e[Ne]=t,t.readonlyFn=e}return t.readonlyFn}function Us(t){let e=L(null);try{return t()}finally{L(e)}}function Gl(t){return zs(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Sm(t,e){if(Array.isArray(t))for(let n=0;ne,Ni=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||_m}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 Oi(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 Lr),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 Lr),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}},Oi=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}},Ri=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}},Lr=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new Ri,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 Gu(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 ki(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))}},ki=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 Wu(){return new Gs([new Ai])}var Gs=(()=>{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||Wu()),deps:[[e,new dl,new xs]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new b(901,!1)}};e.\u0275prov=N({token:e,providedIn:"root",factory:Wu});let t=e;return t})();function qu(){return new Ws([new Fi])}var Ws=(()=>{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||qu()),deps:[[e,new dl,new xs]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new b(901,!1)}};e.\u0275prov=N({token:e,providedIn:"root",factory:qu});let t=e;return t})();function jr(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(ge(i)),ue(i)&&Am(i,r);let s=n.type;if(s&8)jr(t,e,n.child,r);else if(s&32){let a=Os(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=Ol(e,n);if(Array.isArray(a))r.push(...a);else{let u=Rs(e[oe]);jr(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Am(t,e){for(let n=U;n{Kr(t.lView)},consumerOnSignalRead(){this.lView[nt]=this}}),Pm="ngOriginalError";function ri(t){return t[Pm]}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&&ri(e);for(;n&&ri(n);)n=ri(n);return n||null}},fr=new O(""),ql=!1,Zl=new O("",{providedIn:"root",factory:()=>ql});var Ae={};function Rx(t){Yl(q(),x(),wn()+t,!1)}function Yl(t,e,n,r){if(!r)if((e[D]&3)===3){let i=t.preOrderCheckHooks;i!==null&&mr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&yr(e,i,0,n)}ot(n)}function X(t,e=A.Default){let n=x();if(n===null)return T(t,e);let r=J();return il(r,n,W(t),e)}function km(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rH&&Yl(t,e,H,!1),De(s?2:0,o),n(r,o)}finally{ot(i),De(s?3:1,o)}}function Jl(t,e,n){if(Nc(e)){let r=L(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Hm(t){Cl(t)?Fl(t):vm(t)}function $m(){nd=Hm}function Um(t,e,n,r){let o=dd(e);o.push(n),t.firstCreatePass&&fd(t).push(r,o.length-1)}function zm(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return yn()&&(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 Zu(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?Yu(n,e,o,i):r.hasOwnProperty(o)&&Yu(n,e,r[o],i)}return n}function Yu(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function Gm(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 Qm(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;mn(n)&&ry(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||_r(n,e),at(r,e);let s=n.initialInputs;for(let a=o;a-1&&(ln(e,r),Ar(n,r))}this._attachedToViewContainer=!1}no(this._lView[w],this._lView)}onDestroy(e){Bc(this._lView,e)}markForCheck(){Ys(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){Vc(this._lView),this._lView[D]|=128}detectChanges(){uy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Lg(this._lView[w],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=e}},Qs=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=py;let t=e;return t})();function py(t){return hy(J(),x(),(t&16)===16)}function hy(t,e,n){if(mn(t)&&!n){let r=Be(t.index,e);return new ut(r,r)}else if(t.type&47){let r=e[oe];return new ut(r,e)}return null}var Ks=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=gy,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Vi=class extends Ks{constructor(e){super(),this._lView=e}onDestroy(e){return Bc(this._lView,e),()=>Th(this._lView,e)}};function gy(){return new Vi(x())}var my=new O("",{providedIn:"root",factory:()=>M(yy)}),yy=(()=>{let e=class e{};e.\u0275prov=N({token:e,providedIn:"root",factory:()=>new Bi});let t=e;return t})(),vy=(()=>{let e=class e{constructor(){this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){let o=r.creationZone;this.queues.has(o)||this.queues.set(o,new Set);let i=this.queues.get(o);i.has(r)||(this.queuedEffectCount++,i.add(r))}flush(){for(;this.queuedEffectCount>0;)for(let[r,o]of this.queues)r===null?this.flushQueue(o):r.run(()=>this.flushQueue(o))}flushQueue(r){for(let o of r)r.delete(o),this.queuedEffectCount--,o.run()}};e.\u0275prov=N({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),Bi=class{constructor(){this.hasQueuedFlush=!1,this.delegate=new vy,this.flushTask=()=>{this.delegate.flush(),this.hasQueuedFlush=!1}}scheduleEffect(e){this.delegate.scheduleEffect(e),this.hasQueuedFlush||(queueMicrotask(this.flushTask),this.hasQueuedFlush=!0)}},Hi=class{constructor(e,n,r,o,i,s){this.scheduler=e,this.effectFn=n,this.creationZone=r,this.errorHandler=i,this.watcher=bu(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.errorHandler?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Dy(t,e){!e?.injector&&vl(Dy);let n=e?.injector??M($e),r=n.get(me,null,{optional:!0}),o=e?.manualCleanup!==!0?n.get(Ks):null,i=new Hi(n.get(my),t,typeof Zone>"u"?null:Zone.current,o,r,e?.allowSignalWrites??!1),s=n.get(Qs,null,{optional:!0});return!s||!(s._lView[D]&8)?i.watcher.notify():(s._lView[gr]??=[]).push(i.watcher.notify),i}var Qu=new Set;function Ue(t){Qu.has(t)||(Qu.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var $i=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=oi(i),o&&(o=oi(o)),s&&(s=oi(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof V&&e.add(a),a}};function oi(t){return e=>{setTimeout(t,void 0,e)}}var et=$i;function Ku(...t){}function wy(){let t=typeof pe.requestAnimationFrame=="function",e=pe[t?"requestAnimationFrame":"setTimeout"],n=pe[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 et(!1),this.onMicrotaskEmpty=new et(!1),this.onStable=new et(!1),this.onError=new et(!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=wy().nativeRequestAnimationFrame,Cy(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,Ey,Ku,Ku);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)}},Ey={};function Js(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 Iy(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(pe,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ui(t),t.isCheckStableRunning=!0,Js(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ui(t))}function Cy(t){let e=()=>{Iy(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(by(a))return n.invokeTask(o,i,s,a);try{return Ju(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Xu(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Ju(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Xu(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ui(t),Js(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 Ui(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ju(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Xu(t){t._nesting--,Js(t)}var wd=new O("",{providedIn:"root",factory:Ed});function Ed(){let t=M(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 Vo(n,r.pipe(nr()))}function by(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Tt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Tt||{}),My={destroy(){}};function Ty(t,e){!e&&vl(Ty);let n=e?.injector??M($e);if(!tn(n))return My;Ue("NgAfterNextRender");let r=n.get(Id),o=r.handler??=new Gi,i=e?.phase??Tt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(Ks).onDestroy(s),u=new zi(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var zi=class{constructor(e,n,r){this.phase=n,this.callbackFn=r,this.zone=e.get(j),this.errorHandler=e.get(me,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Gi=class{constructor(){this.executingCallbacks=!1,this.buckets={[Tt.EarlyRead]:new Set,[Tt.Write]:new Set,[Tt.MixedReadWrite]:new Set,[Tt.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()}},Id=(()=>{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 xy(t,e){let n=Be(e,t),r=n[w];Sy(r,n);let o=n[re];o!==null&&n[xe]===null&&(n[xe]=Bs(o,n[Nt])),Xs(r,n,n[$])}function Sy(t,e){for(let n=e.length;n0&&Pl(t,n,i.join(" "))}}function ky(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 pr(t){return t===At?{}:t===Fe?[]:t}function Hy(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function $y(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function Uy(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function zy(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 Cd(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 bd(t,e,n,r){let o=je(t,e,n);return je(t,e+1,r)||o}function Gy(t,e,n,r){let o=x(),i=Dn();if(je(o,i,e)){let s=q(),a=Jr();ad(a,o,t,e,n,r)}return Gy}function ea(t,e,n,r){return je(t,Dn(),n)?e+_t(n)+r:Ae}function Wy(t,e,n,r,o,i){let s=Ph(),a=bd(t,s,n,o);return Lh(2),a?e+_t(n)+r+_t(o)+i:Ae}function qy(t,e,n,r,o,i){let s=x(),a=ea(s,e,n,r);if(a!==Ae){let u=Jr();ad(u,s,t,a,o,i)}return qy}function Zy(t,e,n){let r=x(),o=Dn();if(je(r,o,e)){let i=q(),s=Jr();rd(i,s,r,t,e,r[F],n,!1)}return Zy}function tc(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";Zs(t,n,i[s],s,r)}function Md(t){let e=t[un]??[],r=t[k][F];for(let o of e)Yy(o,r);t[un]=Fe}function Yy(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[Pr];for(;n0&&(i.firstChild=t,t=po(r[Pr],t)),n.push(i)}return[t,n]}var xd=(t,e)=>null;function rv(t,e){let n=t[un];return!e||n===null||n.length===0?null:n[0].data[cm]===e?n.shift():(Md(t),null)}function ov(){xd=rv}function pn(t,e){return xd(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 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 iv(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),v=n(s,d),S=n(i,c);if(Object.is(S,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 Hr,o??=rc(t,i,s,n),Qi(t,r,i,S))t.updateValue(i,c),i++,s++;else if(o.has(S))r.set(h,t.detach(i)),s--;else{let C=t.create(i,e[i]);t.attach(i,C),i++,s++}}for(;i<=a;)nc(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 Hr,o??=rc(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;)nc(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 nc(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 rc(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 Hr=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[D]&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[gn]=u;let c=t[Ee];return c!==null&&(a[Ee]=c.createEmbeddedView(o)),Xs(o,a,n),a}function Sd(t,e){let n=U+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=sv;let t=e;return t})();function sv(){let t=J();return Nd(t,x())}var av=bn,Ad=class extends av{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Vt(this._hostTNode,this._hostLView)}get injector(){return new tt(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ms(this._hostTNode,this._hostLView);if(Xc(e)){let n=xr(e,this._hostLView),r=Tr(e),o=n[w].data[r+8];return new tt(o,n)}else return new tt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=oc(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-U}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=pn(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,hn(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!ig(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 kt(Pe(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let v=(s?c:this.parentInjector).get(Le,null);v&&(i=v)}let l=Pe(u.componentType??{}),d=pn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,hn(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(Ch(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[k],c=new Ad(u,u[ye],u[k]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return go(s,o,i,r),e.attachToViewContainerRef(),ll(ai(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=oc(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=ln(this._lContainer,n);r&&(Ar(ai(this._lContainer),n),no(r[w],r))}detach(e){let n=this._adjustIndex(e,-1),r=ln(this._lContainer,n);return r&&Ar(ai(this._lContainer),n)!=null?new ut(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function oc(t){return t[br]}function ai(t){return t[br]||(t[br]=[])}function Nd(t,e){let n,r=e[t.index];return ue(r)?n=r:(n=cd(r,e,null,t),e[t.index]=n,lo(e,n)),Od(n,e,t,r),new Ad(n,t,e)}function uv(t,e){let n=t[F],r=n.createComment(""),o=ie(e,t),i=Ps(n,o);return Rr(n,i,r,Wg(n,o),!1),r}var Od=Rd,ta=(t,e,n)=>!1;function cv(t,e,n){return ta(t,e,n)}function Rd(t,e,n,r){if(t[Se])return;let o;n.type&8?o=ge(r):o=uv(e,n),t[Se]=o}function lv(t,e,n){if(t[Se]&&t[un])return!0;let r=n[xe],o=e.index-H;if(!r||bg(e)||so(r,o))return!1;let s=xi(r,o),a=r.data[Vs]?.[o],[u,c]=nv(s,a);return t[Se]=u,t[un]=c,!0}function dv(t,e,n,r){ta(t,n,e)||Rd(t,e,n,r)}function fv(){Od=dv,ta=lv}function pv(t,e,n,r,o,i,s,a,u){let c=e.consts,l=co(e,t,4,s||null,Mr(c,a));od(e,n,l,Mr(c,u)),bs(e,l);let d=l.tView=qs(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=x(),c=q(),l=t+H,d=c.firstCreatePass?pv(l,c,u,e,n,r,o,i,s):c.data[l];vn(d,!1);let f=Fd(c,u,d,t);Cs()&&ks(c,u,f,d),at(f,u);let p=cd(f,u,f,d);return u[l]=p,lo(u,p),cv(p,d,u),ms(d)&&Xl(c,u,d),s!=null&&ed(u,d,a),Ki}var Fd=Pd;function Pd(t,e,n,r){return He(!0),e[F].createComment("")}function hv(t,e,n,r){let o=e[xe],i=!o||yn()||so(o,r);if(He(i),i)return Pd(t,e,n,r);let s=o.data[um]?.[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=Hs(o,r);return po(u,a)}function gv(){Fd=hv}function Px(t,e,n){Ue("NgControlFlow");let r=x(),o=Dn(),i=ts(r,H+t),s=0;if(je(r,o,e)){let a=L(null);try{if(_d(i,s),e!==-1){let u=ns(r[w],H+e),c=pn(i,u.tView.ssrId),l=ho(r,u,n,{dehydratedView:c});go(i,l,s,hn(u,c))}}finally{L(a)}}else{let a=Sd(i,s);a!==void 0&&(a[$]=n)}}var Ji=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-U}};function kx(t,e){return e}var Xi=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function Lx(t,e,n,r,o,i,s,a,u,c,l){Ue("NgControlFlow");let d=u!==void 0,f=x(),p=a?s.bind(f[oe][$]):s,h=new Xi(d,p);f[H+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-U}at(e){return this.getLView(e)[$].$implicit}attach(e,n){let r=n[xe];this.needsIndexUpdate||=e!==this.length,go(this.lContainer,n,e,hn(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,mv(this.lContainer,e)}create(e,n){let r=pn(this.lContainer,this.templateTNode.tView.ssrId);return ho(this.hostLView,this.templateTNode,new Ji(this.lContainer,n,e),{dehydratedView:r})}destroy(e){no(e[w],e)}updateValue(e,n){this.getLView(e)[$].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(He(!0),Fs(r,o,Qc()));function wv(t,e,n,r,o,i){let s=e[xe],a=!s||yn()||so(s,i);if(He(a),a)return Fs(r,o,Qc());let u=fo(s,t,e,n);return zl(s,i)&&io(s,i,u.nextSibling),s&&(Il(n)||Cl(u))&&mn(n)&&(Nh(n),Fl(u)),u}function Ev(){jd=wv}var Iv=(t,e,n,r)=>(He(!0),_l(e[F],""));function Cv(t,e,n,r){let o,i=e[xe],s=!i||yn();if(He(s),s)return _l(e[F],"");let a=fo(i,t,e,n),u=Dm(i,r);return io(i,r,a),o=po(u,a),o}function bv(){Iv=Cv}function Vx(){return x()}var Xe=void 0;function Mv(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Tv=["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",Mv],ui={};function Vd(t){let e=xv(t),n=ic(e);if(n)return n;let r=e.split("-")[0];if(n=ic(r),n)return n;if(r==="en")return Tv;throw new b(701,!1)}function Bd(t){return Vd(t)[na.PluralCase]}function ic(t){return t in ui||(ui[t]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[t]),ui[t]}var na=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}(na||{});function xv(t){return t.toLowerCase().replace(/_/g,"-")}var $r="en-US";var Sv=$r;function _v(t){$p(t,"Expected localeId to be defined"),typeof t=="string"&&(Sv=t.toLowerCase().replace(/_/g,"-"))}function mo(t){return!!t&&typeof t.then=="function"}function ra(t){return!!t&&typeof t.subscribe=="function"}function Av(t,e,n,r){let o=x(),i=q(),s=J();return Ov(i,o,o[F],s,t,e,r),Av}function Nv(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 Ov(t,e,n,r,o,i,s){let a=ms(r),c=t.firstCreatePass&&fd(t),l=e[$],d=dd(e),f=!0;if(r.type&3||s){let v=ie(r,e),S=s?s(v):v,C=d.length,P=s?be=>s(ge(be[r.index])):r.index,Z=null;if(!s&&a&&(Z=Nv(t,e,o,r.index)),Z!==null){let be=Z.__ngLastListenerFn__||Z;be.__ngNextListenerFn__=i,Z.__ngLastListenerFn__=i,f=!1}else{i=ac(r,e,l,i,!1);let be=n.listen(S,o,i);d.push(i,be),c&&c.push(o,P,C,C+1)}}else i=ac(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 S=0;S-1?Be(t.index,e):e;Ys(a);let u=sc(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=sc(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Bx(t=1){return $h(t)}function Rv(t,e,n,r,o){let i=x(),s=ea(i,e,n,r);if(s!==Ae){let a=q(),u=Jr();rd(a,u,i,t,s,i[F],o,!1)}return Rv}function Fv(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function Hx(t,e=""){let n=x(),r=q(),o=t+H,i=r.firstCreatePass?co(r,o,1,e,null):r.data[o],s=Hd(r,n,i,e,t);n[o]=s,Cs()&&ks(r,n,s,i),vn(i,!1)}var Hd=(t,e,n,r,o)=>(He(!0),Sl(e[F],r));function Pv(t,e,n,r,o){let i=e[xe],s=!i||yn()||so(i,o);return He(s),s?Sl(e[F],r):fo(i,t,e,n)}function kv(){Hd=Pv}function Lv(t){return $d("",t,""),Lv}function $d(t,e,n){let r=x(),o=ea(r,t,e,n);return o!==Ae&&hd(r,wn(),o),$d}function jv(t,e,n,r,o){let i=x(),s=Wy(i,t,e,n,r,o);return s!==Ae&&hd(i,wn(),s),jv}function Vv(t,e,n){let r=q();if(r.firstCreatePass){let o=ke(t);rs(n,r.data,r.blueprint,o,!0),rs(e,r.data,r.blueprint,o,!1)}}function rs(t,e,n,r,o){if(t=W(t),Array.isArray(t))for(let i=0;i>20;if(Pt(t)||!t.multi){let p=new it(c,o,X),h=li(u,e,o?l:l+f,d);h===-1?(Di(_r(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),v=p>=0&&n[p],S=h>=0&&n[h];if(o&&!S||!o&&!v){Di(_r(a,s),i,u);let C=$v(o?Hv:Bv,n.length,o,r,c);!o&&S&&(n[h].providerFactory=C),ci(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=Ud(n[o?h:p],c,!o&&r);ci(i,t,p>-1?p:h,C)}!o&&r&&S&&n[h].componentProviders++}}}function ci(t,e,n,r){let o=Pt(e),i=pg(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 Ud(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)=>Vv(r,o?o(t):t,e)}}var Ve=class{},is=class{};var ss=class extends Ve{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Vr(this);let o=Tc(e);this._bootstrapComponents=El(o.bootstrap),this._r3Injector=Dl(e,n,[{provide:Ve,useValue:this},{provide:ao,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)}},as=class extends is{constructor(e){super(),this.moduleType=e}create(e){return new ss(this.moduleType,e,[])}};var Ur=class extends Ve{constructor(e){super(),this.componentFactoryResolver=new Vr(this),this.instance=null;let n=new cn([...e.providers,{provide:Ve,useValue:this},{provide:ao,useValue:this.componentFactoryResolver}],e.parent||_s(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Uv(t,e,n=null){return new Ur({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var zv=(()=>{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=hl(!1,r.type),i=o.length>0?Uv([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(T(Le))});let t=e;return t})();function Ux(t){Ue("NgStandalone"),t.getStandaloneInjector=e=>e.get(zv).getOrCreateStandaloneInjector(t)}function zx(t,e,n,r){return Gd(x(),Ds(),t,e,n,r)}function Gx(t,e,n,r,o){return Gv(x(),Ds(),t,e,n,r,o)}function zd(t,e){let n=t[e];return n===Ae?void 0:n}function Gd(t,e,n,r,o,i){let s=e+n;return je(t,s,o)?Cd(t,s+1,i?r.call(i,o):r(o)):zd(t,s+1)}function Gv(t,e,n,r,o,i,s){let a=e+n;return bd(t,a,o,i)?Cd(t,a+2,s?r.call(s,o,i):r(o,i)):zd(t,a+2)}function Wx(t,e){let n=q(),r,o=t+H;n.firstCreatePass?(r=Wv(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(X);try{let u=Sr(!1),c=i();return Sr(u),Fv(n,x(),o,c),c}finally{Q(a)}}function Wv(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function qx(t,e,n){let r=t+H,o=x(),i=Eh(o,r);return qv(o,r)?Gd(o,Ds(),e,i.transform,n,i):i.transform(n)}function qv(t,e){return t[w].data[e].pure}function Zv(){return this._results[Symbol.iterator]()}var us=class t{get changes(){return this._changes||(this._changes=new et)}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]=Zv)}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=ag(e);(this._changesDetected=!sg(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__=Kv;let t=e;return t})(),Yv=Lt,Qv=class extends Yv{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 Kv(){return oa(J(),x())}function oa(t,e){return t.type&4?new Qv(e,t,Vt(t,e)):null}var cs=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},ls=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=U;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=M(oD,{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(ra(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})(),Kd=(()=>{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 iD(){return typeof $localize<"u"&&$localize.locale||$r}var Mn=new O("LocaleId",{providedIn:"root",factory:()=>M(Mn,A.Optional|A.SkipSelf)||iD()});var Jd=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new qt(!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})(),hs=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},Xx=(()=>{let e=class e{compileModuleSync(r){return new as(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Tc(r),s=El(i.declarations).reduce((a,u)=>{let c=Pe(u);return c&&a.push(new kt(c)),a},[]);return new hs(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})();var Xd=new O("");var Er=null;var ef=new O("PlatformDestroyListeners"),yo=new O("appBootstrapListener");function sD(){Eu(()=>{throw new b(600,!1)})}function aD(t){return t.isBoundToModule}function uD(t=[]){if(Er)return Er;let e=lD(t);return Er=e,sD(),cD(e),e}function cD(t){t.get(As,null)?.forEach(n=>n())}function tf(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=uD(r),i=[mD(),...n||[]],a=new Ur({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(j);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(ef);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),fD(c,u,()=>{let p=a.get(Qd);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Mn,$r);_v(h||$r);let v=a.get(Bt);return e!==void 0&&v.bootstrap(e),v})})})}catch(e){return Promise.reject(e)}}function lD(t=[],e){return $e.create({name:e,providers:[{provide:Xr,useValue:"platform"},{provide:ef,useValue:new Set([()=>Er=null])},...t]})}function dD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function fD(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}}var Bt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=M(nf),this.zoneIsStable=M(wd),this.componentTypes=[],this.components=[],this.isStable=M(Jd).hasPendingTasks.pipe(Gt(r=>r?Qt(!1):this.zoneIsStable),$o(),nr()),this._injector=M(Le)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof kr;if(!this._injector.get(Qd).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&hh(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(ao).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=aD(a)?void 0:this._injector.get(Ve),c=o||a.selector,l=a.create($e.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Xd,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),di(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;di(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),()=>di(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=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function di(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var nf=new O("",{providedIn:"root",factory:()=>M(me).handleError.bind(void 0)});function pD(){let t=M(j),e=M(me);return n=>t.runOutsideAngular(()=>e.handleError(n))}var hD=(()=>{let e=class e{constructor(){this.zone=M(j),this.applicationRef=M(Bt)}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 gD(t){return[{provide:j,useFactory:t},{provide:En,multi:!0,useFactory:()=>{let e=M(hD,{optional:!0});return()=>e.initialize()}},{provide:nf,useFactory:pD},{provide:wd,useFactory:Ed}]}function mD(t){let e=gD(()=>new j(dD(t)));return In([[],e])}var hr;function ia(t){hr??=new WeakMap;let e=hr.get(t);if(e)return e;let n=t.isStable.pipe(Uo(r=>r)).toPromise().then(()=>{});return hr.set(t,n),t.onDestroy(()=>hr?.delete(t)),n}function eS(){return!1}var uc=!1;function yD(){uc||(uc=!0,gm(),Ev(),kv(),bv(),gv(),fv(),ov(),$m())}function vD(t,e){return ia(t)}function rf(){return In([{provide:fr,useFactory:()=>{let t=!0;return tn()&&(t=!!M(lt,{optional:!0})?.get($l,null)),t&&Ue("NgHydration"),t}},{provide:En,useValue:()=>{tn()&&M(fr)&&(DD(),yD())},multi:!0},{provide:Zl,useFactory:()=>tn()&&M(fr)},{provide:yo,useFactory:()=>{if(tn()&&M(fr)){let t=M(Bt),e=M($e);return()=>{vD(t,e).then(()=>{j.assertInAngularZone(),Qy(t)})}}return()=>{}},multi:!0}])}function DD(){let t=eo(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===pm){e=n;break}if(!e)throw new b(-507,!1)}function wD(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function tS(t){let e=Pe(t);if(!e)return null;let n=new kt(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 aa=null;function $t(){return aa}function cf(t){aa||(aa=t)}var vo=class{},ce=new O("DocumentToken"),lf=(()=>{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:()=>(()=>M(CD))(),providedIn:"platform"});let t=e;return t})();var CD=(()=>{let e=class e extends lf{constructor(){super(),this._doc=M(ce),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $t().getBaseHref(this._doc)}onPopState(r){let o=$t().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=$t().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 df(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 sf(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 da=(()=>{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:()=>(()=>M(MD))(),providedIn:"root"});let t=e;return t})(),bD=new O("appBaseHref"),MD=(()=>{let e=class e extends da{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??M(ce).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 df(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)(T(lf),T(bD,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var TD=(()=>{let e=class e{constructor(r){this._subject=new et,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=_D(sf(af(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(SD(this._basePath,af(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=df,e.stripTrailingSlash=sf,e.\u0275fac=function(o){return new(o||e)(T(da))},e.\u0275prov=N({token:e,factory:()=>xD(),providedIn:"root"});let t=e;return t})();function xD(){return new TD(T(da))}function SD(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function af(t){return t.replace(/\/index.html$/,"")}function _D(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var Ht=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}(Ht||{});var AD=Bd;var ff=(()=>{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 OD(s))(T(Mn)),i},providedIn:"root"});let t=e;return t})();function ND(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 OD=(()=>{let e=class e extends ff{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(AD(o||this.locale)(r)){case Ht.Zero:return"zero";case Ht.One:return"one";case Ht.Two:return"two";case Ht.Few:return"few";case Ht.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(T(Mn))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})();function pf(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 sa=/\s+/,uf=[],ES=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=uf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(sa):uf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(sa):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(sa).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)(X(Gs),X(Ws),X(dt),X($s))},e.\u0275dir=Yr({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var ua=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 RD=(()=>{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=ND(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)(X(ff))},e.\u0275dir=Yr({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),IS=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new ua(i,o))}};e.\u0275fac=function(o){return new(o||e)(ul("ngPluralCase"),X(Lt),X(bn),X(RD,1))},e.\u0275dir=Yr({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function FD(t,e){return new b(2100,!1)}var ca=class{createSubscription(e,n){return Us(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){Us(()=>e.unsubscribe())}},la=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},PD=new la,kD=new ca,CS=(()=>{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 PD;if(ra(r))return kD;throw FD(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)(X(Qs,16))},e.\u0275pipe=Cc({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var fa="browser",LD="server";function bS(t){return t===fa}function pa(t){return t===LD}var 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 wf=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}(wf||{}),ha=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 ha{constructor(e={}){super(e),this.type=wf.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 VD=new O("");var hf="b",gf="h",mf="s",yf="st",vf="u",Df="rt",wo=new O(""),BD=["GET","HEAD"];function HD(t,e){let l=M(wo),{isCacheActive:n}=l,r=Ma(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!BD.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=M(lt),a=UD(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[hf]:d,[Df]:f,[gf]:p,[mf]:h,[yf]:v,[vf]:S}=u,C=d;switch(f){case"arraybuffer":C=new TextEncoder().encode(d).buffer;break;case"blob":C=new Blob([d]);break}let P=new Eo(p);return Qt(new Io({body:C,headers:P,status:h,statusText:v,url:S}))}return e(t).pipe(Zn(d=>{d instanceof Io&&s.set(a,{[hf]:d.body,[gf]:$D(d.headers,c),[mf]:d.status,[yf]:d.statusText,[vf]:d.url||"",[Df]:t.responseType})}))}function $D(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 UD(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=zD(s);return a}function zD(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 Ef(t){return[{provide:wo,useFactory:()=>(Ue("NgHttpTransferCache"),ee({isCacheActive:!0},t))},{provide:VD,useValue:HD,multi:!0,deps:[lt,wo]},{provide:yo,multi:!0,useFactory:()=>{let e=M(Bt),n=M(wo);return()=>{ia(e).then(()=>{n.isCacheActive=!1})}}}]}var ya=class extends vo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},va=class t extends ya{static makeCurrent(){cf(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=GD();return n==null?null:WD(n)}resetBaseElement(){Tn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return pf(document.cookie,e)}},Tn=null;function GD(){return Tn=Tn||document.querySelector("base"),Tn?Tn.getAttribute("href"):null}var Co;function WD(t){Co=Co||document.createElement("a"),Co.setAttribute("href",t);let e=Co.pathname;return e.charAt(0)==="/"?e:`/${e}`}var qD=(()=>{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})(),Da=new O("EventManagerPlugins"),Mf=(()=>{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)(T(Da),T(j))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),bo=class{constructor(e){this._doc=e}},ga="ng-app-id",Tf=(()=>{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=pa(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[${ga}="${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(ga),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(ga,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)(T(ce),T(to),T(Ns,8),T(_e))},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/"},Ea=/%COMP%/g,xf="%COMP%",ZD=`_nghost-${xf}`,YD=`_ngcontent-${xf}`,QD=!0,KD=new O("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>QD});function JD(t){return YD.replace(Ea,t)}function XD(t){return ZD.replace(Ea,t)}function Sf(t,e){return e.map(n=>n.replace(Ea,t))}var If=(()=>{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=pa(u),this.defaultRenderer=new xn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ce.ShadowDom&&(o=ve(ee({},o),{encapsulation:Ce.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Mo?i.applyToHost(r):i instanceof Sn&&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 Ce.Emulated:s=new Mo(c,l,o,this.appId,d,a,u,f);break;case Ce.ShadowDom:return new wa(c,l,r,o,a,u,this.nonce,f);default:s=new Sn(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)(T(Mf),T(Tf),T(to),T(KD),T(ce),T(_e),T(j),T(Ns))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),xn=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){(Cf(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Cf(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=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=$t().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 Cf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var wa=class extends xn{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=Sf(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)}},Sn=class extends xn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Sf(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Mo=class extends Sn{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=JD(c),this.hostAttr=XD(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}},ew=(()=>{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)(T(ce))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})(),bf=["alt","control","meta","shift"],tw={"\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},rw=(()=>{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(()=>$t().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=tw[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)(T(ce))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let t=e;return t})();function s_(t,e){return tf(ee({rootComponent:t},ow(e)))}function ow(t){return{appProviders:[...cw,...t?.providers??[]],platformProviders:uw}}function iw(){va.makeCurrent()}function sw(){return new me}function aw(){return wl(document),document}var uw=[{provide:_e,useValue:fa},{provide:As,useValue:iw,multi:!0},{provide:ce,useFactory:aw,deps:[]}];var cw=[{provide:Xr,useValue:"root"},{provide:me,useFactory:sw,deps:[]},{provide:Da,useClass:ew,multi:!0,deps:[ce,j,_e]},{provide:Da,useClass:rw,multi:!0,deps:[ce]},If,Tf,Mf,{provide:dn,useExisting:If},{provide:Do,useClass:qD,deps:[]},[]];function lw(){return new dw(T(ce))}var dw=(()=>{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)(T(ce))},e.\u0275prov=N({token:e,factory:function(o){let i=null;return o?i=new o:i=lw(),i},providedIn:"root"});let t=e;return t})();function a_(...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 In([[],rf(),n.has(0)||r?[]:Ef({}),e])}export{ee as a,ve as b,V as c,Lf as d,E as e,Lo as f,Wt as g,z as h,qt as i,Ro as j,Ye as k,ne as l,Qt as m,Yf as n,Qf as o,Qe as p,Te as q,op as r,se as s,Ze as t,ko as u,wt as v,sp as w,jo as x,Vo as y,pp as z,Ke as A,nu as B,gp as C,ou as D,yp as E,Kt as F,Je as G,Bo as H,vp as I,Dp as J,au as K,Uo as L,Ip as M,zo as N,Cp as O,Zf as P,bp as Q,Mp as R,Tp as S,Za as T,Gt as U,cu as V,Zn as W,b as X,N as Y,Ex as Z,A as _,O as $,T as aa,M as ba,Ix as ca,Yr as da,Rc as ea,Cx as fa,bx as ga,Mx as ha,Tx as ia,xx as ja,ul as ka,In as la,Le as ma,Sx as na,vl as oa,$e as pa,_e as qa,_x as ra,Ax as sa,dt as ta,dn as ua,$s as va,Nx as wa,Ox as xa,Us as ya,Rx as za,X as Aa,Qs as Ba,Ks as Ca,Dy as Da,et as Ea,j as Fa,Ty as Ga,Vy as Ha,zy as Ia,Gy as Ja,qy as Ka,Zy as La,bn as Ma,Ki as Na,Px as Oa,kx as Pa,Lx as Qa,jx as Ra,kd as Sa,Ld as Ta,Dv as Ua,Vx as Va,mo as Wa,Av as Xa,Bx as Ya,Rv as Za,Hx as _a,Lv as $a,$d as ab,jv as bb,$x as cb,is as db,Uv as eb,Ux as fb,zx as gb,Gx as hb,Wx as ib,qx as jb,Yx as kb,Qx as lb,Kx as mb,Jx as nb,oD as ob,Kd as pb,Jd as qb,Xx as rb,yo as sb,Bt as tb,eS as ub,wD as vb,tS as wb,ce as xb,da as yb,TD as zb,ES as Ab,RD as Bb,IS as Cb,CS as Db,bS as Eb,If as Fb,s_ as Gb,dw as Hb,a_ as Ib}; diff --git a/docs/citations/browser/chunk-HDA2YQ5N.js b/docs/citations/browser/chunk-HDA2YQ5N.js new file mode 100644 index 0000000..858f36d --- /dev/null +++ b/docs/citations/browser/chunk-HDA2YQ5N.js @@ -0,0 +1 @@ +import{k as I}from"./chunk-7ZVU332C.js";import{C as f,G as l,J as g,M as y,S as k,U as v,Y as x,aa as F,i as d,l as L,q as n,s as N,u as j}from"./chunk-DRO5L2YF.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{a,U as b}; diff --git a/docs/citations/browser/chunk-KYXWFYWT.js b/docs/citations/browser/chunk-KYXWFYWT.js deleted file mode 100644 index 94177c2..0000000 --- a/docs/citations/browser/chunk-KYXWFYWT.js +++ /dev/null @@ -1 +0,0 @@ -import{a as k,b as A}from"./chunk-ZF25AG57.js";import{b as R}from"./chunk-VFH3BR32.js";import{a as F}from"./chunk-D2LGKUJJ.js";import{d as E,j as D}from"./chunk-QSNRUJH3.js";import{$a as T,Aa as v,Ab as L,Ea as l,Ga as f,Ha as P,Ja as S,Ka as y,La as p,Ma as r,Na as g,Qa as q,Ra as u,Ta as c,Va as m,Wa as x,Za as C,ba as d,da as _,ua as s,ub as b,va as h,vb as I}from"./chunk-BYGGLSSH.js";function $(t,e){if(t&1&&c(0),t&2){let a=u(2);m('Aucune citation trouv\xE9e pour la recherche "',a.q,'"\xA0')}}function w(t,e){if(t&1&&c(0),t&2){let a=u(2);x("",a.citesCount,' citation trouv\xE9e pour la recherche "',a.q,'":\xA0')}}function j(t,e){if(t&1&&c(0),t&2){let a=u(2);x("",a.citesCount,' citations trouv\xE9es pour la recherche "',a.q,'":\xA0')}}function O(t,e){if(t&1&&(p(0,"h2",1),f(1,$,1,1,"ng-template",2)(2,w,1,2,"ng-template",3)(3,j,1,2,"ng-template",4),r()),t&2){let a=u();l("ngPlural",a.citesCount)}}var B=(()=>{let e=class e{constructor(){this.citesCount=0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["app-search-result-title"]],inputs:{citesCount:"citesCount",q:"q"},standalone:!0,features:[C],decls:1,vars:1,consts:[["class","text-md text-gray-600",3,"ngPlural"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"]],template:function(n,o){n&1&&f(0,O,4,1,"h2",0),n&2&&P(0,o.q?0:-1)},dependencies:[b,I],encapsulation:2});let t=e;return t})();var z=(t,e)=>e.getId();function G(t,e){if(t&1&&(p(0,"li",9)(1,"cite"),c(2),r(),c(3," de "),g(4,"app-link-cites-by-author",10),r()),t&2){let a=e.$implicit;s(2),m("\u201D",a.getCite(),"\u201D"),s(2),l("author",a.getAuthor())}}var H=t=>({itemPerPage:t}),it=(()=>{let e=class e extends k{constructor(i,n,o){super(),this.citeService=i,this.title=n,this.device=o,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,o.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.cites$.subscribe({next:i=>{this.fillCites(i)}}),this.findCitesBySearch()}ngOnChanges(){this.findCitesBySearch()}findCitesBySearch(){if(this.q&&this.q.trim()===""){this.citeService.reset().subscribe();return}this.citeService.search(this.q).subscribe(i=>this.fillCites(i))}fillCites(i){this.cites=[],this.paginatedCites=[],i.forEach(n=>{this.cites.push(n)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(i){this.paginatedCites=i}};e.\u0275fac=function(n){return new(n||e)(h(D),h(L),h(R))},e.\u0275cmp=d({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[v,_,C],decls:12,vars:8,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams"],[3,"q","citesCount"],[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,"author"],["class","p-1"]],template:function(n,o){n&1&&(p(0,"div",0)(1,"h1",1)(2,"a",2),c(3),r()(),g(4,"app-search-result-title",3),p(5,"ul",4),S(6,G,5,2,"li",11,z),r()(),p(8,"div",5)(9,"div",6)(10,"section",7)(11,"app-pager",8),q("paginatedList$",function(M){return o.setPaginatedList(M)}),r()()()()),n&2&&(s(2),l("queryParams",null),s(1),m("",o.citeService.countSearchFoundCites()," Citations."),s(1),l("q",o.q)("citesCount",o.cites.length),s(2),y(o.paginatedCites),s(5),l("list",o.cites)("options",T(6,H,o.getItemsPerPage())))},dependencies:[E,F,B,A],encapsulation:2});let t=e;return t})();export{it as ListCitesComponent}; diff --git a/docs/citations/browser/chunk-M5ZGNTB4.js b/docs/citations/browser/chunk-M5ZGNTB4.js deleted file mode 100644 index 90e496b..0000000 --- a/docs/citations/browser/chunk-M5ZGNTB4.js +++ /dev/null @@ -1 +0,0 @@ -import{a as S}from"./chunk-EG6KUQWY.js";import{a as b}from"./chunk-D2LGKUJJ.js";import{j as k}from"./chunk-QSNRUJH3.js";import{Ab as y,Ea as s,Ga as c,Ha as d,La as a,Ma as r,Na as f,T as l,Ta as h,Va as u,Za as x,aa as o,ba as p,bb as C,cb as g,ua as n,wb as v}from"./chunk-BYGGLSSH.js";function A(e,t){e&1&&(a(0,"h1",0),h(1),r(),a(2,"p",1),f(3,"app-link-cites-by-author",2),r()),e&2&&(n(1),u(" ",t.getCite()," "),n(2),s("author",t.getAuthor()))}var L=(()=>{let t=class t{constructor(){this.citesService=o(k),this.click=o(S),this.title=o(y),this.cite$=this.click.refresh$.pipe(l(()=>this.citesService.getRandomCite())),this.title.setTitle("Citations - Citation al\xE9atoire")}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=p({type:t,selectors:[["app-random"]],standalone:!0,features:[x],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(i,w){if(i&1&&(c(0,A,4,2),C(1,"async")),i&2){let m;d(0,(m=g(1,1,w.cite$))?0:-1,m)}},dependencies:[v,b],encapsulation:2});let e=t;return e})();export{L as RandomComponent}; diff --git a/docs/citations/browser/chunk-IBSWMS7N.js b/docs/citations/browser/chunk-NFYEC45H.js similarity index 84% rename from docs/citations/browser/chunk-IBSWMS7N.js rename to docs/citations/browser/chunk-NFYEC45H.js index 8e0ae1c..dddc56a 100644 --- a/docs/citations/browser/chunk-IBSWMS7N.js +++ b/docs/citations/browser/chunk-NFYEC45H.js @@ -1 +1 @@ -import{a as S}from"./chunk-D2LGKUJJ.js";import{j as l}from"./chunk-QSNRUJH3.js";import{Ab as m,Ea as s,Ga as C,Ha as v,La as f,Ma as u,Na as c,Ta as x,Va as y,Za as p,ba as a,bb as g,cb as T,ua as d,va as o,wb as b}from"./chunk-BYGGLSSH.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}; +import{a as S}from"./chunk-ACJNTKPU.js";import{k as l}from"./chunk-7ZVU332C.js";import{Aa as o,Db as b,Hb as m,La as s,Na as C,Oa as v,Sa as f,Ta as u,Ua as c,_a as x,ab as y,ca as a,fb as p,ib as g,jb as T,za as d}from"./chunk-DRO5L2YF.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-JLNRUKIL.js b/docs/citations/browser/chunk-NOXTTEZS.js similarity index 72% rename from docs/citations/browser/chunk-JLNRUKIL.js rename to docs/citations/browser/chunk-NOXTTEZS.js index 8093c27..09f77c0 100644 --- a/docs/citations/browser/chunk-JLNRUKIL.js +++ b/docs/citations/browser/chunk-NOXTTEZS.js @@ -1 +1 @@ -import{Ab as c,Ta as r,Za as s,ba as o,va as a}from"./chunk-BYGGLSSH.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{Aa as a,Hb as c,_a as r,ca as o,fb as s}from"./chunk-DRO5L2YF.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-QSNRUJH3.js b/docs/citations/browser/chunk-QSNRUJH3.js deleted file mode 100644 index f5464ad..0000000 --- a/docs/citations/browser/chunk-QSNRUJH3.js +++ /dev/null @@ -1 +0,0 @@ -import{$ as Te,A as _,Ab as Nr,B as ue,Ba as yr,C as le,Ca as Cr,E as lt,F as P,Fa as qr,G as ar,I as je,J as Me,K as k,M as ct,N as or,Na as Sr,Pa as Lr,Q as ur,Qa as Rr,S as lr,T as R,U as cr,V as C,W as L,X as S,Xa as wr,Y as hr,Ya as xr,Z as ht,Za as Ar,_ as E,a as d,aa as m,b as x,ba as dr,c as tr,ca as De,d as rr,da as Pe,db as Ir,e as st,f as at,fb as jr,g as $,gb as Mr,h as w,ia as dt,ib as Tr,j as T,ja as pr,jb as Dr,k as q,ka as mr,kb as ft,l as h,la as Ee,lb as Pr,m as oe,ma as fr,mb as Er,n as nr,na as gr,o as ir,ob as Ue,p as v,pb as Or,q as Ie,qa as vr,qb as Ur,r as I,ra as pt,rb as gt,s as ot,sb as Ne,ta as mt,u as sr,v as ut,va as M,wa as Oe,xa as Q,ya as ce,z as D,za as br}from"./chunk-BYGGLSSH.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:[]},{cite:"La vie est comme un arc-en-ciel : il faut la pluie et le soleil pour en voir les couleurs.",author:"Arunachala Ramaiya",tags:["bonheur"]}],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()||!t?T:h(this.cites.getValue()).pipe(R(n=>q(n)),D(n=>n&&n.getAuthor().toLowerCase().includes(t.toLowerCase())),ue())}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-SBV6RI7O.js b/docs/citations/browser/chunk-SBV6RI7O.js new file mode 100644 index 0000000..c77f2a4 --- /dev/null +++ b/docs/citations/browser/chunk-SBV6RI7O.js @@ -0,0 +1 @@ +import{a as y,c as z,d as U}from"./chunk-A2D6WYRG.js";import{b as G}from"./chunk-C2V7MVMA.js";import{a as N}from"./chunk-ACJNTKPU.js";import{d as j,j as B,k as W}from"./chunk-7ZVU332C.js";import{Aa as _,Bb as P,Cb as v,Ha as E,Hb as M,La as c,Na as d,Oa as k,P as I,Qa as w,Ra as F,Sa as m,T as $,Ta as l,U as D,Ua as b,W as g,Xa as R,Ya as u,_a as r,ab as C,bb as S,ca as h,fb as x,gb as A,h as q,j as L,q as T,xa as f,za as p}from"./chunk-DRO5L2YF.js";function O(t,e){if(t&1&&r(0),t&2){let i=u(2);C('Aucune citation trouv\xE9e pour la recherche "',i.q,'"\xA0')}}function Q(t,e){if(t&1&&r(0),t&2){let i=u(2);S("",i.citesCount,' citation trouv\xE9e pour la recherche "',i.q,'":\xA0')}}function V(t,e){if(t&1&&r(0),t&2){let i=u(2);S("",i.citesCount,' citations trouv\xE9es pour la recherche "',i.q,'":\xA0')}}function X(t,e){if(t&1&&(m(0,"h2",1),d(1,O,1,1,"ng-template",2)(2,Q,1,2,"ng-template",3)(3,V,1,2,"ng-template",4),l()),t&2){let i=u();c("ngPlural",i.citesCount)}}var H=(()=>{let e=class e{constructor(){this.citesCount=0}};e.\u0275fac=function(s){return new(s||e)},e.\u0275cmp=h({type:e,selectors:[["app-search-result-title"]],inputs:{citesCount:"citesCount",q:"q"},standalone:!0,features:[x],decls:1,vars:1,consts:[["class","text-md text-gray-600",3,"ngPlural"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"]],template:function(s,o){s&1&&d(0,X,4,1,"h2",0),s&2&&k(0,o.q?0:-1)},dependencies:[P,v],encapsulation:2});let t=e;return t})();var Y=(t,e)=>e.getId();function Z(t,e){t&1&&r(0,"0 Citation.")}function tt(t,e){t&1&&r(0,"1 Citation.")}function et(t,e){if(t&1&&r(0),t&2){let i=u();C("",i.citesCount()," Citations.")}}function it(t,e){if(t&1&&(m(0,"li",12)(1,"cite"),r(2),l(),r(3," de "),b(4,"app-link-cites-by-author",13),l()),t&2){let i=e.$implicit;p(2),C("\u201D",i.getCite(),"\u201D"),p(2),c("author",i.getAuthor())}}var nt=t=>({itemPerPage:t}),vt=(()=>{let e=class e extends z{set q(n){n||(n=""),this.q$.next(n.trim())}constructor(n,s,o){super(),this.citeService=n,this.title=s,this.device=o,this.q$=new L(1),this.cites=f([]),this.cites$=this.q$.pipe($(""),D(a=>a?this.citeService.search(a):this.citeService.cites$),g(a=>this.cites.set(a)),y()),this.citesCount=f(0),this.citesCount$=this.cites$.pipe(T(a=>a.length),$(0),g(a=>this.citesCount.set(a)),y()),this.pagerPaginatedCites$=new q,this.displayedPaginatedCites=f([]),this.displayedPaginatedCites$=this.cites$.pipe(I(this.pagerPaginatedCites$),T(a=>a.slice(0,this.itemsPerPage)),g(a=>this.displayedPaginatedCites.set(a)),y()),this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,o.isMobile()&&(this.itemsPerPage=4),this.cites$.subscribe(),this.citesCount$.subscribe(),this.displayedPaginatedCites$.subscribe()}setPaginatedList(n){n[0]&&(n[0]instanceof B||!n[0])&&this.pagerPaginatedCites$.next(n)}};e.\u0275fac=function(s){return new(s||e)(_(W),_(M),_(G))},e.\u0275cmp=h({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[E,x],decls:14,vars:8,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams","ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[3,"q","citesCount"],[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,"author"],["class","p-1"]],template:function(s,o){s&1&&(m(0,"div",0)(1,"h1",1)(2,"a",2),d(3,Z,1,0,"ng-template",3)(4,tt,1,0,"ng-template",4)(5,et,1,1,"ng-template",5),l()(),b(6,"app-search-result-title",6),m(7,"ul",7),w(8,it,5,2,"li",14,Y),l()(),m(10,"div",8)(11,"div",9)(12,"section",10)(13,"app-pager",11),R("paginatedList$",function(J){return o.setPaginatedList(J)}),l()()()()),s&2&&(p(2),c("queryParams",null)("ngPlural",o.citesCount()),p(4),c("q",o.q)("citesCount",o.citesCount()),p(2),F(o.displayedPaginatedCites()),p(5),c("list",o.cites())("options",A(6,nt,o.getItemsPerPage())))},dependencies:[j,P,v,N,H,U],encapsulation:2});let t=e;return t})();export{vt as ListCitesComponent}; diff --git a/docs/citations/browser/chunk-SRZDJSAF.js b/docs/citations/browser/chunk-SRZDJSAF.js deleted file mode 100644 index 8c33f85..0000000 --- a/docs/citations/browser/chunk-SRZDJSAF.js +++ /dev/null @@ -1 +0,0 @@ -import{a as k}from"./chunk-2PGUG3V3.js";import{a as A,b as B}from"./chunk-ZF25AG57.js";import{b as L}from"./chunk-VFH3BR32.js";import{d as P}from"./chunk-QSNRUJH3.js";import{$a as _,Aa as v,Ab as S,Ea as p,Ja as y,Ka as x,La as s,Ma as a,Qa as m,Sa as b,Ta as l,Va as c,Za as C,ab as h,ba as f,tb as T,ua as o,va as u}from"./chunk-BYGGLSSH.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-WGOH2KAO.js b/docs/citations/browser/chunk-WGOH2KAO.js new file mode 100644 index 0000000..fcda04e --- /dev/null +++ b/docs/citations/browser/chunk-WGOH2KAO.js @@ -0,0 +1 @@ +import{a as g,c as N,d as W}from"./chunk-A2D6WYRG.js";import{b as z}from"./chunk-C2V7MVMA.js";import{j as k,k as O}from"./chunk-7ZVU332C.js";import{Aa as h,Bb as j,Cb as E,Ha as A,Hb as M,La as x,Na as P,Oa as I,P as $,Qa as T,Ra as S,Sa as r,T as _,Ta as m,U as v,W as d,Xa as B,Ya as l,_a as u,ab as C,bb as w,ca as L,fb as D,gb as F,h as y,j as b,q as f,xa as p,za as c}from"./chunk-DRO5L2YF.js";var U=(t,n)=>n.getId();function q(t,n){if(t&1&&u(0),t&2){let s=l();C('Aucune citation de "',s,'"\xA0')}}function G(t,n){if(t&1&&u(0),t&2){let s=l();C('1 citation de "',s,'":\xA0')}}function H(t,n){if(t&1&&u(0),t&2){let s=l(),e=l();w("",e.citesCount(),' citations de "',s,'":\xA0')}}function J(t,n){if(t&1&&(r(0,"h1",7),P(1,q,1,1,"ng-template",8)(2,G,1,1,"ng-template",9)(3,H,1,2,"ng-template",10),m()),t&2){let s=l();x("ngPlural",s.citesCount())}}function K(t,n){if(t&1&&(r(0,"li",11)(1,"cite"),u(2),m()()),t&2){let s=n.$implicit;c(2),C("\u201D",s.getCite(),"\u201D")}}var Q=t=>({itemPerPage:t}),pt=(()=>{let n=class n extends N{set author(e){e||(e=""),this.authorOfCites.set(e),this.author$.next(e)}constructor(e,a,o){super(),this.citeService=e,this.title=a,this.device=o,this.authorOfCites=p(""),this.author$=new b(1),this.cites=p([]),this.cites$=this.author$.pipe(v(i=>this.citeService.searchByAuthor(i)),_([]),d(i=>this.cites.set(i)),g()),this.citesCount=p(0),this.citesCount$=this.cites$.pipe(f(i=>i.length),_(0),d(i=>this.citesCount.set(i)),g()),this.pagerPaginatedCites$=new y,this.displayedPaginatedCites=p([]),this.displayedPaginatedCites$=this.cites$.pipe($(this.pagerPaginatedCites$),f(i=>i.slice(0,this.itemsPerPage)),d(i=>this.displayedPaginatedCites.set(i)),g()),this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,o.isMobile()&&(this.itemsPerPage=4),this.cites$.subscribe(),this.citesCount$.subscribe(),this.displayedPaginatedCites$.subscribe()}setPaginatedList(e){e[0]&&(e[0]instanceof k||!e[0])&&this.pagerPaginatedCites$.next(e)}};n.\u0275fac=function(a){return new(a||n)(h(O),h(M),h(z))},n.\u0275cmp=L({type:n,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[A,D],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(a,o){if(a&1&&(r(0,"div",0),P(1,J,4,1,"h1",1),r(2,"ul",2),T(3,K,3,1,"li",12,U),m()(),r(5,"div",3)(6,"div",4)(7,"section",5)(8,"app-pager",6),B("paginatedList$",function(R){return o.setPaginatedList(R)}),m()()()()),a&2){let i;c(1),I(1,(i=o.authorOfCites())?1:-1,i),c(2),S(o.displayedPaginatedCites()),c(5),x("list",o.cites())("options",F(3,Q,o.getItemsPerPage()))}},dependencies:[j,E,W],encapsulation:2});let t=n;return t})();export{pt as ListCitesByAuthorsComponent}; diff --git a/docs/citations/browser/chunk-ZF25AG57.js b/docs/citations/browser/chunk-ZF25AG57.js deleted file mode 100644 index 2a519e1..0000000 --- a/docs/citations/browser/chunk-ZF25AG57.js +++ /dev/null @@ -1 +0,0 @@ -import{a as F}from"./chunk-VFH3BR32.js";import{$a as m,Ea as p,Ga as I,Ha as M,Ia as w,Ja as L,Ka as y,La as a,Ma as g,Oa as x,Qa as u,Ra as o,Ta as d,Ua as _,Za as T,ba as v,da as b,ea as l,fa as c,h as f,tb as k,ua as r,va as O,z as h}from"./chunk-BYGGLSSH.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/cites/index.html b/docs/citations/browser/cites/index.html index 8bc7810..a781950 100644 --- a/docs/citations/browser/cites/index.html +++ b/docs/citations/browser/cites/index.html @@ -26,10 +26,10 @@ + -

570 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
+

570 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 + \ No newline at end of file diff --git a/docs/citations/browser/index.html b/docs/citations/browser/index.html index ffd3618..3244a55 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

+

Qu'on me donne six heures pour couper un arbre, j'en passerai quatre à préparer ma hache.

Abraham Lincoln

- + \ No newline at end of file diff --git a/docs/citations/browser/main-JRQUF7EH.js b/docs/citations/browser/main-JRQUF7EH.js deleted file mode 100644 index dd38d19..0000000 --- a/docs/citations/browser/main-JRQUF7EH.js +++ /dev/null @@ -1 +0,0 @@ -import{a as ki}from"./chunk-2PGUG3V3.js";import{a as Mi,b as Pi}from"./chunk-VFH3BR32.js";import{a as He}from"./chunk-EG6KUQWY.js";import{a as vi,b as Ei,c as Si,d as Qe,e as $e,f as bi,g as wi,h as Ti,i as Ai,j as Ci}from"./chunk-QSNRUJH3.js";import{$ as ee,Aa as je,Ab as Ue,Bb as _i,D as ii,Ea as Q,F as oe,H as si,La as S,Ma as T,Na as C,P as ni,Qa as Be,T as we,Ta as le,U as gt,V as ri,W as E,X as ae,Za as te,_ as oi,a as Jt,aa as yt,ba as K,db as hi,eb as ui,g as Ie,ga as q,gb as di,ha as x,hb as fi,ia as Ve,ka as ai,l as qe,m as ei,mb as Ke,na as li,nb as mi,oa as _t,p as Z,pa as vt,qb as pi,sa as ci,u as ti,ua as U,v as mt,va as xe,w as be,x as pt,xb as Et,y as pe,ya as ze,yb as gi,z as ge,zb as yi}from"./chunk-BYGGLSSH.js";var Ae="Service workers are disabled or not supported by this browser";function Es(n){return mt(()=>ei(new Error(n)))}var ye=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=Es(Ae);else{let i=be(e,"controllerchange").pipe(Z(()=>e.controller)),s=mt(()=>qe(e.controller)),r=ti(s,i);this.worker=r.pipe(ge(h=>!!h)),this.registration=this.worker.pipe(we(()=>e.getRegistration()));let c=be(e,"message").pipe(Z(h=>h.data)).pipe(ge(h=>h&&h.type)).pipe(ni());c.connect(),this.events=c}}postMessage(e,t){return this.worker.pipe(oe(1),ri(i=>{i.postMessage(Jt({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(ge(t))}nextEventOfType(e){return this.eventsOfType(e).pipe(oe(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(ge(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}},Ss=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,this.pushManager=null,this.subscriptionChanges=new Ie,!i.isEnabled){this.messages=pe,this.notificationClicks=pe,this.subscription=pe;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(we(r=>r.getSubscription()));this.subscription=pt(s,this.subscriptionChanges)}requestSubscription(i){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ae));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(Ae));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),we(i)).toPromise()}decodeBase64(i){return atob(i)}};e.\u0275fac=function(s){return new(s||e)(ee(ye))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})(),bs=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,!i.isEnabled){this.versionUpdates=pe,this.unrecoverable=pe;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(Ae));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(Ae));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:i},i)}};e.\u0275fac=function(s){return new(s||e)(ee(ye))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();var Di=new oi("NGSW_REGISTER_SCRIPT");function ws(n,e,t,i){return()=>{if(!(Et(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=qe(null);break;case"registerWithDelay":s=Ni(+a[0]||0);break;case"registerWhenStable":s=a[0]?pt(Fi(n),Ni(+a[0])):Fi(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 Ni(n){return qe(null).pipe(si(n))}function Fi(n){return n.get(Ke).isStable.pipe(ge(t=>t))}function Ts(n,e){return new ye(Et(e)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Te=class{};function Li(n,e={}){return ai([Ss,bs,{provide:Di,useValue:n},{provide:Te,useValue:e},{provide:ye,useFactory:Ts,deps:[Te,_t]},{provide:fi,useFactory:ws,deps:[li,Di,Te,_t],multi:!0}])}var Oi=[{path:"",loadComponent:()=>import("./chunk-IBSWMS7N.js").then(n=>n.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-KYXWFYWT.js").then(n=>n.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-SRZDJSAF.js").then(n=>n.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-D736JXLS.js").then(n=>n.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-M5ZGNTB4.js").then(n=>n.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-KYXWFYWT.js").then(n=>n.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-JLNRUKIL.js").then(n=>n.PageNotFoundComponent)}];var $="*";function Ri(n,e=null){return{type:2,steps:n,options:e}}function St(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}},Ce=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 Ii(n){return new E(3e3,!1)}function As(){return new E(3100,!1)}function Cs(){return new E(3101,!1)}function Ms(n){return new E(3001,!1)}function Ps(n){return new E(3003,!1)}function ks(n){return new E(3004,!1)}function Ds(n,e){return new E(3005,!1)}function Ns(){return new E(3006,!1)}function Fs(){return new E(3007,!1)}function Ls(n,e){return new E(3008,!1)}function Os(n){return new E(3002,!1)}function Rs(n,e,t,i,s){return new E(3010,!1)}function Is(){return new E(3011,!1)}function qs(){return new E(3012,!1)}function Vs(){return new E(3200,!1)}function xs(){return new E(3202,!1)}function zs(){return new E(3013,!1)}function js(n){return new E(3014,!1)}function Bs(n){return new E(3015,!1)}function Ks(n){return new E(3016,!1)}function Us(n,e){return new E(3404,!1)}function Qs(n){return new E(3502,!1)}function $s(n){return new E(3503,!1)}function Hs(){return new E(3300,!1)}function Ws(n){return new E(3504,!1)}function Gs(n){return new E(3301,!1)}function Ys(n,e){return new E(3302,!1)}function Zs(n){return new E(3303,!1)}function Xs(n,e){return new E(3400,!1)}function Js(n){return new E(3401,!1)}function en(n){return new E(3402,!1)}function tn(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 Ce(n)}}function Yi(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 Qs(s);return r}function Kt(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&bt(t,"start",n)));break;case"done":n.onDone(()=>i(t&&bt(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&bt(t,"destroy",n)));break}}function bt(n,e,t){let i=t.totalTime,s=!!t.disabled,r=Ut(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 Ut(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 qi(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var sn=(()=>typeof document>"u"?null:document.documentElement)();function Qt(n){let e=n.parentNode||n.host||null;return e===sn?null:e}function nn(n){return n.substring(1,6)=="ebkit"}var he=null,Vi=!1;function rn(n){he||(he=on()||{},Vi=he.style?"WebkitAppearance"in he.style:!1);let e=!0;return he.style&&!nn(n)&&(e=n in he.style,!e&&Vi&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in he.style)),e}function on(){return typeof document<"u"?document.body:null}function Zi(n,e){for(;e;){if(e===n)return!0;e=Qt(e)}return!1}function Xi(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var $t=(()=>{let e=class e{validateStyleProperty(i){return rn(i)}matchesElement(i,s){return!1}containsElement(i,s){return Zi(i,s)}getParentElement(i){return Qt(i)}query(i,s,r){return Xi(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})(),Le=(()=>{let e=class e{};e.NOOP=new $t;let n=e;return n})(),fe=class{};var an=1e3,Ji="{{",ln="}}",es="ng-enter",Pt="ng-leave",Ge="ng-trigger",et=".ng-trigger",xi="ng-animating",kt=".ng-animating";function X(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Dt(parseFloat(e[1]),e[2])}function Dt(n,e){switch(e){case"s":return n*an;default:return n}}function tt(n,e,t){return n.hasOwnProperty("duration")?n:cn(n,e,t)}function cn(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(Ii(n)),{duration:0,delay:0,easing:""};s=Dt(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=Dt(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(As()),a=!0),r<0&&(e.push(Cs()),a=!0),a&&e.splice(l,0,Ii(n))}return{duration:s,delay:r,easing:o}}function Oe(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function ts(n){let e=new Map;return Object.keys(n).forEach(t=>{let i=n[t];e.set(t,i)}),e}function hn(n){return n.length?n[0]instanceof Map?n:n.map(e=>ts(e)):[]}function ve(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=Ht(s);t&&!t.has(s)&&t.set(s,n.style[r]),n.style[r]=i})}function de(n,e){e.forEach((t,i)=>{let s=Ht(i);n.style[s]=""})}function Me(n){return Array.isArray(n)?n.length==1?n[0]:Ri(n):n}function un(n,e,t){let i=e.params||{},s=is(n);s.length&&s.forEach(r=>{i.hasOwnProperty(r)||t.push(Ms(r))})}var Nt=new RegExp(`${Ji}\\s*(.+?)\\s*${ln}`,"g");function is(n){let e=[];if(typeof n=="string"){let t;for(;t=Nt.exec(n);)e.push(t[1]);Nt.lastIndex=0}return e}function ke(n,e,t){let i=n.toString(),s=i.replace(Nt,(r,o)=>{let a=e[o];return a==null&&(t.push(Ps(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 dn=/-+([a-z0-9])/g;function Ht(n){return n.replace(dn,(...e)=>e[1].toUpperCase())}function fn(n,e){return n===0||e===0}function mn(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,ss(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 ks(e.type)}}function ss(n,e){return window.getComputedStyle(n)[e]}var pn=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 fe{normalizePropertyName(e,t){return Ht(e)}normalizeStyleValue(e,t,i,s){let r="",o=i.toString().trim();if(pn.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(Ds(e,i))}return o+r}};var nt="*";function gn(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>yn(i,t,e)):t.push(n),t}function yn(n,e,t){if(n[0]==":"){let l=_n(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(Bs(n)),e;let s=i[1],r=i[2],o=i[3];e.push(zi(s,o));let a=s==nt&&o==nt;r[0]=="<"&&!a&&e.push(zi(o,s))}function _n(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 zi(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 ns=":self",vn=new RegExp(`s*${ns}s*,?`,"g");function rs(n,e,t,i){return new Ft(n).build(e,t,i)}var ji="",Ft=class{constructor(e){this._driver=e}build(e,t,i){let s=new Lt(t);return this._resetContextStyleTimingState(s),O(this,Me(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector=ji,e.collectedStyles=new Map,e.collectedStyles.set(ji,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(Ns()),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(Fs())}),{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=>{is(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size){let a=it(r.values());t.errors.push(Ls(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,Me(e.animation),t);return{type:1,matchers:gn(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:ue(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>O(this,i,t)),options:ue(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:ue(e.options)}}visitAnimate(e,t){let i=wn(e.timings,t.errors);t.currentAnimateTimings=i;let s,r=e.styles?e.styles:St({});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=St(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(Os(a)):i.push(ts(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(Ji)>=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(Rs(l,h.startTime,h.endTime,r,s)),u=!1),r=h.startTime),u&&c.set(l,{startTime:r,endTime:s}),t.options&&un(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Is()),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:bn(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,Me(e.animation),t),options:ue(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ue(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ue(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;let[r,o]=En(e.selector);t.currentQuerySelector=i.length?i+" "+r:r,R(t.collectedStyles,t.currentQuerySelector,new Map);let a=O(this,Me(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:ue(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(zs());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:tt(e.timings,t.errors,!0);return{type:12,animation:O(this,Me(e.animation),t),timings:i,options:null}}};function En(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ns);return e&&(n=n.replace(vn,"")),n=n.replace(/@\*/g,et).replace(/@\w+/g,t=>et+"-"+t.slice(1)).replace(/:animating/g,kt),[n,e]}function Sn(n){return n?Oe(n):null}var Lt=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 bn(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 wn(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=tt(n,e).duration;return wt(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=wt(0,0,"");return r.dynamic=!0,r.strValue=t,r}let s=tt(t,e);return wt(s.duration,s.delay,s.easing)}function ue(n){return n?(n=Oe(n),n.params&&(n.params=Sn(n.params))):n={},n}function wt(n,e,t){return{duration:n,delay:e,easing:t}}function Wt(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 De=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()}},Tn=1,An=":enter",Cn=new RegExp(An,"g"),Mn=":leave",Pn=new RegExp(Mn,"g");function os(n,e,t,i,s,r=new Map,o=new Map,a,l,c=[]){return new Ot().buildKeyframes(n,e,t,i,s,r,o,a,l,c)}var Ot=class{buildKeyframes(e,t,i,s,r,o,a,l,c,h=[]){c=c||new De;let u=new Rt(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()):[Wt(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(ke(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?ke(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={},Rt=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]=ke(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 It(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(Cn,"."+this._enterClassName),e=e.replace(Pn,"."+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(js(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+=Tn,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=kn(e,this._globalTimelineStyles);for(let[a,l]of o){let c=ke(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=ve(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 Wt(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}},It=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=ve(e[0]);l.set("offset",0),r.push(l);let c=ve(e[0]);c.set("offset",Bi(a)),r.push(c);let h=e.length-1;for(let u=1;u<=h;u++){let _=ve(e[u]),y=_.get("offset"),f=t+y*i;_.set("offset",Bi(f/o)),r.push(_)}i=o,t=0,s="",e=r}return Wt(this.element,e,this.preStyleProps,this.postStyleProps,i,t,s,!0)}};function Bi(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function kn(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 ve(s,t)}),t}function Ki(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 Tt={},at=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,s){return Dn(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||Tt,y=a&&a.params||Tt,f=this.buildStyles(i,y,u),g=l&&l.params||Tt,b=this.buildStyles(s,g,u),A=new Set,M=new Map,N=new Map,k=s==="void",me={params:Nn(g,_),delay:this.ast.options?.delay},j=h?[]:os(e,t,this.ast.animation,r,o,f,b,me,c,u),F=0;if(j.forEach(G=>{F=Math.max(G.duration+G.delay,F)}),u.length)return Ki(t,this._triggerName,i,s,k,f,b,[],[],M,N,F,u);j.forEach(G=>{let Y=G.element,Gt=R(M,Y,new Set);G.preStyleProps.forEach(ne=>Gt.add(ne));let Se=R(N,Y,new Set);G.postStyleProps.forEach(ne=>Se.add(ne)),Y!==t&&A.add(Y)});let W=it(A.values());return Ki(t,this._triggerName,i,s,k,f,b,j,W,M,N,F)}};function Dn(n,e,t,i,s){return n.some(r=>r(e,t,i,s))}function Nn(n,e){let t=Oe(e);for(let i in n)n.hasOwnProperty(i)&&n[i]!=null&&(t[i]=n[i]);return t}var qt=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,s=Oe(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=ke(o,s,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function Fn(n,e,t){return new Vt(n,e,t)}var Vt=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 qt(s.style,r,i))}),Ui(this.states,"true","1"),Ui(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new at(e,s,this.states))}),this.fallbackTransition=Ln(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 Ln(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 Ui(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 On=new De,xt=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=rs(this._driver,t,i,s);if(i.length)throw $s(i);s.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,i){let s=e.element,r=Yi(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=os(this._driver,t,r,es,Pt,new Map,new Map,i,On,s),o.forEach(h=>{let u=R(a,h.element,new Map);h.postStyleProps.forEach(_=>u.set(_,null))})):(s.push(Hs()),o=[]),s.length)throw Ws(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 Gs(e);return t}listen(e,t,i,s){let r=Ut(t,"","","");return Kt(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}}},Qi="ng-animate-queued",Rn=".ng-animate-queued",At="ng-animate-disabled",In=".ng-animate-disabled",qn="ng-star-inserted",Vn=".ng-star-inserted",xn=[],as={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},zn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",Ne=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=Bn(s),i){let r=Oe(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])})}}},Pe="void",Ct=new Ne(Pe),zt=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 Ys(i,t);if(i==null||i.length==0)throw Zs(t);if(!Kn(i))throw Xs(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,Ct)),()=>{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 Js(e);return t}trigger(e,t,i,s=!0){let r=this._getTrigger(t),o=new Fe(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 Ne(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Ct),!(c.value===Pe)&&l.value===c.value){if(!$n(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(()=>{de(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,Qi),o.onStart(()=>{_e(e,Qi)})),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,Pe,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)||Ct,h=new Ne(Pe),u=new Fe(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===as)&&(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=Ut(r,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Kt(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)}},jt=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 zt(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,At)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),_e(e,At))}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,kt,!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]=as,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(At)&&this.markElementAsDisabled(e,!1),this.driver.query(e,In,!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 en(e)}_flushAnimations(e,t){let i=new De,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,Rn,!0);for(let p=0;p{let p=es+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=Wi(_,Array.from(A));k.forEach((d,m)=>{let p=Pt+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=>_e(v,p))}),k.forEach((d,m)=>{let p=N.get(m);d.forEach(v=>_e(v,p))}),b.forEach(d=>{this.processLeaveNode(d)})});let me=[],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(me.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 Re=I.get(p.triggerName);Re.value=re,I.set(p.triggerName,Re)}}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(()=>de(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}if(p.isFallbackTransition){v.onStart(()=>de(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}let Xt=[];w.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||Xt.push(D)}),w.timelines=Xt,i.append(P,w.timelines);let ys={instruction:w,player:v,element:P};o.push(ys),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((Re,ft)=>I.add(ft))}}),w.postStyleProps.forEach((D,re)=>{let I=c.get(re);I||c.set(re,I=new Set),D.forEach((Re,ft)=>I.add(ft))})});if(j.length){let d=[];j.forEach(m=>{d.push(tn(m.triggerName,m.errors))}),me.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=>Gi(d,l,c)),Y=new Map;Hi(Y,this.driver,M,c,$).forEach(d=>{Gi(d,l,c)&&G.push(d)});let Se=new Map;y.forEach((d,m)=>{Hi(Se,this.driver,new Set(d),l,We)}),G.forEach(d=>{let m=Y.get(d),p=Se.get(d);Y.set(d,new Map([...m?.entries()??[],...p?.entries()??[]]))});let ne=[],Yt=[],Zt={};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=Zt;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,Se,Y);if(p.setRealPlayer(B),P===Zt)ne.push(p);else{let L=this.playersByElement.get(P);L&&L.length&&(p.parentPlayer=se(L)),s.push(p)}}else de(m,v.fromStyles),p.onDestroy(()=>H(m,v.toStyles)),Yt.push(p),h.has(m)&&s.push(p)}),Yt.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?Un(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==Pe;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)})}de(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=Qn((i.get(g)||xn).map(F=>F.getRealPlayer())).filter(F=>{let W=F;return W.element?W.element===g:!1}),N=r.get(g),k=o.get(g),me=Yi(this._normalizer,f.keyframes,N,k),j=this._buildPlayer(f,me,M);if(f.subTimeline&&s&&u.add(g),A){let F=new Fe(e,a,g);F.setRealPlayer(j),c.push(F)}return j});c.forEach(f=>{R(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>jn(this.playersByQueriedElement,f.element,f))}),h.forEach(f=>V(f,xi));let y=se(_);return y.onDestroy(()=>{h.forEach(f=>_e(f,xi)),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)}},Fe=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=>Kt(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 jn(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 Bn(n){return n??null}function Xe(n){return n&&n.nodeType===1}function Kn(n){return n=="start"||n=="done"}function $i(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Hi(n,e,t,i,s){let r=[];t.forEach(l=>r.push($i(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]=zn,o.push(c))}),n.set(c,h)});let a=0;return t.forEach(l=>$i(l,r[a++])),o}function Wi(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 _e(n,e){n.classList?.remove(e)}function Un(n,e,t){se(t).onDone(()=>n.processLeaveNode(e))}function Qn(n){let e=[];return ls(n,e),e}function ls(n,e){for(let t=0;ts.add(r)):e.set(n,i),t.delete(n),!0}var Ee=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,r)=>{},this._transitionEngine=new jt(e.body,t,i),this._timelineEngine=new xt(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=rs(this._driver,r,l,c);if(l.length)throw Us(s,l);c.length&&void 0,a=Fn(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]=qi(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]=qi(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 Hn(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Mt(e[0]),e.length>1&&(i=Mt(e[e.length-1]))):e instanceof Map&&(t=Mt(e)),t||i?new Wn(n,t,i):null}var Wn=(()=>{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&&(de(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(de(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 Mt(n){let e=null;return n.forEach((t,i)=>{Gn(i)&&(e=e||new Map,e.set(i,t))}),e}function Gn(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:ss(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 Zi(e,t)}getParentElement(e){return Qt(e)}query(e,t,i){return Xi(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);fn(i,s)&&h.forEach(y=>{y.currentSnapshot.forEach((f,g)=>c.set(g,f))});let u=hn(t).map(y=>ve(y));u=mn(e,u,c);let _=Hn(e,u);return new lt(e,u,l,_)}};var Je="@",cs="@.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==cs?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)}},Bt=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==cs?(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=Yn(e),r=t.slice(1),o="";return r.charAt(0)!=Je&&([r,o]=Zn(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 Yn(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Zn(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 Bt(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 Jn=(()=>{let e=class e extends Ee{constructor(i,s,r,o){super(i,s,r)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(s){return new(s||e)(ee(pi),ee(Le),ee(fe),ee(Ke))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();function er(){return new st}function tr(n,e,t){return new ut(n,e,t)}var hs=[{provide:fe,useFactory:er},{provide:Ee,useClass:Jn},{provide:ci,useFactory:tr,deps:[gi,Ee,ze]}],ir=[{provide:Le,useFactory:()=>new ct},{provide:vt,useValue:"BrowserAnimations"},...hs],Ar=[{provide:Le,useClass:$t},{provide:vt,useValue:"NoopAnimations"},...hs];function us(){return[...ir]}var ds={providers:[bi(Oi,Ti(),wi({onSameUrlNavigation:"reload"}),Ai()),Li("ngsw-worker.js",{enabled:!mi(),registrationStrategy:"registerWhenStable:30000"}),_i(),us(),ki,Ci,He,Ue,Mi,Pi]};var dt=(()=>{let e=class e{constructor(i){this.click=i}refreshRandom(){this.click.click()}};e.\u0275fac=function(s){return new(s||e)(xe(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 fs=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=Ve(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),le(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),le(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),le(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),le(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 sr=["elSearchCite"],ms=(()=>{let e=class e{constructor(){this.ngUnsubscribe=new Ie,this.activatedRouter=yt(vi),this.router=yt(Si)}ngOnInit(){this.activatedRouter.queryParamMap.pipe(gt(this.ngUnsubscribe)).subscribe(i=>{if(!i.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){be(this.elSearchCite.nativeElement,"keyup").pipe(Z(i=>i.currentTarget.value),ii(500),gt(this.ngUnsubscribe)).subscribe({next:i=>{this.router.navigate(["/search"],{queryParams:{q:i}})}})}};e.\u0275fac=function(s){return new(s||e)},e.\u0275cmp=K({type:e,selectors:[["app-search"]],viewQuery:function(s,r){if(s&1&&ui(sr,7),s&2){let o;hi(o=di())&&(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 ps=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=Ve(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),le(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,ms,$e],encapsulation:2});let n=e;return n})();var gs=(()=>{let e=class e{constructor(i){this.title=i,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(s){return new(s||e)(xe(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:[ps,Ei,fs],encapsulation:2});let n=e;return n})();yi(gs,ds).catch(n=>console.error(n)); diff --git a/docs/citations/browser/main-RWDZTU7D.js b/docs/citations/browser/main-RWDZTU7D.js new file mode 100644 index 0000000..b1a2a68 --- /dev/null +++ b/docs/citations/browser/main-RWDZTU7D.js @@ -0,0 +1 @@ +import{b as ki}from"./chunk-HDA2YQ5N.js";import{a as Mi,b as Pi}from"./chunk-C2V7MVMA.js";import{a as He}from"./chunk-APJBKNQ6.js";import{a as vi,b as Ei,c as Si,d as Qe,e as $e,f as bi,g as wi,h as Ti,i as Ai,k as Ci}from"./chunk-7ZVU332C.js";import{$ as oi,A as ge,Aa as xe,E as ii,Eb as Et,Fa as ze,Fb as gi,G as oe,Gb as yi,Ha as je,Hb as Ue,I as si,Ib as _i,La as Q,Q as ni,Sa as S,Ta as T,U as we,Ua as C,V as gt,W as ri,X as E,Xa as Be,Y as ae,_a as le,a as Jt,aa as ee,ba as yt,ca as K,fb as te,h as Ie,ha as q,ia as x,ja as Ve,kb as hi,la as ai,lb as ui,m as qe,n as ei,nb as di,ob as fi,pa as li,q as Z,qa as _t,ra as vt,tb as Ke,ua as ci,ub as mi,v as ti,w as mt,x as be,xb as pi,y as pt,z as pe,za as U}from"./chunk-DRO5L2YF.js";var Ae="Service workers are disabled or not supported by this browser";function Es(n){return mt(()=>ei(new Error(n)))}var ye=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=Es(Ae);else{let i=be(e,"controllerchange").pipe(Z(()=>e.controller)),s=mt(()=>qe(e.controller)),r=ti(s,i);this.worker=r.pipe(ge(h=>!!h)),this.registration=this.worker.pipe(we(()=>e.getRegistration()));let c=be(e,"message").pipe(Z(h=>h.data)).pipe(ge(h=>h&&h.type)).pipe(ni());c.connect(),this.events=c}}postMessage(e,t){return this.worker.pipe(oe(1),ri(i=>{i.postMessage(Jt({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(ge(t))}nextEventOfType(e){return this.eventsOfType(e).pipe(oe(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(ge(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}},Ss=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,this.pushManager=null,this.subscriptionChanges=new Ie,!i.isEnabled){this.messages=pe,this.notificationClicks=pe,this.subscription=pe;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(we(r=>r.getSubscription()));this.subscription=pt(s,this.subscriptionChanges)}requestSubscription(i){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ae));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(Ae));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),we(i)).toPromise()}decodeBase64(i){return atob(i)}};e.\u0275fac=function(s){return new(s||e)(ee(ye))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})(),bs=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,!i.isEnabled){this.versionUpdates=pe,this.unrecoverable=pe;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(Ae));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(Ae));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:i},i)}};e.\u0275fac=function(s){return new(s||e)(ee(ye))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();var Di=new oi("NGSW_REGISTER_SCRIPT");function ws(n,e,t,i){return()=>{if(!(Et(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=qe(null);break;case"registerWithDelay":s=Ni(+a[0]||0);break;case"registerWhenStable":s=a[0]?pt(Fi(n),Ni(+a[0])):Fi(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 Ni(n){return qe(null).pipe(si(n))}function Fi(n){return n.get(Ke).isStable.pipe(ge(t=>t))}function Ts(n,e){return new ye(Et(e)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Te=class{};function Li(n,e={}){return ai([Ss,bs,{provide:Di,useValue:n},{provide:Te,useValue:e},{provide:ye,useFactory:Ts,deps:[Te,_t]},{provide:fi,useFactory:ws,deps:[li,Di,Te,_t],multi:!0}])}var Oi=[{path:"",loadComponent:()=>import("./chunk-NFYEC45H.js").then(n=>n.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-SBV6RI7O.js").then(n=>n.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-2AQYUIV4.js").then(n=>n.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-WGOH2KAO.js").then(n=>n.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-6XHDLL73.js").then(n=>n.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-SBV6RI7O.js").then(n=>n.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-NOXTTEZS.js").then(n=>n.PageNotFoundComponent)}];var $="*";function Ri(n,e=null){return{type:2,steps:n,options:e}}function St(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}},Ce=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 Ii(n){return new E(3e3,!1)}function As(){return new E(3100,!1)}function Cs(){return new E(3101,!1)}function Ms(n){return new E(3001,!1)}function Ps(n){return new E(3003,!1)}function ks(n){return new E(3004,!1)}function Ds(n,e){return new E(3005,!1)}function Ns(){return new E(3006,!1)}function Fs(){return new E(3007,!1)}function Ls(n,e){return new E(3008,!1)}function Os(n){return new E(3002,!1)}function Rs(n,e,t,i,s){return new E(3010,!1)}function Is(){return new E(3011,!1)}function qs(){return new E(3012,!1)}function Vs(){return new E(3200,!1)}function xs(){return new E(3202,!1)}function zs(){return new E(3013,!1)}function js(n){return new E(3014,!1)}function Bs(n){return new E(3015,!1)}function Ks(n){return new E(3016,!1)}function Us(n,e){return new E(3404,!1)}function Qs(n){return new E(3502,!1)}function $s(n){return new E(3503,!1)}function Hs(){return new E(3300,!1)}function Ws(n){return new E(3504,!1)}function Gs(n){return new E(3301,!1)}function Ys(n,e){return new E(3302,!1)}function Zs(n){return new E(3303,!1)}function Xs(n,e){return new E(3400,!1)}function Js(n){return new E(3401,!1)}function en(n){return new E(3402,!1)}function tn(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 Ce(n)}}function Yi(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 Qs(s);return r}function Kt(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&bt(t,"start",n)));break;case"done":n.onDone(()=>i(t&&bt(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&bt(t,"destroy",n)));break}}function bt(n,e,t){let i=t.totalTime,s=!!t.disabled,r=Ut(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 Ut(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 qi(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var sn=(()=>typeof document>"u"?null:document.documentElement)();function Qt(n){let e=n.parentNode||n.host||null;return e===sn?null:e}function nn(n){return n.substring(1,6)=="ebkit"}var he=null,Vi=!1;function rn(n){he||(he=on()||{},Vi=he.style?"WebkitAppearance"in he.style:!1);let e=!0;return he.style&&!nn(n)&&(e=n in he.style,!e&&Vi&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in he.style)),e}function on(){return typeof document<"u"?document.body:null}function Zi(n,e){for(;e;){if(e===n)return!0;e=Qt(e)}return!1}function Xi(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var $t=(()=>{let e=class e{validateStyleProperty(i){return rn(i)}matchesElement(i,s){return!1}containsElement(i,s){return Zi(i,s)}getParentElement(i){return Qt(i)}query(i,s,r){return Xi(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})(),Le=(()=>{let e=class e{};e.NOOP=new $t;let n=e;return n})(),fe=class{};var an=1e3,Ji="{{",ln="}}",es="ng-enter",Pt="ng-leave",Ge="ng-trigger",et=".ng-trigger",xi="ng-animating",kt=".ng-animating";function X(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Dt(parseFloat(e[1]),e[2])}function Dt(n,e){switch(e){case"s":return n*an;default:return n}}function tt(n,e,t){return n.hasOwnProperty("duration")?n:cn(n,e,t)}function cn(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(Ii(n)),{duration:0,delay:0,easing:""};s=Dt(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=Dt(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(As()),a=!0),r<0&&(e.push(Cs()),a=!0),a&&e.splice(l,0,Ii(n))}return{duration:s,delay:r,easing:o}}function Oe(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function ts(n){let e=new Map;return Object.keys(n).forEach(t=>{let i=n[t];e.set(t,i)}),e}function hn(n){return n.length?n[0]instanceof Map?n:n.map(e=>ts(e)):[]}function ve(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=Ht(s);t&&!t.has(s)&&t.set(s,n.style[r]),n.style[r]=i})}function de(n,e){e.forEach((t,i)=>{let s=Ht(i);n.style[s]=""})}function Me(n){return Array.isArray(n)?n.length==1?n[0]:Ri(n):n}function un(n,e,t){let i=e.params||{},s=is(n);s.length&&s.forEach(r=>{i.hasOwnProperty(r)||t.push(Ms(r))})}var Nt=new RegExp(`${Ji}\\s*(.+?)\\s*${ln}`,"g");function is(n){let e=[];if(typeof n=="string"){let t;for(;t=Nt.exec(n);)e.push(t[1]);Nt.lastIndex=0}return e}function ke(n,e,t){let i=n.toString(),s=i.replace(Nt,(r,o)=>{let a=e[o];return a==null&&(t.push(Ps(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 dn=/-+([a-z0-9])/g;function Ht(n){return n.replace(dn,(...e)=>e[1].toUpperCase())}function fn(n,e){return n===0||e===0}function mn(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,ss(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 ks(e.type)}}function ss(n,e){return window.getComputedStyle(n)[e]}var pn=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 fe{normalizePropertyName(e,t){return Ht(e)}normalizeStyleValue(e,t,i,s){let r="",o=i.toString().trim();if(pn.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(Ds(e,i))}return o+r}};var nt="*";function gn(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>yn(i,t,e)):t.push(n),t}function yn(n,e,t){if(n[0]==":"){let l=_n(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(Bs(n)),e;let s=i[1],r=i[2],o=i[3];e.push(zi(s,o));let a=s==nt&&o==nt;r[0]=="<"&&!a&&e.push(zi(o,s))}function _n(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 zi(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 ns=":self",vn=new RegExp(`s*${ns}s*,?`,"g");function rs(n,e,t,i){return new Ft(n).build(e,t,i)}var ji="",Ft=class{constructor(e){this._driver=e}build(e,t,i){let s=new Lt(t);return this._resetContextStyleTimingState(s),O(this,Me(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector=ji,e.collectedStyles=new Map,e.collectedStyles.set(ji,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(Ns()),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(Fs())}),{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=>{is(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size){let a=it(r.values());t.errors.push(Ls(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,Me(e.animation),t);return{type:1,matchers:gn(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:ue(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>O(this,i,t)),options:ue(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:ue(e.options)}}visitAnimate(e,t){let i=wn(e.timings,t.errors);t.currentAnimateTimings=i;let s,r=e.styles?e.styles:St({});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=St(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(Os(a)):i.push(ts(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(Ji)>=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(Rs(l,h.startTime,h.endTime,r,s)),u=!1),r=h.startTime),u&&c.set(l,{startTime:r,endTime:s}),t.options&&un(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Is()),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:bn(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,Me(e.animation),t),options:ue(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ue(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ue(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;let[r,o]=En(e.selector);t.currentQuerySelector=i.length?i+" "+r:r,R(t.collectedStyles,t.currentQuerySelector,new Map);let a=O(this,Me(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:ue(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(zs());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:tt(e.timings,t.errors,!0);return{type:12,animation:O(this,Me(e.animation),t),timings:i,options:null}}};function En(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ns);return e&&(n=n.replace(vn,"")),n=n.replace(/@\*/g,et).replace(/@\w+/g,t=>et+"-"+t.slice(1)).replace(/:animating/g,kt),[n,e]}function Sn(n){return n?Oe(n):null}var Lt=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 bn(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 wn(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=tt(n,e).duration;return wt(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=wt(0,0,"");return r.dynamic=!0,r.strValue=t,r}let s=tt(t,e);return wt(s.duration,s.delay,s.easing)}function ue(n){return n?(n=Oe(n),n.params&&(n.params=Sn(n.params))):n={},n}function wt(n,e,t){return{duration:n,delay:e,easing:t}}function Wt(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 De=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()}},Tn=1,An=":enter",Cn=new RegExp(An,"g"),Mn=":leave",Pn=new RegExp(Mn,"g");function os(n,e,t,i,s,r=new Map,o=new Map,a,l,c=[]){return new Ot().buildKeyframes(n,e,t,i,s,r,o,a,l,c)}var Ot=class{buildKeyframes(e,t,i,s,r,o,a,l,c,h=[]){c=c||new De;let u=new Rt(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()):[Wt(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(ke(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?ke(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={},Rt=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]=ke(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 It(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(Cn,"."+this._enterClassName),e=e.replace(Pn,"."+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(js(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+=Tn,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=kn(e,this._globalTimelineStyles);for(let[a,l]of o){let c=ke(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=ve(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 Wt(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}},It=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=ve(e[0]);l.set("offset",0),r.push(l);let c=ve(e[0]);c.set("offset",Bi(a)),r.push(c);let h=e.length-1;for(let u=1;u<=h;u++){let _=ve(e[u]),y=_.get("offset"),f=t+y*i;_.set("offset",Bi(f/o)),r.push(_)}i=o,t=0,s="",e=r}return Wt(this.element,e,this.preStyleProps,this.postStyleProps,i,t,s,!0)}};function Bi(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function kn(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 ve(s,t)}),t}function Ki(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 Tt={},at=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,s){return Dn(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||Tt,y=a&&a.params||Tt,f=this.buildStyles(i,y,u),g=l&&l.params||Tt,b=this.buildStyles(s,g,u),A=new Set,M=new Map,N=new Map,k=s==="void",me={params:Nn(g,_),delay:this.ast.options?.delay},j=h?[]:os(e,t,this.ast.animation,r,o,f,b,me,c,u),F=0;if(j.forEach(G=>{F=Math.max(G.duration+G.delay,F)}),u.length)return Ki(t,this._triggerName,i,s,k,f,b,[],[],M,N,F,u);j.forEach(G=>{let Y=G.element,Gt=R(M,Y,new Set);G.preStyleProps.forEach(ne=>Gt.add(ne));let Se=R(N,Y,new Set);G.postStyleProps.forEach(ne=>Se.add(ne)),Y!==t&&A.add(Y)});let W=it(A.values());return Ki(t,this._triggerName,i,s,k,f,b,j,W,M,N,F)}};function Dn(n,e,t,i,s){return n.some(r=>r(e,t,i,s))}function Nn(n,e){let t=Oe(e);for(let i in n)n.hasOwnProperty(i)&&n[i]!=null&&(t[i]=n[i]);return t}var qt=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,s=Oe(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=ke(o,s,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function Fn(n,e,t){return new Vt(n,e,t)}var Vt=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 qt(s.style,r,i))}),Ui(this.states,"true","1"),Ui(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new at(e,s,this.states))}),this.fallbackTransition=Ln(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 Ln(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 Ui(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 On=new De,xt=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=rs(this._driver,t,i,s);if(i.length)throw $s(i);s.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,i){let s=e.element,r=Yi(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=os(this._driver,t,r,es,Pt,new Map,new Map,i,On,s),o.forEach(h=>{let u=R(a,h.element,new Map);h.postStyleProps.forEach(_=>u.set(_,null))})):(s.push(Hs()),o=[]),s.length)throw Ws(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 Gs(e);return t}listen(e,t,i,s){let r=Ut(t,"","","");return Kt(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}}},Qi="ng-animate-queued",Rn=".ng-animate-queued",At="ng-animate-disabled",In=".ng-animate-disabled",qn="ng-star-inserted",Vn=".ng-star-inserted",xn=[],as={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},zn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",Ne=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=Bn(s),i){let r=Oe(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])})}}},Pe="void",Ct=new Ne(Pe),zt=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 Ys(i,t);if(i==null||i.length==0)throw Zs(t);if(!Kn(i))throw Xs(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,Ct)),()=>{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 Js(e);return t}trigger(e,t,i,s=!0){let r=this._getTrigger(t),o=new Fe(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 Ne(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Ct),!(c.value===Pe)&&l.value===c.value){if(!$n(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(()=>{de(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,Qi),o.onStart(()=>{_e(e,Qi)})),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,Pe,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)||Ct,h=new Ne(Pe),u=new Fe(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===as)&&(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=Ut(r,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Kt(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)}},jt=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 zt(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,At)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),_e(e,At))}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,kt,!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]=as,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(At)&&this.markElementAsDisabled(e,!1),this.driver.query(e,In,!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 en(e)}_flushAnimations(e,t){let i=new De,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,Rn,!0);for(let p=0;p{let p=es+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=Wi(_,Array.from(A));k.forEach((d,m)=>{let p=Pt+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=>_e(v,p))}),k.forEach((d,m)=>{let p=N.get(m);d.forEach(v=>_e(v,p))}),b.forEach(d=>{this.processLeaveNode(d)})});let me=[],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(me.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 Re=I.get(p.triggerName);Re.value=re,I.set(p.triggerName,Re)}}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(()=>de(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}if(p.isFallbackTransition){v.onStart(()=>de(P,w.fromStyles)),v.onDestroy(()=>H(P,w.toStyles)),s.push(v);return}let Xt=[];w.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||Xt.push(D)}),w.timelines=Xt,i.append(P,w.timelines);let ys={instruction:w,player:v,element:P};o.push(ys),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((Re,ft)=>I.add(ft))}}),w.postStyleProps.forEach((D,re)=>{let I=c.get(re);I||c.set(re,I=new Set),D.forEach((Re,ft)=>I.add(ft))})});if(j.length){let d=[];j.forEach(m=>{d.push(tn(m.triggerName,m.errors))}),me.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=>Gi(d,l,c)),Y=new Map;Hi(Y,this.driver,M,c,$).forEach(d=>{Gi(d,l,c)&&G.push(d)});let Se=new Map;y.forEach((d,m)=>{Hi(Se,this.driver,new Set(d),l,We)}),G.forEach(d=>{let m=Y.get(d),p=Se.get(d);Y.set(d,new Map([...m?.entries()??[],...p?.entries()??[]]))});let ne=[],Yt=[],Zt={};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=Zt;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,Se,Y);if(p.setRealPlayer(B),P===Zt)ne.push(p);else{let L=this.playersByElement.get(P);L&&L.length&&(p.parentPlayer=se(L)),s.push(p)}}else de(m,v.fromStyles),p.onDestroy(()=>H(m,v.toStyles)),Yt.push(p),h.has(m)&&s.push(p)}),Yt.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?Un(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==Pe;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)})}de(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=Qn((i.get(g)||xn).map(F=>F.getRealPlayer())).filter(F=>{let W=F;return W.element?W.element===g:!1}),N=r.get(g),k=o.get(g),me=Yi(this._normalizer,f.keyframes,N,k),j=this._buildPlayer(f,me,M);if(f.subTimeline&&s&&u.add(g),A){let F=new Fe(e,a,g);F.setRealPlayer(j),c.push(F)}return j});c.forEach(f=>{R(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>jn(this.playersByQueriedElement,f.element,f))}),h.forEach(f=>V(f,xi));let y=se(_);return y.onDestroy(()=>{h.forEach(f=>_e(f,xi)),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)}},Fe=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=>Kt(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 jn(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 Bn(n){return n??null}function Xe(n){return n&&n.nodeType===1}function Kn(n){return n=="start"||n=="done"}function $i(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Hi(n,e,t,i,s){let r=[];t.forEach(l=>r.push($i(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]=zn,o.push(c))}),n.set(c,h)});let a=0;return t.forEach(l=>$i(l,r[a++])),o}function Wi(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 _e(n,e){n.classList?.remove(e)}function Un(n,e,t){se(t).onDone(()=>n.processLeaveNode(e))}function Qn(n){let e=[];return ls(n,e),e}function ls(n,e){for(let t=0;ts.add(r)):e.set(n,i),t.delete(n),!0}var Ee=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,r)=>{},this._transitionEngine=new jt(e.body,t,i),this._timelineEngine=new xt(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=rs(this._driver,r,l,c);if(l.length)throw Us(s,l);c.length&&void 0,a=Fn(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]=qi(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]=qi(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 Hn(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Mt(e[0]),e.length>1&&(i=Mt(e[e.length-1]))):e instanceof Map&&(t=Mt(e)),t||i?new Wn(n,t,i):null}var Wn=(()=>{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&&(de(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(de(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 Mt(n){let e=null;return n.forEach((t,i)=>{Gn(i)&&(e=e||new Map,e.set(i,t))}),e}function Gn(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:ss(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 Zi(e,t)}getParentElement(e){return Qt(e)}query(e,t,i){return Xi(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);fn(i,s)&&h.forEach(y=>{y.currentSnapshot.forEach((f,g)=>c.set(g,f))});let u=hn(t).map(y=>ve(y));u=mn(e,u,c);let _=Hn(e,u);return new lt(e,u,l,_)}};var Je="@",cs="@.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==cs?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)}},Bt=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==cs?(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=Yn(e),r=t.slice(1),o="";return r.charAt(0)!=Je&&([r,o]=Zn(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 Yn(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Zn(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 Bt(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 Jn=(()=>{let e=class e extends Ee{constructor(i,s,r,o){super(i,s,r)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(s){return new(s||e)(ee(pi),ee(Le),ee(fe),ee(Ke))},e.\u0275prov=ae({token:e,factory:e.\u0275fac});let n=e;return n})();function er(){return new st}function tr(n,e,t){return new ut(n,e,t)}var hs=[{provide:fe,useFactory:er},{provide:Ee,useClass:Jn},{provide:ci,useFactory:tr,deps:[gi,Ee,ze]}],ir=[{provide:Le,useFactory:()=>new ct},{provide:vt,useValue:"BrowserAnimations"},...hs],Ar=[{provide:Le,useClass:$t},{provide:vt,useValue:"NoopAnimations"},...hs];function us(){return[...ir]}var ds={providers:[bi(Oi,Ti(),wi({onSameUrlNavigation:"reload"}),Ai()),Li("ngsw-worker.js",{enabled:!mi(),registrationStrategy:"registerWhenStable:30000"}),_i(),us(),ki,Ci,He,Ue,Mi,Pi]};var dt=(()=>{let e=class e{constructor(i){this.click=i}refreshRandom(){this.click.click()}};e.\u0275fac=function(s){return new(s||e)(xe(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 fs=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=Ve(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),le(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),le(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),le(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),le(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 sr=["elSearchCite"],ms=(()=>{let e=class e{constructor(){this.ngUnsubscribe=new Ie,this.activatedRouter=yt(vi),this.router=yt(Si)}ngOnInit(){this.activatedRouter.queryParamMap.pipe(gt(this.ngUnsubscribe)).subscribe(i=>{if(!i.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){be(this.elSearchCite.nativeElement,"keyup").pipe(Z(i=>i.currentTarget.value),ii(500),gt(this.ngUnsubscribe)).subscribe({next:i=>{this.router.navigate(["/search"],{queryParams:{q:i}})}})}};e.\u0275fac=function(s){return new(s||e)},e.\u0275cmp=K({type:e,selectors:[["app-search"]],viewQuery:function(s,r){if(s&1&&ui(sr,7),s&2){let o;hi(o=di())&&(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 ps=(()=>{let e=class e extends dt{};e.\u0275fac=(()=>{let i;return function(r){return(i||(i=Ve(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),le(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,ms,$e],encapsulation:2});let n=e;return n})();var gs=(()=>{let e=class e{constructor(i){this.title=i,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(s){return new(s||e)(xe(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:[ps,Ei,fs],encapsulation:2});let n=e;return n})();yi(gs,ds).catch(n=>console.error(n)); diff --git a/docs/citations/browser/ngsw.json b/docs/citations/browser/ngsw.json index 3121d63..023051e 100644 --- a/docs/citations/browser/ngsw.json +++ b/docs/citations/browser/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1703018783844, + "timestamp": 1703514350937, "index": "/index.html", "assetGroups": [ { @@ -11,21 +11,21 @@ "ignoreVary": true }, "urls": [ - "/chunk-2PGUG3V3.js", - "/chunk-BYGGLSSH.js", - "/chunk-D2LGKUJJ.js", - "/chunk-D736JXLS.js", - "/chunk-EG6KUQWY.js", - "/chunk-IBSWMS7N.js", - "/chunk-JLNRUKIL.js", - "/chunk-KYXWFYWT.js", - "/chunk-M5ZGNTB4.js", - "/chunk-QSNRUJH3.js", - "/chunk-SRZDJSAF.js", - "/chunk-VFH3BR32.js", - "/chunk-ZF25AG57.js", + "/chunk-2AQYUIV4.js", + "/chunk-6XHDLL73.js", + "/chunk-7ZVU332C.js", + "/chunk-A2D6WYRG.js", + "/chunk-ACJNTKPU.js", + "/chunk-APJBKNQ6.js", + "/chunk-C2V7MVMA.js", + "/chunk-DRO5L2YF.js", + "/chunk-HDA2YQ5N.js", + "/chunk-NFYEC45H.js", + "/chunk-NOXTTEZS.js", + "/chunk-SBV6RI7O.js", + "/chunk-WGOH2KAO.js", "/favicon.ico", - "/main-JRQUF7EH.js", + "/main-RWDZTU7D.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-2PGUG3V3.js": "51f44baf5b27b878d91edcf1eb2ccfa704b636c2", - "/chunk-BYGGLSSH.js": "bf775a4e296eccd1cc5d64b2fc4b439b37da7bcc", - "/chunk-D2LGKUJJ.js": "e082b0a70fbb1c379035dfa5f52c9f172a34c607", - "/chunk-D736JXLS.js": "1c6b79d208b016504da3045b5ec3c7a25202f7ef", - "/chunk-EG6KUQWY.js": "5e261406f961afded9f022d41c525494e69f0bbe", - "/chunk-IBSWMS7N.js": "27797b6a1e832f2738bbd01e7bf58a077e10b1ed", - "/chunk-JLNRUKIL.js": "d3c1b78bd174787556570cb42c873e07bac13104", - "/chunk-KYXWFYWT.js": "0c94f08760b812a0aef5bed415cac62695b98ad3", - "/chunk-M5ZGNTB4.js": "07fc0baa1361067f39aa0c6dd85dc7cffaba8f0c", - "/chunk-QSNRUJH3.js": "fdd4b9d8a067e4d824861f3a0e9c2784e1afc76e", - "/chunk-SRZDJSAF.js": "6473bb8981202ae4148cc2311110e20024551a21", - "/chunk-VFH3BR32.js": "97d32fec9fa19e4bd91d672f9228b51cf29ed756", - "/chunk-ZF25AG57.js": "0a75028d3779e02c4fb2267d6fa013cd32468963", + "/chunk-2AQYUIV4.js": "7c14bd88e8a9d989e3d58448b7ac08fa91185ace", + "/chunk-6XHDLL73.js": "17e7365e34f97adaf1added78b54ae5ffac0539c", + "/chunk-7ZVU332C.js": "509bd7c2229796790be1333f66886cef71840940", + "/chunk-A2D6WYRG.js": "ba39f998d4443b7f4cb4a69926214dd5670d7e15", + "/chunk-ACJNTKPU.js": "444636b56b804dba0709498fb38dc394c67f3467", + "/chunk-APJBKNQ6.js": "26c4e04d1f52591d4aab7aafb89f19a58a49e72e", + "/chunk-C2V7MVMA.js": "cb93d9ca4e87941b28b435f429d7ecd07f979cfd", + "/chunk-DRO5L2YF.js": "a8eb42b45e334d600faeff92568e470c47e04249", + "/chunk-HDA2YQ5N.js": "8b97dab52f46cda30b4cadab484ac9e87120c934", + "/chunk-NFYEC45H.js": "2cb3ba2228425fce1a3ff39aa8a3549afb77b808", + "/chunk-NOXTTEZS.js": "b05413b1fbdabc8ee71e2caa7559b5f2e58db19b", + "/chunk-SBV6RI7O.js": "f1d7c7364d925be564addbabd9cb6183e1ad4d2f", + "/chunk-WGOH2KAO.js": "ef0bd273ed6609a3dc32c0e94799153315c4c507", "/favicon.ico": "800c8aabaf313c4b2a4b109094ba502b51d2b366", - "/main-JRQUF7EH.js": "ffc2f7db05abab06180969d8094299045eaac8f9", + "/main-RWDZTU7D.js": "e01c4725bc9e9a51d81d0bc722f6e7c959d8853a", "/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 2a043b5..e9d6cf4 100644 --- a/docs/citations/browser/random/index.html +++ b/docs/citations/browser/random/index.html @@ -26,10 +26,10 @@ + -

L'art vise à imprimer en nous des sentiments plutôt qu'à les exprimer.

Henri Bergson

+

Fais de ta vie un rêve, et d'un rêve une réalité.

Antoinde de Saint-Exupéry

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

570 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
+

570 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 + \ No newline at end of file diff --git a/docs/citations/server/chunk-2XWCB3X2.mjs b/docs/citations/server/chunk-2XWCB3X2.mjs deleted file mode 100644 index 806cabd..0000000 --- a/docs/citations/server/chunk-2XWCB3X2.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as F}from"./chunk-JKLVL2PE.mjs";import{$ as v,Aa as O,Ja as p,Kb as k,La as I,Ma as M,Na as w,Oa as L,Pa as y,Qa as a,Ra as g,Ta as x,Va as u,Wa as o,Ya as d,Za as _,ba as b,ca as l,cb as T,da as c,eb as m,f,x as h,za as r}from"./chunk-K24IRBBC.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-5QOYJTZA.mjs b/docs/citations/server/chunk-3YTLE7MV.mjs similarity index 82% rename from docs/citations/server/chunk-5QOYJTZA.mjs rename to docs/citations/server/chunk-3YTLE7MV.mjs index 9aab6a0..16145f7 100644 --- a/docs/citations/server/chunk-5QOYJTZA.mjs +++ b/docs/citations/server/chunk-3YTLE7MV.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{B as s,V as i,f as r}from"./chunk-K24IRBBC.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{C as s,W as i,g as r}from"./chunk-SMRITTJZ.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-JKLVL2PE.mjs b/docs/citations/server/chunk-5IU5EODB.mjs similarity index 98% rename from docs/citations/server/chunk-JKLVL2PE.mjs rename to docs/citations/server/chunk-5IU5EODB.mjs index d00cecb..5c3dcd9 100644 --- a/docs/citations/server/chunk-JKLVL2PE.mjs +++ b/docs/citations/server/chunk-5IU5EODB.mjs @@ -1,2 +1,2 @@ import './polyfills.server.mjs'; -import{V as u,f as d,n as m,x as o}from"./chunk-K24IRBBC.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}; +import{W as u,g as d,o as m,y as o}from"./chunk-SMRITTJZ.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-63MDULU4.mjs b/docs/citations/server/chunk-63MDULU4.mjs new file mode 100644 index 0000000..0e94c20 --- /dev/null +++ b/docs/citations/server/chunk-63MDULU4.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as N}from"./chunk-UDU2NQDI.mjs";import{a as y,c as z,d as U}from"./chunk-ENJZYGN6.mjs";import{b as G}from"./chunk-5IU5EODB.mjs";import{a as B,b as W}from"./chunk-DOGPKTTQ.mjs";import{e as j}from"./chunk-O7A4EXKR.mjs";import{Ba as f,Ea as p,Fa as _,Ma as E,N as I,Qa as c,R as $,S as D,Sa as d,Sb as P,Ta as k,Tb as v,U as g,Va as w,Wa as F,Xa as m,Ya as l,Za as b,aa as h,ab as R,bb as u,db as r,ec as M,f as q,fb as C,gb as S,h as L,kb as x,lb as A,o as T}from"./chunk-SMRITTJZ.mjs";import"./chunk-KRLCULJA.mjs";function O(t,e){if(t&1&&r(0),t&2){let i=u(2);C('Aucune citation trouv\xE9e pour la recherche "',i.q,'"\xA0')}}function Q(t,e){if(t&1&&r(0),t&2){let i=u(2);S("",i.citesCount,' citation trouv\xE9e pour la recherche "',i.q,'":\xA0')}}function V(t,e){if(t&1&&r(0),t&2){let i=u(2);S("",i.citesCount,' citations trouv\xE9es pour la recherche "',i.q,'":\xA0')}}function X(t,e){if(t&1&&(m(0,"h2",1),d(1,O,1,1,"ng-template",2)(2,Q,1,2,"ng-template",3)(3,V,1,2,"ng-template",4),l()),t&2){let i=u();c("ngPlural",i.citesCount)}}var H=(()=>{let e=class e{constructor(){this.citesCount=0}};e.\u0275fac=function(s){return new(s||e)},e.\u0275cmp=h({type:e,selectors:[["app-search-result-title"]],inputs:{citesCount:"citesCount",q:"q"},standalone:!0,features:[x],decls:1,vars:1,consts:[["class","text-md text-gray-600",3,"ngPlural"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"]],template:function(s,o){s&1&&d(0,X,4,1,"h2",0),s&2&&k(0,o.q?0:-1)},dependencies:[P,v],encapsulation:2});let t=e;return t})();var Y=(t,e)=>e.getId();function Z(t,e){t&1&&r(0,"0 Citation.")}function tt(t,e){t&1&&r(0,"1 Citation.")}function et(t,e){if(t&1&&r(0),t&2){let i=u();C("",i.citesCount()," Citations.")}}function it(t,e){if(t&1&&(m(0,"li",12)(1,"cite"),r(2),l(),r(3," de "),b(4,"app-link-cites-by-author",13),l()),t&2){let i=e.$implicit;p(2),C("\u201D",i.getCite(),"\u201D"),p(2),c("author",i.getAuthor())}}var nt=t=>({itemPerPage:t}),vt=(()=>{let e=class e extends z{set q(n){n||(n=""),this.q$.next(n.trim())}constructor(n,s,o){super(),this.citeService=n,this.title=s,this.device=o,this.q$=new L(1),this.cites=f([]),this.cites$=this.q$.pipe($(""),D(a=>a?this.citeService.search(a):this.citeService.cites$),g(a=>this.cites.set(a)),y()),this.citesCount=f(0),this.citesCount$=this.cites$.pipe(T(a=>a.length),$(0),g(a=>this.citesCount.set(a)),y()),this.pagerPaginatedCites$=new q,this.displayedPaginatedCites=f([]),this.displayedPaginatedCites$=this.cites$.pipe(I(this.pagerPaginatedCites$),T(a=>a.slice(0,this.itemsPerPage)),g(a=>this.displayedPaginatedCites.set(a)),y()),this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,o.isMobile()&&(this.itemsPerPage=4),this.cites$.subscribe(),this.citesCount$.subscribe(),this.displayedPaginatedCites$.subscribe()}setPaginatedList(n){n[0]&&(n[0]instanceof B||!n[0])&&this.pagerPaginatedCites$.next(n)}};e.\u0275fac=function(s){return new(s||e)(_(W),_(M),_(G))},e.\u0275cmp=h({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[E,x],decls:14,vars:8,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams","ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[3,"q","citesCount"],[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,"author"],["class","p-1"]],template:function(s,o){s&1&&(m(0,"div",0)(1,"h1",1)(2,"a",2),d(3,Z,1,0,"ng-template",3)(4,tt,1,0,"ng-template",4)(5,et,1,1,"ng-template",5),l()(),b(6,"app-search-result-title",6),m(7,"ul",7),w(8,it,5,2,"li",14,Y),l()(),m(10,"div",8)(11,"div",9)(12,"section",10)(13,"app-pager",11),R("paginatedList$",function(J){return o.setPaginatedList(J)}),l()()()()),s&2&&(p(2),c("queryParams",null)("ngPlural",o.citesCount()),p(4),c("q",o.q)("citesCount",o.citesCount()),p(2),F(o.displayedPaginatedCites()),p(5),c("list",o.cites())("options",A(6,nt,o.getItemsPerPage())))},dependencies:[j,P,v,N,H,U],encapsulation:2});let t=e;return t})();export{vt as ListCitesComponent}; diff --git a/docs/citations/server/chunk-774APDQT.mjs b/docs/citations/server/chunk-774APDQT.mjs deleted file mode 100644 index 01aa985..0000000 --- a/docs/citations/server/chunk-774APDQT.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as I}from"./chunk-FEYOAGXQ.mjs";import{D as l,G as g,J as y,P as k,R as v,V as x,Z as F,f as d,i as L,n,p as N,r as j,z as f}from"./chunk-K24IRBBC.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-BATPUMTE.mjs b/docs/citations/server/chunk-BATPUMTE.mjs deleted file mode 100644 index 2483ac3..0000000 --- a/docs/citations/server/chunk-BATPUMTE.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{$ as cn,A as at,Aa as O,Ab as Ut,Ba as xt,Bb as Un,C as ie,Ca as Z,D as G,Da as ut,E as en,Ea as gn,Fb as Pn,Ga as vn,H as Mt,Ha as mn,Hb as he,I as L,Jb as Pt,K as se,Ka as yn,L as nn,O as rn,Q as sn,R as E,S as on,Sa as Cn,T as w,U as R,Ua as wn,V as S,Va as Rn,W as an,X as oe,Y as x,Z as un,Zb as $n,_ as p,a as Ke,aa as Dt,ab as Sn,b as Ye,ba as Et,bb as bn,c as te,cb as In,d as ee,e as j,f as T,ga as ae,h as _,ha as ln,i as A,ib as Tn,j as d,ja as hn,k as ot,ka as Ot,kb as An,l as Xe,la as dn,lb as Mn,m as Je,ma as fn,n as y,nb as Dn,o as At,ob as En,p as M,pb as le,q as ne,s as tn,sa as pn,t as re,tb as On,va as ue,vb as xn,x as H,xa as ce,y as Q}from"./chunk-K24IRBBC.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-BYPIT5RB.mjs b/docs/citations/server/chunk-BYPIT5RB.mjs deleted file mode 100644 index 602e92f..0000000 --- a/docs/citations/server/chunk-BYPIT5RB.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{e as m}from"./chunk-BATPUMTE.mjs";import{$ as o,Ia as r,Qa as s,Ra as u,Xa as p,Ya as l,_a as d,cb as c,za as a}from"./chunk-K24IRBBC.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-CAD7DCX2.mjs b/docs/citations/server/chunk-CAD7DCX2.mjs deleted file mode 100644 index e71f14b..0000000 --- a/docs/citations/server/chunk-CAD7DCX2.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{$ as o,Aa as a,Ya as r,Zb as c,cb as s}from"./chunk-K24IRBBC.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-DOGPKTTQ.mjs b/docs/citations/server/chunk-DOGPKTTQ.mjs new file mode 100644 index 0000000..c6fa2da --- /dev/null +++ b/docs/citations/server/chunk-DOGPKTTQ.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as j}from"./chunk-O7A4EXKR.mjs";import{A as c,E as m,H as p,S as v,U as g,W as L,_ as y,g as f,i as q,j as l,k as d,o as u,y as h}from"./chunk-SMRITTJZ.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:[]},{cite:"La vie est comme un arc-en-ciel : il faut la pluie et le soleil pour en voir les couleurs.",author:"Arunachala Ramaiya",tags:["bonheur"]}],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 R=(()=>{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()||!a?q:d(this.cites.getValue()).pipe(v(t=>l(t)),h(t=>t&&t.getAuthor().toLowerCase().includes(a.toLowerCase())),c())}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,R as b}; diff --git a/docs/citations/server/chunk-ENJZYGN6.mjs b/docs/citations/server/chunk-ENJZYGN6.mjs new file mode 100644 index 0000000..9fd1b28 --- /dev/null +++ b/docs/citations/server/chunk-ENJZYGN6.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as P}from"./chunk-5IU5EODB.mjs";import{$ as f,Ca as v,Ea as a,Fa as T,Ha as w,Ia as j,Qa as p,Rb as B,Sa as V,T as M,Ta as E,Ua as N,Va as $,Wa as q,Xa as s,Ya as c,_a as y,aa as L,ab as d,bb as o,c as O,ca as D,da as g,db as m,ea as u,eb as _,g as I,h as S,hb as R,kb as U,lb as C,na as h,oa as F,y as k}from"./chunk-SMRITTJZ.mjs";function A(t){t||(h(A),t=f(w));let r=new O(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(M(r))}function G(t,r){!r?.injector&&h(G);let e=r?.injector??f(F),n=new S(1),i=j(()=>{let l;try{l=t()}catch(b){v(()=>n.error(b));return}v(()=>n.next(l))},{injector:e,manualCleanup:!0});return e.get(w).onDestroy(()=>{i.destroy(),n.complete()}),n.asObservable()}var z=class{constructor(){this.itemsPerPage=10}getCurrentPage(){return this.currentPage}setCurrentPage(r){this.currentPage=r}getItemsPerPage(){return this.itemsPerPage}};var H=t=>({current:t});function J(t,r){if(t&1){let e=y();s(0,"li",2)(1,"a",3),d("click",function(){let l=g(e).$implicit,b=o(2);return u(b.pager.goToPage(l.index))}),s(2,"span"),m(3),c()()()}if(t&2){let e=r.$implicit,n=o(2);a(1),p("ngClass",C(2,H,n.isCurrentPage(e.index))),a(2),_(e.label)}}var x=t=>({disabled:t});function K(t,r){if(t&1){let e=y();s(0,"ul",1)(1,"li",2)(2,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToFirstPage())}),s(3,"span"),m(4),c()()(),s(5,"li",2)(6,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToPreviousPage())}),s(7,"span"),m(8),c()()(),$(9,J,4,4,"li",4,N),s(11,"li",2)(12,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToNextPage())}),s(13,"span"),m(14),c()()(),s(15,"li",2)(16,"a",3),d("click",function(){g(e);let i=o();return u(i.pager.goToLastPage())}),s(17,"span"),m(18),c()()()()}if(t&2){let e=o();a(2),p("ngClass",C(8,x,e.previousIsDisabled())),a(2),_(e.pager.getPagerItemList().getFirstEdges()[0].label),a(2),p("ngClass",C(10,x,e.previousIsDisabled())),a(2),_(e.pager.getPagerItemList().getFirstEdges()[1].label),a(1),q(e.pager.getPagerItemList().getNumbers()),a(3),p("ngClass",C(12,x,e.nextIsDisabled())),a(2),_(e.pager.getPagerItemList().getLastEdges()[0].label),a(2),p("ngClass",C(14,x,e.nextIsDisabled())),a(2),_(e.pager.getPagerItemList().getLastEdges()[1].label)}}var le=(()=>{let r=class r{constructor(n){this.pager=n,this.list=0,this.paginatedList=new I(this.pager.getPaginatedList()),this.paginatedList$=this.paginatedList.asObservable().pipe(k(i=>!!i))}ngOnChanges(n){let i=n.list;i&&(this.subscription&&this.subscription.unsubscribe(),this.pager.init(i.currentValue,this.options),this.subscription=this.pager.currentOffset$.pipe().subscribe(()=>{this.paginatedList.next(this.pager.getPaginatedList())}))}ngOnDestroy(){this.subscription.unsubscribe()}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}};r.\u0275fac=function(i){return new(i||r)(T(P))},r.\u0275cmp=L({type:r,selectors:[["app-pager"]],inputs:{list:"list",options:"options"},outputs:{paginatedList$:"paginatedList$"},standalone:!0,features:[R([P]),D,U],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(i,l){i&1&&(s(0,"nav"),V(1,K,19,16,"ul",0),c()),i&2&&(a(1),E(1,l.hasList()?1:-1))},dependencies:[B],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 t=r;return t})();export{A as a,G as b,z as c,le as d}; diff --git a/docs/citations/server/chunk-FEYOAGXQ.mjs b/docs/citations/server/chunk-FEYOAGXQ.mjs deleted file mode 100644 index 4f24a10..0000000 --- a/docs/citations/server/chunk-FEYOAGXQ.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as j}from"./chunk-BATPUMTE.mjs";import{D as m,G as p,R as v,T as g,V as L,Z as y,f,h as q,i as l,j as d,n as u,x as h,z as c}from"./chunk-K24IRBBC.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:[]},{cite:"La vie est comme un arc-en-ciel : il faut la pluie et le soleil pour en voir les couleurs.",author:"Arunachala Ramaiya",tags:["bonheur"]}],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 R=(()=>{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()||!a?q:d(this.cites.getValue()).pipe(v(t=>l(t)),h(t=>t&&t.getAuthor().toLowerCase().includes(a.toLowerCase())),c())}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{R as a}; diff --git a/docs/citations/server/chunk-GLFCWGW7.mjs b/docs/citations/server/chunk-GLFCWGW7.mjs new file mode 100644 index 0000000..80006ed --- /dev/null +++ b/docs/citations/server/chunk-GLFCWGW7.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as b}from"./chunk-3YTLE7MV.mjs";import{a as k}from"./chunk-UDU2NQDI.mjs";import{b as S}from"./chunk-DOGPKTTQ.mjs";import"./chunk-O7A4EXKR.mjs";import{$ as o,Ea as n,Qa as s,S as l,Sa as c,Ta as d,Ub as v,Xa as a,Ya as r,Za as f,aa as p,db as h,ec as y,fb as u,kb as x,nb as C,ob as g}from"./chunk-SMRITTJZ.mjs";import"./chunk-KRLCULJA.mjs";function A(e,t){e&1&&(a(0,"h1",0),h(1),r(),a(2,"p",1),f(3,"app-link-cites-by-author",2),r()),e&2&&(n(1),u(" ",t.getCite()," "),n(2),s("author",t.getAuthor()))}var L=(()=>{let t=class t{constructor(){this.citesService=o(S),this.click=o(b),this.title=o(y),this.cite$=this.click.refresh$.pipe(l(()=>this.citesService.getRandomCite())),this.title.setTitle("Citations - Citation al\xE9atoire")}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=p({type:t,selectors:[["app-random"]],standalone:!0,features:[x],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(i,w){if(i&1&&(c(0,A,4,2),C(1,"async")),i&2){let m;d(0,(m=g(1,1,w.cite$))?0:-1,m)}},dependencies:[v,k],encapsulation:2});let e=t;return e})();export{L as RandomComponent}; diff --git a/docs/citations/server/chunk-HGOSHWRO.mjs b/docs/citations/server/chunk-HGOSHWRO.mjs new file mode 100644 index 0000000..fc2d405 --- /dev/null +++ b/docs/citations/server/chunk-HGOSHWRO.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as S}from"./chunk-UDU2NQDI.mjs";import{b as l}from"./chunk-DOGPKTTQ.mjs";import"./chunk-O7A4EXKR.mjs";import{Ea as d,Fa as o,Qa as s,Sa as C,Ta as v,Ub as b,Xa as f,Ya as u,Za as c,aa as a,db as x,ec as m,fb as y,kb as p,nb as g,ob as T}from"./chunk-SMRITTJZ.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-K24IRBBC.mjs b/docs/citations/server/chunk-K24IRBBC.mjs deleted file mode 100644 index c7bb051..0000000 --- a/docs/citations/server/chunk-K24IRBBC.mjs +++ /dev/null @@ -1,35 +0,0 @@ -import './polyfills.server.mjs'; -import{a as X,b as Ue,d as Sa}from"./chunk-KRLCULJA.mjs";function m(t){return typeof t=="function"}function ht(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=ht(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 ze(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(m(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{_a(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)_a(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)&&ze(n,e)}remove(e){let{_finalizers:n}=this;n&&ze(n,e),e instanceof t&&e._removeParent(this)}};$.EMPTY=(()=>{let t=new $;return t.closed=!0,t})();var So=$.EMPTY;function On(t){return t instanceof $||t&&"closed"in t&&m(t.remove)&&m(t.add)&&m(t.unsubscribe)}function _a(t){m(t)?t():t.unsubscribe()}var fe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var gt={setTimeout(t,e,...n){let{delegate:r}=gt;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=gt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Rn(t){gt.setTimeout(()=>{let{onUnhandledError:e}=fe;if(e)e(t);else throw t})}function ee(){}var Aa=(()=>_o("C",void 0,void 0))();function Na(t){return _o("E",void 0,t)}function Oa(t){return _o("N",t,void 0)}function _o(t,e,n){return{kind:t,value:e,error:n}}var Ge=null;function mt(t){if(fe.useDeprecatedSynchronousErrorHandling){let e=!Ge;if(e&&(Ge={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Ge;if(Ge=null,n)throw r}}else t()}function Ra(t){fe.useDeprecatedSynchronousErrorHandling&&Ge&&(Ge.errorThrown=!0,Ge.error=t)}var We=class extends ${constructor(e){super(),this.isStopped=!1,e?(this.destination=e,On(e)&&e.add(this)):this.destination=Wf}static create(e,n,r){return new Me(e,n,r)}next(e){this.isStopped?No(Oa(e),this):this._next(e)}error(e){this.isStopped?No(Na(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?No(Aa,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()}}},zf=Function.prototype.bind;function Ao(t,e){return zf.call(t,e)}var Oo=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)}}},Me=class extends We{constructor(e,n,r){super();let o;if(m(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&fe.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Ao(e.next,i),error:e.error&&Ao(e.error,i),complete:e.complete&&Ao(e.complete,i)}):o=e}this.destination=new Oo(o)}};function Fn(t){fe.useDeprecatedSynchronousErrorHandling?Ra(t):Rn(t)}function Gf(t){throw t}function No(t,e){let{onStoppedNotification:n}=fe;n&>.setTimeout(()=>n(t,e))}var Wf={closed:!0,next:ee,error:Gf,complete:ee};var yt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function W(t){return t}function qf(...t){return Ro(t)}function Ro(t){return t.length===0?W: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=Yf(n)?n:new Me(n,r,o);return mt(()=>{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=Fa(r),new r((o,i)=>{let s=new Me({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)}[yt](){return this}pipe(...n){return Ro(n)(this)}toPromise(n){return n=Fa(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 Fa(t){var e;return(e=t??fe.Promise)!==null&&e!==void 0?e:Promise}function Zf(t){return t&&m(t.next)&&m(t.error)&&m(t.complete)}function Yf(t){return t&&t instanceof We||Zf(t)&&On(t)}var Pa=ht(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=(()=>{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 Pa}next(n){mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){mt(()=>{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(){mt(()=>{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?So:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,ze(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 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:So}};var Ut={now(){return(Ut.delegate||Date).now()},delegate:void 0};var Fo=class extends G{constructor(e=1/0,n=1/0,r=Ut){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(e),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s{if(Po(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 zt(t,e,n,r,o)}var zt=class extends We{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 Te(t,e){return g((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:Qf}=Array;function ka(t){return t.length===1&&Qf(t[0])?t[0]:t}function ja(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 La(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 qe(t){return this instanceof qe?(this.v=t,this):new qe(t)}function Va(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 qe?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 Ba(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 La=="function"?La(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 vt=t=>t&&typeof t.length=="number"&&typeof t!="function";function kn(t){return m(t?.then)}function Ln(t){return m(t[yt])}function jn(t){return Symbol.asyncIterator&&m(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 Kf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Bn=Kf();function Hn(t){return m(t?.[Bn])}function $n(t){return Va(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield qe(n.read());if(o)return yield qe(void 0);yield yield qe(r)}}finally{n.releaseLock()}})}function Un(t){return m(t?.getReader)}function T(t){if(t instanceof I)return t;if(t!=null){if(Ln(t))return Jf(t);if(vt(t))return Xf(t);if(kn(t))return ep(t);if(jn(t))return Ha(t);if(Hn(t))return tp(t);if(Un(t))return np(t)}throw Vn(t)}function Jf(t){return new I(e=>{let n=t[yt]();if(m(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Xf(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 tp(t){return new I(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Ha(t){return new I(e=>{rp(t,e).catch(n=>e.error(n))})}function np(t){return Ha($n(t))}function rp(t,e){var n,r,o,i;return ja(this,void 0,void 0,function*(){try{for(n=Ba(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 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 $a(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;T(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 se(t,e,n=1/0){return m(e)?se((r,o)=>Te((i,s)=>e(r,i,o,s))(T(t(r,o))),n):(typeof e=="number"&&(n=e),g((r,o)=>$a(r,o,t,n)))}function Ze(t=1/0){return se(W,t)}function zn(t){return t&&m(t.schedule)}function ko(t){return t[t.length-1]}function Ua(t){return m(ko(t))?t.pop():void 0}function ae(t){return zn(ko(t))?t.pop():void 0}function Gn(t,e){return typeof ko(t)=="number"?t.pop():e}function Wn(t,e=0){return g((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 qn(t,e=0){return g((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function za(t,e){return T(t).pipe(qn(e),Wn(e))}function Ga(t,e){return T(t).pipe(qn(e),Wn(e))}function Wa(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 Y(n,e,()=>{r=t[Bn](),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)}),()=>m(r?.return)&&r.return()})}function Zn(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 Za(t,e){return Zn($n(t),e)}function Ya(t,e){if(t!=null){if(Ln(t))return za(t,e);if(vt(t))return Wa(t,e);if(kn(t))return Ga(t,e);if(jn(t))return Zn(t,e);if(Hn(t))return qa(t,e);if(Un(t))return Za(t,e)}throw Vn(t)}function te(t,e){return e?Ya(t,e):T(t)}function Qa(...t){let e=ae(t),n=Gn(t,1/0);return t=ka(t),g((r,o)=>{Ze(n)(te([r,...t],e)).subscribe(o)})}function op(...t){return Qa(...t)}function Lo(){return Ze(1)}function Dt(...t){return Lo()(te(t,ae(t)))}function Ka(...t){let e=ae(t);return g((n,r)=>{(e?Dt(t,n,e):Dt(t,n)).subscribe(r)})}function Gt(t,e){return g((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++;T(t(u,l)).subscribe(o=v(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function jo(){return g((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 Wt=class extends I{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Po(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 jo()(this)}};var qt=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)}};var Yn=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 Qn=class extends Yn{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,ze(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=Ut.now;var Kn=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 Kn(Qn),Ja=Yt;var Ye=new I(t=>t.complete());function Qt(...t){let e=ae(t);return te(t,e)}function ip(t,e){let n=m(t)?t:()=>t,r=o=>o.error(n());return new I(e?o=>e.schedule(r,0,o):r)}function sp(t){return!!t&&(t instanceof I||m(t.lift)&&m(t.subscribe))}var Qe=ht(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Xa(t){return t instanceof Date&&!isNaN(t)}var{isArray:ap}=Array;function up(t,e){return ap(e)?t(...e):t(e)}function Jn(t){return Te(e=>up(t,e))}var{isArray:cp}=Array,{getPrototypeOf:lp,prototype:dp,keys:fp}=Object;function eu(t){if(t.length===1){let e=t[0];if(cp(e))return{args:e,keys:null};if(pp(e)){let n=fp(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function pp(t){return t&&typeof t=="object"&&lp(t)===dp}function tu(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function hp(...t){let e=ae(t),n=Ua(t),{args:r,keys:o}=eu(t);if(r.length===0)return te([],e);let i=new I(gp(r,e,o?s=>tu(o,s):W));return n?i.pipe(Jn(n)):i}function gp(t,e,n=W){return r=>{nu(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=te(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?Y(n,t,e):e()}function mp(t){return new I(e=>{T(t()).subscribe(e)})}var yp=["addListener","removeListener"],vp=["addEventListener","removeEventListener"],Dp=["on","off"];function Vo(t,e,n,r){if(m(n)&&(r=n,n=void 0),r)return Vo(t,e,n).pipe(Jn(r));let[o,i]=Ip(t)?vp.map(s=>a=>t[s](e,a,n)):wp(t)?yp.map(ru(t,e)):Ep(t)?Dp.map(ru(t,e)):[];if(!o&&vt(t))return se(s=>Vo(s,e,n))(T(t));if(!o)throw new TypeError("Invalid event target");return new I(s=>{let a=(...u)=>s.next(1i(a)})}function ru(t,e){return n=>r=>t[n](e,r)}function wp(t){return m(t.addListener)&&m(t.removeListener)}function Ep(t){return m(t.on)&&m(t.off)}function Ip(t){return m(t.addEventListener)&&m(t.removeEventListener)}function ou(t=0,e,n=Ja){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 Bo(...t){let e=ae(t),n=Gn(t,1/0),r=t;return r.length?r.length===1?T(r[0]):Ze(n)(te(r,e)):Ye}var Cp=new I(ee);function Ke(t,e){return g((n,r)=>{let o=0;n.subscribe(v(r,i=>t.call(e,i,o++)&&r.next(i)))})}function iu(t){return g((e,n)=>{let r=null,o=!1,i;r=e.subscribe(v(n,void 0,void 0,s=>{i=T(t(s,iu(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 su(t,e){return g(Xn(t,e,arguments.length>=2,!1,!0))}var bp=(t,e)=>(t.push(e),t);function Mp(){return g((t,e)=>{su(bp,[])(t).subscribe(e)})}function au(t,e){return m(e)?se(t,e,1):se(t,1)}function uu(t){return new I(e=>t.subscribe(e))}var Tp={connector:()=>new G};function er(t,e=Tp){let{connector:n}=e;return g((r,o)=>{let i=n();T(t(uu(i))).subscribe(o),o.add(r.subscribe(i))})}function xp(t,e=Yt){return g((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 Kt(t){return g((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?()=>Ye:g((e,n)=>{let r=0;e.subscribe(v(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function cu(){return g((t,e)=>{t.subscribe(v(e,ee))})}function Ho(t){return Te(()=>t)}function $o(t,e){return e?n=>Dt(e.pipe(Je(1),cu()),n.pipe($o(t))):se((n,r)=>T(t(n,r)).pipe(Je(1),Ho(n)))}function Sp(t,e=Yt){let n=ou(t,e);return $o(()=>n)}function _p(t,e){return g((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&&T(e).subscribe(v(r,()=>o.clear(),ee))})}function Uo(t,e=W){return t=t??Ap,g((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 Ap(t,e){return t===e}function tr(t=Np){return g((e,n)=>{let r=!1;e.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Np(){return new Qe}function lu(t){return g((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function zo(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ke((o,i)=>t(o,i,r)):W,Je(1),n?Kt(e):tr(()=>new Qe))}function Op(t,e,n,r){return g((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 zt(i,h=>{try{let E=t(h),O=a.get(E);if(!O){a.set(E,O=r?r():new G);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(T(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 Go(t){return t<=0?()=>Ye:g((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 Rp(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ke((o,i)=>t(o,i,r)):W,Go(1),n?Kt(e):tr(()=>new Qe))}function du(t,e){let n=m(t)?t:()=>t;return m(e)?er(e,{connector:n}):r=>new Wt(r,n)}function Fp(t){return t?e=>er(t)(e):e=>du(new G)(e)}function Pp(t,e){return g(Xn(t,e,arguments.length>=2,!0))}function nr(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 E=s;p(),E?.unsubscribe()};return g((E,O)=>{c++,!d&&!l&&f();let A=u=u??e();O.add(()=>{c--,c===0&&!d&&!l&&(a=Wo(h,o))}),A.subscribe(O),!s&&c>0&&(s=new Me({next:j=>A.next(j),error:j=>{d=!0,f(),a=Wo(p,n,j),A.error(j)},complete:()=>{l=!0,f(),a=Wo(p,r),A.complete()}}),T(E).subscribe(s))})(i)}}function Wo(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new Me({next:()=>{r.unsubscribe(),t()}});return T(e(...n)).subscribe(r)}function kp(t){return g((e,n)=>{let r=!1,o=v(n,()=>{o?.unsubscribe(),r=!0},ee);T(t).subscribe(o),e.subscribe(v(n,i=>r&&n.next(i)))})}function fu(t){return g((e,n)=>{T(t).subscribe(v(n,()=>n.complete(),ee)),!n.closed&&e.subscribe(n)})}function rr(t,e,n){let r=m(t)||e||n?{next:t,error:e,complete:n}:t;return r?g((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)}))}):W}var pu=null;var qo=1;function B(t){let e=pu;return pu=t,e}var hu={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 Lp(t){if(!(Qo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===qo)){if(!t.producerMustRecompute(t)&&!Zo(t)){t.dirty=!1,t.lastCleanEpoch=qo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=qo}}function gu(t){return t&&(t.nextProducerIndex=0),B(t)}function mu(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 Zo(t){or(t);for(let e=0;e0}function or(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function jp(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Vp(){throw new Error}var Bp=Vp;function vu(t){Bp=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 ir(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 Du(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Hp=R({__forward_ref__:R});function ac(t){return t.__forward_ref__=ac,t.toString=function(){return K(this())},t}function ue(t){return uc(t)?t():t}function uc(t){return typeof t=="function"&&t.hasOwnProperty(Hp)&&t.__forward_ref__===ac}function cc(t){return t&&!!t.\u0275providers}var lc="https://g.co/ng/security#xss",w=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 $p=R({\u0275cmp:R}),Up=R({\u0275dir:R}),zp=R({\u0275pipe:R}),Gp=R({\u0275mod:R}),wr=R({\u0275fac:R}),Xt=R({__NG_ELEMENT_ID__:R}),wu=R({__NG_ENV_ID__:R});function tt(t){return typeof t=="string"?t:t==null?"":String(t)}function Wp(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 w(-200,`Circular dependency in DI detected for ${t}${n}`)}function gs(t,e){let n=e?` in ${e}`:"";throw new w(-201,!1)}function Zp(t,e){t==null&&Yp(e,t,null,"!=")}function Yp(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 Wr(t){return Eu(t,dc)||Eu(t,fc)}function Qx(t){return Wr(t)!==null}function Eu(t,e){return t.hasOwnProperty(e)?t[e]:null}function Qp(t){let e=t&&(t[dc]||t[fc]);return e||null}function Iu(t){return t&&(t.hasOwnProperty(Cu)||t.hasOwnProperty(Kp))?t[Cu]:null}var dc=R({\u0275prov:R}),Cu=R({\u0275inj:R}),fc=R({ngInjectableDef:R}),Kp=R({ngInjectorDef:R}),x=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}(x||{}),di;function pc(){return di}function Q(t){let e=di;return di=t,e}function hc(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&x.Optional)return null;if(e!==void 0)return e;gs(K(t),"Injector")}var ce=globalThis;var S=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 Jp={},nn=Jp,fi="__NG_DI_FLAG__",Er="ngTempTokenPath",Xp="ngTokenPath",eh=/\n/gm,th="\u0275",bu="__source",Mt;function nh(){return Mt}function Oe(t){let e=Mt;return Mt=t,e}function rh(t,e=x.Default){if(Mt===void 0)throw new w(-203,!1);return Mt===null?hc(t,void 0,e):Mt.get(t,e&x.Optional?null:void 0,e)}function C(t,e=x.Default){return(pc()||rh)(ue(t),e)}function N(t,e=x.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 pi(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(eh,` - `)}`}function Zr(t){return{toString:t}.toString()}var mc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(mc||{}),me=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(me||{}),xt={},Pe=[];function yc(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 hi(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&&yc(p,c,0)!==-1||r&2&&c!==f){if(pe(r))return!1;s=!0}}}}return pe(r)||s}function pe(t){return(t&1)===0}function dh(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!==""&&!pe(s)&&(e+=Tu(i,o),o=""),r=s,i=i||!pe(r);n++}return o!==""&&(e+=Tu(i,o)),e}function mh(t){return t.map(gh).join(",")}function yh(t){let e=[],n=[],r=1,o=2;for(;r{let e=Mc(t),n=Ue(X({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===mc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||me.Emulated,styles:t.styles||Pe,_:null,schemas:t.schemas||null,tView:null,id:""});Tc(n);let r=t.dependencies;return n.directiveDefs=Su(r,!1),n.pipeDefs=Su(r,!0),n.id=Eh(n),n})}function vh(t){return xe(t)||Ic(t)}function Dh(t){return t!==null}function xu(t,e){if(t==null)return xt;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=Mc(t);return Tc(e),e})}function Ec(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[$p]||null}function Ic(t){return t[Up]||null}function Cc(t){return t[zp]||null}function wh(t){let e=xe(t)||Ic(t)||Cc(t);return e!==null?e.standalone:!1}function bc(t,e){let n=t[Gp]||null;if(!n&&e===!0)throw new Error(`Type ${K(t)} does not have '\u0275mod' property.`);return n}function Mc(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||xt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Pe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xu(t.inputs,e),outputs:xu(t.outputs),debugInfo:null}}function Tc(t){t.features?.forEach(e=>e(t))}function Su(t,e){if(!t)return null;let n=e?Cc:vh;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(Dh)}function Eh(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,ge=4,ve=5,Se=6,on=7,U=8,St=9,_t=10,F=11,sn=12,_u=13,Lt=14,J=15,Dn=16,Et=17,Ee=18,Qr=19,xc=20,Re=21,Ko=22,nt=23,P=25,ms=1,an=6,_e=7,Ir=8,At=9,z=10,Nt=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Nt||{});function Ie(t){return Array.isArray(t)&&typeof t[ms]=="object"}function q(t){return Array.isArray(t)&&t[ms]===!0}function Sc(t){return(t.flags&4)!==0}function jt(t){return t.componentOffset>-1}function ys(t){return(t.flags&1)===1}function rt(t){return!!t.template}function vs(t){return(t[D]&512)!==0}function Ih(t){return(t.type&16)===16}function Ch(t){return(t[D]&32)===32}function ot(t,e){let n=t.hasOwnProperty(wr);return n?t[wr]:null}var gi=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function _c(){return Ac}function Ac(t){return t.type.prototype.ngOnChanges&&(t.setInput=Mh),bh}_c.ngInherit=!0;function bh(){let t=Oc(this),e=t?.current;if(e){let n=t.previous;if(n===xt)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Mh(t,e,n,r){let o=this.declaredInputs[n],i=Oc(t)||Th(t,{previous:xt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new gi(u&&u.currentValue,e,a===xt),t[r]=e}var Nc="__ngSimpleChanges__";function Oc(t){return t[Nc]||null}function Th(t,e){return t[Nc]=e}var Au=null;var De=function(t,e,n){Au?.(t,e,n)},Rc="svg",xh="math";function H(t){for(;Array.isArray(t);)t=t[V];return t}function Fc(t){for(;Array.isArray(t);){if(typeof t[ms]=="object")return t;t=t[V]}return null}function Sh(t,e){return H(e[t])}function ne(t,e){return H(e[t.index])}function Ds(t,e){return t.data[e]}function _h(t,e){return t[e]}function Ve(t,e){let n=e[t];return Ie(n)?n:n[V]}function Ah(t){return(t[D]&4)===4}function ws(t){return(t[D]&128)===128}function Nh(t){return q(t[L])}function Cr(t,e){return e==null?null:t[e]}function Pc(t){t[Et]=0}function Oh(t){t[D]&1024||(t[D]|=1024,ws(t)&&Kr(t))}function Rh(t,e){for(;t>0;)e=e[Lt],t--;return e}function kc(t){t[D]&9216&&Kr(t)}function Kr(t){let e=t[L];for(;e!==null&&!(q(e)&&e[D]&Nt.HasChildViewsToRefresh||Ie(e)&&e[D]&8192);){if(q(e))e[D]|=Nt.HasChildViewsToRefresh;else if(e[D]|=8192,!ws(e))break;e=e[L]}}function Lc(t,e){if((t[D]&256)===256)throw new w(911,!1);t[Re]===null&&(t[Re]=[]),t[Re].push(e)}function Fh(t,e){if(t[Re]===null)return;let n=t[Re].indexOf(e);n!==-1&&t[Re].splice(n,1)}var b={lFrame:zc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ph(){return b.lFrame.elementDepthCount}function kh(){b.lFrame.elementDepthCount++}function Lh(){b.lFrame.elementDepthCount--}function jc(){return b.bindingsEnabled}function wn(){return b.skipHydrationRootTNode!==null}function jh(t){return b.skipHydrationRootTNode===t}function Vh(t){b.skipHydrationRootTNode=t}function Bh(){b.skipHydrationRootTNode=null}function M(){return b.lFrame.lView}function re(){return b.lFrame.tView}function Jx(t){return b.lFrame.contextLView=t,t[U]}function Xx(t){return b.lFrame.contextLView=null,t}function oe(){let t=Vc();for(;t!==null&&t.type===64;)t=t.parent;return t}function Vc(){return b.lFrame.currentTNode}function Hh(){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 Bc(){return b.lFrame.isParent}function $h(){b.lFrame.isParent=!1}function Jr(){let t=b.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Uh(){return b.lFrame.bindingIndex}function zh(t){return b.lFrame.bindingIndex=t}function In(){return b.lFrame.bindingIndex++}function Gh(t){let e=b.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Wh(){return b.lFrame.inI18n}function qh(t,e){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=t,mi(e)}function Zh(){return b.lFrame.currentDirectiveIndex}function mi(t){b.lFrame.currentDirectiveIndex=t}function Hc(){return b.lFrame.currentQueryIndex}function Es(t){b.lFrame.currentQueryIndex=t}function Yh(t){let e=t[y];return e.type===2?e.declTNode:e.type===1?t[ve]:null}function $c(t,e,n){if(n&x.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Yh(i),o===null||(i=i[Lt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=b.lFrame=Uc();return r.currentTNode=e,r.lView=t,!0}function Is(t){let e=Uc(),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 Uc(){let t=b.lFrame,e=t===null?null:t.child;return e===null?zc(t):e}function zc(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 Gc(){let t=b.lFrame;return b.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Wc=Gc;function Cs(){let t=Gc();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 Qh(t){return(b.lFrame.contextLView=Rh(t,b.lFrame.contextLView))[U]}function Cn(){return b.lFrame.selectedIndex}function it(t){b.lFrame.selectedIndex=t}function Xr(){let t=b.lFrame;return Ds(t.tView,t.selectedIndex)}function eS(){b.lFrame.currentNamespace=Rc}function tS(){Kh()}function Kh(){b.lFrame.currentNamespace=null}function qc(){return b.lFrame.currentNamespace}var Zc=!0;function bs(){return Zc}function Be(t){Zc=t}function Jh(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Ac(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 Ms(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[Et]+=65536),(a>14>16&&(t[D]&3)===e&&(t[D]+=16384,Nu(a,i)):Nu(a,i)}var Tt=-1,un=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function eg(t){return t instanceof un}function tg(t){return t!=null&&typeof t=="object"&&(t.insertBeforeIndex===null||typeof t.insertBeforeIndex=="number"||Array.isArray(t.insertBeforeIndex))}function ng(t){return(t.flags&8)!==0}function rg(t){return(t.flags&16)!==0}function Qc(t){return t!==Tt}function br(t){let e=t&32767;return t&32767}function og(t){return t>>16}function Mr(t,e){let n=og(t),r=e;for(;n>0;)r=r[Lt],n--;return r}var yi=!0;function Tr(t){let e=yi;return yi=t,e}var ig=256,Kc=ig-1,Jc=5,sg=0,we={};function ag(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xt)&&(r=n[Xt]),r==null&&(r=n[Xt]=sg++);let o=r&Kc,i=1<>Jc)]|=i}function Xc(t,e){let n=el(t,e);if(n!==-1)return n;let r=e[y];r.firstCreatePass&&(t.injectorIndex=e.length,Xo(r.data,t),Xo(e,null),Xo(r.blueprint,null));let o=Ts(t,e),i=t.injectorIndex;if(Qc(o)){let s=br(o),a=Mr(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 Xo(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 Ts(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 Tt;if(n++,o=o[Lt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Tt}function ug(t,e,n){ag(t,e,n)}function cg(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&&rt(p)&&p.type===n)return u}return null}function Ot(t,e,n,r){let o=t[n],i=e.data;if(eg(o)){let s=o;s.resolving&&qp(Wp(i[n]));let a=Tr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Q(s.injectImpl):null,l=$c(t,r,x.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&Jh(n,i[n],e)}finally{c!==null&&Q(c),Tr(a),s.resolving=!1,Wc()}}return o}function dg(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Xt)?t[Xt]:void 0;return typeof e=="number"?e>=0?e&Kc:fg:e}function Ou(t,e,n){let r=1<>Jc)]&r)}function Ru(t,e){return!(t&x.Self)&&!(t&x.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 fg(){return new et(oe(),M())}function nS(t){return Zr(()=>{let e=t.prototype.constructor,n=e[wr]||vi(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[wr]||vi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function vi(t){return uc(t)?()=>{let e=vi(ue(t));return e&&e()}:ot(t)}function pg(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=ol(i,s,n,r|x.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[xc];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=il(s),s=s[Lt]}i=u}return o}function il(t){let e=t[y],n=e.type;return n===2?e.declTNode:n===1?t[ve]:null}function sl(t){return cg(oe(),t)}var sr="__parameters__";function hg(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=hg(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(sr)?u[sr]:Object.defineProperty(u,sr,{value:[]})[sr];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 gg(t){let e=ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function mg(t){return typeof t=="function"}function yg(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?xs(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 Dg(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(()=>Mg(i));e.push(u)}),Ig(),Promise.all(e).then(()=>{})}var Sr=new Map,Eg=new Set;function Ig(){let t=Sr;return Sr=new Map,t}function Cg(){return Sr.size===0}function bg(t){return typeof t=="string"?t:t.text()}function Mg(t){Eg.delete(t)}var bn=new S("ENVIRONMENT_INITIALIZER"),ll=new S("INJECTOR",-1),dl=new S("INJECTOR_DEF_TYPES"),_r=class{get(e,n=nn){if(n===nn){let r=new Error(`NullInjectorError: No provider for ${K(e)}!`);throw r.name="NullInjectorError",r}return n}};function Mn(t){return{\u0275providers:t}}function Tg(...t){return{\u0275providers:fl(!0,t),\u0275fromNgModule:!0}}function fl(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return xs(e,s=>{let a=s;Di(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 Di(t,e,n,r){if(t=ue(t),!t)return!1;let o=null,i=Iu(t),s=!i&&xe(t);if(!i&&!s){let u=t.ngModule;if(i=Iu(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)Di(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{xs(i.imports,l=>{Di(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&pl(c,e)}if(!a){let c=ot(o)||(()=>new o);e({provide:o,useFactory:c,deps:Pe},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;_s(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function _s(t,e){for(let n of t)cc(n)&&(n=n.\u0275providers),Array.isArray(n)?_s(n,e):e(n)}var xg=R({provide:String,useValue:R});function hl(t){return t!==null&&typeof t=="object"&&xg in t}function Sg(t){return!!(t&&t.useExisting)}function _g(t){return!!(t&&t.useFactory)}function wi(t){return typeof t=="function"}var eo=new S("Set Injector scope."),gr={},Ag={},ei;function As(){return ei===void 0&&(ei=new _r),ei}var ke=class{},cn=class extends ke{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(ll,It(void 0,this)),o.has("environment")&&this.records.set(ke,It(void 0,this));let i=this.records.get(eo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(dl,Pe,x.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=Oe(this),r=Q(void 0),o;try{return e()}finally{Oe(n),Q(r)}}get(e,n=nn,r=x.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(wu))return e[wu](this);r=qr(r);let o,i=Oe(this),s=Q(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=kg(e)&&Wr(e);c&&this.injectableDefInScope(c)?u=It(Ei(e),gr):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&x.Self?As():this.parent;return n=r&x.Optional&&n===nn?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Er]=a[Er]||[]).unshift(K(e)),i)throw a;return ih(a,e,"R3InjectorError",this.source)}else throw a}finally{Q(s),Oe(i)}}resolveInjectorInitializers(){let e=Oe(this),n=Q(void 0),r;try{let o=this.get(bn,Pe,x.Self);for(let i of o)i()}finally{Oe(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=ue(e);let n=wi(e)?e:ue(e&&e.provide),r=Og(e);if(!wi(e)&&e.multi===!0){let o=this.records.get(n);o||(o=It(void 0,gr,!0),o.factory=()=>pi(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===gr&&(n.value=Ag,n.value=n.factory()),typeof n.value=="object"&&n.value&&Pg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=ue(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 Ei(t){let e=Wr(t),n=e!==null?e.factory:ot(t);if(n!==null)return n;if(t instanceof S)throw new w(204,!1);if(t instanceof Function)return Ng(t);throw new w(204,!1)}function Ng(t){let e=t.length;if(e>0){let r=Dg(e,"?");throw new w(204,!1)}let n=Qp(t);return n!==null?()=>n.factory(t):()=>new t}function Og(t){if(hl(t))return It(void 0,t.useValue);{let e=Rg(t);return It(e,gr)}}function Rg(t,e,n){let r;if(wi(t)){let o=ue(t);return ot(o)||Ei(o)}else if(hl(t))r=()=>ue(t.useValue);else if(_g(t))r=()=>t.useFactory(...pi(t.deps||[]));else if(Sg(t))r=()=>C(ue(t.useExisting));else{let o=ue(t&&(t.useClass||t.provide));if(Fg(t))r=()=>new o(...pi(t.deps));else return ot(o)||Ei(o)}return r}function It(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Fg(t){return!!t.deps}function Pg(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function kg(t){return typeof t=="function"||typeof t=="object"&&t instanceof S}function Ii(t,e){for(let n of t)Array.isArray(n)?Ii(n,e):n&&cc(n)?Ii(n.\u0275providers,e):e(n)}function rS(t,e){t instanceof cn&&t.assertNotDestroyed();let n,r=Oe(t),o=Q(void 0);try{return e()}finally{Oe(r),Q(o)}}function Lg(t){if(!pc()&&!nh())throw new w(-203,!1)}function Fu(t,e=null,n=null,r){let o=gl(t,e,n,r);return o.resolveInjectorInitializers(),o}function gl(t,e=null,n=null,r,o=new Set){let i=[n||Pe,Tg(t)];return r=r||(typeof t=="object"?void 0:K(t)),new cn(i,e||As(),r||null,o)}var Ae=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return Fu({name:""},o,r,"");{let i=r.name??"";return Fu({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=nn,e.NULL=new _r,e.\u0275prov=_({token:e,providedIn:"any",factory:()=>C(ll)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Ci;function ml(t){Ci=t}function to(){if(Ci!==void 0)return Ci;if(typeof document<"u")return document;throw new w(210,!1)}var no=new S("AppId",{providedIn:"root",factory:()=>jg}),jg="ng",Ns=new S("Platform Initializer"),Ne=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var oS=new S("AnimationModuleType"),Os=new S("CSP nonce",{providedIn:"root",factory:()=>to().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Vg(t){return t.ownerDocument.body}function yl(t){return t instanceof Function?t():t}function Jt(t){return(t??N(Ae)).get(Ne)==="browser"}var ln="ngSkipHydration",Bg="ngskiphydration";function vl(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,Ug="\u200B$1\u200B";function zg(t){return t.replace(Hg,e=>e.replace($g,Ug))}var wl=new Map,Gg=0;function Wg(){return Gg++}function qg(t){wl.set(t[Qr],t)}function Zg(t){wl.delete(t[Qr])}var Pu="__ngContext__";function st(t,e){Ie(e)?(t[Pu]=e[Qr],qg(e)):t[Pu]=e}var Yg;function Rs(t,e){return Yg(t,e)}function Fs(t){let e=t[L];return q(e)?e[L]:e}function El(t){return Cl(t[sn])}function Il(t){return Cl(t[ge])}function Cl(t){for(;t!==null&&!q(t);)t=t[ge];return t}function Ct(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?Sl(e,n,a):Nr(e,n,a,o||null,!0):t===1&&n!==null?Nr(e,n,a,o||null,!0):t===2?Al(e,a,s):t===3&&e.destroyNode(a),i!=null&&fm(e,t,i,n,o)}}function bl(t,e){return t.createText(e)}function Qg(t,e,n){t.setValue(e,n)}function Ml(t,e){return t.createComment(zg(e))}function Ps(t,e,n){return t.createElement(e,n)}function Kg(t,e){let n=e[F];Tn(t,e,n,2,null,null),e[V]=null,e[ve]=null}function Jg(t,e,n,r,o,i){r[V]=o,r[ve]=e,Tn(t,r,n,1,o,i)}function Xg(t,e){Tn(t,e,e[F],2,null,null)}function em(t){let e=t[sn];if(!e)return ti(t[y],t);for(;e;){let n=null;if(Ie(e))n=e[sn];else{let r=e[z];r&&(n=r)}if(!n){for(;e&&!e[ge]&&e!==t;)Ie(e)&&ti(e[y],e),e=e[L];e===null&&(e=t),Ie(e)&&ti(e[y],e),n=e&&e[ge]}e=n}}function tm(t,e,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][ge]=e),r0&&(t[n-1][ge]=r[ge]);let i=xr(t,z+e);Kg(r[y],r);let s=i[Ee];s!==null&&s.detachView(i[y]),r[L]=null,r[ge]=null,r[D]&=-129}return r}function ro(t,e){if(!(e[D]&256)){let n=e[F];e[nt]&&yu(e[nt]),n.destroyNode&&Tn(t,e,n,3,null,null),em(e)}}function ti(t,e){if(!(e[D]&256)){e[D]&=-129,e[D]|=256,om(t,e),rm(t,e),e[y].type===1&&e[F].destroy();let n=e[Dn];if(n!==null&&q(e[L])){n!==e[L]&&Tl(n,e);let r=e[Ee];r!==null&&r.detachView(t)}Zg(e)}}function rm(t,e){let n=t.cleanup,r=e[on];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[on]=null);let o=e[Re];if(o!==null){e[Re]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===me.None||i===me.Emulated)return null}return ne(r,n)}}function Nr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Sl(t,e,n){t.appendChild(e,n)}function ku(t,e,n,r,o){r!==null?Nr(t,e,n,r,o):Sl(t,e,n)}function sm(t,e,n,r){t.removeChild(e,n,r)}function ks(t,e){return t.parentNode(e)}function am(t,e){return t.nextSibling(e)}function um(t,e,n){return lm(t,e,n)}function cm(t,e,n){return t.type&40?ne(t,n):null}var lm=cm,Lu;function Ls(t,e,n,r){let o=xl(t,r,e),i=e[F],s=r.parent||e[ve],a=um(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return ar}function ju(t){return hm()?.createScriptURL(t)||t}var Or=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lc})`}};function oo(t){return t instanceof Or?t.changingThisBreaksApplicationSecurity:t}function Vs(t,e){let n=gm(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${lc})`)}return n===e}function gm(t){return t instanceof Or&&t.getTypeName()||null}var mm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fl(t){return t=String(t),t.match(mm)?t:"unsafe:"+t}var io=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}(io||{});function ym(t){let e=Pl();return e?e.sanitize(io.URL,t)||"":Vs(t,"URL")?oo(t):Fl(tt(t))}function vm(t){let e=Pl();if(e)return ju(e.sanitize(io.RESOURCE_URL,t)||"");if(Vs(t,"ResourceURL"))return ju(oo(t));throw new w(904,!1)}function Dm(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?vm:ym}function iS(t,e,n){return Dm(e,n)(t)}function Pl(){let t=M();return t&&t[_t].sanitizer}function wm(){let t=new He;return N(Ne)==="browser"&&(t.store=Em(to(),N(no))),t}var He=(()=>{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 bm(t,e,n=!1){let r=t.getAttribute(tn);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(He,null,{optional:!0});c!==null&&(a=c.get($s,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,so(u,0,t.nextSibling)),s?t.setAttribute(tn,s):t.removeAttribute(tn),u}function Mm(){kl=bm}function Us(t,e,n=!1){return kl(t,e,n)}function Ll(t){let e=t._lView;return e[y].type===2?null:(vs(e)&&(e=e[P]),e)}function Tm(t){return t.textContent?.replace(/\s/gm,"")}function xm(t){let e=to(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Tm(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 so(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function _i(t,e){return t.segmentHeads?.[e]??null}function Sm(t,e){let n=t.data,r=n[Mi]?.[e]??null;return r===null&&n[pn]?.[e]&&(r=zs(t,e)),r}function jl(t,e){return t.data[pn]?.[e]??null}function zs(t,e){let n=jl(t,e)??[],r=0;for(let o of n)r+=o[Rt]*(o[Rr]??1);return r}function ao(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[yr];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var Ai=class{},Fr=class{};function _m(t){let e=Error(`No component factory found for ${K(t)}.`);return e[Am]=t,e}var Am="ngComponent";var Ni=class{resolveComponentFactory(e){throw _m(e)}},uo=(()=>{let e=class e{};e.NULL=new Ni;let t=e;return t})();function Nm(){return Vt(oe(),M())}function Vt(t,e){return new ct(ne(t,e))}var ct=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Nm;let t=e;return t})();function Om(t){return t instanceof ct?t.nativeElement:t}var hn=class{},Gs=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Rm();let t=e;return t})();function Rm(){let t=M(),e=oe(),n=Ve(e.index,t);return(Ie(n)?n:t)[F]}var Fm=(()=>{let e=class e{};e.\u0275prov=_({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(".")}},Pm=new gn("17.0.4"),ni={};function Ws(t){let e=B(null);try{return t()}finally{B(e)}}function Vl(t){return qs(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function km(t,e){if(Array.isArray(t))for(let n=0;ne,Ri=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||Lm}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 Fi(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}},Fi=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}},Pi=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 Pi,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 Vu(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 ji(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))}},ji=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 Bu(){return new Zs([new Oi])}var Zs=(()=>{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||Bu()),deps:[[e,new cl,new Ss]]}}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:Bu});let t=e;return t})();function Hu(){return new Ys([new ki])}var Ys=(()=>{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||Hu()),deps:[[e,new cl,new Ss]]}}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:Hu});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)&&Bl(i,r);let s=n.type;if(s&8)mn(t,e,n.child,r);else if(s&32){let a=Rs(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=_l(e,n);if(Array.isArray(a))r.push(...a);else{let u=Fs(e[J]);mn(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Bl(t,e){for(let n=z;n{Kr(t.lView)},consumerOnSignalRead(){this.lView[nt]=this}}),$m="ngOriginalError";function ri(t){return t[$m]}var ye=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&&ri(e);for(;n&&ri(n);)n=ri(n);return n||null}},ur=new S(""),$l=!1,Ul=new S("",{providedIn:"root",factory:()=>$l});var Ce={};function sS(t){zl(re(),M(),Cn()+t,!1)}function zl(t,e,n,r){if(!r)if((e[D]&3)===3){let i=t.preOrderCheckHooks;i!==null&&fr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&pr(e,i,0,n)}it(n)}function le(t,e=x.Default){let n=M();if(n===null)return C(t,e);let r=oe();return rl(r,n,ue(t),e)}function Um(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rP&&zl(t,e,P,!1),De(s?2:0,o),n(r,o)}finally{it(i),De(s?3:1,o)}}function ql(t,e,n){if(Sc(e)){let r=B(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Zm(t){Dl(t)?Nl(t):xm(t)}function Ym(){Kl=Zm}function Qm(t,e,n,r){let o=sd(e);o.push(n),t.firstCreatePass&&ad(t).push(r,o.length-1)}function Km(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 $u(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?Uu(n,e,o,i):r.hasOwnProperty(o)&&Uu(n,e,r[o],i)}return n}function Uu(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function Jm(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 ry(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;jt(n)&&ly(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||Xc(n,e),st(r,e);let s=n.initialInputs;for(let a=o;a-1&&(dn(e,r),xr(n,r))}this._attachedToViewContainer=!1}ro(this._lView[y],this._lView)}onDestroy(e){Lc(this._lView,e)}markForCheck(){Js(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){kc(this._lView),this._lView[D]|=128}detectChanges(){gy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Xg(this._lView[y],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e}},gd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=wy;let t=e;return t})();function wy(t){return Ey(oe(),M(),(t&16)===16)}function Ey(t,e,n){if(jt(t)&&!n){let r=Ve(t.index,e);return new at(r,r)}else if(t.type&47){let r=e[J];return new at(r,e)}return null}var md=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Iy,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Hi=class extends md{constructor(e){super(),this._lView=e}onDestroy(e){return Lc(this._lView,e),()=>Fh(this._lView,e)}};function Iy(){return new Hi(M())}var zu=new Set;function $e(t){zu.has(t)||(zu.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var $i=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=oi(i),o&&(o=oi(o)),s&&(s=oi(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof $&&e.add(a),a}};function oi(t){return e=>{setTimeout(t,void 0,e)}}var he=$i;function Gu(...t){}function Cy(){let t=typeof ce.requestAnimationFrame=="function",e=ce[t?"requestAnimationFrame":"setTimeout"],n=ce[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 he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!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=Cy().nativeRequestAnimationFrame,Ty(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,by,Gu,Gu);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)}},by={};function Xs(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 My(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ce,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ui(t),t.isCheckStableRunning=!0,Xs(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ui(t))}function Ty(t){let e=()=>{My(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(xy(a))return n.invokeTask(o,i,s,a);try{return Wu(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),qu(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Wu(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),qu(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ui(t),Xs(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 Ui(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Wu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function qu(t){t._nesting--,Xs(t)}var zi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}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)}},yd=new S("",{providedIn:"root",factory:vd});function vd(){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 Bo(n,r.pipe(nr()))}function xy(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var bt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(bt||{}),Sy={destroy(){}};function _y(t,e){!e&&Lg(_y);let n=e?.injector??N(Ae);if(!Jt(n))return Sy;$e("NgAfterNextRender");let r=n.get(Dd),o=r.handler??=new Wi,i=e?.phase??bt.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(md).onDestroy(s),u=new Gi(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var Gi=class{constructor(e,n,r){this.phase=n,this.callbackFn=r,this.zone=e.get(k),this.errorHandler=e.get(ye,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Wi=class{constructor(){this.executingCallbacks=!1,this.buckets={[bt.EarlyRead]:new Set,[bt.Write]:new Set,[bt.MixedReadWrite]:new Set,[bt.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()}},Dd=(()=>{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 Ay(t,e){let n=Ve(e,t),r=n[y];Ny(r,n);let o=n[V];o!==null&&n[Se]===null&&(n[Se]=Us(o,n[St])),ea(r,n,n[U])}function Ny(t,e){for(let n=e.length;n0&&Ol(t,n,i.join(" "))}}function Vy(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=rn(o.hostAttrs,n=rn(n,o.hostAttrs))}}function cr(t){return t===xt?{}:t===Pe?[]:t}function zy(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function Gy(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function Wy(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function qy(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 ta(t,e,n){return t[e]=n}function Zy(t,e){return t[e]}function Le(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function wd(t,e,n,r){let o=Le(t,e,n);return Le(t,e+1,r)||o}function Yy(t,e,n,r){let o=M(),i=In();if(Le(o,i,e)){let s=re(),a=Xr();nd(a,o,t,e,n,r)}return Yy}function na(t,e,n,r){return Le(t,In(),n)?e+tt(n)+r:Ce}function Qy(t,e,n,r,o,i){let s=Uh(),a=wd(t,s,n,o);return Gh(2),a?e+tt(n)+r+tt(o)+i:Ce}function Ky(t,e,n,r,o,i){let s=M(),a=na(s,e,n,r);if(a!==Ce){let u=Xr();nd(u,s,t,a,o,i)}return Ky}function Jy(t,e,n){let r=M(),o=In();if(Le(r,o,e)){let i=re(),s=Xr();Jl(i,s,r,t,e,r[F],n,!1)}return Jy}function Yu(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";Ks(t,n,i[s],s,r)}var Qi="<-- AT THIS LOCATION";function Xy(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 ev(t,e){let n=`During serialization, Angular was unable to find an element in the DOM: - -`,r=`${iv(t,e,!1)} - -`,o=av();throw new w(-502,n+r+o)}function tv(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=`${sv(t)} - -`,r=e+n+uv();return new w(-503,r)}function nv(t){let e=[];if(t.attrs)for(let n=0;n${e}`;case 8:return"";case 4:return"";default:return`#node(${Xy(t.type)})`}}function vr(t,e="\u2026"){let n=t;switch(n.nodeType){case Node.ELEMENT_NODE:let r=n.tagName.toLowerCase(),o=ov(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 iv(t,e,n){let r=" ",o="";e.prev?(o+=r+`\u2026 -`,o+=r+ii(e.prev)+` -`):e.type&&e.type&12&&(o+=r+`\u2026 -`),n?(o+=r+ii(e)+` -`,o+=r+` ${Qi} -`):o+=r+ii(e)+` ${Qi} -`,o+=r+`\u2026 -`;let i=e.type?xl(t[y],e,t):null;return i&&(o=vr(i,` -`+o)),o}function sv(t){let e=" ",n="",r=t;return r.previousSibling&&(n+=e+`\u2026 -`,n+=e+vr(r.previousSibling)+` -`),n+=e+vr(r)+` ${Qi} -`,t.nextSibling&&(n+=e+`\u2026 -`),t.parentNode&&(n=vr(r.parentNode,` -`+n)),n}function av(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 uv(){return`Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches. - -`}function cv(t){return t.replace(/\s+/gm,"")}function Lr(t,e=50){return t?(t=cv(t),t.length>e?`${t.substring(0,e-1)}\u2026`:t):""}function Ed(t){let e=t[an]??[],r=t[L][F];for(let o of e)lv(o,r);t[an]=Pe}function lv(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[Rt];for(;n0&&n[o-1]===r){let i=n[o]||1;n[o]=i+1}else n.push(r,"")}return n.join("")}function hv(t){let e=t.match(fv),[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 gv(t){return!t.prev&&t.parent?.type===8}function si(t){return t.index-P}function po(t,e,n,r){let o=null,i=si(r),s=t.data[Si];if(s?.[i])o=yv(s[i],n);else if(e.firstChild===r)o=t.firstChild;else{let a=r.prev===null,u=r.prev??r.parent;if(gv(r)){let c=si(r.parent);o=_i(t,c)}else{let c=ne(u,n);if(a)o=c.firstChild;else{let l=si(u),d=_i(t,l);if(u.type===2&&d){let p=zs(t,l)+1;o=ho(p,d)}else o=c.nextSibling}}}return o}function ho(t,e){let n=e;for(let r=0;r0&&(i.firstChild=t,t=ho(r[Rt],t)),n.push(i)}return[t,n]}var Cd=(t,e)=>null;function Ev(t,e){let n=t[an];return!e||n===null||n.length===0?null:n[0].data[xi]===e?n.shift():(Ed(t),null)}function Iv(){Cd=Ev}function yn(t,e){return Cd(t,e)}var Ji=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 ai(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function Cv(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=ai(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=ai(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 Vr,o??=Ju(t,i,s,n),Xi(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;)Ku(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=ai(i,c,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{r??=new Vr,o??=Ju(t,i,s,n);let f=n(i,l);if(Xi(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;)Ku(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 Xi(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Ku(t,e,n,r,o){if(Xi(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Ju(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 go(t,e,n,r){let o=e.tView,s=t[D]&4096?4096:16,a=co(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)),ea(o,a,n),a}function bd(t,e){let n=z+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=bv;let t=e;return t})();function bv(){let t=oe();return xd(t,M())}var Mv=xn,Td=class extends Mv{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Vt(this._hostTNode,this._hostLView)}get injector(){return new et(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ts(this._hostTNode,this._hostLView);if(Qc(e)){let n=Mr(e,this._hostLView),r=br(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=Xu(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&&!mg(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 Ft(xe(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let E=(s?c:this.parentInjector).get(ke,null);E&&(i=E)}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(Nh(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[L],c=new Td(u,u[ve],u[L]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return mo(s,o,i,r),e.attachToViewContainerRef(),ul(ui(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Xu(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=dn(this._lContainer,n);r&&(xr(ui(this._lContainer),n),ro(r[y],r))}detach(e){let n=this._adjustIndex(e,-1),r=dn(this._lContainer,n);return r&&xr(ui(this._lContainer),n)!=null?new at(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Xu(t){return t[Ir]}function ui(t){return t[Ir]||(t[Ir]=[])}function xd(t,e){let n,r=e[t.index];return q(r)?n=r:(n=od(r,e,null,t),e[t.index]=n,fo(e,n)),Sd(n,e,t,r),new Td(n,t,e)}function Tv(t,e){let n=t[F],r=n.createComment(""),o=ne(e,t),i=ks(n,o);return Nr(n,i,r,am(n,o),!1),r}var Sd=_d,ra=(t,e,n)=>!1;function xv(t,e,n){return ra(t,e,n)}function _d(t,e,n,r){if(t[_e])return;let o;n.type&8?o=H(r):o=Tv(e,n),t[_e]=o}function Sv(t,e,n){if(t[_e]&&t[an])return!0;let r=n[Se],o=e.index-P;if(!r||mr(e)||ao(r,o))return!1;let s=_i(r,o),a=r.data[pn]?.[o],[u,c]=wv(s,a);return t[_e]=u,t[an]=c,!0}function _v(t,e,n,r){ra(t,n,e)||_d(t,e,n,r)}function Av(){Sd=_v,ra=Sv}function Nv(t,e,n,r,o,i,s,a,u){let c=e.consts,l=lo(e,t,4,s||null,Cr(c,a));Xl(e,n,l,Cr(c,u)),Ms(e,l);let d=l.tView=Qs(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 es(t,e,n,r,o,i,s,a){let u=M(),c=re(),l=t+P,d=c.firstCreatePass?Nv(l,c,u,e,n,r,o,i,s):c.data[l];En(d,!1);let f=Ad(c,u,d,t);bs()&&Ls(c,u,f,d),st(f,u);let p=od(f,u,f,d);return u[l]=p,fo(u,p),xv(p,d,u),ys(d)&&Zl(c,u,d),s!=null&&Yl(u,d,a),es}var Ad=Nd;function Nd(t,e,n,r){return Be(!0),e[F].createComment("")}function Ov(t,e,n,r){let o=e[Se],i=!o||wn()||ao(o,r);if(Be(i),i)return Nd(t,e,n,r);let s=o.data[Ti]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=po(o,t,e,n);so(o,r,a);let u=zs(o,r);return ho(u,a)}function Rv(){Ad=Ov}function uS(t,e,n){$e("NgControlFlow");let r=M(),o=In(),i=os(r,P+t),s=0;if(Le(r,o,e)){let a=B(null);try{if(Md(i,s),e!==-1){let u=is(r[y],P+e),c=yn(i,u.tView.ssrId),l=go(r,u,n,{dehydratedView:c});mo(i,l,s,vn(u,c))}}finally{B(a)}}else{let a=bd(i,s);a!==void 0&&(a[U]=n)}}var ts=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function cS(t,e){return e}var ns=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function lS(t,e,n,r,o,i,s,a,u,c,l){$e("NgControlFlow");let d=u!==void 0,f=M(),p=a?s.bind(f[J][U]):s,h=new ns(d,p);f[P+t]=h,es(t+1,e,n,r,o,i),d&&es(t+2,u,c,l)}var rs=class extends Ji{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,mo(this.lContainer,n,e,vn(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Fv(this.lContainer,e)}create(e,n){let r=yn(this.lContainer,this.templateTNode.tView.ssrId);return go(this.hostLView,this.templateTNode,new ts(this.lContainer,n,e),{dehydratedView:r})}destroy(e){ro(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(Be(!0),Ps(r,o,qc()));function jv(t,e,n,r,o,i){let s=e[Se],a=!s||wn()||ao(s,i);if(Be(a),a)return Ps(r,o,qc());let u=po(s,t,e,n);return jl(s,i)&&so(s,i,u.nextSibling),s&&(vl(n)||Dl(u))&&jt(n)&&(Vh(n),Nl(u)),u}function Vv(){Fd=jv}var Bv=(t,e,n,r)=>(Be(!0),Ml(e[F],""));function Hv(t,e,n,r){let o,i=e[Se],s=!i||wn();if(Be(s),s)return Ml(e[F],"");let a=po(i,t,e,n),u=Sm(i,r);return so(i,r,a),o=ho(u,a),o}function $v(){Bv=Hv}function fS(){return M()}var Xe=void 0;function Uv(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var zv=["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",Uv],ci={};function Pd(t){let e=Gv(t),n=ec(e);if(n)return n;let r=e.split("-")[0];if(n=ec(r),n)return n;if(r==="en")return zv;throw new w(701,!1)}function kd(t){return Pd(t)[oa.PluralCase]}function ec(t){return t in ci||(ci[t]=ce.ng&&ce.ng.common&&ce.ng.common.locales&&ce.ng.common.locales[t]),ci[t]}var oa=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}(oa||{});function Gv(t){return t.toLowerCase().replace(/_/g,"-")}var Pt="en-US";var Wv=Pt;function Ld(t){Zp(t,"Expected localeId to be defined"),typeof t=="string"&&(Wv=t.toLowerCase().replace(/_/g,"-"))}function yo(t){return!!t&&typeof t.then=="function"}function ia(t){return!!t&&typeof t.subscribe=="function"}function qv(t,e,n,r){let o=M(),i=re(),s=oe();return Yv(i,o,o[F],s,t,e,r),qv}function Zv(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 Yv(t,e,n,r,o,i,s){let a=ys(r),c=t.firstCreatePass&&ad(t),l=e[U],d=sd(e),f=!0;if(r.type&3||s){let E=ne(r,e),O=s?s(E):E,A=d.length,j=s?be=>s(H(be[r.index])):r.index,Z=null;if(!s&&a&&(Z=Zv(t,e,o,r.index)),Z!==null){let be=Z.__ngLastListenerFn__||Z;be.__ngNextListenerFn__=i,Z.__ngLastListenerFn__=i,f=!1}else{i=nc(r,e,l,i,!1);let be=n.listen(O,o,i);d.push(i,be),c&&c.push(o,j,A,A+1)}}else i=nc(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?Ve(t.index,e):e;Js(a);let u=tc(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=tc(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function pS(t=1){return Qh(t)}function Qv(t,e,n,r,o){let i=M(),s=na(i,e,n,r);if(s!==Ce){let a=re(),u=Xr();Jl(a,u,i,t,s,i[F],o,!1)}return Qv}function Kv(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function hS(t,e=""){let n=M(),r=re(),o=t+P,i=r.firstCreatePass?lo(r,o,1,e,null):r.data[o],s=jd(r,n,i,e,t);n[o]=s,bs()&&Ls(r,n,s,i),En(i,!1)}var jd=(t,e,n,r,o)=>(Be(!0),bl(e[F],r));function Jv(t,e,n,r,o){let i=e[Se],s=!i||wn()||ao(i,o);return Be(s),s?bl(e[F],r):po(i,t,e,n)}function Xv(){jd=Jv}function eD(t){return Vd("",t,""),eD}function Vd(t,e,n){let r=M(),o=na(r,t,e,n);return o!==Ce&&cd(r,Cn(),o),Vd}function tD(t,e,n,r,o){let i=M(),s=Qy(i,t,e,n,r,o);return s!==Ce&&cd(i,Cn(),s),tD}var je=class{},ss=class{};var Br=class extends je{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new kr(this);let o=bc(e);this._bootstrapComponents=yl(o.bootstrap),this._r3Injector=gl(e,n,[{provide:je,useValue:this},{provide:uo,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)}},Hr=class extends ss{constructor(e){super(),this.moduleType=e}create(e){return new Br(this.moduleType,e,[])}};function nD(t,e,n){return new Br(t,e,n)}var $r=class extends je{constructor(e){super(),this.componentFactoryResolver=new kr(this),this.instance=null;let n=new cn([...e.providers,{provide:je,useValue:this},{provide:uo,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 rD(t,e,n=null){return new $r({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var oD=(()=>{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?rD([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(ke))});let t=e;return t})();function gS(t){$e("NgStandalone"),t.getStandaloneInjector=e=>e.get(oD).getOrCreateStandaloneInjector(t)}function mS(t,e,n){let r=Jr()+t,o=M();return o[r]===Ce?ta(o,r,n?e.call(n):e()):Zy(o,r)}function yS(t,e,n,r){return Hd(M(),Jr(),t,e,n,r)}function vS(t,e,n,r,o){return iD(M(),Jr(),t,e,n,r,o)}function Bd(t,e){let n=t[e];return n===Ce?void 0:n}function Hd(t,e,n,r,o,i){let s=e+n;return Le(t,s,o)?ta(t,s+1,i?r.call(i,o):r(o)):Bd(t,s+1)}function iD(t,e,n,r,o,i,s){let a=e+n;return wd(t,a,o,i)?ta(t,a+2,s?r.call(s,o,i):r(o,i)):Bd(t,a+2)}function DS(t,e){let n=re(),r,o=t+P;n.firstCreatePass?(r=sD(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=ot(r.type,!0)),s,a=Q(le);try{let u=Tr(!1),c=i();return Tr(u),Kv(n,M(),o,c),c}finally{Q(a)}}function sD(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function wS(t,e,n){let r=t+P,o=M(),i=_h(o,r);return aD(o,r)?Hd(o,Jr(),e,i.transform,n,i):i.transform(n)}function aD(t,e){return t[y].data[e].pure}function uD(){return this._results[Symbol.iterator]()}var as=class t{get changes(){return this._changes||(this._changes=new he)}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]=uD)}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=vg(e);(this._changesDetected=!yg(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()}},kt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=dD;let t=e;return t})(),cD=kt,lD=class extends cD{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=go(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new at(o)}};function dD(){return sa(oe(),M())}function sa(t,e){return t.type&4?new lD(e,t,Vt(t,e)):null}var us=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},cs=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(DD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(yo(s))r.push(s);else if(ia(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})(),Wd=(()=>{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 wD(){return typeof $localize<"u"&&$localize.locale||Pt}var Bt=new S("LocaleId",{providedIn:"root",factory:()=>N(Bt,x.Optional|x.SkipSelf)||wD()});var qd=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new qt(!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})(),ps=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},TS=(()=>{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=bc(r),s=yl(i.declarations).reduce((a,u)=>{let c=xe(u);return c&&a.push(new Ft(c)),a},[]);return new ps(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})(),ED=new S("compilerOptions");var Zd=new S(""),Yd=new S(""),ID=(()=>{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,ua||(CD(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(Qd),C(Yd))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Qd=(()=>{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 ua?.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 CD(t){ua=t}var ua,Fe=null,Kd=new S("AllowMultipleToken"),ca=new S("PlatformDestroyListeners"),vo=new S("appBootstrapListener");function bD(t,e,n){let r=new Hr(n);return Promise.resolve(r)}function Jd(){vu(()=>{throw new w(600,!1)})}function MD(t){return t.isBoundToModule}function TD(t){if(Fe&&!Fe.get(Kd,!1))throw new w(400,!1);Jd(),Fe=t;let e=t.get(of);return Xd(t),e}function xD(t=[]){if(Fe)return Fe;let e=nf(t);return Fe=e,Jd(),Xd(e),e}function Xd(t){t.get(Ns,null)?.forEach(n=>n())}function ef(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=xD(r),i=[OD(),...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(ye,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(ca);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),af(c,u,()=>{let p=a.get(aa);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Bt,Pt);Ld(h||Pt);let E=a.get(lt);return e!==void 0&&E.bootstrap(e),E})})})}catch(e){return Promise.reject(e)}}function tf(t,e,n=[]){let r=`Platform: ${e}`,o=new S(r);return(i=[])=>{let s=rf();if(!s||s.injector.get(Kd,!1)){let a=[...n,...i,{provide:o,useValue:!0}];t?t(a):TD(nf(a,r))}return SD(o)}}function SD(t){let e=rf();if(!e)throw new w(401,!1);return e}function nf(t=[],e){return Ae.create({name:e,providers:[{provide:eo,useValue:"platform"},{provide:ca,useValue:new Set([()=>Fe=null])},...t]})}function rf(){return Fe?.get(of)??null}var of=(()=>{let e=class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=_D(o?.ngZone,sf({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=nD(r.moduleType,this.injector,lf(()=>i)),a=s.injector.get(ye,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Dr(this._modules,s),u.unsubscribe()})}),af(a,i,()=>{let u=s.injector.get(aa);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(Bt,Pt);return Ld(c||Pt),this._moduleDoBootstrap(s),s})})})}bootstrapModule(r,o=[]){let i=uf({},o);return bD(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(lt);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(ca,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 sf(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function _D(t="zone.js",e){return t==="noop"?new zi:t==="zone.js"?new k(e):t}function af(t,e,n){try{let r=n();return yo(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}function uf(t,e){return Array.isArray(e)?e.reduce(uf,t):X(X({},t),e)}var lt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=N(cf),this.zoneIsStable=N(yd),this.componentTypes=[],this.components=[],this.isStable=N(qd).hasPendingTasks.pipe(Gt(r=>r?Qt(!1):this.zoneIsStable),Uo(),nr()),this._injector=N(ke)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Fr;if(!this._injector.get(aa).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&wh(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(uo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=MD(a)?void 0:this._injector.get(je),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),Dr(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;Dr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(vo,[]);[...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),()=>Dr(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 Dr(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function rc(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var cf=new S("",{providedIn:"root",factory:()=>N(ye).handleError.bind(void 0)});function AD(){let t=N(k),e=N(ye);return n=>t.runOutsideAngular(()=>e.handleError(n))}var ND=(()=>{let e=class e{constructor(){this.zone=N(k),this.applicationRef=N(lt)}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 lf(t){return[{provide:k,useFactory:t},{provide:bn,multi:!0,useFactory:()=>{let e=N(ND,{optional:!0});return()=>e.initialize()}},{provide:cf,useFactory:AD},{provide:yd,useFactory:vd}]}function OD(t){let e=lf(()=>new k(sf(t)));return Mn([[],e])}var dr;function la(t){dr??=new WeakMap;let e=dr.get(t);if(e)return e;let n=t.isStable.pipe(zo(r=>r)).toPromise().then(()=>{});return dr.set(t,n),t.onDestroy(()=>dr?.delete(t)),n}function xS(){return!1}var RD=tf(null,"core",[]);var hs=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}},FD=0;function df(t){return t.ssrId||(t.ssrId=`t${FD++}`),t.ssrId}function ff(t,e,n){let r=[];return mn(t,e,n,r),r.length}function PD(t){let e=[];return Bl(t,e),e.length}function pf(t,e){let n=t[V];return n&&!n.hasAttribute(ln)?zr(n,t,e):null}function hf(t,e){let n=Fc(t[V]),r=pf(n,e),o=H(n[V]),i=t[L],s=zr(o,i,e),a=n[F],u=`${r}|${s}`;a.setAttribute(o,tn,u)}function SS(t,e){let n=new hs,r=new Map,o=t._views;for(let a of o){let u=Ll(a);if(u!==null){let c={serializedViewCollection:n,corruptedTextNodes:r};q(u)?hf(u,c):pf(u,c),jD(r,e)}}let i=n.getAll();t.injector.get(He).set($s,i)}function kD(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 li(t,e,n){let r=e.index-P;t[Si]??={},t[Si][r]=Dv(e,n)}function oc(t,e){let n=e.index-P;t[yr]??=[],t[yr].includes(n)||t[yr].push(n)}function gf(t,e){let n={},r=t[y];for(let o=P;o{let t=!0;return Jt()&&(t=!!N(He,{optional:!0})?.get($s,null)),t&&$e("NgHydration"),t}},{provide:bn,useValue:()=>{Jt()&&N(ur)&&($D(),BD())},multi:!0},{provide:Ul,useFactory:()=>Jt()&&N(ur)},{provide:vo,useFactory:()=>{if(Jt()&&N(ur)){let t=N(lt),e=N(Ae);return()=>{HD(t,e).then(()=>{k.assertInAngularZone(),dv(t)})}}return()=>{}},multi:!0}])}function $D(){let t=to(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Cm){e=n;break}if(!e)throw new w(-507,!1)}function UD(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function _S(t){let e=xe(t);if(!e)return null;let n=new Ft(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 AS(...t){return t.reduce((e,n)=>Object.assign(e,n,{providers:[...e.providers,...n.providers]}),{providers:[]})}var fa=null;function $t(){return fa}function If(t){fa||(fa=t)}var Do=class{},ie=new S("DocumentToken"),Cf=(()=>{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(WD))(),providedIn:"platform"});let t=e;return t})();var WD=(()=>{let e=class e extends Cf{constructor(){super(),this._doc=N(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $t().getBaseHref(this._doc)}onPopState(r){let o=$t().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=$t().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 bf(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 vf(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 dt(t){return t&&t[0]!=="?"?"?"+t:t}var ya=(()=>{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(ZD))(),providedIn:"root"});let t=e;return t})(),qD=new S("appBaseHref"),ZD=(()=>{let e=class e extends ya{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??N(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 bf(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+dt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+dt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+dt(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(Cf),C(qD,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var YD=(()=>{let e=class e{constructor(r){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=JD(vf(Df(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+dt(o))}normalize(r){return e.stripTrailingSlash(KD(this._basePath,Df(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+dt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+dt(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=dt,e.joinWithSlash=bf,e.stripTrailingSlash=vf,e.\u0275fac=function(o){return new(o||e)(C(ya))},e.\u0275prov=_({token:e,factory:()=>QD(),providedIn:"root"});let t=e;return t})();function QD(){return new YD(C(ya))}function KD(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Df(t){return t.replace(/\/index.html$/,"")}function JD(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var Ht=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}(Ht||{});var XD=kd;var Mf=(()=>{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 tw(s))(C(Bt)),i},providedIn:"root"});let t=e;return t})();function ew(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 tw=(()=>{let e=class e extends Mf{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(XD(o||this.locale)(r)){case Ht.Zero:return"zero";case Ht.One:return"one";case Ht.Two:return"two";case Ht.Few:return"few";case Ht.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(C(Bt))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Tf(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 da=/\s+/,wf=[],QS=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=wf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(da):wf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(da):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(da).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)(le(Zs),le(Ys),le(ct),le(Gs))},e.\u0275dir=Yr({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var pa=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 nw=(()=>{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=ew(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)(le(Mf))},e.\u0275dir=Yr({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),KS=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new pa(i,o))}};e.\u0275fac=function(o){return new(o||e)(sl("ngPluralCase"),le(kt),le(xn),le(nw,1))},e.\u0275dir=Yr({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function rw(t,e){return new w(2100,!1)}var ha=class{createSubscription(e,n){return Ws(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){Ws(()=>e.unsubscribe())}},ga=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},ow=new ga,iw=new ha,JS=(()=>{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(yo(r))return ow;if(ia(r))return iw;throw rw(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)(le(gd,16))},e.\u0275pipe=Ec({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var va="browser",sw="server";function XS(t){return t===va}function Da(t){return t===sw}var e_=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new ma(C(ie),window)});let t=e;return t})(),ma=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=aw(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 aw(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 Ef=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},wo=class{};var Io=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 Rf=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}(Rf||{}),wa=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new Io,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 Co=class t extends wa{constructor(e={}){super(e),this.type=Rf.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 cw=new S("");var xf="b",Sf="h",_f="s",Af="st",Nf="u",Of="rt",Eo=new S(""),lw=["GET","HEAD"];function dw(t,e){let l=N(Eo),{isCacheActive:n}=l,r=Sa(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!lw.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=N(He),a=pw(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[xf]:d,[Of]:f,[Sf]:p,[_f]:h,[Af]:E,[Nf]: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 Io(p);return Qt(new Co({body:A,headers:j,status:h,statusText:E,url:O}))}return e(t).pipe(rr(d=>{d instanceof Co&&s.set(a,{[xf]:d.body,[Sf]:fw(d.headers,c),[_f]:d.status,[Af]:d.statusText,[Nf]:d.url||"",[Of]:t.responseType})}))}function fw(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 pw(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=hw(s);return a}function hw(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 Ff(t){return[{provide:Eo,useFactory:()=>($e("NgHttpTransferCache"),X({isCacheActive:!0},t))},{provide:cw,useValue:dw,multi:!0,deps:[He,Eo]},{provide:vo,multi:!0,useFactory:()=>{let e=N(lt),n=N(Eo);return()=>{la(e).then(()=>{n.isCacheActive=!1})}}}]}var Ca=class extends Do{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ba=class t extends Ca{static makeCurrent(){If(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=gw();return n==null?null:mw(n)}resetBaseElement(){Sn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Tf(document.cookie,e)}},Sn=null;function gw(){return Sn=Sn||document.querySelector("base"),Sn?Sn.getAttribute("href"):null}var bo;function mw(t){bo=bo||document.createElement("a"),bo.setAttribute("href",t);let e=bo.pathname;return e.charAt(0)==="/"?e:`/${e}`}var yw=(()=>{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})(),Ma=new S("EventManagerPlugins"),jf=(()=>{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(Ma),C(k))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Mo=class{constructor(e){this._doc=e}},Ea="ng-app-id",Vf=(()=>{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=Da(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[${Ea}="${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(Ea),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Ea,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(ie),C(no),C(Os,8),C(Ne))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ia={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/"},xa=/%COMP%/g,Bf="%COMP%",vw=`_nghost-${Bf}`,Dw=`_ngcontent-${Bf}`,ww=!0,Ew=new S("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>ww});function Iw(t){return Dw.replace(xa,t)}function Cw(t){return vw.replace(xa,t)}function Hf(t,e){return e.map(n=>n.replace(xa,t))}var Pf=(()=>{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=Da(u),this.defaultRenderer=new _n(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===me.ShadowDom&&(o=Ue(X({},o),{encapsulation:me.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof To?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 me.Emulated:s=new To(c,l,o,this.appId,d,a,u,f);break;case me.ShadowDom:return new Ta(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(jf),C(Vf),C(no),C(Ew),C(ie),C(Ne),C(k),C(Os))},e.\u0275prov=_({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(Ia[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(kf(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(kf(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=Ia[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Ia[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&(ut.DashCase|ut.Important)?e.style.setProperty(n,r,o&ut.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&ut.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=$t().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 kf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ta=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=Hf(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?Hf(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},To=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=Iw(c),this.hostAttr=Cw(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}},bw=(()=>{let e=class e extends Mo{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(ie))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Lf=["alt","control","meta","shift"],Mw={"\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"},Tw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},xw=(()=>{let e=class e extends Mo{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(()=>$t().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."),Lf.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=Mw[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"),Lf.forEach(a=>{if(a!==i){let u=Tw[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(ie))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function N_(t,e){return ef(X({rootComponent:t},Sw(e)))}function Sw(t){return{appProviders:[...Rw,...t?.providers??[]],platformProviders:Ow}}function _w(){ba.makeCurrent()}function Aw(){return new ye}function Nw(){return ml(document),document}var Ow=[{provide:Ne,useValue:va},{provide:Ns,useValue:_w,multi:!0},{provide:ie,useFactory:Nw,deps:[]}];var Rw=[{provide:eo,useValue:"root"},{provide:ye,useFactory:Aw,deps:[]},{provide:Ma,useClass:bw,multi:!0,deps:[ie,k,Ne]},{provide:Ma,useClass:xw,multi:!0,deps:[ie]},Pf,Vf,jf,{provide:hn,useExisting:Pf},{provide:wo,useClass:yw,deps:[]},[]];function Fw(){return new Pw(C(ie))}var Pw=(()=>{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(ie))},e.\u0275prov=_({token:e,factory:function(o){let i=null;return o?i=new o:i=Fw(),i},providedIn:"root"});let t=e;return t})();function O_(...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([[],mf(),n.has(0)||r?[]:Ff({}),e])}export{$ as a,qf as b,jo as c,Wt as d,G as e,qt as f,Fo as g,Ye as h,te as i,Qt as j,ip as k,sp as l,Qe as m,Te as n,hp as o,se as p,Ze as q,Lo as r,Dt as s,mp as t,Vo as u,Bo as v,Cp as w,Ke as x,iu as y,Mp as z,au as A,xp as B,Kt as C,Je as D,Ho as E,Sp as F,_p as G,lu as H,zo as I,Op as J,Go as K,Rp as L,op as M,Fp as N,Pp as O,kp as P,Ka as Q,Gt as R,fu as S,rr as T,w as U,_ as V,Qx as W,x as X,S as Y,C as Z,N as _,Kx as $,Yr as aa,_c as ba,Jx as ca,Xx as da,eS as ea,tS as fa,nS as ga,sl as ha,Ss as ia,Mn as ja,ke as ka,rS as la,Ae as ma,ml as na,no as oa,Ns as pa,Ne as qa,oS as ra,iS as sa,He as ta,Cm as ua,ct as va,hn as wa,Gs as xa,ur as ya,sS as za,le as Aa,gd as Ba,he as Ca,k as Da,_y as Ea,$y as Fa,qy as Ga,Yy as Ha,Ky as Ia,Jy as Ja,xn as Ka,es as La,uS as Ma,cS as Na,lS as Oa,dS as Pa,Od as Qa,Rd as Ra,Lv as Sa,fS as Ta,yo as Ua,qv as Va,pS as Wa,Qv as Xa,hS as Ya,eD as Za,Vd as _a,tD as $a,ss as ab,rD as bb,gS as cb,mS as db,yS as eb,vS as fb,DS as gb,wS as hb,IS as ib,CS as jb,bS as kb,MS as lb,DD as mb,Wd as nb,qd as ob,TS as pb,Zd as qb,ID as rb,Kd as sb,vo as tb,tf as ub,lt as vb,la as wb,xS as xb,RD as yb,SS as zb,UD as Ab,_S as Bb,AS as Cb,$t as Db,If as Eb,ie as Fb,Cf as Gb,ya as Hb,qD as Ib,YD as Jb,QS as Kb,nw as Lb,KS as Mb,JS as Nb,sw as Ob,XS as Pb,e_ as Qb,Ef as Rb,wo as Sb,cw as Tb,ba as Ub,Ma as Vb,Mo as Wb,Pf as Xb,N_ as Yb,Pw as Zb,O_ as _b}; diff --git a/docs/citations/server/chunk-KZTCF2WX.mjs b/docs/citations/server/chunk-KZTCF2WX.mjs new file mode 100644 index 0000000..301d485 --- /dev/null +++ b/docs/citations/server/chunk-KZTCF2WX.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as H,b as J}from"./chunk-UUM2VQFI.mjs";import{a as _,b as R,c as U,d as q}from"./chunk-ENJZYGN6.mjs";import{b as G}from"./chunk-5IU5EODB.mjs";import"./chunk-DOGPKTTQ.mjs";import{e as O}from"./chunk-O7A4EXKR.mjs";import{Aa as y,Ba as m,Ea as o,Fa as g,Ma as B,N as A,Qa as h,R as S,Rb as j,S as $,Sa as k,Sb as M,Tb as W,U as c,Va as I,Wa as F,Xa as s,Ya as l,aa as L,ab as f,bb as E,cb as N,db as a,ec as z,f as T,fb as C,kb as w,lb as D,mb as P,o as d}from"./chunk-SMRITTJZ.mjs";import"./chunk-KRLCULJA.mjs";var Q=(t,i)=>i.getName();function V(t,i){t&1&&a(0,"0 Auteur.")}function X(t,i){t&1&&a(0,"1 Auteur.")}function Y(t,i){if(t&1&&a(0),t&2){let p=E();C("",p.authorsCount()," Auteurs.")}}function Z(t,i){if(t&1&&(s(0,"li",12)(1,"a",13),a(2),s(3,"small"),a(4),l()()()),t&2){let p=i.$implicit;o(1),N("routerLink","/authors/",p.getName(),""),o(1),C("",p.getName()," "),o(2),C("(",p.getCount(),")")}}var K=(t,i)=>({"font-semibold":t,"font-normal":i}),tt=t=>({itemPerPage:t}),ct=(()=>{let i=class i extends U{constructor(n,u,e){super(),this.authorService=n,this.title=u,this.device=e,this.sort=m("text"),this.isSortByText=y(()=>this.sort()==="text"),this.isSortByTotal=y(()=>this.sort()==="total"),this.authors=m([]),this.authors$=R(this.sort).pipe($(r=>r==="text"?this.authorService.authors$:this.authorService.authors$.pipe(d(x=>x.sort((b,v)=>b.getCount()>v.getCount()?-1:b.getCount()this.authors.set(r)),_()),this.authorsCount=m(0),this.authorsCount$=this.authors$.pipe(d(r=>r.length),S(0),c(r=>this.authorsCount.set(r)),_()),this.pagerPaginatedAuthors$=new T,this.displayedPaginatedAuthors=m([]),this.displayedPaginatedAuthors$=this.authors$.pipe(A(this.pagerPaginatedAuthors$),d(r=>r.slice(0,this.itemsPerPage)),c(r=>this.displayedPaginatedAuthors.set(r)),_()),this.itemsPerPage=11,this.title.setTitle("Citations - Liste des auteurs"),e.isMobile()&&(this.itemsPerPage=8),this.authors$.subscribe(),this.authorsCount$.subscribe(),this.displayedPaginatedAuthors$.subscribe()}sortByAuthor(){this.sort.set("text")}sortByCount(){this.sort.set("total")}setPaginatedList(n){n[0]&&(n[0]instanceof H||!n[0])&&this.pagerPaginatedAuthors$.next(n)}};i.\u0275fac=function(u){return new(u||i)(g(J),g(z),g(G))},i.\u0275cmp=L({type:i,selectors:[["app-list-authors"]],standalone:!0,features:[B,w],decls:16,vars:15,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],["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(u,e){u&1&&(s(0,"div",0)(1,"h1",1),k(2,V,1,0,"ng-template",2)(3,X,1,0,"ng-template",3)(4,Y,1,1,"ng-template",4),l(),s(5,"button",5),f("click",function(){return e.sortByAuthor()}),a(6," Trier par nom "),l(),s(7,"button",6),f("click",function(){return e.sortByCount()}),a(8," Trier par total "),l(),s(9,"ul",7),I(10,Z,5,3,"li",14,Q),l()(),s(12,"div",8)(13,"div",9)(14,"section",10)(15,"app-pager",11),f("paginatedList$",function(x){return e.setPaginatedList(x)}),l()()()()),u&2&&(o(1),h("ngPlural",e.authorsCount()),o(4),h("ngClass",P(7,K,e.isSortByText()===!0,e.isSortByText()===!1))("disabled",e.isSortByText()),o(2),h("ngClass",P(10,K,e.isSortByTotal(),e.isSortByTotal()))("disabled",e.isSortByTotal()),o(3),F(e.displayedPaginatedAuthors()),o(5),h("list",e.authors())("options",D(13,tt,e.getItemsPerPage())))},dependencies:[j,M,W,O,q],encapsulation:2});let t=i;return t})();export{ct as ListAuthorsComponent}; diff --git a/docs/citations/server/chunk-MCDURKWW.mjs b/docs/citations/server/chunk-MCDURKWW.mjs deleted file mode 100644 index 70f444b..0000000 --- a/docs/citations/server/chunk-MCDURKWW.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as k}from"./chunk-774APDQT.mjs";import{a as A,b as B}from"./chunk-2XWCB3X2.mjs";import{b as L}from"./chunk-JKLVL2PE.mjs";import"./chunk-FEYOAGXQ.mjs";import{e as P}from"./chunk-BATPUMTE.mjs";import{$ as f,Aa as u,Fa as v,Ja as p,Kb as T,Oa as y,Pa as x,Qa as s,Ra as a,Va as m,Xa as b,Ya as l,Zb as S,_a as c,cb as C,eb as _,fb as h,za as o}from"./chunk-K24IRBBC.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-O7A4EXKR.mjs b/docs/citations/server/chunk-O7A4EXKR.mjs new file mode 100644 index 0000000..cffecdb --- /dev/null +++ b/docs/citations/server/chunk-O7A4EXKR.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{$ as p,$a as wn,Ab as On,B as at,Cb as xn,D as ie,E as G,F as en,Fa as O,Ga as xt,Hb as Ut,I as Mt,Ib as Un,J as L,Ja as Z,Ka as ut,L as se,La as gn,M as nn,Mb as Pn,Na as vn,Oa as mn,Ob as he,P as rn,Qb as Pt,R as sn,Ra as yn,S as E,T as on,U as w,V as R,W as S,X as an,Y as oe,Z as x,Za as Cn,_ as un,a as Ke,aa as cn,ab as Rn,b as Ye,ba as Dt,ca as Et,d as te,e as ee,ec as $n,f as j,g as T,ha as ae,i as _,ia as ln,ib as Sn,j as A,jb as bn,k as d,ka as hn,kb as In,l as ot,la as Ot,m as Xe,ma as dn,n as Je,o as y,oa as fn,p as At,pb as Tn,q as M,r as ne,rb as An,sb as Mn,t as tn,u as re,ua as pn,ub as Dn,vb as En,wb as le,xa as ue,y as H,z as Q,za as ce}from"./chunk-SMRITTJZ.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-RDPBST2P.mjs b/docs/citations/server/chunk-RDPBST2P.mjs deleted file mode 100644 index 87bfdd2..0000000 --- a/docs/citations/server/chunk-RDPBST2P.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as S}from"./chunk-BYPIT5RB.mjs";import{a as l}from"./chunk-FEYOAGXQ.mjs";import"./chunk-BATPUMTE.mjs";import{$ as a,Aa as o,Ja as s,La as C,Ma as v,Nb as b,Qa as f,Ra as u,Sa as c,Ya as x,Zb as m,_a as y,cb as p,gb as g,hb as T,za as d}from"./chunk-K24IRBBC.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-RYKLRPLU.mjs b/docs/citations/server/chunk-RYKLRPLU.mjs deleted file mode 100644 index a74545a..0000000 --- a/docs/citations/server/chunk-RYKLRPLU.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as b}from"./chunk-5QOYJTZA.mjs";import{a as k}from"./chunk-BYPIT5RB.mjs";import{a as S}from"./chunk-FEYOAGXQ.mjs";import"./chunk-BATPUMTE.mjs";import{$ as p,Ja as s,La as c,Ma as d,Nb as v,Qa as a,R as l,Ra as r,Sa as f,Ya as h,Zb as y,_ as o,_a as u,cb as x,gb as C,hb as g,za as n}from"./chunk-K24IRBBC.mjs";import"./chunk-KRLCULJA.mjs";function A(e,t){e&1&&(a(0,"h1",0),h(1),r(),a(2,"p",1),f(3,"app-link-cites-by-author",2),r()),e&2&&(n(1),u(" ",t.getCite()," "),n(2),s("author",t.getAuthor()))}var L=(()=>{let t=class t{constructor(){this.citesService=o(S),this.click=o(b),this.title=o(y),this.cite$=this.click.refresh$.pipe(l(()=>this.citesService.getRandomCite())),this.title.setTitle("Citations - Citation al\xE9atoire")}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=p({type:t,selectors:[["app-random"]],standalone:!0,features:[x],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(i,w){if(i&1&&(c(0,A,4,2),C(1,"async")),i&2){let m;d(0,(m=g(1,1,w.cite$))?0:-1,m)}},dependencies:[v,k],encapsulation:2});let e=t;return e})();export{L as RandomComponent}; diff --git a/docs/citations/server/chunk-SDY2LBHQ.mjs b/docs/citations/server/chunk-SDY2LBHQ.mjs new file mode 100644 index 0000000..2c46625 --- /dev/null +++ b/docs/citations/server/chunk-SDY2LBHQ.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{Fa as a,aa as o,db as r,ec as c,kb as s}from"./chunk-SMRITTJZ.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-SMRITTJZ.mjs b/docs/citations/server/chunk-SMRITTJZ.mjs new file mode 100644 index 0000000..eec6f98 --- /dev/null +++ b/docs/citations/server/chunk-SMRITTJZ.mjs @@ -0,0 +1,35 @@ +import './polyfills.server.mjs'; +import{a as W,b as we,d as Ya}from"./chunk-KRLCULJA.mjs";function m(t){return typeof t=="function"}function vt(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 jn=vt(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 qe(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(m(r))try{r()}catch(i){e=i instanceof jn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Qa(i)}catch(s){e=e??[],s instanceof jn?e=[...e,...s.errors]:e.push(s)}}if(e)throw new jn(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Qa(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)&&qe(n,e)}remove(e){let{_finalizers:n}=this;n&&qe(n,e),e instanceof t&&e._removeParent(this)}};$.EMPTY=(()=>{let t=new $;return t.closed=!0,t})();var Ho=$.EMPTY;function Vn(t){return t instanceof $||t&&"closed"in t&&m(t.remove)&&m(t.add)&&m(t.unsubscribe)}function Qa(t){m(t)?t():t.unsubscribe()}var he={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}=he;if(e)e(t);else throw t})}function ie(){}var Ka=(()=>$o("C",void 0,void 0))();function Ja(t){return $o("E",void 0,t)}function Xa(t){return $o("N",t,void 0)}function $o(t,e,n){return{kind:t,value:e,error:n}}var Ze=null;function wt(t){if(he.useDeprecatedSynchronousErrorHandling){let e=!Ze;if(e&&(Ze={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Ze;if(Ze=null,n)throw r}}else t()}function eu(t){he.useDeprecatedSynchronousErrorHandling&&Ze&&(Ze.errorThrown=!0,Ze.error=t)}var Ye=class extends ${constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Vn(e)&&e.add(this)):this.destination=Cp}static create(e,n,r){return new xe(e,n,r)}next(e){this.isStopped?zo(Xa(e),this):this._next(e)}error(e){this.isStopped?zo(Ja(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?zo(Ka,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()}}},Ep=Function.prototype.bind;function Uo(t,e){return Ep.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){Hn(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Hn(r)}else Hn(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Hn(n)}}},xe=class extends Ye{constructor(e,n,r){super();let o;if(m(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&he.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Uo(e.next,i),error:e.error&&Uo(e.error,i),complete:e.complete&&Uo(e.complete,i)}):o=e}this.destination=new Go(o)}};function Hn(t){he.useDeprecatedSynchronousErrorHandling?eu(t):Bn(t)}function Ip(t){throw t}function zo(t,e){let{onStoppedNotification:n}=he;n&&Dt.setTimeout(()=>n(t,e))}var Cp={closed:!0,next:ie,error:Ip,complete:ie};var Et=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function Z(t){return t}function bp(...t){return Wo(t)}function Wo(t){return t.length===0?Z: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=Tp(n)?n:new xe(n,r,o);return wt(()=>{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=tu(r),new r((o,i)=>{let s=new xe({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)}[Et](){return this}pipe(...n){return Wo(n)(this)}toPromise(n){return n=tu(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 tu(t){var e;return(e=t??he.Promise)!==null&&e!==void 0?e:Promise}function Mp(t){return t&&m(t.next)&&m(t.error)&&m(t.complete)}function Tp(t){return t&&t instanceof Ye||Mp(t)&&Vn(t)}var nu=vt(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 $n(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new nu}next(n){wt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){wt(()=>{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(){wt(()=>{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?Ho:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,qe(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 $n(e,n),t})(),$n=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:Ho}};var Zt={now(){return(Zt.delegate||Date).now()},delegate:void 0};var qo=class extends q{constructor(e=1/0,n=1/0,r=Zt){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(e),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s{if(Zo(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 Yt(t,e,n,r,o)}var Yt=class extends Ye{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 Se(t,e){return g((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:xp}=Array;function ru(t){return t.length===1&&xp(t[0])?t[0]:t}function iu(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 ou(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 Qe(t){return this instanceof Qe?(this.v=t,this):new Qe(t)}function su(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,w){i.push([f,p,h,w])>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 Qe?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 au(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 ou=="function"?ou(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 It=t=>t&&typeof t.length=="number"&&typeof t!="function";function Un(t){return m(t?.then)}function zn(t){return m(t[Et])}function Gn(t){return Symbol.asyncIterator&&m(t?.[Symbol.asyncIterator])}function Wn(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 Sp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var qn=Sp();function Zn(t){return m(t?.[qn])}function Yn(t){return su(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Qe(n.read());if(o)return yield Qe(void 0);yield yield Qe(r)}}finally{n.releaseLock()}})}function Qn(t){return m(t?.getReader)}function N(t){if(t instanceof I)return t;if(t!=null){if(zn(t))return _p(t);if(It(t))return Ap(t);if(Un(t))return Np(t);if(Gn(t))return uu(t);if(Zn(t))return Op(t);if(Qn(t))return Rp(t)}throw Wn(t)}function _p(t){return new I(e=>{let n=t[Et]();if(m(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ap(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,Bn)})}function Op(t){return new I(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function uu(t){return new I(e=>{Fp(t,e).catch(n=>e.error(n))})}function Rp(t){return uu(Yn(t))}function Fp(t,e){var n,r,o,i;return iu(this,void 0,void 0,function*(){try{for(n=au(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 X(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 cu(t,e,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},p=w=>c{i&&e.next(w),c++;let A=!1;N(n(w,l++)).subscribe(v(e,M=>{o?.(M),i?p(M):e.next(M)},()=>{A=!0},void 0,()=>{if(A)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 ce(t,e,n=1/0){return m(e)?ce((r,o)=>Se((i,s)=>e(r,i,o,s))(N(t(r,o))),n):(typeof e=="number"&&(n=e),g((r,o)=>cu(r,o,t,n)))}function Ke(t=1/0){return ce(Z,t)}function Kn(t){return t&&m(t.schedule)}function Yo(t){return t[t.length-1]}function lu(t){return m(Yo(t))?t.pop():void 0}function le(t){return Kn(Yo(t))?t.pop():void 0}function Jn(t,e){return typeof Yo(t)=="number"?t.pop():e}function Xn(t,e=0){return g((n,r)=>{n.subscribe(v(r,o=>X(r,t,()=>r.next(o),e),()=>X(r,t,()=>r.complete(),e),o=>X(r,t,()=>r.error(o),e)))})}function er(t,e=0){return g((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function du(t,e){return N(t).pipe(er(e),Xn(e))}function fu(t,e){return N(t).pipe(er(e),Xn(e))}function pu(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 hu(t,e){return new I(n=>{let r;return X(n,e,()=>{r=t[qn](),X(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)}),()=>m(r?.return)&&r.return()})}function tr(t,e){if(!t)throw new Error("Iterable cannot be null");return new I(n=>{X(n,e,()=>{let r=t[Symbol.asyncIterator]();X(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function gu(t,e){return tr(Yn(t),e)}function mu(t,e){if(t!=null){if(zn(t))return du(t,e);if(It(t))return pu(t,e);if(Un(t))return fu(t,e);if(Gn(t))return tr(t,e);if(Zn(t))return hu(t,e);if(Qn(t))return gu(t,e)}throw Wn(t)}function se(t,e){return e?mu(t,e):N(t)}function yu(...t){let e=le(t),n=Jn(t,1/0);return t=ru(t),g((r,o)=>{Ke(n)(se([r,...t],e)).subscribe(o)})}function Pp(...t){return yu(...t)}function Qo(){return Ke(1)}function Ct(...t){return Qo()(se(t,le(t)))}function vu(...t){let e=le(t);return g((n,r)=>{(e?Ct(t,n,e):Ct(t,n)).subscribe(r)})}function Qt(t,e){return g((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++;N(t(u,l)).subscribe(o=v(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function nr(t,e,n){let r=m(t)||e||n?{next:t,error:e,complete:n}:t;return r?g((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)}))}):Z}function Ko(){return g((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 Kt=class extends I{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Zo(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 Ko()(this)}};var Jt=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)}};var rr=class extends ${constructor(e,n){super()}schedule(e,n=0){return this}};var Xt={setInterval(t,e,...n){let{delegate:r}=Xt;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Xt;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var or=class extends rr{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 Xt.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&&Xt.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,qe(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var bt=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)}};bt.now=Zt.now;var ir=class extends bt{constructor(e,n=bt.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 en=new ir(or),Du=en;var Je=new I(t=>t.complete());function tn(...t){let e=le(t);return se(t,e)}function kp(t,e){let n=m(t)?t:()=>t,r=o=>o.error(n());return new I(e?o=>e.schedule(r,0,o):r)}function Lp(t){return!!t&&(t instanceof I||m(t.lift)&&m(t.subscribe))}var Xe=vt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function wu(t){return t instanceof Date&&!isNaN(t)}var{isArray:jp}=Array;function Vp(t,e){return jp(e)?t(...e):t(e)}function sr(t){return Se(e=>Vp(t,e))}var{isArray:Bp}=Array,{getPrototypeOf:Hp,prototype:$p,keys:Up}=Object;function Eu(t){if(t.length===1){let e=t[0];if(Bp(e))return{args:e,keys:null};if(zp(e)){let n=Up(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function zp(t){return t&&typeof t=="object"&&Hp(t)===$p}function Iu(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function Gp(...t){let e=le(t),n=lu(t),{args:r,keys:o}=Eu(t);if(r.length===0)return se([],e);let i=new I(Wp(r,e,o?s=>Iu(o,s):Z));return n?i.pipe(sr(n)):i}function Wp(t,e,n=Z){return r=>{Cu(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=se(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 Cu(t,e,n){t?X(n,t,e):e()}function qp(t){return new I(e=>{N(t()).subscribe(e)})}var Zp=["addListener","removeListener"],Yp=["addEventListener","removeEventListener"],Qp=["on","off"];function Jo(t,e,n,r){if(m(n)&&(r=n,n=void 0),r)return Jo(t,e,n).pipe(sr(r));let[o,i]=Xp(t)?Yp.map(s=>a=>t[s](e,a,n)):Kp(t)?Zp.map(bu(t,e)):Jp(t)?Qp.map(bu(t,e)):[];if(!o&&It(t))return ce(s=>Jo(s,e,n))(N(t));if(!o)throw new TypeError("Invalid event target");return new I(s=>{let a=(...u)=>s.next(1i(a)})}function bu(t,e){return n=>r=>t[n](e,r)}function Kp(t){return m(t.addListener)&&m(t.removeListener)}function Jp(t){return m(t.on)&&m(t.off)}function Xp(t){return m(t.addEventListener)&&m(t.removeEventListener)}function Mu(t=0,e,n=Du){let r=-1;return e!=null&&(Kn(e)?n=e:r=e),new I(o=>{let i=wu(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 Xo(...t){let e=le(t),n=Jn(t,1/0),r=t;return r.length?r.length===1?N(r[0]):Ke(n)(se(r,e)):Je}var eh=new I(ie);function et(t,e){return g((n,r)=>{let o=0;n.subscribe(v(r,i=>t.call(e,i,o++)&&r.next(i)))})}function Tu(t){return g((e,n)=>{let r=null,o=!1,i;r=e.subscribe(v(n,void 0,void 0,s=>{i=N(t(s,Tu(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function ar(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 xu(t,e){return g(ar(t,e,arguments.length>=2,!1,!0))}var th=(t,e)=>(t.push(e),t);function nh(){return g((t,e)=>{xu(th,[])(t).subscribe(e)})}function Su(t,e){return m(e)?ce(t,e,1):ce(t,1)}function _u(t){return new I(e=>t.subscribe(e))}var rh={connector:()=>new q};function ur(t,e=rh){let{connector:n}=e;return g((r,o)=>{let i=n();N(t(_u(i))).subscribe(o),o.add(r.subscribe(i))})}function oh(t,e=en){return g((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 nn(t){return g((e,n)=>{let r=!1;e.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function tt(t){return t<=0?()=>Je:g((e,n)=>{let r=0;e.subscribe(v(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function Au(){return g((t,e)=>{t.subscribe(v(e,ie))})}function ei(t){return Se(()=>t)}function ti(t,e){return e?n=>Ct(e.pipe(tt(1),Au()),n.pipe(ti(t))):ce((n,r)=>N(t(n,r)).pipe(tt(1),ei(n)))}function ih(t,e=en){let n=Mu(t,e);return ti(()=>n)}function sh(t,e){return g((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&&N(e).subscribe(v(r,()=>o.clear(),ie))})}function ni(t,e=Z){return t=t??ah,g((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 ah(t,e){return t===e}function cr(t=uh){return g((e,n)=>{let r=!1;e.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function uh(){return new Xe}function Nu(t){return g((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function ri(t,e){let n=arguments.length>=2;return r=>r.pipe(t?et((o,i)=>t(o,i,r)):Z,tt(1),n?nn(e):cr(()=>new Xe))}function ch(t,e,n,r){return g((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(w=>w.error(h)),l=0,d=!1,f=new Yt(i,h=>{try{let w=t(h),A=a.get(w);if(!A){a.set(w,A=r?r():new q);let M=p(w,A);if(i.next(M),n){let j=v(A,()=>{A.complete(),j?.unsubscribe()},void 0,void 0,()=>a.delete(w));f.add(N(n(M)).subscribe(j))}}A.next(s?s(h):h)}catch(w){c(w)}},()=>u(h=>h.complete()),c,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(f);function p(h,w){let A=new I(M=>{l++;let j=w.subscribe(M);return()=>{j.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return A.key=h,A}})}function oi(t){return t<=0?()=>Je:g((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 lh(t,e){let n=arguments.length>=2;return r=>r.pipe(t?et((o,i)=>t(o,i,r)):Z,oi(1),n?nn(e):cr(()=>new Xe))}function Ou(t,e){let n=m(t)?t:()=>t;return m(e)?ur(e,{connector:n}):r=>new Kt(r,n)}function dh(t){return t?e=>ur(t)(e):e=>Ou(new q)(e)}function fh(t,e){return g(ar(t,e,arguments.length>=2,!0))}function lr(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 w=s;p(),w?.unsubscribe()};return g((w,A)=>{c++,!d&&!l&&f();let M=u=u??e();A.add(()=>{c--,c===0&&!d&&!l&&(a=ii(h,o))}),M.subscribe(A),!s&&c>0&&(s=new xe({next:j=>M.next(j),error:j=>{d=!0,f(),a=ii(p,n,j),M.error(j)},complete:()=>{l=!0,f(),a=ii(p,r),M.complete()}}),N(w).subscribe(s))})(i)}}function ii(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new xe({next:()=>{r.unsubscribe(),t()}});return N(e(...n)).subscribe(r)}function ph(t){return g((e,n)=>{let r=!1,o=v(n,()=>{o?.unsubscribe(),r=!0},ie);N(t).subscribe(o),e.subscribe(v(n,i=>r&&n.next(i)))})}function Ru(t){return g((e,n)=>{N(t).subscribe(v(n,()=>n.complete(),ie)),!n.closed&&e.subscribe(n)})}function Fu(t,e){return Object.is(t,e)}var U=null,rn=!1,dr=1,Fe=Symbol("SIGNAL");function B(t){let e=U;return U=t,e}function hh(){return rn}var sn={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 Pu(t){if(rn)throw new Error("");if(U===null)return;U.consumerOnSignalRead(t);let e=U.nextProducerIndex++;if(Mt(U),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function gr(t){Mt(t);for(let e=0;e0}function Mt(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Hu(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function $u(t){let e=Object.create(mh);e.computation=t;let n=()=>{if(ku(e),Pu(e),e.value===fr)throw e.error;return e.value};return n[Fe]=e,n}var si=Symbol("UNSET"),ai=Symbol("COMPUTING"),fr=Symbol("ERRORED"),mh=(()=>we(W({},sn),{value:si,dirty:!0,error:null,equal:Fu,producerMustRecompute(t){return t.value===si||t.value===ai},producerRecomputeValue(t){if(t.value===ai)throw new Error("Detected cycle in computations.");let e=t.value;t.value=ai;let n=pr(t),r;try{r=t.computation()}catch(o){r=fr,t.error=o}finally{hr(t,n)}if(e!==si&&e!==fr&&r!==fr&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}}))();function yh(){throw new Error}var Uu=yh;function zu(){Uu()}function Gu(t){Uu=t}var vh=null;function Wu(t){let e=Object.create(Dh);e.value=t;let n=()=>(Pu(e),e.value);return n[Fe]=e,n}function li(t,e){ju()||zu();let n=t.value;Object.is(n,e)||t.equal(n,e)||(t.value=e,wh(t))}function qu(t,e){ju()||zu(),li(t,e(t.value))}var Dh=(()=>we(W({},sn),{equal:Fu,value:void 0}))();function wh(t){t.version++,gh(),Lu(t),vh?.()}function Zu(t,e,n){let r=Object.create(Eh);n&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=e;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(ci(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=ui)}let a=()=>{if(r.fn===null)return;if(hh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!gr(r))return;r.hasRun=!0;let u=pr(r);try{r.cleanupFn(),r.cleanupFn=ui,r.fn(o)}finally{hr(r,u)}};return r.ref={notify:()=>Vu(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Fe]:r},r.ref}var ui=()=>{},Eh=(()=>we(W({},sn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ui}))();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 yr(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function te(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(te).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 Yu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Ih=R({__forward_ref__:R});function Lc(t){return t.__forward_ref__=Lc,t.toString=function(){return te(this())},t}function Y(t){return jc(t)?t():t}function jc(t){return typeof t=="function"&&t.hasOwnProperty(Ih)&&t.__forward_ref__===Lc}function Vc(t){return t&&!!t.\u0275providers}var Bc="https://g.co/ng/security#xss",E=class extends Error{constructor(e,n){super(io(e,n)),this.code=e}};function io(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Ch=R({\u0275cmp:R}),bh=R({\u0275dir:R}),Mh=R({\u0275pipe:R}),Th=R({\u0275mod:R}),Rr=R({\u0275fac:R}),un=R({__NG_ELEMENT_ID__:R}),Qu=R({__NG_ENV_ID__:R});function ot(t){return typeof t=="string"?t:t==null?"":String(t)}function xh(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ot(t)}function Sh(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new E(-200,`Circular dependency in DI detected for ${t}${n}`)}function Fs(t,e){let n=e?` in ${e}`:"";throw new E(-201,!1)}function _h(t,e){t==null&&Ah(e,t,null,"!=")}function Ah(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function T(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function so(t){return Ku(t,Hc)||Ku(t,$c)}function NS(t){return so(t)!==null}function Ku(t,e){return t.hasOwnProperty(e)?t[e]:null}function Nh(t){let e=t&&(t[Hc]||t[$c]);return e||null}function Ju(t){return t&&(t.hasOwnProperty(Xu)||t.hasOwnProperty(Oh))?t[Xu]:null}var Hc=R({\u0275prov:R}),Xu=R({\u0275inj:R}),$c=R({ngInjectableDef:R}),Oh=R({ngInjectorDef:R}),O=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}(O||{}),Ti;function Uc(){return Ti}function ee(t){let e=Ti;return Ti=t,e}function zc(t,e,n){let r=so(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&O.Optional)return null;if(e!==void 0)return e;Fs(te(t),"Injector")}var de=globalThis;var S=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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Rh={},dn=Rh,xi="__NG_DI_FLAG__",Fr="ngTempTokenPath",Fh="ngTokenPath",Ph=/\n/gm,kh="\u0275",ec="__source",At;function Lh(){return At}function Pe(t){let e=At;return At=t,e}function jh(t,e=O.Default){if(At===void 0)throw new E(-203,!1);return At===null?zc(t,void 0,e):At.get(t,e&O.Optional?null:void 0,e)}function C(t,e=O.Default){return(Uc()||jh)(Y(t),e)}function x(t,e=O.Default){return C(t,ao(e))}function ao(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Si(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):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Ph,` + `)}`}function uo(t){return{toString:t}.toString()}var Wc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Wc||{}),ve=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ve||{}),Ot={},je=[];function qc(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 _i(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&&qc(p,c,0)!==-1||r&2&&c!==f){if(ge(r))return!1;s=!0}}}}return ge(r)||s}function ge(t){return(t&1)===0}function Wh(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!==""&&!ge(s)&&(e+=nc(i,o),o=""),r=s,i=i||!ge(r);n++}return o!==""&&(e+=nc(i,o)),e}function Kh(t){return t.map(Qh).join(",")}function Jh(t){let e=[],n=[],r=1,o=2;for(;r{let e=tl(t),n=we(W({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ve.Emulated,styles:t.styles||je,_:null,schemas:t.schemas||null,tView:null,id:""});nl(n);let r=t.dependencies;return n.directiveDefs=oc(r,!1),n.pipeDefs=oc(r,!0),n.id=ng(n),n})}function Xh(t){return _e(t)||Jc(t)}function eg(t){return t!==null}function rc(t,e){if(t==null)return Ot;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 co(t){return uo(()=>{let e=tl(t);return nl(e),e})}function Kc(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 _e(t){return t[Ch]||null}function Jc(t){return t[bh]||null}function Xc(t){return t[Mh]||null}function tg(t){let e=_e(t)||Jc(t)||Xc(t);return e!==null?e.standalone:!1}function el(t,e){let n=t[Th]||null;if(!n&&e===!0)throw new Error(`Type ${te(t)} does not have '\u0275mod' property.`);return n}function tl(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||Ot,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||je,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rc(t.inputs,e),outputs:rc(t.outputs),debugInfo:null}}function nl(t){t.features?.forEach(e=>e(t))}function oc(t,e){if(!t)return null;let n=e?Xc:Xh;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(eg)}function ng(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,ye=4,De=5,Ae=6,pn=7,z=8,Rt=9,Ft=10,F=11,hn=12,ic=13,$t=14,ne=15,Tn=16,Tt=17,Ce=18,lo=19,rl=20,ke=21,br=22,it=23,P=25,Ps=1,gn=6,Ne=7,Pr=8,Pt=9,G=10,kt=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(kt||{});function be(t){return Array.isArray(t)&&typeof t[Ps]=="object"}function Q(t){return Array.isArray(t)&&t[Ps]===!0}function ol(t){return(t.flags&4)!==0}function Ut(t){return t.componentOffset>-1}function ks(t){return(t.flags&1)===1}function Ve(t){return!!t.template}function Ls(t){return(t[D]&512)!==0}function rg(t){return(t.type&16)===16}function og(t){return(t[D]&32)===32}function st(t,e){let n=t.hasOwnProperty(Rr);return n?t[Rr]:null}var Ai=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function il(){return sl}function sl(t){return t.type.prototype.ngOnChanges&&(t.setInput=sg),ig}il.ngInherit=!0;function ig(){let t=ul(this),e=t?.current;if(e){let n=t.previous;if(n===Ot)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function sg(t,e,n,r){let o=this.declaredInputs[n],i=ul(t)||ag(t,{previous:Ot,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Ai(u&&u.currentValue,e,a===Ot),t[r]=e}var al="__ngSimpleChanges__";function ul(t){return t[al]||null}function ag(t,e){return t[al]=e}var sc=null;var Ee=function(t,e,n){sc?.(t,e,n)},cl="svg",ug="math";function H(t){for(;Array.isArray(t);)t=t[V];return t}function ll(t){for(;Array.isArray(t);){if(typeof t[Ps]=="object")return t;t=t[V]}return null}function cg(t,e){return H(e[t])}function ae(t,e){return H(e[t.index])}function js(t,e){return t.data[e]}function lg(t,e){return t[e]}function Ue(t,e){let n=e[t];return be(n)?n:n[V]}function dg(t){return(t[D]&4)===4}function Vs(t){return(t[D]&128)===128}function fg(t){return Q(t[L])}function kr(t,e){return e==null?null:t[e]}function dl(t){t[Tt]=0}function pg(t){t[D]&1024||(t[D]|=1024,Vs(t)&&fo(t))}function hg(t,e){for(;t>0;)e=e[$t],t--;return e}function fl(t){t[D]&9216&&fo(t)}function fo(t){let e=t[L];for(;e!==null&&!(Q(e)&&e[D]&kt.HasChildViewsToRefresh||be(e)&&e[D]&8192);){if(Q(e))e[D]|=kt.HasChildViewsToRefresh;else if(e[D]|=8192,!Vs(e))break;e=e[L]}}function pl(t,e){if((t[D]&256)===256)throw new E(911,!1);t[ke]===null&&(t[ke]=[]),t[ke].push(e)}function gg(t,e){if(t[ke]===null)return;let n=t[ke].indexOf(e);n!==-1&&t[ke].splice(n,1)}var b={lFrame:wl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function mg(){return b.lFrame.elementDepthCount}function yg(){b.lFrame.elementDepthCount++}function vg(){b.lFrame.elementDepthCount--}function hl(){return b.bindingsEnabled}function xn(){return b.skipHydrationRootTNode!==null}function Dg(t){return b.skipHydrationRootTNode===t}function wg(t){b.skipHydrationRootTNode=t}function Eg(){b.skipHydrationRootTNode=null}function _(){return b.lFrame.lView}function K(){return b.lFrame.tView}function RS(t){return b.lFrame.contextLView=t,t[z]}function FS(t){return b.lFrame.contextLView=null,t}function re(){let t=gl();for(;t!==null&&t.type===64;)t=t.parent;return t}function gl(){return b.lFrame.currentTNode}function Ig(){let t=b.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Sn(t,e){let n=b.lFrame;n.currentTNode=t,n.isParent=e}function ml(){return b.lFrame.isParent}function Cg(){b.lFrame.isParent=!1}function Bs(){let t=b.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function bg(){return b.lFrame.bindingIndex}function Mg(t){return b.lFrame.bindingIndex=t}function _n(){return b.lFrame.bindingIndex++}function Tg(t){let e=b.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function xg(){return b.lFrame.inI18n}function Sg(t,e){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ni(e)}function _g(){return b.lFrame.currentDirectiveIndex}function Ni(t){b.lFrame.currentDirectiveIndex=t}function yl(){return b.lFrame.currentQueryIndex}function Hs(t){b.lFrame.currentQueryIndex=t}function Ag(t){let e=t[y];return e.type===2?e.declTNode:e.type===1?t[De]:null}function vl(t,e,n){if(n&O.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&O.Host);)if(o=Ag(i),o===null||(i=i[$t],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=b.lFrame=Dl();return r.currentTNode=e,r.lView=t,!0}function $s(t){let e=Dl(),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 Dl(){let t=b.lFrame,e=t===null?null:t.child;return e===null?wl(t):e}function wl(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 El(){let t=b.lFrame;return b.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Il=El;function Us(){let t=El();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 Ng(t){return(b.lFrame.contextLView=hg(t,b.lFrame.contextLView))[z]}function An(){return b.lFrame.selectedIndex}function at(t){b.lFrame.selectedIndex=t}function po(){let t=b.lFrame;return js(t.tView,t.selectedIndex)}function PS(){b.lFrame.currentNamespace=cl}function kS(){Og()}function Og(){b.lFrame.currentNamespace=null}function Cl(){return b.lFrame.currentNamespace}var bl=!0;function zs(){return bl}function ze(t){bl=t}function Rg(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=sl(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 Gs(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[Tt]+=65536),(a>14>16&&(t[D]&3)===e&&(t[D]+=16384,ac(a,i)):ac(a,i)}var Nt=-1,ut=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Pg(t){return t instanceof ut}function kg(t){return t!=null&&typeof t=="object"&&(t.insertBeforeIndex===null||typeof t.insertBeforeIndex=="number"||Array.isArray(t.insertBeforeIndex))}function Lg(t){return(t.flags&8)!==0}function jg(t){return(t.flags&16)!==0}function Tl(t){return t!==Nt}function Lr(t){let e=t&32767;return t&32767}function Vg(t){return t>>16}function jr(t,e){let n=Vg(t),r=e;for(;n>0;)r=r[$t],n--;return r}var Oi=!0;function Vr(t){let e=Oi;return Oi=t,e}var Bg=256,xl=Bg-1,Sl=5,Hg=0,Ie={};function $g(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(un)&&(r=n[un]),r==null&&(r=n[un]=Hg++);let o=r&xl,i=1<>Sl)]|=i}function Br(t,e){let n=_l(t,e);if(n!==-1)return n;let r=e[y];r.firstCreatePass&&(t.injectorIndex=e.length,fi(r.data,t),fi(e,null),fi(r.blueprint,null));let o=Ws(t,e),i=t.injectorIndex;if(Tl(o)){let s=Lr(o),a=jr(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 fi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function _l(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ws(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=Fl(o),r===null)return Nt;if(n++,o=o[$t],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nt}function Ri(t,e,n){$g(t,e,n)}function Ug(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&&Ve(p)&&p.type===n)return u}return null}function ct(t,e,n,r){let o=t[n],i=e.data;if(Pg(o)){let s=o;s.resolving&&Sh(xh(i[n]));let a=Vr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ee(s.injectImpl):null,l=vl(t,r,O.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&Rg(n,i[n],e)}finally{c!==null&&ee(c),Vr(a),s.resolving=!1,Il()}}return o}function Gg(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(un)?t[un]:void 0;return typeof e=="number"?e>=0?e&xl:Wg:e}function uc(t,e,n){let r=1<>Sl)]&r)}function cc(t,e){return!(t&O.Self)&&!(t&O.Host&&e)}var rt=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Ol(this._tNode,this._lView,e,ao(r),n)}};function Wg(){return new rt(re(),_())}function LS(t){return uo(()=>{let e=t.prototype.constructor,n=e[Rr]||Fi(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[Rr]||Fi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Fi(t){return jc(t)?()=>{let e=Fi(Y(t));return e&&e()}:st(t)}function qg(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=Rl(i,s,n,r|O.Self,Ie);if(a!==Ie)return a;let u=i.parent;if(!u){let c=s[rl];if(c){let l=c.get(n,Ie,r);if(l!==Ie)return l}u=Fl(s),s=s[$t]}i=u}return o}function Fl(t){let e=t[y],n=e.type;return n===2?e.declTNode:n===1?t[De]:null}function Pl(t){return Ug(re(),t)}var vr="__parameters__";function Zg(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function kl(t,e,n){return uo(()=>{let r=Zg(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(vr)?u[vr]:Object.defineProperty(u,vr,{value:[]})[vr];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=de.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Qg(t){return typeof t=="function"}function Kg(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?qs(n,e):e(n))}function Ll(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 Xg(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(()=>im(i));e.push(u)}),nm(),Promise.all(e).then(()=>{})}var $r=new Map,tm=new Set;function nm(){let t=$r;return $r=new Map,t}function rm(){return $r.size===0}function om(t){return typeof t=="string"?t:t.text()}function im(t){tm.delete(t)}var Nn=new S("ENVIRONMENT_INITIALIZER"),Vl=new S("INJECTOR",-1),Bl=new S("INJECTOR_DEF_TYPES"),Ur=class{get(e,n=dn){if(n===dn){let r=new Error(`NullInjectorError: No provider for ${te(e)}!`);throw r.name="NullInjectorError",r}return n}};function On(t){return{\u0275providers:t}}function sm(...t){return{\u0275providers:Hl(!0,t),\u0275fromNgModule:!0}}function Hl(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return qs(e,s=>{let a=s;Pi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&$l(o,i),n}function $l(t,e){for(let n=0;n{e(i,r)})}}function Pi(t,e,n,r){if(t=Y(t),!t)return!1;let o=null,i=Ju(t),s=!i&&_e(t);if(!i&&!s){let u=t.ngModule;if(i=Ju(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)Pi(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{qs(i.imports,l=>{Pi(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&$l(c,e)}if(!a){let c=st(o)||(()=>new o);e({provide:o,useFactory:c,deps:je},o),e({provide:Bl,useValue:o,multi:!0},o),e({provide:Nn,useValue:()=>C(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;Ys(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Ys(t,e){for(let n of t)Vc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ys(n,e):e(n)}var am=R({provide:String,useValue:R});function Ul(t){return t!==null&&typeof t=="object"&&am in t}function um(t){return!!(t&&t.useExisting)}function cm(t){return!!(t&&t.useFactory)}function Lt(t){return typeof t=="function"}function lm(t){return!!t.useClass}var ho=new S("Set Injector scope."),Sr={},dm={},pi;function Qs(){return pi===void 0&&(pi=new Ur),pi}var Be=class{},mn=class extends Be{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,Li(e,s=>this.processProvider(s)),this.records.set(Vl,xt(void 0,this)),o.has("environment")&&this.records.set(Be,xt(void 0,this));let i=this.records.get(ho);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bl,je,O.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=Pe(this),r=ee(void 0),o;try{return e()}finally{Pe(n),ee(r)}}get(e,n=dn,r=O.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Qu))return e[Qu](this);r=ao(r);let o,i=Pe(this),s=ee(void 0);try{if(!(r&O.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=mm(e)&&so(e);c&&this.injectableDefInScope(c)?u=xt(ki(e),Sr):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&O.Self?Qs():this.parent;return n=r&O.Optional&&n===dn?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Fr]=a[Fr]||[]).unshift(te(e)),i)throw a;return Bh(a,e,"R3InjectorError",this.source)}else throw a}finally{ee(s),Pe(i)}}resolveInjectorInitializers(){let e=Pe(this),n=ee(void 0),r;try{let o=this.get(Nn,je,O.Self);for(let i of o)i()}finally{Pe(e),ee(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(te(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(e){e=Y(e);let n=Lt(e)?e:Y(e&&e.provide),r=pm(e);if(!Lt(e)&&e.multi===!0){let o=this.records.get(n);o||(o=xt(void 0,Sr,!0),o.factory=()=>Si(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===Sr&&(n.value=dm,n.value=n.factory()),typeof n.value=="object"&&n.value&&gm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=Y(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 ki(t){let e=so(t),n=e!==null?e.factory:st(t);if(n!==null)return n;if(t instanceof S)throw new E(204,!1);if(t instanceof Function)return fm(t);throw new E(204,!1)}function fm(t){let e=t.length;if(e>0){let r=Xg(e,"?");throw new E(204,!1)}let n=Nh(t);return n!==null?()=>n.factory(t):()=>new t}function pm(t){if(Ul(t))return xt(void 0,t.useValue);{let e=zl(t);return xt(e,Sr)}}function zl(t,e,n){let r;if(Lt(t)){let o=Y(t);return st(o)||ki(o)}else if(Ul(t))r=()=>Y(t.useValue);else if(cm(t))r=()=>t.useFactory(...Si(t.deps||[]));else if(um(t))r=()=>C(Y(t.useExisting));else{let o=Y(t&&(t.useClass||t.provide));if(hm(t))r=()=>new o(...Si(t.deps));else return st(o)||ki(o)}return r}function xt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function hm(t){return!!t.deps}function gm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function mm(t){return typeof t=="function"||typeof t=="object"&&t instanceof S}function Li(t,e){for(let n of t)Array.isArray(n)?Li(n,e):n&&Vc(n)?Li(n.\u0275providers,e):e(n)}function jS(t,e){t instanceof mn&&t.assertNotDestroyed();let n,r=Pe(t),o=ee(void 0);try{return e()}finally{Pe(r),ee(o)}}function Gl(t){if(!Uc()&&!Lh())throw new E(-203,!1)}function lc(t,e=null,n=null,r){let o=Wl(t,e,n,r);return o.resolveInjectorInitializers(),o}function Wl(t,e=null,n=null,r,o=new Set){let i=[n||je,sm(t)];return r=r||(typeof t=="object"?void 0:te(t)),new mn(i,e||Qs(),r||null,o)}var Me=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return lc({name:""},o,r,"");{let i=r.name??"";return lc({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=dn,e.NULL=new Ur,e.\u0275prov=T({token:e,providedIn:"any",factory:()=>C(Vl)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var ji;function ql(t){ji=t}function go(){if(ji!==void 0)return ji;if(typeof document<"u")return document;throw new E(210,!1)}var mo=new S("AppId",{providedIn:"root",factory:()=>ym}),ym="ng",Ks=new S("Platform Initializer"),Oe=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var VS=new S("AnimationModuleType"),Js=new S("CSP nonce",{providedIn:"root",factory:()=>go().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function vm(t){return t.ownerDocument.body}function Zl(t){return t instanceof Function?t():t}function an(t){return(t??x(Me)).get(Oe)==="browser"}var yn="ngSkipHydration",Dm="ngskiphydration";function Yl(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n|^->||--!>|)/g,Im="\u200B$1\u200B";function Cm(t){return t.replace(wm,e=>e.replace(Em,Im))}var Kl=new Map,bm=0;function Mm(){return bm++}function Tm(t){Kl.set(t[lo],t)}function xm(t){Kl.delete(t[lo])}var dc="__ngContext__";function lt(t,e){be(e)?(t[dc]=e[lo],Tm(e)):t[dc]=e}var Sm;function Xs(t,e){return Sm(t,e)}function ea(t){let e=t[L];return Q(e)?e[L]:e}function Jl(t){return ed(t[hn])}function Xl(t){return ed(t[ye])}function ed(t){for(;t!==null&&!Q(t);)t=t[ye];return t}function St(t,e,n,r,o){if(r!=null){let i,s=!1;Q(r)?i=r:be(r)&&(s=!0,r=r[V]);let a=H(r);t===0&&n!==null?o==null?id(e,n,a):Gr(e,n,a,o||null,!0):t===1&&n!==null?Gr(e,n,a,o||null,!0):t===2?ad(e,a,s):t===3&&e.destroyNode(a),i!=null&&Gm(e,t,i,n,o)}}function td(t,e){return t.createText(e)}function _m(t,e,n){t.setValue(e,n)}function nd(t,e){return t.createComment(Cm(e))}function ta(t,e,n){return t.createElement(e,n)}function Am(t,e){let n=e[F];Rn(t,e,n,2,null,null),e[V]=null,e[De]=null}function Nm(t,e,n,r,o,i){r[V]=o,r[De]=e,Rn(t,r,n,1,o,i)}function Om(t,e){Rn(t,e,e[F],2,null,null)}function Rm(t){let e=t[hn];if(!e)return hi(t[y],t);for(;e;){let n=null;if(be(e))n=e[hn];else{let r=e[G];r&&(n=r)}if(!n){for(;e&&!e[ye]&&e!==t;)be(e)&&hi(e[y],e),e=e[L];e===null&&(e=t),be(e)&&hi(e[y],e),n=e&&e[ye]}e=n}}function Fm(t,e,n,r){let o=G+r,i=n.length;r>0&&(n[o-1][ye]=e),r0&&(t[n-1][ye]=r[ye]);let i=Hr(t,G+e);Am(r[y],r);let s=i[Ce];s!==null&&s.detachView(i[y]),r[L]=null,r[ye]=null,r[D]&=-129}return r}function yo(t,e){if(!(e[D]&256)){let n=e[F];e[it]&&ci(e[it]),n.destroyNode&&Rn(t,e,n,3,null,null),Rm(e)}}function hi(t,e){if(!(e[D]&256)){e[D]&=-129,e[D]|=256,Lm(t,e),km(t,e),e[y].type===1&&e[F].destroy();let n=e[Tn];if(n!==null&&Q(e[L])){n!==e[L]&&rd(n,e);let r=e[Ce];r!==null&&r.detachView(t)}xm(e)}}function km(t,e){let n=t.cleanup,r=e[pn];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[pn]=null);let o=e[ke];if(o!==null){e[ke]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===ve.None||i===ve.Emulated)return null}return ae(r,n)}}function Gr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function id(t,e,n){t.appendChild(e,n)}function fc(t,e,n,r,o){r!==null?Gr(t,e,n,r,o):id(t,e,n)}function Vm(t,e,n,r){t.removeChild(e,n,r)}function na(t,e){return t.parentNode(e)}function Bm(t,e){return t.nextSibling(e)}function Hm(t,e,n){return Um(t,e,n)}function $m(t,e,n){return t.type&40?ae(t,n):null}var Um=$m,pc;function ra(t,e,n,r){let o=od(t,r,e),i=e[F],s=r.parent||e[De],a=Hm(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;ut,createScript:t=>t,createScriptURL:t=>t})}catch{}return Dr}function hc(t){return qm()?.createScriptURL(t)||t}var Wr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bc})`}};function vo(t){return t instanceof Wr?t.changingThisBreaksApplicationSecurity:t}function ia(t,e){let n=Zm(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Bc})`)}return n===e}function Zm(t){return t instanceof Wr&&t.getTypeName()||null}var Ym=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function dd(t){return t=String(t),t.match(Ym)?t:"unsafe:"+t}var Do=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}(Do||{});function Qm(t){let e=fd();return e?e.sanitize(Do.URL,t)||"":ia(t,"URL")?vo(t):dd(ot(t))}function Km(t){let e=fd();if(e)return hc(e.sanitize(Do.RESOURCE_URL,t)||"");if(ia(t,"ResourceURL"))return hc(vo(t));throw new E(904,!1)}function Jm(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?Km:Qm}function BS(t,e,n){return Jm(e,n)(t)}function fd(){let t=_();return t&&t[Ft].sanitizer}function Xm(){let t=new Ge;return x(Oe)==="browser"&&(t.store=ey(go(),x(mo))),t}var Ge=(()=>{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 ry(t,e,n=!1){let r=t.getAttribute(ln);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(Ge,null,{optional:!0});c!==null&&(a=c.get(ua,[])[Number(r)])}let u={data:a,firstChild:t.firstChild??null};return n&&(u.firstChild=t,wo(u,0,t.nextSibling)),s?t.setAttribute(ln,s):t.removeAttribute(ln),u}function oy(){pd=ry}function ca(t,e,n=!1){return pd(t,e,n)}function hd(t){let e=t._lView;return e[y].type===2?null:(Ls(e)&&(e=e[P]),e)}function iy(t){return t.textContent?.replace(/\s/gm,"")}function sy(t){let e=go(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=iy(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 wo(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function zi(t,e){return t.segmentHeads?.[e]??null}function ay(t,e){let n=t.data,r=n[Bi]?.[e]??null;return r===null&&n[wn]?.[e]&&(r=la(t,e)),r}function gd(t,e){return t.data[wn]?.[e]??null}function la(t,e){let n=gd(t,e)??[],r=0;for(let o of n)r+=o[jt]*(o[qr]??1);return r}function Eo(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[Ar];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var Gi=class{},Zr=class{};function uy(t){let e=Error(`No component factory found for ${te(t)}.`);return e[cy]=t,e}var cy="ngComponent";var Wi=class{resolveComponentFactory(e){throw uy(e)}},Io=(()=>{let e=class e{};e.NULL=new Wi;let t=e;return t})();function ly(){return zt(re(),_())}function zt(t,e){return new pt(ae(t,e))}var pt=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=ly;let t=e;return t})();function dy(t){return t instanceof pt?t.nativeElement:t}var En=class{},da=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>fy();let t=e;return t})();function fy(){let t=_(),e=re(),n=Ue(e.index,t);return(be(n)?n:t)[F]}var py=(()=>{let e=class e{};e.\u0275prov=T({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),In=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},hy=new In("17.0.4"),gi={};function HS(t,e){let n=$u(t);return e?.equal&&(n[Fe].equal=e.equal),n}function $S(t,e){let n=Wu(t),r=n[Fe];return e?.equal&&(r.equal=e.equal),n.set=o=>li(r,o),n.update=o=>qu(r,o),n.asReadonly=gy.bind(n),n}function gy(){let t=this[Fe];if(t.readonlyFn===void 0){let e=()=>this();e[Fe]=t,t.readonlyFn=e}return t.readonlyFn}function fa(t){let e=B(null);try{return t()}finally{B(e)}}function md(t){return pa(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function my(t,e){if(Array.isArray(t))for(let n=0;ne,Zi=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||yy}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 Yi(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 Yr),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 Yr),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}},Yi=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}},Qi=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}},Yr=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new Qi,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 gc(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 Xi(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))}},Xi=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 mc(){return new ha([new qi])}var ha=(()=>{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||mc()),deps:[[e,new jl,new Zs]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new E(901,!1)}};e.\u0275prov=T({token:e,providedIn:"root",factory:mc});let t=e;return t})();function yc(){return new ga([new Ki])}var ga=(()=>{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||yc()),deps:[[e,new jl,new Zs]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new E(901,!1)}};e.\u0275prov=T({token:e,providedIn:"root",factory:yc});let t=e;return t})();function Cn(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(H(i)),Q(i)&&yd(i,r);let s=n.type;if(s&8)Cn(t,e,n.child,r);else if(s&32){let a=Xs(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=sd(e,n);if(Array.isArray(a))r.push(...a);else{let u=ea(e[ne]);Cn(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function yd(t,e){for(let n=G;n{fo(t.lView)},consumerOnSignalRead(){this.lView[it]=this}}),Iy="ngOriginalError";function mi(t){return t[Iy]}var fe=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&&mi(e);for(;n&&mi(n);)n=mi(n);return n||null}},wr=new S(""),Dd=!1,wd=new S("",{providedIn:"root",factory:()=>Dd});var Re={};function US(t){Ed(K(),_(),An()+t,!1)}function Ed(t,e,n,r){if(!r)if((e[D]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Mr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Tr(e,i,0,n)}at(n)}function oe(t,e=O.Default){let n=_();if(n===null)return C(t,e);let r=re();return Ol(r,n,Y(t),e)}function Cy(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rP&&Ed(t,e,P,!1),Ee(s?2:0,o),n(r,o)}finally{at(i),Ee(s?3:1,o)}}function bd(t,e,n){if(ol(e)){let r=B(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Sy(t){Ql(t)?ud(t):sy(t)}function _y(){Sd=Sy}function Ay(t,e,n,r){let o=Ld(e);o.push(n),t.firstCreatePass&&jd(t).push(r,o.length-1)}function Ny(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return xn()&&(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 vc(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?Dc(n,e,o,i):r.hasOwnProperty(o)&&Dc(n,e,r[o],i)}return n}function Dc(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function Oy(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 Ly(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;Ut(n)&&zy(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||Br(n,e),lt(r,e);let s=n.initialInputs;for(let a=o;a-1&&(vn(e,r),Hr(n,r))}this._attachedToViewContainer=!1}yo(this._lView[y],this._lView)}onDestroy(e){pl(this._lView,e)}markForCheck(){va(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){fl(this._lView),this._lView[D]|=128}detectChanges(){Yy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Om(this._lView[y],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=e}},Da=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ev;let t=e;return t})();function ev(t){return tv(re(),_(),(t&16)===16)}function tv(t,e,n){if(Ut(t)&&!n){let r=Ue(t.index,e);return new dt(r,r)}else if(t.type&47){let r=e[ne];return new dt(r,e)}return null}var wa=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=nv,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),ns=class extends wa{constructor(e){super(),this._lView=e}onDestroy(e){return pl(this._lView,e),()=>gg(this._lView,e)}};function nv(){return new ns(_())}var rv=new S("",{providedIn:"root",factory:()=>x(ov)}),ov=(()=>{let e=class e{};e.\u0275prov=T({token:e,providedIn:"root",factory:()=>new rs});let t=e;return t})(),iv=(()=>{let e=class e{constructor(){this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){let o=r.creationZone;this.queues.has(o)||this.queues.set(o,new Set);let i=this.queues.get(o);i.has(r)||(this.queuedEffectCount++,i.add(r))}flush(){for(;this.queuedEffectCount>0;)for(let[r,o]of this.queues)r===null?this.flushQueue(o):r.run(()=>this.flushQueue(o))}flushQueue(r){for(let o of r)r.delete(o),this.queuedEffectCount--,o.run()}};e.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),rs=class{constructor(){this.hasQueuedFlush=!1,this.delegate=new iv,this.flushTask=()=>{this.delegate.flush(),this.hasQueuedFlush=!1}}scheduleEffect(e){this.delegate.scheduleEffect(e),this.hasQueuedFlush||(queueMicrotask(this.flushTask),this.hasQueuedFlush=!0)}},os=class{constructor(e,n,r,o,i,s){this.scheduler=e,this.effectFn=n,this.creationZone=r,this.errorHandler=i,this.watcher=Zu(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.errorHandler?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function sv(t,e){!e?.injector&&Gl(sv);let n=e?.injector??x(Me),r=n.get(fe,null,{optional:!0}),o=e?.manualCleanup!==!0?n.get(wa):null,i=new os(n.get(rv),t,typeof Zone>"u"?null:Zone.current,o,r,e?.allowSignalWrites??!1),s=n.get(Da,null,{optional:!0});return!s||!(s._lView[D]&8)?i.watcher.notify():(s._lView[br]??=[]).push(i.watcher.notify),i}var wc=new Set;function We(t){wc.has(t)||(wc.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var is=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=yi(i),o&&(o=yi(o)),s&&(s=yi(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof $&&e.add(a),a}};function yi(t){return e=>{setTimeout(t,void 0,e)}}var me=is;function Ec(...t){}function av(){let t=typeof de.requestAnimationFrame=="function",e=de[t?"requestAnimationFrame":"setTimeout"],n=de[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 me(!1),this.onMicrotaskEmpty=new me(!1),this.onStable=new me(!1),this.onError=new me(!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=av().nativeRequestAnimationFrame,lv(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,uv,Ec,Ec);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)}},uv={};function Ea(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 cv(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(de,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ss(t),t.isCheckStableRunning=!0,Ea(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ss(t))}function lv(t){let e=()=>{cv(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(dv(a))return n.invokeTask(o,i,s,a);try{return Ic(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Cc(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Ic(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Cc(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,ss(t),Ea(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 ss(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ic(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cc(t){t._nesting--,Ea(t)}var as=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new me,this.onMicrotaskEmpty=new me,this.onStable=new me,this.onError=new me}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)}},Wd=new S("",{providedIn:"root",factory:qd});function qd(){let t=x(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 Xo(n,r.pipe(lr()))}function dv(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var _t=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(_t||{}),fv={destroy(){}};function pv(t,e){!e&&Gl(pv);let n=e?.injector??x(Me);if(!an(n))return fv;We("NgAfterNextRender");let r=n.get(Zd),o=r.handler??=new cs,i=e?.phase??_t.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(wa).onDestroy(s),u=new us(n,i,()=>{s(),t()});return o.register(u),{destroy:s}}var us=class{constructor(e,n,r){this.phase=n,this.callbackFn=r,this.zone=e.get(k),this.errorHandler=e.get(fe,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},cs=class{constructor(){this.executingCallbacks=!1,this.buckets={[_t.EarlyRead]:new Set,[_t.Write]:new Set,[_t.MixedReadWrite]:new Set,[_t.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()}},Zd=(()=>{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=T({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function hv(t,e){let n=Ue(e,t),r=n[y];gv(r,n);let o=n[V];o!==null&&n[Ae]===null&&(n[Ae]=ca(o,n[Rt])),Ia(r,n,n[z])}function gv(t,e){for(let n=e.length;n0&&cd(t,n,i.join(" "))}}function Cv(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=fn(o.hostAttrs,n=fn(n,o.hostAttrs))}}function Er(t){return t===Ot?{}:t===je?[]:t}function Sv(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function _v(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function Av(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function Nv(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 Yd(t,e,n){return t[e]=n}function He(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function Qd(t,e,n,r){let o=He(t,e,n);return He(t,e+1,r)||o}function Ov(t,e,n,r){let o=_(),i=_n();if(He(o,i,e)){let s=K(),a=po();Rd(a,o,t,e,n,r)}return Ov}function Ca(t,e,n,r){return He(t,_n(),n)?e+ot(n)+r:Re}function Rv(t,e,n,r,o,i){let s=bg(),a=Qd(t,s,n,o);return Tg(2),a?e+ot(n)+r+ot(o)+i:Re}function Fv(t,e,n,r,o,i){let s=_(),a=Ca(s,e,n,r);if(a!==Re){let u=po();Rd(u,s,t,a,o,i)}return Fv}function Pv(t,e,n){let r=_(),o=_n();if(He(r,o,e)){let i=K(),s=po();_d(i,s,r,t,e,r[F],n,!1)}return Pv}function Mc(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";ya(t,n,i[s],s,r)}var ps="<-- AT THIS LOCATION";function kv(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 Lv(t,e){let n=`During serialization, Angular was unable to find an element in the DOM: + +`,r=`${$v(t,e,!1)} + +`,o=zv();throw new E(-502,n+r+o)}function jv(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=`${Uv(t)} + +`,r=e+n+Gv();return new E(-503,r)}function Vv(t){let e=[];if(t.attrs)for(let n=0;n${e}`;case 8:return"";case 4:return"";default:return`#node(${kv(t.type)})`}}function Nr(t,e="\u2026"){let n=t;switch(n.nodeType){case Node.ELEMENT_NODE:let r=n.tagName.toLowerCase(),o=Hv(n);return`<${r}${o?" "+o:""}>${e}`;case Node.TEXT_NODE:let i=n.textContent?Kr(n.textContent):"";return`#text${i?`(${i})`:""}`;case Node.COMMENT_NODE:return``;default:return`#node(${n.nodeType})`}}function $v(t,e,n){let r=" ",o="";e.prev?(o+=r+`\u2026 +`,o+=r+vi(e.prev)+` +`):e.type&&e.type&12&&(o+=r+`\u2026 +`),n?(o+=r+vi(e)+` +`,o+=r+` ${ps} +`):o+=r+vi(e)+` ${ps} +`,o+=r+`\u2026 +`;let i=e.type?od(t[y],e,t):null;return i&&(o=Nr(i,` +`+o)),o}function Uv(t){let e=" ",n="",r=t;return r.previousSibling&&(n+=e+`\u2026 +`,n+=e+Nr(r.previousSibling)+` +`),n+=e+Nr(r)+` ${ps} +`,t.nextSibling&&(n+=e+`\u2026 +`),t.parentNode&&(n=Nr(r.parentNode,` +`+n)),n}function zv(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 Gv(){return`Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches. + +`}function Wv(t){return t.replace(/\s+/gm,"")}function Kr(t,e=50){return t?(t=Wv(t),t.length>e?`${t.substring(0,e-1)}\u2026`:t):""}function Kd(t){let e=t[gn]??[],r=t[L][F];for(let o of e)qv(o,r);t[gn]=je}function qv(t,e){let n=0,r=t.firstChild;if(r){let o=t.data[jt];for(;n0&&n[o-1]===r){let i=n[o]||1;n[o]=i+1}else n.push(r,"")}return n.join("")}function Kv(t){let e=t.match(Yv),[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 Jv(t){return!t.prev&&t.parent?.type===8}function Di(t){return t.index-P}function To(t,e,n,r){let o=null,i=Di(r),s=t.data[Ui];if(s?.[i])o=eD(s[i],n);else if(e.firstChild===r)o=t.firstChild;else{let a=r.prev===null,u=r.prev??r.parent;if(Jv(r)){let c=Di(r.parent);o=zi(t,c)}else{let c=ae(u,n);if(a)o=c.firstChild;else{let l=Di(u),d=zi(t,l);if(u.type===2&&d){let p=la(t,l)+1;o=xo(p,d)}else o=c.nextSibling}}}return o}function xo(t,e){let n=e;for(let r=0;r0&&(i.firstChild=t,t=xo(r[jt],t)),n.push(i)}return[t,n]}var Xd=(t,e)=>null;function oD(t,e){let n=t[gn];return!e||n===null||n.length===0?null:n[0].data[$i]===e?n.shift():(Kd(t),null)}function iD(){Xd=oD}function bn(t,e){return Xd(t,e)}var gs=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 wi(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function sD(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=wi(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=wi(s,d,a,f,n);if(p!==0){p<0&&t.updateValue(s,f),s--,a--;continue}let h=n(i,u),w=n(s,d),A=n(i,c);if(Object.is(A,w)){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 Xr,o??=Sc(t,i,s,n),ms(t,r,i,A))t.updateValue(i,c),i++,s++;else if(o.has(A))r.set(h,t.detach(i)),s--;else{let M=t.create(i,e[i]);t.attach(i,M),i++,s++}}for(;i<=a;)xc(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=wi(i,c,i,l,n);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{r??=new Xr,o??=Sc(t,i,s,n);let f=n(i,l);if(ms(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;)xc(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 ms(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function xc(t,e,n,r,o){if(ms(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Sc(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 So(t,e,n,r){let o=e.tView,s=t[D]&4096?4096:16,a=Co(t,o,n,s,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),u=t[e.index];a[Tn]=u;let c=t[Ce];return c!==null&&(a[Ce]=c.createEmbeddedView(o)),Ia(o,a,n),a}function ef(t,e){let n=G+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=aD;let t=e;return t})();function aD(){let t=re();return rf(t,_())}var uD=Fn,nf=class extends uD{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return zt(this._hostTNode,this._hostLView)}get injector(){return new rt(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ws(this._hostTNode,this._hostLView);if(Tl(e)){let n=jr(e,this._hostLView),r=Lr(e),o=n[y].data[r+8];return new rt(o,n)}else return new rt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=_c(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-G}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=bn(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Mn(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!Qg(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 Vt(_e(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let w=(s?c:this.parentInjector).get(Be,null);w&&(i=w)}let l=_e(u.componentType??{}),d=bn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,Mn(this._hostTNode,d)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(fg(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[L],c=new nf(u,u[De],u[L]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return _o(s,o,i,r),e.attachToViewContainerRef(),Ll(Ei(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=_c(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=vn(this._lContainer,n);r&&(Hr(Ei(this._lContainer),n),yo(r[y],r))}detach(e){let n=this._adjustIndex(e,-1),r=vn(this._lContainer,n);return r&&Hr(Ei(this._lContainer),n)!=null?new dt(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function _c(t){return t[Pr]}function Ei(t){return t[Pr]||(t[Pr]=[])}function rf(t,e){let n,r=e[t.index];return Q(r)?n=r:(n=Pd(r,e,null,t),e[t.index]=n,Mo(e,n)),of(n,e,t,r),new nf(n,t,e)}function cD(t,e){let n=t[F],r=n.createComment(""),o=ae(e,t),i=na(n,o);return Gr(n,i,r,Bm(n,o),!1),r}var of=sf,ba=(t,e,n)=>!1;function lD(t,e,n){return ba(t,e,n)}function sf(t,e,n,r){if(t[Ne])return;let o;n.type&8?o=H(r):o=cD(e,n),t[Ne]=o}function dD(t,e,n){if(t[Ne]&&t[gn])return!0;let r=n[Ae],o=e.index-P;if(!r||_r(e)||Eo(r,o))return!1;let s=zi(r,o),a=r.data[wn]?.[o],[u,c]=rD(s,a);return t[Ne]=u,t[gn]=c,!0}function fD(t,e,n,r){ba(t,n,e)||sf(t,e,n,r)}function pD(){of=fD,ba=dD}function hD(t,e,n,r,o,i,s,a,u){let c=e.consts,l=bo(e,t,4,s||null,kr(c,a));Ad(e,n,l,kr(c,u)),Gs(e,l);let d=l.tView=ma(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 ys(t,e,n,r,o,i,s,a){let u=_(),c=K(),l=t+P,d=c.firstCreatePass?hD(l,c,u,e,n,r,o,i,s):c.data[l];Sn(d,!1);let f=af(c,u,d,t);zs()&&ra(c,u,f,d),lt(f,u);let p=Pd(f,u,f,d);return u[l]=p,Mo(u,p),lD(p,d,u),ks(d)&&Md(c,u,d),s!=null&&Td(u,d,a),ys}var af=uf;function uf(t,e,n,r){return ze(!0),e[F].createComment("")}function gD(t,e,n,r){let o=e[Ae],i=!o||xn()||Eo(o,r);if(ze(i),i)return uf(t,e,n,r);let s=o.data[Hi]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=To(o,t,e,n);wo(o,r,a);let u=la(o,r);return xo(u,a)}function mD(){af=gD}function GS(t,e,n){We("NgControlFlow");let r=_(),o=_n(),i=Es(r,P+t),s=0;if(He(r,o,e)){let a=B(null);try{if(tf(i,s),e!==-1){let u=Is(r[y],P+e),c=bn(i,u.tView.ssrId),l=So(r,u,n,{dehydratedView:c});_o(i,l,s,Mn(u,c))}}finally{B(a)}}else{let a=ef(i,s);a!==void 0&&(a[z]=n)}}var vs=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-G}};function WS(t,e){return e}var Ds=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function qS(t,e,n,r,o,i,s,a,u,c,l){We("NgControlFlow");let d=u!==void 0,f=_(),p=a?s.bind(f[ne][z]):s,h=new Ds(d,p);f[P+t]=h,ys(t+1,e,n,r,o,i),d&&ys(t+2,u,c,l)}var ws=class extends gs{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-G}at(e){return this.getLView(e)[z].$implicit}attach(e,n){let r=n[Ae];this.needsIndexUpdate||=e!==this.length,_o(this.lContainer,n,e,Mn(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,yD(this.lContainer,e)}create(e,n){let r=bn(this.lContainer,this.templateTNode.tView.ssrId);return So(this.hostLView,this.templateTNode,new vs(this.lContainer,n,e),{dehydratedView:r})}destroy(e){yo(e[y],e)}updateValue(e,n){this.getLView(e)[z].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(ze(!0),ta(r,o,Cl()));function ED(t,e,n,r,o,i){let s=e[Ae],a=!s||xn()||Eo(s,i);if(ze(a),a)return ta(r,o,Cl());let u=To(s,t,e,n);return gd(s,i)&&wo(s,i,u.nextSibling),s&&(Yl(n)||Ql(u))&&Ut(n)&&(wg(n),ud(u)),u}function ID(){df=ED}var CD=(t,e,n,r)=>(ze(!0),nd(e[F],""));function bD(t,e,n,r){let o,i=e[Ae],s=!i||xn();if(ze(s),s)return nd(e[F],"");let a=To(i,t,e,n),u=ay(i,r);return wo(i,r,a),o=xo(u,a),o}function MD(){CD=bD}function YS(){return _()}var nt=void 0;function TD(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var xD=["en",[["a","p"],["AM","PM"],nt],[["AM","PM"],nt,nt],[["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"]],nt,[["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"]],nt,[["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}",nt,"{1} 'at' {0}",nt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",TD],Ii={};function ff(t){let e=SD(t),n=Ac(e);if(n)return n;let r=e.split("-")[0];if(n=Ac(r),n)return n;if(r==="en")return xD;throw new E(701,!1)}function pf(t){return ff(t)[Ma.PluralCase]}function Ac(t){return t in Ii||(Ii[t]=de.ng&&de.ng.common&&de.ng.common.locales&&de.ng.common.locales[t]),Ii[t]}var Ma=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}(Ma||{});function SD(t){return t.toLowerCase().replace(/_/g,"-")}var Bt="en-US";var _D=Bt;function hf(t){_h(t,"Expected localeId to be defined"),typeof t=="string"&&(_D=t.toLowerCase().replace(/_/g,"-"))}function Ao(t){return!!t&&typeof t.then=="function"}function Ta(t){return!!t&&typeof t.subscribe=="function"}function AD(t,e,n,r){let o=_(),i=K(),s=re();return OD(i,o,o[F],s,t,e,r),AD}function ND(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 OD(t,e,n,r,o,i,s){let a=ks(r),c=t.firstCreatePass&&jd(t),l=e[z],d=Ld(e),f=!0;if(r.type&3||s){let w=ae(r,e),A=s?s(w):w,M=d.length,j=s?Te=>s(H(Te[r.index])):r.index,J=null;if(!s&&a&&(J=ND(t,e,o,r.index)),J!==null){let Te=J.__ngLastListenerFn__||J;Te.__ngNextListenerFn__=i,J.__ngLastListenerFn__=i,f=!1}else{i=Oc(r,e,l,i,!1);let Te=n.listen(A,o,i);d.push(i,Te),c&&c.push(o,j,M,M+1)}}else i=Oc(r,e,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let w=h.length;if(w)for(let A=0;A-1?Ue(t.index,e):e;va(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 QS(t=1){return Ng(t)}function RD(t,e,n,r,o){let i=_(),s=Ca(i,e,n,r);if(s!==Re){let a=K(),u=po();_d(a,u,i,t,s,i[F],o,!1)}return RD}function FD(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function KS(t,e=""){let n=_(),r=K(),o=t+P,i=r.firstCreatePass?bo(r,o,1,e,null):r.data[o],s=gf(r,n,i,e,t);n[o]=s,zs()&&ra(r,n,s,i),Sn(i,!1)}var gf=(t,e,n,r,o)=>(ze(!0),td(e[F],r));function PD(t,e,n,r,o){let i=e[Ae],s=!i||xn()||Eo(i,o);return ze(s),s?td(e[F],r):To(i,t,e,n)}function kD(){gf=PD}function LD(t){return mf("",t,""),LD}function mf(t,e,n){let r=_(),o=Ca(r,t,e,n);return o!==Re&&Bd(r,An(),o),mf}function jD(t,e,n,r,o){let i=_(),s=Rv(i,t,e,n,r,o);return s!==Re&&Bd(i,An(),s),jD}function VD(t,e,n){let r=K();if(r.firstCreatePass){let o=Ve(t);Cs(n,r.data,r.blueprint,o,!0),Cs(e,r.data,r.blueprint,o,!1)}}function Cs(t,e,n,r,o){if(t=Y(t),Array.isArray(t))for(let i=0;i>20;if(Lt(t)||!t.multi){let p=new ut(c,o,oe),h=bi(u,e,o?l:l+f,d);h===-1?(Ri(Br(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=bi(u,e,l+f,d),h=bi(u,e,l,l+f),w=p>=0&&n[p],A=h>=0&&n[h];if(o&&!A||!o&&!w){Ri(Br(a,s),i,u);let M=$D(o?HD:BD,n.length,o,r,c);!o&&A&&(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=yf(n[o?h:p],c,!o&&r);Ci(i,t,p>-1?p:h,M)}!o&&r&&A&&n[h].componentProviders++}}}function Ci(t,e,n,r){let o=Lt(e),i=lm(e);if(o||i){let u=(i?Y(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 yf(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function bi(t,e,n,r){for(let o=n;o{n.providersResolver=(r,o)=>VD(r,o?o(t):t,e)}}var $e=class{},Ms=class{};var eo=class extends $e{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Qr(this);let o=el(e);this._bootstrapComponents=Zl(o.bootstrap),this._r3Injector=Wl(e,n,[{provide:$e,useValue:this},{provide:Io,useValue:this.componentFactoryResolver},...r],te(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)}},to=class extends Ms{constructor(e){super(),this.moduleType=e}create(e){return new eo(this.moduleType,e,[])}};function UD(t,e,n){return new eo(t,e,n)}var no=class extends $e{constructor(e){super(),this.componentFactoryResolver=new Qr(this),this.instance=null;let n=new mn([...e.providers,{provide:$e,useValue:this},{provide:Io,useValue:this.componentFactoryResolver}],e.parent||Qs(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function zD(t,e,n=null){return new no({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var GD=(()=>{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=Hl(!1,r.type),i=o.length>0?zD([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=T({token:e,providedIn:"environment",factory:()=>new e(C(Be))});let t=e;return t})();function XS(t){We("NgStandalone"),t.getStandaloneInjector=e=>e.get(GD).getOrCreateStandaloneInjector(t)}function e_(t,e,n,r){return Df(_(),Bs(),t,e,n,r)}function t_(t,e,n,r,o){return WD(_(),Bs(),t,e,n,r,o)}function vf(t,e){let n=t[e];return n===Re?void 0:n}function Df(t,e,n,r,o,i){let s=e+n;return He(t,s,o)?Yd(t,s+1,i?r.call(i,o):r(o)):vf(t,s+1)}function WD(t,e,n,r,o,i,s){let a=e+n;return Qd(t,a,o,i)?Yd(t,a+2,s?r.call(s,o,i):r(o,i)):vf(t,a+2)}function n_(t,e){let n=K(),r,o=t+P;n.firstCreatePass?(r=qD(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=st(r.type,!0)),s,a=ee(oe);try{let u=Vr(!1),c=i();return Vr(u),FD(n,_(),o,c),c}finally{ee(a)}}function qD(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function r_(t,e,n){let r=t+P,o=_(),i=lg(o,r);return ZD(o,r)?Df(o,Bs(),e,i.transform,n,i):i.transform(n)}function ZD(t,e){return t[y].data[e].pure}function YD(){return this._results[Symbol.iterator]()}var Ts=class t{get changes(){return this._changes||(this._changes=new me)}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]=YD)}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=Jg(e);(this._changesDetected=!Kg(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()}},Ht=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=JD;let t=e;return t})(),QD=Ht,KD=class extends QD{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=So(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new dt(o)}};function JD(){return xa(re(),_())}function xa(t,e){return t.type&4?new KD(e,t,zt(t,e)):null}var xs=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=G;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=x(sw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ao(s))r.push(s);else if(Ta(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=T({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bf=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function aw(){return typeof $localize<"u"&&$localize.locale||Bt}var Gt=new S("LocaleId",{providedIn:"root",factory:()=>x(Gt,O.Optional|O.SkipSelf)||aw()});var Mf=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Jt(!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=T({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Os=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},c_=(()=>{let e=class e{compileModuleSync(r){return new to(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=el(r),s=Zl(i.declarations).reduce((a,u)=>{let c=_e(u);return c&&a.push(new Vt(c)),a},[]);return new Os(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=T({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),uw=new S("compilerOptions");var Tf=new S(""),xf=new S(""),cw=(()=>{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,_a||(lw(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(Sf),C(xf))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})(),Sf=(()=>{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 _a?.findTestabilityInTree(this,r,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function lw(t){_a=t}var _a,Le=null,_f=new S("AllowMultipleToken"),Aa=new S("PlatformDestroyListeners"),No=new S("appBootstrapListener");function dw(t,e,n){let r=new to(n);return Promise.resolve(r)}function Af(){Gu(()=>{throw new E(600,!1)})}function fw(t){return t.isBoundToModule}function pw(t){if(Le&&!Le.get(_f,!1))throw new E(400,!1);Af(),Le=t;let e=t.get(kf);return Nf(t),e}function hw(t=[]){if(Le)return Le;let e=Ff(t);return Le=e,Af(),Nf(e),e}function Nf(t){t.get(Ks,null)?.forEach(n=>n())}function Of(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,o=hw(r),i=[Dw(),...n||[]],a=new no({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(k);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(fe,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Aa);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),jf(c,u,()=>{let p=a.get(Sa);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Gt,Bt);hf(h||Bt);let w=a.get(ht);return e!==void 0&&w.bootstrap(e),w})})})}catch(e){return Promise.reject(e)}}function Rf(t,e,n=[]){let r=`Platform: ${e}`,o=new S(r);return(i=[])=>{let s=Pf();if(!s||s.injector.get(_f,!1)){let a=[...n,...i,{provide:o,useValue:!0}];t?t(a):pw(Ff(a,r))}return gw(o)}}function gw(t){let e=Pf();if(!e)throw new E(401,!1);return e}function Ff(t=[],e){return Me.create({name:e,providers:[{provide:ho,useValue:"platform"},{provide:Aa,useValue:new Set([()=>Le=null])},...t]})}function Pf(){return Le?.get(kf)??null}var kf=(()=>{let e=class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=mw(o?.ngZone,Lf({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=UD(r.moduleType,this.injector,Hf(()=>i)),a=s.injector.get(fe,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Or(this._modules,s),u.unsubscribe()})}),jf(a,i,()=>{let u=s.injector.get(Sa);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(Gt,Bt);return hf(c||Bt),this._moduleDoBootstrap(s),s})})})}bootstrapModule(r,o=[]){let i=Vf({},o);return dw(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(ht);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(Aa,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(Me))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Lf(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function mw(t="zone.js",e){return t==="noop"?new as:t==="zone.js"?new k(e):t}function jf(t,e,n){try{let r=n();return Ao(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}function Vf(t,e){return Array.isArray(e)?e.reduce(Vf,t):W(W({},t),e)}var ht=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=x(Bf),this.zoneIsStable=x(Wd),this.componentTypes=[],this.components=[],this.isStable=x(Mf).hasPendingTasks.pipe(Qt(r=>r?tn(!1):this.zoneIsStable),ni(),lr()),this._injector=x(Be)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Zr;if(!this._injector.get(Sa).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&tg(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(Io).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=fw(a)?void 0:this._injector.get($e),c=o||a.selector,l=a.create(Me.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Tf,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Or(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;Or(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),()=>Or(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=T({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Or(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Rc(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Bf=new S("",{providedIn:"root",factory:()=>x(fe).handleError.bind(void 0)});function yw(){let t=x(k),e=x(fe);return n=>t.runOutsideAngular(()=>e.handleError(n))}var vw=(()=>{let e=class e{constructor(){this.zone=x(k),this.applicationRef=x(ht)}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=T({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Hf(t){return[{provide:k,useFactory:t},{provide:Nn,multi:!0,useFactory:()=>{let e=x(vw,{optional:!0});return()=>e.initialize()}},{provide:Bf,useFactory:yw},{provide:Wd,useFactory:qd}]}function Dw(t){let e=Hf(()=>new k(Lf(t)));return On([[],e])}var Cr;function Na(t){Cr??=new WeakMap;let e=Cr.get(t);if(e)return e;let n=t.isStable.pipe(ri(r=>r)).toPromise().then(()=>{});return Cr.set(t,n),t.onDestroy(()=>Cr?.delete(t)),n}function l_(){return!1}var ww=Rf(null,"core",[]);var Rs=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}},Ew=0;function $f(t){return t.ssrId||(t.ssrId=`t${Ew++}`),t.ssrId}function Uf(t,e,n){let r=[];return Cn(t,e,n,r),r.length}function Iw(t){let e=[];return yd(t,e),e.length}function zf(t,e){let n=t[V];return n&&!n.hasAttribute(yn)?oo(n,t,e):null}function Gf(t,e){let n=ll(t[V]),r=zf(n,e),o=H(n[V]),i=t[L],s=oo(o,i,e),a=n[F],u=`${r}|${s}`;a.setAttribute(o,ln,u)}function d_(t,e){let n=new Rs,r=new Map,o=t._views;for(let a of o){let u=hd(a);if(u!==null){let c={serializedViewCollection:n,corruptedTextNodes:r};Q(u)?Gf(u,c):zf(u,c),Mw(r,e)}}let i=n.getAll();t.injector.get(Ge).set(ua,i)}function Cw(t,e){let n=[],r="";for(let o=G;o0&&c===r){let l=n[n.length-1];l[qr]??=1,l[qr]++}else r=c,n.push(u)}return n}function Mi(t,e,n){let r=e.index-P;t[Ui]??={},t[Ui][r]=nD(e,n)}function Fc(t,e){let n=e.index-P;t[Ar]??=[],t[Ar].includes(n)||t[Ar].push(n)}function Wf(t,e){let n={},r=t[y];for(let o=P;o{let t=!0;return an()&&(t=!!x(Ge,{optional:!0})?.get(ua,null)),t&&We("NgHydration"),t}},{provide:Nn,useValue:()=>{an()&&x(wr)&&(_w(),xw())},multi:!0},{provide:wd,useFactory:()=>an()&&x(wr)},{provide:No,useFactory:()=>{if(an()&&x(wr)){let t=x(ht),e=x(Me);return()=>{Sw(t,e).then(()=>{k.assertInAngularZone(),Zv(t)})}}return()=>{}},multi:!0}])}function _w(){let t=go(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===ny){e=n;break}if(!e)throw new E(-507,!1)}function Aw(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function f_(t){let e=_e(t);if(!e)return null;let n=new Vt(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 p_(...t){return t.reduce((e,n)=>Object.assign(e,n,{providers:[...e.providers,...n.providers]}),{providers:[]})}var Ra=null;function qt(){return Ra}function Xf(t){Ra||(Ra=t)}var Oo=class{},ue=new S("DocumentToken"),ep=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=T({token:e,factory:()=>(()=>x(Rw))(),providedIn:"platform"});let t=e;return t})();var Rw=(()=>{let e=class e extends ep{constructor(){super(),this._doc=x(ue),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return qt().getBaseHref(this._doc)}onPopState(r){let o=qt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=qt().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=T({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function tp(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 Yf(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 gt(t){return t&&t[0]!=="?"?"?"+t:t}var ja=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=T({token:e,factory:()=>(()=>x(Pw))(),providedIn:"root"});let t=e;return t})(),Fw=new S("appBaseHref"),Pw=(()=>{let e=class e extends ja{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??x(ue).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 tp(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+gt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+gt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+gt(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(ep),C(Fw,8))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var kw=(()=>{let e=class e{constructor(r){this._subject=new me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Vw(Yf(Qf(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+gt(o))}normalize(r){return e.stripTrailingSlash(jw(this._basePath,Qf(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+gt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+gt(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=gt,e.joinWithSlash=tp,e.stripTrailingSlash=Yf,e.\u0275fac=function(o){return new(o||e)(C(ja))},e.\u0275prov=T({token:e,factory:()=>Lw(),providedIn:"root"});let t=e;return t})();function Lw(){return new kw(C(ja))}function jw(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Qf(t){return t.replace(/\/index.html$/,"")}function Vw(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var Wt=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}(Wt||{});var Bw=pf;var np=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=T({token:e,factory:function(o){let i=null;return o?i=new o:i=(s=>new $w(s))(C(Gt)),i},providedIn:"root"});let t=e;return t})();function Hw(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 $w=(()=>{let e=class e extends np{constructor(r){super(),this.locale=r}getPluralCategory(r,o){switch(Bw(o||this.locale)(r)){case Wt.Zero:return"zero";case Wt.One:return"one";case Wt.Two:return"two";case Wt.Few:return"few";case Wt.Many:return"many";default:return"other"}}};e.\u0275fac=function(o){return new(o||e)(C(Gt))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})();function rp(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 Oa=/\s+/,Kf=[],R_=(()=>{let e=class e{constructor(r,o,i,s){this._iterableDiffers=r,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=Kf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Oa):Kf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Oa):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(Oa).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(ha),oe(ga),oe(pt),oe(da))},e.\u0275dir=co({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Fa=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 Uw=(()=>{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=Hw(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(np))},e.\u0275dir=co({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});let t=e;return t})(),F_=(()=>{let e=class e{constructor(r,o,i,s){this.value=r;let a=!isNaN(Number(r));s.addCase(a?`=${r}`:r,new Fa(i,o))}};e.\u0275fac=function(o){return new(o||e)(Pl("ngPluralCase"),oe(Ht),oe(Fn),oe(Uw,1))},e.\u0275dir=co({type:e,selectors:[["","ngPluralCase",""]],standalone:!0});let t=e;return t})();function zw(t,e){return new E(2100,!1)}var Pa=class{createSubscription(e,n){return fa(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){fa(()=>e.unsubscribe())}},ka=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},Gw=new ka,Ww=new Pa,P_=(()=>{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(Ao(r))return Gw;if(Ta(r))return Ww;throw zw(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(Da,16))},e.\u0275pipe=Kc({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Va="browser",qw="server";function k_(t){return t===Va}function Ba(t){return t===qw}var L_=(()=>{let e=class e{};e.\u0275prov=T({token:e,providedIn:"root",factory:()=>new La(C(ue),window)});let t=e;return t})(),La=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=Zw(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 Zw(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 Jf=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ro=class{};var Po=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 lp=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}(lp||{}),Ha=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new Po,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 ko=class t extends Ha{constructor(e={}){super(e),this.type=lp.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 Qw=new S("");var op="b",ip="h",sp="s",ap="st",up="u",cp="rt",Fo=new S(""),Kw=["GET","HEAD"];function Jw(t,e){let l=x(Fo),{isCacheActive:n}=l,r=Ya(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!n||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!Kw.includes(i)||o===!1||r.filter?.(t)===!1)return e(t);let s=x(Ge),a=eE(t),u=s.get(a,null),c=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[op]:d,[cp]:f,[ip]:p,[sp]:h,[ap]:w,[up]:A}=u,M=d;switch(f){case"arraybuffer":M=new TextEncoder().encode(d).buffer;break;case"blob":M=new Blob([d]);break}let j=new Po(p);return tn(new ko({body:M,headers:j,status:h,statusText:w,url:A}))}return e(t).pipe(nr(d=>{d instanceof ko&&s.set(a,{[op]:d.body,[ip]:Xw(d.headers,c),[sp]:d.status,[ap]:d.statusText,[up]:d.url||"",[cp]:t.responseType})}))}function Xw(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 eE(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=tE(s);return a}function tE(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 dp(t){return[{provide:Fo,useFactory:()=>(We("NgHttpTransferCache"),W({isCacheActive:!0},t))},{provide:Qw,useValue:Jw,multi:!0,deps:[Ge,Fo]},{provide:No,multi:!0,useFactory:()=>{let e=x(ht),n=x(Fo);return()=>{Na(e).then(()=>{n.isCacheActive=!1})}}}]}var za=class extends Oo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ga=class t extends za{static makeCurrent(){Xf(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=nE();return n==null?null:rE(n)}resetBaseElement(){Pn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return rp(document.cookie,e)}},Pn=null;function nE(){return Pn=Pn||document.querySelector("base"),Pn?Pn.getAttribute("href"):null}var Lo;function rE(t){Lo=Lo||document.createElement("a"),Lo.setAttribute("href",t);let e=Lo.pathname;return e.charAt(0)==="/"?e:`/${e}`}var oE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})(),Wa=new S("EventManagerPlugins"),gp=(()=>{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(Wa),C(k))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})(),jo=class{constructor(e){this._doc=e}},$a="ng-app-id",mp=(()=>{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=Ba(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[${$a}="${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($a),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute($a,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(ue),C(mo),C(Js,8),C(Oe))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})(),Ua={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/"},Za=/%COMP%/g,yp="%COMP%",iE=`_nghost-${yp}`,sE=`_ngcontent-${yp}`,aE=!0,uE=new S("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>aE});function cE(t){return sE.replace(Za,t)}function lE(t){return iE.replace(Za,t)}function vp(t,e){return e.map(n=>n.replace(Za,t))}var fp=(()=>{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=Ba(u),this.defaultRenderer=new kn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ve.ShadowDom&&(o=we(W({},o),{encapsulation:ve.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Vo?i.applyToHost(r):i instanceof Ln&&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 ve.Emulated:s=new Vo(c,l,o,this.appId,d,a,u,f);break;case ve.ShadowDom:return new qa(c,l,r,o,a,u,this.nonce,f);default:s=new Ln(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(gp),C(mp),C(mo),C(uE),C(ue),C(Oe),C(k),C(Js))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})(),kn=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(Ua[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(pp(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(pp(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=Ua[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=Ua[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&(ft.DashCase|ft.Important)?e.style.setProperty(n,r,o&ft.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&ft.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=qt().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 pp(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var qa=class extends kn{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=vp(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)}},Ln=class extends kn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?vp(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Vo=class extends Ln{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=cE(c),this.hostAttr=lE(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}},dE=(()=>{let e=class e extends jo{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(ue))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})(),hp=["alt","control","meta","shift"],fE={"\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"},pE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},hE=(()=>{let e=class e extends jo{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(()=>qt().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."),hp.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=fE[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"),hp.forEach(a=>{if(a!==i){let u=pE[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(ue))},e.\u0275prov=T({token:e,factory:e.\u0275fac});let t=e;return t})();function hA(t,e){return Of(W({rootComponent:t},gE(e)))}function gE(t){return{appProviders:[...wE,...t?.providers??[]],platformProviders:DE}}function mE(){Ga.makeCurrent()}function yE(){return new fe}function vE(){return ql(document),document}var DE=[{provide:Oe,useValue:Va},{provide:Ks,useValue:mE,multi:!0},{provide:ue,useFactory:vE,deps:[]}];var wE=[{provide:ho,useValue:"root"},{provide:fe,useFactory:yE,deps:[]},{provide:Wa,useClass:dE,multi:!0,deps:[ue,k,Oe]},{provide:Wa,useClass:hE,multi:!0,deps:[ue]},fp,mp,gp,{provide:En,useExisting:fp},{provide:Ro,useClass:oE,deps:[]},[]];function EE(){return new IE(C(ue))}var IE=(()=>{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(ue))},e.\u0275prov=T({token:e,factory:function(o){let i=null;return o?i=new o:i=EE(),i},providedIn:"root"});let t=e;return t})();function gA(...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 On([[],qf(),n.has(0)||r?[]:dp({}),e])}export{$ as a,bp as b,I as c,Ko as d,Kt as e,q as f,Jt as g,qo as h,Je as i,se as j,tn as k,kp as l,Lp as m,Xe as n,Se as o,Gp as p,ce as q,Ke as r,Qo as s,Ct as t,qp as u,Jo as v,Xo as w,eh as x,et as y,Tu as z,nh as A,Su as B,oh as C,nn as D,tt as E,ei as F,ih as G,sh as H,Nu as I,ri as J,ch as K,oi as L,lh as M,Pp as N,dh as O,fh as P,ph as Q,vu as R,Qt as S,Ru as T,nr as U,E as V,T as W,NS as X,O as Y,S as Z,C as _,x as $,OS as aa,co as ba,il as ca,RS as da,FS as ea,PS as fa,kS as ga,LS as ha,Pl as ia,Zs as ja,On as ka,Be as la,jS as ma,Gl as na,Me as oa,ql as pa,mo as qa,Ks as ra,Oe as sa,VS as ta,BS as ua,Ge as va,ny as wa,pt as xa,En as ya,da as za,HS as Aa,$S as Ba,fa as Ca,wr as Da,US as Ea,oe as Fa,Da as Ga,wa as Ha,sv as Ia,me as Ja,k as Ka,pv as La,Tv as Ma,Nv as Na,Ov as Oa,Fv as Pa,Pv as Qa,Fn as Ra,ys as Sa,GS as Ta,WS as Ua,qS as Va,ZS as Wa,cf as Xa,lf as Ya,wD as Za,YS as _a,Ao as $a,AD as ab,QS as bb,RD as cb,KS as db,LD as eb,mf as fb,jD as gb,JS as hb,Ms as ib,zD as jb,XS as kb,e_ as lb,t_ as mb,n_ as nb,r_ as ob,i_ as pb,s_ as qb,a_ as rb,u_ as sb,sw as tb,bf as ub,Mf as vb,c_ as wb,Tf as xb,cw as yb,_f as zb,No as Ab,Rf as Bb,ht as Cb,Na as Db,l_ as Eb,ww as Fb,d_ as Gb,Aw as Hb,f_ as Ib,p_ as Jb,qt as Kb,Xf as Lb,ue as Mb,ep as Nb,ja as Ob,Fw as Pb,kw as Qb,R_ as Rb,Uw as Sb,F_ as Tb,P_ as Ub,qw as Vb,k_ as Wb,L_ as Xb,Jf as Yb,Ro as Zb,Qw as _b,Ga as $b,Wa as ac,jo as bc,fp as cc,hA as dc,IE as ec,gA as fc}; diff --git a/docs/citations/server/chunk-IUWECXI7.mjs b/docs/citations/server/chunk-TJUITN6C.mjs similarity index 99% rename from docs/citations/server/chunk-IUWECXI7.mjs rename to docs/citations/server/chunk-TJUITN6C.mjs index 7788d8a..60a1a33 100644 --- a/docs/citations/server/chunk-IUWECXI7.mjs +++ b/docs/citations/server/chunk-TJUITN6C.mjs @@ -1,5 +1,5 @@ import './polyfills.server.mjs'; -import{Da as _i,Db as Qr,Eb as Ni,Fb as Ze,Gb as Un,Ob as Ai,Qb as Di,Rb as ki,Sb as Ci,Tb as Li,U as de,Ub as Mi,V as ct,Vb as Ri,Wb as Ii,Xb as Oi,Y as Kr,Z as Ye,_ as si,e as ni,ia as ii,ja as ai,ma as oi,na as li,oa as ci,pa as ui,qa as hi,qb as yi,ra as Bn,rb as bi,sb as Ei,ta as fi,ua as di,ub as vi,vb as Wr,wa as pi,wb as Ti,xa as mi,ya as gi,yb as Si,zb as wi}from"./chunk-K24IRBBC.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{$ as si,$b as Mi,Bb as vi,Cb as Wr,Da as gi,Db as Ti,Fb as Si,Gb as wi,Ka as _i,Kb as Qr,Lb as Ni,Mb as Ze,Nb as Un,V as de,Vb as Ai,W as ct,Xb as Di,Yb as ki,Z as Kr,Zb as Ci,_ as Ye,_b as Li,ac as Ri,bc as Ii,cc as Oi,f as ni,ja as ii,ka as ai,oa as oi,pa as li,qa as ci,ra as ui,sa as hi,ta as Bn,va as fi,wa as di,xb as yi,ya as pi,yb as bi,za as mi,zb as Ei}from"./chunk-SMRITTJZ.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-UDU2NQDI.mjs b/docs/citations/server/chunk-UDU2NQDI.mjs new file mode 100644 index 0000000..b335a9f --- /dev/null +++ b/docs/citations/server/chunk-UDU2NQDI.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{e as m}from"./chunk-O7A4EXKR.mjs";import{Ea as a,Pa as r,Xa as s,Ya as u,aa as o,cb as p,db as l,fb as d,kb as c}from"./chunk-SMRITTJZ.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-UUM2VQFI.mjs b/docs/citations/server/chunk-UUM2VQFI.mjs new file mode 100644 index 0000000..ed92ec4 --- /dev/null +++ b/docs/citations/server/chunk-UUM2VQFI.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{b as I}from"./chunk-DOGPKTTQ.mjs";import{A as f,E as l,H as g,K as y,Q as k,S as v,W as x,_ as F,g as d,j as L,o as n,q as N,s as j}from"./chunk-SMRITTJZ.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{a,U as b}; diff --git a/docs/citations/server/chunk-V5CKKFML.mjs b/docs/citations/server/chunk-V5CKKFML.mjs deleted file mode 100644 index e313729..0000000 --- a/docs/citations/server/chunk-V5CKKFML.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as N}from"./chunk-5QOYJTZA.mjs";import{a as fe,d as ve}from"./chunk-IUWECXI7.mjs";import{a as Le}from"./chunk-774APDQT.mjs";import{a as Ee,b as Se}from"./chunk-JKLVL2PE.mjs";import{a as xe}from"./chunk-FEYOAGXQ.mjs";import{a as ge,b as be,d as Ce,e as D,f as O,g as we,h as ke,i as ye,j as Me}from"./chunk-BATPUMTE.mjs";import{$ as d,Aa as V,B as J,Cb as me,D as b,Da as oe,F as X,Fa as I,Ja as f,N as ee,Pb as z,Qa as o,R as E,Ra as s,S as B,Sa as l,T as te,V as W,Va as H,Y as ie,Ya as C,Yb as de,Z,Zb as j,_ as G,_b as he,cb as g,e as A,ea as u,fa as m,ga as R,ib as ae,j as P,ja as re,jb as se,k as Y,lb as le,ma as ne,mb as ce,n as v,qa as _,s as $,t as U,u as x,v as q,vb as pe,w as k,x as y,xb as ue,za as h}from"./chunk-K24IRBBC.mjs";import{a as Q}from"./chunk-KRLCULJA.mjs";var F=(()=>{let e=class e{constructor(i){this.click=i}refreshRandom(){this.click.click()}};e.\u0275fac=function(r){return new(r||e)(V(N))},e.\u0275cmp=d({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,n){},encapsulation:2});let t=e;return t})();var Te=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let i;return function(n){return(i||(i=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-mobile"]],standalone:!0,features:[I,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),C(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),C(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),C(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),C(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 t=e;return t})();var Fe=["elSearchCite"],Ae=(()=>{let e=class e{constructor(){this.ngUnsubscribe=new A,this.activatedRouter=G(ge),this.router=G(Ce)}ngOnInit(){this.activatedRouter.queryParamMap.pipe(B(this.ngUnsubscribe)).subscribe(i=>{if(!i.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){x(this.elSearchCite.nativeElement,"keyup").pipe(v(i=>i.currentTarget.value),J(500),B(this.ngUnsubscribe)).subscribe({next:i=>{this.router.navigate(["/search"],{queryParams:{q:i}})}})}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=d({type:e,selectors:[["app-search"]],viewQuery:function(r,n){if(r&1&&se(Fe,7),r&2){let c;ae(c=le())&&(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 t=e;return t})();var Pe=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let i;return function(n){return(i||(i=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-desktop"]],standalone:!0,features:[I,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),C(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,Ae,O],encapsulation:2});let t=e;return t})();var Re=(()=>{let e=class e{constructor(i){this.title=i,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(r){return new(r||e)(V(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:[Pe,be,Te],encapsulation:2});let t=e;return t})();var T="Service workers are disabled or not supported by this browser";function Ue(t){return U(()=>Y(new Error(t)))}var M=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=Ue(T);else{let i=x(e,"controllerchange").pipe(v(()=>e.controller)),r=U(()=>P(e.controller)),n=$(r,i);this.worker=n.pipe(y(w=>!!w)),this.registration=this.worker.pipe(E(()=>e.getRegistration()));let K=x(e,"message").pipe(v(w=>w.data)).pipe(y(w=>w&&w.type)).pipe(ee());K.connect(),this.events=K}}postMessage(e,a){return this.worker.pipe(b(1),te(i=>{i.postMessage(Q({action:e},a))})).toPromise().then(()=>{})}postMessageWithOperation(e,a,i){let r=this.waitForOperationCompleted(i),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=i=>i.type===e:a=i=>e.includes(i.type),this.events.pipe(y(a))}nextEventOfType(e){return this.eventsOfType(e).pipe(b(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(y(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}},qe=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,this.pushManager=null,this.subscriptionChanges=new A,!i.isEnabled){this.messages=k,this.notificationClicks=k,this.subscription=k;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(E(n=>n.getSubscription()));this.subscription=q(r,this.subscriptionChanges)}requestSubscription(i){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(T));let r={userVisibleOnly:!0},n=this.decodeBase64(i.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(T));let i=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),E(i)).toPromise()}decodeBase64(i){return atob(i)}};e.\u0275fac=function(r){return new(r||e)(Z(M))},e.\u0275prov=W({token:e,factory:e.\u0275fac});let t=e;return t})(),Be=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,!i.isEnabled){this.versionUpdates=k,this.unrecoverable=k;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(T));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(T));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:i},i)}};e.\u0275fac=function(r){return new(r||e)(Z(M))},e.\u0275prov=W({token:e,factory:e.\u0275fac});let t=e;return t})();var Ve=new ie("NGSW_REGISTER_SCRIPT");function We(t,e,a,i){return()=>{if(!(z(i)&&"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=P(null);break;case"registerWithDelay":r=Ie(+p[0]||0);break;case"registerWhenStable":r=p[0]?q(He(t),Ie(+p[0])):He(t);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${a.registrationStrategy}`)}}t.get(oe).runOutsideAngular(()=>r.pipe(b(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:a.scope}).catch(c=>console.error("Service worker registration failed with:",c))))}}function Ie(t){return P(null).pipe(X(t))}function He(t){return t.get(pe).isStable.pipe(y(a=>a))}function Ze(t,e){return new M(z(e)&&t.enabled!==!1?navigator.serviceWorker:void 0)}var L=class{};function je(t,e={}){return re([qe,Be,{provide:Ve,useValue:t},{provide:L,useValue:e},{provide:M,useFactory:Ze,deps:[L,_]},{provide:ce,useFactory:We,deps:[ne,Ve,L,_],multi:!0}])}var De=[{path:"",loadComponent:()=>import("./chunk-RDPBST2P.mjs").then(t=>t.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-YS7GH654.mjs").then(t=>t.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-MCDURKWW.mjs").then(t=>t.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-WLIBDTUD.mjs").then(t=>t.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-RYKLRPLU.mjs").then(t=>t.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-YS7GH654.mjs").then(t=>t.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-CAD7DCX2.mjs").then(t=>t.PageNotFoundComponent)}];var Oe={providers:[we(De,ye(),ke({onSameUrlNavigation:"reload"}),Me()),je("ngsw-worker.js",{enabled:!ue(),registrationStrategy:"registerWhenStable:30000"}),he(),fe(),Le,xe,N,j,Ee,Se]};var Ge={providers:[ve()]},Ne=me(Oe,Ge);global.navigator={};var _e=()=>de(Re,Ne),Zt=_e;export{Zt as a}; diff --git a/docs/citations/server/chunk-WLIBDTUD.mjs b/docs/citations/server/chunk-WLIBDTUD.mjs deleted file mode 100644 index 55cced0..0000000 --- a/docs/citations/server/chunk-WLIBDTUD.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as z,b as R}from"./chunk-2XWCB3X2.mjs";import{b as q}from"./chunk-JKLVL2PE.mjs";import{a as W}from"./chunk-FEYOAGXQ.mjs";import"./chunk-BATPUMTE.mjs";import{$ as A,$a as y,Aa as g,Fa as L,Ja as f,La as x,Lb as E,M as B,Ma as I,Mb as M,Nb as k,Oa as T,Pa as S,Q as _,Qa as c,R as b,Ra as d,Va as w,Wa as s,Ya as h,Zb as N,_a as P,cb as F,db as D,e as $,eb as j,g as v,gb as p,hb as r,n as C,za as u}from"./chunk-K24IRBBC.mjs";import"./chunk-KRLCULJA.mjs";var G=(t,i)=>i.getId();function H(t,i){if(t&1&&h(0),t&2){let n=s();P('Aucune citation de "',n,'"\xA0')}}function J(t,i){if(t&1&&(h(0),p(1,"async")),t&2){let n=s(),e=s();y("",r(1,2,e.citesCount$),' citation de "',n,'":\xA0')}}function K(t,i){if(t&1&&(h(0),p(1,"async")),t&2){let n=s(),e=s();y("",r(1,2,e.citesCount$),' citations de "',n,'":\xA0')}}function O(t,i){if(t&1&&(c(0,"h1",7),p(1,"async"),x(2,H,1,1,"ng-template",8)(3,J,2,4,"ng-template",9)(4,K,2,4,"ng-template",10),d()),t&2){let n=s(),e;f("ngPlural",(e=r(1,1,n.citesCount$))!==null&&e!==void 0?e:0)}}function Q(t,i){if(t&1&&(c(0,"li",11)(1,"cite"),h(2),d()()),t&2){let n=i.$implicit;u(2),P("\u201D",n.getCite(),"\u201D")}}var U=()=>[],V=t=>({itemPerPage:t}),at=(()=>{let i=class i extends z{set author(e){this.author$.next(e)}constructor(e,l,a){super(),this.citeService=e,this.title=l,this.device=a,this.author$=new v(1),this.cites$=this.author$.pipe(b(o=>this.citeService.searchByAuthor(o)),_([])),this.citesCount$=this.cites$.pipe(C(o=>o.length),_(0)),this.pagerPaginatedCites$=new $,this.displayedPaginatedCites$=this.cites$.pipe(B(this.pagerPaginatedCites$),C(o=>o.slice(0,this.itemsPerPage))),this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,a.isMobile()&&(this.itemsPerPage=4)}setPaginatedList(e){this.pagerPaginatedCites$.next(e)}};i.\u0275fac=function(l){return new(l||i)(g(W),g(N),g(q))},i.\u0275cmp=A({type:i,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[L,F],decls:12,vars:12,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(l,a){if(l&1&&(c(0,"div",0),x(1,O,5,3,"h1",1),p(2,"async"),c(3,"ul",2),T(4,Q,3,1,"li",12,G),p(6,"async"),d()(),c(7,"div",3)(8,"div",4)(9,"section",5)(10,"app-pager",6),w("paginatedList$",function(m){return a.setPaginatedList(m)}),p(11,"async"),d()()()()),l&2){let o,m;u(1),I(1,(o=r(2,3,a.author$))?1:-1,o),u(3),S(r(6,5,a.displayedPaginatedCites$)),u(6),f("list",(m=r(11,7,a.cites$))!==null&&m!==void 0?m:D(9,U))("options",j(10,V,a.getItemsPerPage()))}},dependencies:[k,E,M,R],encapsulation:2});let t=i;return t})();export{at as ListCitesByAuthorsComponent}; diff --git a/docs/citations/server/chunk-YS7GH654.mjs b/docs/citations/server/chunk-YS7GH654.mjs deleted file mode 100644 index 223ef31..0000000 --- a/docs/citations/server/chunk-YS7GH654.mjs +++ /dev/null @@ -1,2 +0,0 @@ -import './polyfills.server.mjs'; -import{a as F}from"./chunk-BYPIT5RB.mjs";import{a as k,b as A}from"./chunk-2XWCB3X2.mjs";import{b as R}from"./chunk-JKLVL2PE.mjs";import{a as D}from"./chunk-FEYOAGXQ.mjs";import{e as E}from"./chunk-BATPUMTE.mjs";import{$ as d,$a as x,Aa as h,Fa as v,Ja as l,La as f,Lb as b,Ma as P,Mb as I,Oa as S,Pa as y,Qa as p,Ra as r,Sa as g,Va as q,Wa as u,Ya as c,Zb as L,_a as m,ba as _,cb as C,eb as T,za as s}from"./chunk-K24IRBBC.mjs";import"./chunk-KRLCULJA.mjs";function $(t,e){if(t&1&&c(0),t&2){let a=u(2);m('Aucune citation trouv\xE9e pour la recherche "',a.q,'"\xA0')}}function w(t,e){if(t&1&&c(0),t&2){let a=u(2);x("",a.citesCount,' citation trouv\xE9e pour la recherche "',a.q,'":\xA0')}}function j(t,e){if(t&1&&c(0),t&2){let a=u(2);x("",a.citesCount,' citations trouv\xE9es pour la recherche "',a.q,'":\xA0')}}function O(t,e){if(t&1&&(p(0,"h2",1),f(1,$,1,1,"ng-template",2)(2,w,1,2,"ng-template",3)(3,j,1,2,"ng-template",4),r()),t&2){let a=u();l("ngPlural",a.citesCount)}}var B=(()=>{let e=class e{constructor(){this.citesCount=0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=d({type:e,selectors:[["app-search-result-title"]],inputs:{citesCount:"citesCount",q:"q"},standalone:!0,features:[C],decls:1,vars:1,consts:[["class","text-md text-gray-600",3,"ngPlural"],[1,"text-md","text-gray-600",3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"]],template:function(n,o){n&1&&f(0,O,4,1,"h2",0),n&2&&P(0,o.q?0:-1)},dependencies:[b,I],encapsulation:2});let t=e;return t})();var z=(t,e)=>e.getId();function G(t,e){if(t&1&&(p(0,"li",9)(1,"cite"),c(2),r(),c(3," de "),g(4,"app-link-cites-by-author",10),r()),t&2){let a=e.$implicit;s(2),m("\u201D",a.getCite(),"\u201D"),s(2),l("author",a.getAuthor())}}var H=t=>({itemPerPage:t}),it=(()=>{let e=class e extends k{constructor(i,n,o){super(),this.citeService=i,this.title=n,this.device=o,this.cites=[],this.paginatedCites=[],this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=12,o.isMobile()&&(this.itemsPerPage=4)}ngOnInit(){this.citeService.cites$.subscribe({next:i=>{this.fillCites(i)}}),this.findCitesBySearch()}ngOnChanges(){this.findCitesBySearch()}findCitesBySearch(){if(this.q&&this.q.trim()===""){this.citeService.reset().subscribe();return}this.citeService.search(this.q).subscribe(i=>this.fillCites(i))}fillCites(i){this.cites=[],this.paginatedCites=[],i.forEach(n=>{this.cites.push(n)}),this.paginatedCites=this.cites.slice(0,this.itemsPerPage)}setPaginatedList(i){this.paginatedCites=i}};e.\u0275fac=function(n){return new(n||e)(h(D),h(L),h(R))},e.\u0275cmp=d({type:e,selectors:[["app-list-cites"]],inputs:{q:"q"},standalone:!0,features:[v,_,C],decls:12,vars:8,consts:[[1,"container","mb-36"],[1,"text-3xl","font-bold","text-stone-900","mb-2"],["routerLink","/cites",3,"queryParams"],[3,"q","citesCount"],[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,"author"],["class","p-1"]],template:function(n,o){n&1&&(p(0,"div",0)(1,"h1",1)(2,"a",2),c(3),r()(),g(4,"app-search-result-title",3),p(5,"ul",4),S(6,G,5,2,"li",11,z),r()(),p(8,"div",5)(9,"div",6)(10,"section",7)(11,"app-pager",8),q("paginatedList$",function(M){return o.setPaginatedList(M)}),r()()()()),n&2&&(s(2),l("queryParams",null),s(1),m("",o.citeService.countSearchFoundCites()," Citations."),s(1),l("q",o.q)("citesCount",o.cites.length),s(2),y(o.paginatedCites),s(5),l("list",o.cites)("options",T(6,H,o.getItemsPerPage())))},dependencies:[E,F,B,A],encapsulation:2});let t=e;return t})();export{it as ListCitesComponent}; diff --git a/docs/citations/server/chunk-YUGSSZA4.mjs b/docs/citations/server/chunk-YUGSSZA4.mjs new file mode 100644 index 0000000..927f33f --- /dev/null +++ b/docs/citations/server/chunk-YUGSSZA4.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as g,c as N,d as W}from"./chunk-ENJZYGN6.mjs";import{b as z}from"./chunk-5IU5EODB.mjs";import{a as k,b as O}from"./chunk-DOGPKTTQ.mjs";import"./chunk-O7A4EXKR.mjs";import{Ba as p,Ea as c,Fa as h,Ma as A,N as $,Qa as x,R as _,S as v,Sa as P,Sb as j,Ta as I,Tb as E,U as d,Va as T,Wa as S,Xa as r,Ya as m,aa as L,ab as B,bb as l,db as u,ec as M,f as y,fb as C,gb as w,h as b,kb as D,lb as F,o as f}from"./chunk-SMRITTJZ.mjs";import"./chunk-KRLCULJA.mjs";var U=(t,n)=>n.getId();function q(t,n){if(t&1&&u(0),t&2){let s=l();C('Aucune citation de "',s,'"\xA0')}}function G(t,n){if(t&1&&u(0),t&2){let s=l();C('1 citation de "',s,'":\xA0')}}function H(t,n){if(t&1&&u(0),t&2){let s=l(),e=l();w("",e.citesCount(),' citations de "',s,'":\xA0')}}function J(t,n){if(t&1&&(r(0,"h1",7),P(1,q,1,1,"ng-template",8)(2,G,1,1,"ng-template",9)(3,H,1,2,"ng-template",10),m()),t&2){let s=l();x("ngPlural",s.citesCount())}}function K(t,n){if(t&1&&(r(0,"li",11)(1,"cite"),u(2),m()()),t&2){let s=n.$implicit;c(2),C("\u201D",s.getCite(),"\u201D")}}var Q=t=>({itemPerPage:t}),pt=(()=>{let n=class n extends N{set author(e){e||(e=""),this.authorOfCites.set(e),this.author$.next(e)}constructor(e,a,o){super(),this.citeService=e,this.title=a,this.device=o,this.authorOfCites=p(""),this.author$=new b(1),this.cites=p([]),this.cites$=this.author$.pipe(v(i=>this.citeService.searchByAuthor(i)),_([]),d(i=>this.cites.set(i)),g()),this.citesCount=p(0),this.citesCount$=this.cites$.pipe(f(i=>i.length),_(0),d(i=>this.citesCount.set(i)),g()),this.pagerPaginatedCites$=new y,this.displayedPaginatedCites=p([]),this.displayedPaginatedCites$=this.cites$.pipe($(this.pagerPaginatedCites$),f(i=>i.slice(0,this.itemsPerPage)),d(i=>this.displayedPaginatedCites.set(i)),g()),this.title.setTitle("Citations - Liste des citations"),this.itemsPerPage=10,o.isMobile()&&(this.itemsPerPage=4),this.cites$.subscribe(),this.citesCount$.subscribe(),this.displayedPaginatedCites$.subscribe()}setPaginatedList(e){e[0]&&(e[0]instanceof k||!e[0])&&this.pagerPaginatedCites$.next(e)}};n.\u0275fac=function(a){return new(a||n)(h(O),h(M),h(z))},n.\u0275cmp=L({type:n,selectors:[["app-list-cites-by-authors"]],inputs:{author:"author"},standalone:!0,features:[A,D],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(a,o){if(a&1&&(r(0,"div",0),P(1,J,4,1,"h1",1),r(2,"ul",2),T(3,K,3,1,"li",12,U),m()(),r(5,"div",3)(6,"div",4)(7,"section",5)(8,"app-pager",6),B("paginatedList$",function(R){return o.setPaginatedList(R)}),m()()()()),a&2){let i;c(1),I(1,(i=o.authorOfCites())?1:-1,i),c(2),S(o.displayedPaginatedCites()),c(5),x("list",o.cites())("options",F(3,Q,o.getItemsPerPage()))}},dependencies:[j,E,W],encapsulation:2});let t=n;return t})();export{pt as ListCitesByAuthorsComponent}; diff --git a/docs/citations/server/chunk-ZZMN2OEB.mjs b/docs/citations/server/chunk-ZZMN2OEB.mjs new file mode 100644 index 0000000..981d464 --- /dev/null +++ b/docs/citations/server/chunk-ZZMN2OEB.mjs @@ -0,0 +1,2 @@ +import './polyfills.server.mjs'; +import{a as N}from"./chunk-3YTLE7MV.mjs";import{a as fe,d as ve}from"./chunk-TJUITN6C.mjs";import{b as Le}from"./chunk-UUM2VQFI.mjs";import{a as Ee,b as Se}from"./chunk-5IU5EODB.mjs";import{b as xe}from"./chunk-DOGPKTTQ.mjs";import{a as ge,b as be,d as Ce,e as D,f as O,g as we,h as ke,i as ye,j as Me}from"./chunk-O7A4EXKR.mjs";import{$ as G,C as J,Cb as pe,E as b,Ea as h,Eb as ue,Fa as V,G as X,Jb as me,Ka as oe,Ma as I,O as ee,Qa as f,S as E,T as B,U as te,W,Wb as z,Xa as o,Ya as s,Z as ie,Za as l,_ as Z,aa as d,ab as H,db as C,dc as de,ec as j,f as A,fa as u,fc as he,ga as m,ha as R,k as P,ka as re,kb as g,l as Y,o as v,oa as ne,pb as ae,qb as se,sa as _,sb as le,t as $,tb as ce,u as U,v as x,w as q,x as k,y}from"./chunk-SMRITTJZ.mjs";import{a as Q}from"./chunk-KRLCULJA.mjs";var F=(()=>{let e=class e{constructor(i){this.click=i}refreshRandom(){this.click.click()}};e.\u0275fac=function(r){return new(r||e)(V(N))},e.\u0275cmp=d({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,n){},encapsulation:2});let t=e;return t})();var Te=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let i;return function(n){return(i||(i=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-mobile"]],standalone:!0,features:[I,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),C(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),C(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),C(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),C(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 t=e;return t})();var Fe=["elSearchCite"],Ae=(()=>{let e=class e{constructor(){this.ngUnsubscribe=new A,this.activatedRouter=G(ge),this.router=G(Ce)}ngOnInit(){this.activatedRouter.queryParamMap.pipe(B(this.ngUnsubscribe)).subscribe(i=>{if(!i.get("q")){this.elSearchCite.nativeElement.value="";return}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngAfterViewInit(){x(this.elSearchCite.nativeElement,"keyup").pipe(v(i=>i.currentTarget.value),J(500),B(this.ngUnsubscribe)).subscribe({next:i=>{this.router.navigate(["/search"],{queryParams:{q:i}})}})}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=d({type:e,selectors:[["app-search"]],viewQuery:function(r,n){if(r&1&&se(Fe,7),r&2){let c;ae(c=le())&&(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 t=e;return t})();var Pe=(()=>{let e=class e extends F{};e.\u0275fac=(()=>{let i;return function(n){return(i||(i=R(e)))(n||e)}})(),e.\u0275cmp=d({type:e,selectors:[["app-navbar-desktop"]],standalone:!0,features:[I,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),C(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,Ae,O],encapsulation:2});let t=e;return t})();var Re=(()=>{let e=class e{constructor(i){this.title=i,this.title.setTitle("Liste de Citations")}};e.\u0275fac=function(r){return new(r||e)(V(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:[Pe,be,Te],encapsulation:2});let t=e;return t})();var T="Service workers are disabled or not supported by this browser";function Ue(t){return U(()=>Y(new Error(t)))}var M=class{constructor(e){if(this.serviceWorker=e,!e)this.worker=this.events=this.registration=Ue(T);else{let i=x(e,"controllerchange").pipe(v(()=>e.controller)),r=U(()=>P(e.controller)),n=$(r,i);this.worker=n.pipe(y(w=>!!w)),this.registration=this.worker.pipe(E(()=>e.getRegistration()));let K=x(e,"message").pipe(v(w=>w.data)).pipe(y(w=>w&&w.type)).pipe(ee());K.connect(),this.events=K}}postMessage(e,a){return this.worker.pipe(b(1),te(i=>{i.postMessage(Q({action:e},a))})).toPromise().then(()=>{})}postMessageWithOperation(e,a,i){let r=this.waitForOperationCompleted(i),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=i=>i.type===e:a=i=>e.includes(i.type),this.events.pipe(y(a))}nextEventOfType(e){return this.eventsOfType(e).pipe(b(1))}waitForOperationCompleted(e){return this.eventsOfType("OPERATION_COMPLETED").pipe(y(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}},qe=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,this.pushManager=null,this.subscriptionChanges=new A,!i.isEnabled){this.messages=k,this.notificationClicks=k,this.subscription=k;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(E(n=>n.getSubscription()));this.subscription=q(r,this.subscriptionChanges)}requestSubscription(i){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(T));let r={userVisibleOnly:!0},n=this.decodeBase64(i.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(T));let i=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),E(i)).toPromise()}decodeBase64(i){return atob(i)}};e.\u0275fac=function(r){return new(r||e)(Z(M))},e.\u0275prov=W({token:e,factory:e.\u0275fac});let t=e;return t})(),Be=(()=>{let e=class e{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,!i.isEnabled){this.versionUpdates=k,this.unrecoverable=k;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(T));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(T));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:i},i)}};e.\u0275fac=function(r){return new(r||e)(Z(M))},e.\u0275prov=W({token:e,factory:e.\u0275fac});let t=e;return t})();var Ve=new ie("NGSW_REGISTER_SCRIPT");function We(t,e,a,i){return()=>{if(!(z(i)&&"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=P(null);break;case"registerWithDelay":r=Ie(+p[0]||0);break;case"registerWhenStable":r=p[0]?q(He(t),Ie(+p[0])):He(t);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${a.registrationStrategy}`)}}t.get(oe).runOutsideAngular(()=>r.pipe(b(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:a.scope}).catch(c=>console.error("Service worker registration failed with:",c))))}}function Ie(t){return P(null).pipe(X(t))}function He(t){return t.get(pe).isStable.pipe(y(a=>a))}function Ze(t,e){return new M(z(e)&&t.enabled!==!1?navigator.serviceWorker:void 0)}var L=class{};function je(t,e={}){return re([qe,Be,{provide:Ve,useValue:t},{provide:L,useValue:e},{provide:M,useFactory:Ze,deps:[L,_]},{provide:ce,useFactory:We,deps:[ne,Ve,L,_],multi:!0}])}var De=[{path:"",loadComponent:()=>import("./chunk-HGOSHWRO.mjs").then(t=>t.HomeComponent)},{path:"cites",loadComponent:()=>import("./chunk-63MDULU4.mjs").then(t=>t.ListCitesComponent)},{path:"authors",loadComponent:()=>import("./chunk-KZTCF2WX.mjs").then(t=>t.ListAuthorsComponent)},{path:"authors/:author",loadComponent:()=>import("./chunk-YUGSSZA4.mjs").then(t=>t.ListCitesByAuthorsComponent)},{path:"random",loadComponent:()=>import("./chunk-GLFCWGW7.mjs").then(t=>t.RandomComponent)},{path:"search",loadComponent:()=>import("./chunk-63MDULU4.mjs").then(t=>t.ListCitesComponent)},{path:"**",loadComponent:()=>import("./chunk-SDY2LBHQ.mjs").then(t=>t.PageNotFoundComponent)}];var Oe={providers:[we(De,ye(),ke({onSameUrlNavigation:"reload"}),Me()),je("ngsw-worker.js",{enabled:!ue(),registrationStrategy:"registerWhenStable:30000"}),he(),fe(),Le,xe,N,j,Ee,Se]};var Ge={providers:[ve()]},Ne=me(Oe,Ge);global.navigator={};var _e=()=>de(Re,Ne),Zt=_e;export{Zt as a}; diff --git a/docs/citations/server/index.server.html b/docs/citations/server/index.server.html index f7d6a55..0e6ad56 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 05493ce..af22ed8 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-V5CKKFML.mjs";import"./chunk-5QOYJTZA.mjs";import"./chunk-IUWECXI7.mjs";import"./chunk-774APDQT.mjs";import"./chunk-JKLVL2PE.mjs";import"./chunk-FEYOAGXQ.mjs";import"./chunk-BATPUMTE.mjs";import"./chunk-K24IRBBC.mjs";import"./chunk-KRLCULJA.mjs";export{a as default}; +import{a}from"./chunk-ZZMN2OEB.mjs";import"./chunk-3YTLE7MV.mjs";import"./chunk-TJUITN6C.mjs";import"./chunk-UUM2VQFI.mjs";import"./chunk-5IU5EODB.mjs";import"./chunk-DOGPKTTQ.mjs";import"./chunk-O7A4EXKR.mjs";import"./chunk-SMRITTJZ.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 425ca5c..f329ee9 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-IUWECXI7.mjs";import{c as P,d as S}from"./chunk-BATPUMTE.mjs";import{nb as f,pb as g,ub as h,vb as p,wb as y,yb as C}from"./chunk-K24IRBBC.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-TJUITN6C.mjs";import{c as P,d as S}from"./chunk-O7A4EXKR.mjs";import{Bb as h,Cb as p,Db as y,Fb as C,ub as f,wb as g}from"./chunk-SMRITTJZ.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 c681b46..6bf4671 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-V5CKKFML.mjs";import"./chunk-5QOYJTZA.mjs";import{e as ul,f as cl,g as ll}from"./chunk-IUWECXI7.mjs";import"./chunk-774APDQT.mjs";import"./chunk-JKLVL2PE.mjs";import"./chunk-FEYOAGXQ.mjs";import"./chunk-BATPUMTE.mjs";import{Ib as ol}from"./chunk-K24IRBBC.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-ZZMN2OEB.mjs";import"./chunk-3YTLE7MV.mjs";import{e as ul,f as cl,g as ll}from"./chunk-TJUITN6C.mjs";import"./chunk-UUM2VQFI.mjs";import"./chunk-5IU5EODB.mjs";import"./chunk-DOGPKTTQ.mjs";import"./chunk-O7A4EXKR.mjs";import{Pb as ol}from"./chunk-SMRITTJZ.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(`