diff --git a/404.html b/404.html index a37dca6..bee6e32 100644 --- a/404.html +++ b/404.html @@ -24,7 +24,7 @@ - + @@ -39,5 +39,5 @@ - + diff --git a/chunk-7GO2RSJL.js b/chunk-BO54DQNO.js similarity index 99% rename from chunk-7GO2RSJL.js rename to chunk-BO54DQNO.js index 703c5f4..9936659 100644 --- a/chunk-7GO2RSJL.js +++ b/chunk-BO54DQNO.js @@ -1,2 +1,2 @@ -import{a as ne,b as ae,c as ge,d as ue,e as xe}from"./chunk-GQBLPFT4.js";import{a as oe,b as le,c as me,d as de}from"./chunk-EJSFYMLG.js";import{a as re}from"./chunk-OZSOB2KQ.js";import{b as he}from"./chunk-6EWZX4UI.js";import{d as G,e as K}from"./chunk-SYNSCGYV.js";import{y as ie}from"./chunk-5GRCWTIR.js";import{A as ce,T as pe,U as ve,x as q,y as J,z as se}from"./chunk-KOQX3PBC.js";import{$ as Z,X,Y as $,Z as Q,ba as ee,ca as te,k as L}from"./chunk-6A5WIJYK.js";import{e as W,f as O,k as V}from"./chunk-IMW7L7ZP.js";import{Aa as A,Ba as R,Cb as z,Dc as N,Fb as w,Jb as e,Kb as t,Lb as n,Mb as M,Nb as j,Pb as H,Vb as U,Xb as S,Yb as P,Zb as f,_b as C,ab as k,db as a,dc as s,eb as u,ec as i,fc as _,gc as D,h as F,lc as I,mc as v,nc as Y,qa as y,vc as B,wb as h,yb as r,za as T}from"./chunk-65EYH52Y.js";var Te=[[["","angorCardFront",""]],[["","angorCardBack",""]],"*",[["","angorCardExpansion",""]]],Ae=["[angorCardFront]","[angorCardBack]","*","[angorCardExpansion]"];function Re(l,m){l&1&&(e(0,"div",0),f(1),t(),e(2,"div",1),f(3,1),t())}function ze(l,m){l&1&&(e(0,"div",2),f(1,3),t()),l&2&&r("@expandCollapse",void 0)}function He(l,m){if(l&1&&(f(0,2),h(1,ze,2,1,"div",2)),l&2){let p=S();a(),w(p.expanded?1:-1)}}var Se=(()=>{let m=class m{constructor(){this.expanded=!1,this.face="front",this.flippable=!1}get classList(){return{"angor-card-expanded":this.expanded,"angor-card-face-back":this.flippable&&this.face==="back","angor-card-face-front":this.flippable&&this.face==="front","angor-card-flippable":this.flippable}}ngOnChanges(c){"expanded"in c&&(this.expanded=L(c.expanded.currentValue)),"flippable"in c&&(this.flippable=L(c.flippable.currentValue))}};m.\u0275fac=function(d){return new(d||m)},m.\u0275cmp=y({type:m,selectors:[["angor-card"]],hostVars:2,hostBindings:function(d,o){d&2&&z(o.classList)},inputs:{expanded:"expanded",face:"face",flippable:"flippable"},exportAs:["angorCard"],standalone:!0,features:[T,I],ngContentSelectors:Ae,decls:2,vars:2,consts:[[1,"angor-card-front"],[1,"angor-card-back"],[1,"angor-card-expansion"]],template:function(d,o){d&1&&(P(Te),h(0,Re,4,0)(1,He,2,1)),d&2&&(w(o.flippable?0:-1),a(),w(o.flippable?-1:1))},styles:[`angor-card{position:relative;display:flex;overflow:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable{border-radius:0;overflow:visible;transform-style:preserve-3d;transition:transform 1s;perspective:600px;background:transparent;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-front{visibility:hidden;opacity:0;transform:rotateY(180deg)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-back{visibility:visible;opacity:1;transform:rotateY(360deg)}angor-card.angor-card-flippable .angor-card-front,angor-card.angor-card-flippable .angor-card-back{display:flex;flex-direction:column;flex:1 1 auto;z-index:10;transition:transform .5s ease-out 0s,visibility 0s ease-in .2s,opacity 0s ease-in .2s;backface-visibility:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable .angor-card-front{position:relative;opacity:1;visibility:visible;transform:rotateY(0);overflow:hidden}angor-card.angor-card-flippable .angor-card-back{position:absolute;inset:0;opacity:0;visibility:hidden;transform:rotateY(180deg);overflow:hidden auto} +import{a as ne,b as ae,c as ge,d as ue,e as xe}from"./chunk-CUXGZT4Q.js";import{a as oe,b as le,c as me,d as de}from"./chunk-EJSFYMLG.js";import{a as re}from"./chunk-OZSOB2KQ.js";import{b as he}from"./chunk-6EWZX4UI.js";import{d as G,e as K}from"./chunk-SYNSCGYV.js";import{y as ie}from"./chunk-5GRCWTIR.js";import{A as ce,T as pe,U as ve,x as q,y as J,z as se}from"./chunk-KOQX3PBC.js";import{$ as Z,X,Y as $,Z as Q,ba as ee,ca as te,k as L}from"./chunk-6A5WIJYK.js";import{e as W,f as O,k as V}from"./chunk-IMW7L7ZP.js";import{Aa as A,Ba as R,Cb as z,Dc as N,Fb as w,Jb as e,Kb as t,Lb as n,Mb as M,Nb as j,Pb as H,Vb as U,Xb as S,Yb as P,Zb as f,_b as C,ab as k,db as a,dc as s,eb as u,ec as i,fc as _,gc as D,h as F,lc as I,mc as v,nc as Y,qa as y,vc as B,wb as h,yb as r,za as T}from"./chunk-65EYH52Y.js";var Te=[[["","angorCardFront",""]],[["","angorCardBack",""]],"*",[["","angorCardExpansion",""]]],Ae=["[angorCardFront]","[angorCardBack]","*","[angorCardExpansion]"];function Re(l,m){l&1&&(e(0,"div",0),f(1),t(),e(2,"div",1),f(3,1),t())}function ze(l,m){l&1&&(e(0,"div",2),f(1,3),t()),l&2&&r("@expandCollapse",void 0)}function He(l,m){if(l&1&&(f(0,2),h(1,ze,2,1,"div",2)),l&2){let p=S();a(),w(p.expanded?1:-1)}}var Se=(()=>{let m=class m{constructor(){this.expanded=!1,this.face="front",this.flippable=!1}get classList(){return{"angor-card-expanded":this.expanded,"angor-card-face-back":this.flippable&&this.face==="back","angor-card-face-front":this.flippable&&this.face==="front","angor-card-flippable":this.flippable}}ngOnChanges(c){"expanded"in c&&(this.expanded=L(c.expanded.currentValue)),"flippable"in c&&(this.flippable=L(c.flippable.currentValue))}};m.\u0275fac=function(d){return new(d||m)},m.\u0275cmp=y({type:m,selectors:[["angor-card"]],hostVars:2,hostBindings:function(d,o){d&2&&z(o.classList)},inputs:{expanded:"expanded",face:"face",flippable:"flippable"},exportAs:["angorCard"],standalone:!0,features:[T,I],ngContentSelectors:Ae,decls:2,vars:2,consts:[[1,"angor-card-front"],[1,"angor-card-back"],[1,"angor-card-expansion"]],template:function(d,o){d&1&&(P(Te),h(0,Re,4,0)(1,He,2,1)),d&2&&(w(o.flippable?0:-1),a(),w(o.flippable?-1:1))},styles:[`angor-card{position:relative;display:flex;overflow:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable{border-radius:0;overflow:visible;transform-style:preserve-3d;transition:transform 1s;perspective:600px;background:transparent;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-front{visibility:hidden;opacity:0;transform:rotateY(180deg)}angor-card.angor-card-flippable.angor-card-face-back .angor-card-back{visibility:visible;opacity:1;transform:rotateY(360deg)}angor-card.angor-card-flippable .angor-card-front,angor-card.angor-card-flippable .angor-card-back{display:flex;flex-direction:column;flex:1 1 auto;z-index:10;transition:transform .5s ease-out 0s,visibility 0s ease-in .2s,opacity 0s ease-in .2s;backface-visibility:hidden;--tw-bg-opacity: 1;background-color:rgba(var(--angor-bg-card-rgb),var(--tw-bg-opacity));border-radius:1rem;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}angor-card.angor-card-flippable .angor-card-front{position:relative;opacity:1;visibility:visible;transform:rotateY(0);overflow:hidden}angor-card.angor-card-flippable .angor-card-back{position:absolute;inset:0;opacity:0;visibility:hidden;transform:rotateY(180deg);overflow:hidden auto} `],encapsulation:2,data:{animation:re}});let l=m;return l})();var g=()=>["./"],Ue=l=>({"rotate-180":l});function Pe(l,m){if(l&1&&(M(0),n(1,"img",169),j()),l&2){let p=S();a(),C("alt",(p.metadata==null?null:p.metadata.display_name)||(p.metadata==null?null:p.metadata.name)||"Avatar"),r("src",p.metadata==null?null:p.metadata.picture,k)}}function De(l,m){if(l&1&&n(0,"img",170),l&2){let p=S();C("alt",(p.metadata==null?null:p.metadata.display_name)||(p.metadata==null?null:p.metadata.name)||"Avatar")}}var fe=(()=>{let m=class m{constructor(c,d,o,x,b){this._changeDetectorRef=c,this._router=d,this._angorConfigService=o,this._metadataService=x,this._signerService=b,this.isLoading=!0,this.errorMessage=null}ngOnInit(){this.loadUserProfile()}loadUserProfile(){return F(this,null,function*(){this.isLoading=!0,this.errorMessage=null;let c=this._signerService.getPublicKey();if(!c){this.errorMessage="No public key found. Please log in again.",this.isLoading=!1;return}try{let d=yield this._metadataService.fetchMetadataWithCache(c);this.metadata=d,this._metadataService.getMetadataStream().subscribe(o=>{this.metadata=o,this._changeDetectorRef.markForCheck()})}catch(d){console.error("Failed to load profile data:",d),this.errorMessage="Failed to load profile data. Please try again later."}finally{this.isLoading=!1,this._changeDetectorRef.markForCheck()}})}};m.\u0275fac=function(d){return new(d||m)(u(N),u(G),u(ie),u(xe),u(he))},m.\u0275cmp=y({type:m,selectors:[["profile"]],standalone:!0,features:[I],decls:958,vars:146,consts:[["defaultAvatar",""],["listCard08Menu","matMenu"],["listCard09Menu","matMenu"],["listCard02Menu","matMenu"],["listCard01Menu","matMenu"],["listCard04Menu","matMenu"],["postCardMenu01","matMenu"],["expandableCard02","angorCard"],["postCardMenu02","matMenu"],["postCardMenu08","matMenu"],["postCardMenu04","matMenu"],["postCardMenu10","matMenu"],["postCardMenu03","matMenu"],["postCardMenu09","matMenu"],[1,"flex","min-w-0","flex-auto","flex-col"],[1,"bg-card","flex","flex-col","shadow"],["src","images/pages/profile/cover.jpg","alt","Cover image",1,"h-40","object-cover","lg:h-80"],[1,"bg-card","mx-auto","flex","w-full","max-w-5xl","flex-0","flex-col","items-center","px-8","lg:h-18","lg:flex-row"],[1,"-mt-26","rounded-full","lg:-mt-22"],[4,"ngIf","ngIfElse"],[1,"mt-4","flex","flex-col","items-center","lg:ml-8","lg:mt-0","lg:items-start"],[1,"text-lg","font-bold","leading-none"],[1,"text-secondary"],[1,"mx-8","hidden","h-8","border-l-2","lg:flex"],[1,"mt-6","flex","items-center","space-x-6","lg:mt-0"],[1,"flex","flex-col","items-center"],[1,"font-bold"],[1,"text-secondary","text-sm","font-medium"],[1,"mb-4","mt-8","flex","items-center","space-x-6","lg:m-0","lg:ml-auto"],[1,"font-medium",3,"routerLink"],[1,"text-secondary",3,"routerLink"],[1,"mx-auto","flex","w-full","max-w-5xl","flex-auto","justify-center","p-6","sm:p-8"],[1,"mr-8","hidden","flex-col","items-start","lg:flex"],[1,"flex","w-full","max-w-80","flex-col","p-8"],[1,"text-2xl","font-semibold","leading-tight"],[1,"mt-4"],[1,"my-6","w-full","border-t"],[1,"flex","flex-col"],[1,"flex","items-center"],[1,"mr-3","icon-size-5",3,"svgIcon"],[1,"leading-none"],[1,"mt-4","flex","items-center"],["mat-flat-button","",1,"mt-8","px-6",3,"color","routerLink"],[1,"mt-8","flex","w-full","max-w-80","flex-col","px-8","pb-4","pt-6"],[1,"flex","items-center","justify-between"],[1,"-mr-3"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"icon-size-5",3,"svgIcon"],["mat-menu-item",""],[1,"mt-6","flex","justify-between"],["src","images/avatars/avatar-placeholder.png","alt","Card cover image",1,"h-14","w-14","rounded-full"],[1,"mt-3","flex","justify-between"],[1,"-mx-3","mt-6","flex","items-center"],["mat-button","",1,"px-3",3,"color","routerLink"],["src","images/cards/14-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/15-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/16-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/17-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/18-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/19-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/20-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/21-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/22-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/23-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/24-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/25-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/26-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/27-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/28-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],["src","images/cards/29-640x480.jpg","alt","Card cover image",1,"h-14","w-14","rounded","object-cover"],[1,"mt-5","flex","flex-col"],["src","images/cards/coffee-shop-01-320x200.jpg","alt","Card cover image",1,"mr-4","h-14","w-14","rounded","object-cover"],[1,"flex","min-w-0","flex-col"],[1,"font-medium","leading-none"],[1,"mt-1","truncate","text-md","leading-none"],[1,"text-secondary","mt-2","text-md","leading-none"],[1,"mt-6","flex","items-center"],["src","images/cards/coffee-shop-02-512x512.jpg","alt","Card cover image",1,"mr-4","h-14","w-14","rounded","object-cover"],["src","images/cards/coffee-shop-03-320x320.jpg","alt","Card cover image",1,"mr-4","h-14","w-14","rounded","object-cover"],["src","images/cards/sneakers-01-320x200.jpg","alt","Card cover image",1,"mr-4","h-14","w-14","rounded","object-cover"],[1,"flex"],[1,"mr-2","mt-0.5","icon-size-5",3,"svgIcon"],[1,"mt-5","flex"],[1,"text-secondary","whitespace-nowrap","hover:underline",3,"routerLink"],[1,"-mx-3","mt-4","flex","items-center"],["src","images/avatars/avatar-placeholder.png","alt","Card cover image",1,"mr-4","h-10","w-10","rounded-full"],[1,"leading-tight"],[1,"mt-8","flex"],[1,"flex","flex-col","items-start"],[1,"flex","w-full","max-w-140","flex-col","p-6","pb-6","sm:p-8"],[1,"text-xl","font-semibold"],[1,"mt-8","flex","flex-col","items-start","sm:flex-row"],[1,"mb-6","flex","items-center","sm:mb-0"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"mr-4","h-12","w-12","min-w-12","rounded-full",3,"src","alt"],[1,"sm:hidden"],[1,"w-full",3,"subscriptSizing"],["matInput","","cdkTextareaAutosize","",3,"placeholder","rows"],[1,"-mx-3","mt-6","flex","items-center","sm:mt-8"],["mat-button","",1,"mr-1","px-3"],[1,"ml-2"],["mat-button","",1,"mr-1","hidden","px-3","sm:inline-flex"],["mat-button","",1,"px-3",3,"matMenuTriggerFor"],["mat-menu-item","",1,"sm:hidden"],[1,"mt-8","flex","w-full","max-w-140","flex-col"],[1,"mx-6","mb-4","mt-6","flex","items-center","sm:mx-8"],[1,"font-semibold","leading-none"],[1,"text-secondary","mt-1","text-sm","leading-none"],["mat-icon-button","",1,"-mr-4","ml-auto",3,"matMenuTriggerFor"],[1,"my-2"],[1,"mx-6","mb-6","mt-2","sm:mx-8"],[1,"relative","mb-4"],["src","images/cards/14-640x480.jpg","alt","Card cover image",1,"h-80","object-cover"],[1,"absolute","bottom-0","left-0","m-4","flex","h-8","w-8","cursor-pointer","items-center","justify-center","rounded-full","bg-gray-700",3,"matTooltip","matTooltipPosition"],[1,"text-gray-100","icon-size-4",3,"svgIcon"],[1,"mx-3","flex","items-center","sm:mx-5"],[1,"text-red-500","icon-size-5",3,"svgIcon"],[1,"mx-6","mb-6","mt-4","border-b","sm:mx-8"],[1,"mx-6","mb-4","flex","flex-col","sm:mx-8","sm:mb-6","sm:flex-row","sm:items-center"],["src","images/avatars/avatar-placeholder.png","alt","Card cover image",1,"text-card","m-0.5","h-6","w-6","rounded-full","ring-2","ring-white"],["src","images/avatars/avatar-placeholder.png","alt","Card cover image",1,"text-card","m-0.5","-ml-3","h-6","w-6","rounded-full","ring-2","ring-white"],[1,"ml-3","text-md","tracking-tight"],[1,"hidden","flex-auto","sm:flex"],[1,"mt-4","flex","items-center","sm:mt-0"],["mat-button","",1,"-ml-2","mr-1","px-3","sm:ml-0"],["mat-button","",1,"px-3","sm:-mr-4",3,"click"],[1,"mr-1"],[1,"rotate-0","transition-transform","duration-150","ease-in-out","icon-size-5",3,"ngClass","svgIcon"],["angorCardExpansion",""],[1,"m-0","border-b"],[1,"mx-4","mb-3","mt-6","flex","flex-col","sm:mx-8"],[1,"flex","items-start"],["src","images/avatars/avatar-placeholder.png","alt","Card cover image",1,"mr-5","h-12","w-12","rounded-full"],[1,"-mr-3","ml-auto","mt-3","flex","items-center"],["mat-icon-button",""],[1,"mx-4","my-0","border-b","sm:mx-8"],[1,"max-h-120","overflow-y-auto"],[1,"relative","mx-4","my-6","flex","flex-col","sm:mx-8"],["src","images/avatars/avatar-placeholder.png","alt","Card cover image",1,"mr-4","h-8","w-8","rounded-full"],[1,"mt-0.5","flex","flex-col"],[1,"text-secondary","mt-2","flex","items-center","text-sm"],[1,"mr-2","cursor-pointer","hover:underline"],[1,"mr-2"],[1,"ml-12","mt-8","flex","items-start"],[1,"mt-8","flex","items-start"],[1,"mx-6","mb-1","mt-6","flex","items-center","sm:mx-8"],[1,"m-6","sm:mx-8"],["mat-button","",1,"px-3","sm:-mr-3"],[1,"mx-6","mb-4","flex","sm:mx-8"],[1,"flex","h-80","pr-1"],["src","images/cards/17-640x480.jpg","alt","Card cover image",1,"rounded","object-cover"],[1,"flex","flex-col","pl-1"],[1,"flex","h-40","pb-1"],["src","images/cards/18-640x480.jpg","alt","Card cover image",1,"rounded","object-cover"],[1,"flex","h-40","pt-1"],["src","images/cards/19-640x480.jpg","alt","Card cover image",1,"rounded","object-cover"],[1,"mx-6","mb-4","sm:mx-8"],[1,"flex","flex-col","overflow-hidden","rounded","border"],[1,"flex","h-80"],["src","images/cards/36-640x480.jpg","alt","Card cover image",1,"object-cover"],[1,"m-4"],[1,"text-lg","font-medium"],[1,"text-secondary","mt-1"],[1,"text-hint","mt-2","text-sm"],["src","images/cards/15-640x480.jpg","alt","Card cover image",1,"rounded","object-cover"],[1,"flex","h-80","pl-1"],["src","images/cards/16-640x480.jpg","alt","Card cover image",1,"rounded","object-cover"],[1,"flex","overflow-hidden","rounded","border"],[1,"w-40","flex-0"],["src","images/cards/35-640x480.jpg","alt","Card cover image",1,"h-full","w-full","object-cover"],["onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"ring-bg-card","h-32","w-32","rounded-full","ring-4",3,"src","alt"],["src","/images/avatars/avatar-placeholder.png","onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"ring-bg-card","h-32","w-32","rounded-full","ring-4",3,"alt"]],template:function(d,o){if(d&1){let x=H();e(0,"div",14)(1,"div",15)(2,"div"),n(3,"img",16),t(),e(4,"div",17)(5,"div",18),h(6,Pe,2,2,"ng-container",19)(7,De,1,1,"ng-template",null,0,B),t(),e(9,"div",20)(10,"div",21),i(11),t(),e(12,"div",22),i(13),t()(),n(14,"div",23),e(15,"div",24)(16,"div",25)(17,"span",26),i(18,"200k"),t(),e(19,"span",27),i(20,"FOLLOWERS"),t()(),e(21,"div",25)(22,"span",26),i(23,"1.2k"),t(),e(24,"span",27),i(25,"FOLLOWING"),t()()(),e(26,"div",28)(27,"a",29),i(28," Notes "),t(),e(29,"a",30),i(30," About "),t(),e(31,"a",30),i(32," Followers "),t(),e(33,"a",30),i(34," Gallery "),t()()()(),e(35,"div",31)(36,"div",32)(37,"angor-card",33)(38,"div",34),i(39,"About Me"),t(),e(40,"div",35),i(41),t(),n(42,"hr",36),e(43,"div",37)(44,"div",38),n(45,"mat-icon",39),e(46,"span",40),i(47,"London, UK"),t()(),e(48,"div",41),n(49,"mat-icon",39),e(50,"span",40),i(51,"ACME Corp. Lead UX Designer"),t()(),e(52,"div",41),n(53,"mat-icon",39),e(54,"span",40),i(55,"April, 24"),t()()(),e(56,"a",42),i(57," See complete bio "),t()(),e(58,"angor-card",43)(59,"div",44)(60,"div",34),i(61," Followers "),t(),e(62,"div",45)(63,"button",46),n(64,"mat-icon",47),t(),e(65,"mat-menu",null,1)(67,"button",48),i(68,"Find friends"),t()()()(),e(69,"div",37)(70,"div",49),n(71,"img",50)(72,"img",50)(73,"img",50)(74,"img",50),t(),e(75,"div",51),n(76,"img",50)(77,"img",50)(78,"img",50)(79,"img",50),t(),e(80,"div",51),n(81,"img",50)(82,"img",50)(83,"img",50)(84,"img",50),t(),e(85,"div",51),n(86,"img",50)(87,"img",50)(88,"img",50)(89,"img",50),t()(),e(90,"div",52)(91,"a",53),i(92," See all followers "),t()()(),e(93,"angor-card",43)(94,"div",44)(95,"div",34),i(96," Gallery "),t(),e(97,"div",45)(98,"button",46),n(99,"mat-icon",47),t(),e(100,"mat-menu",null,2)(102,"button",48),i(103,"Add image"),t(),e(104,"button",48),i(105,"Add video"),t()()()(),e(106,"div",37)(107,"div",49),n(108,"img",54)(109,"img",55)(110,"img",56)(111,"img",57),t(),e(112,"div",51),n(113,"img",58)(114,"img",59)(115,"img",60)(116,"img",61),t(),e(117,"div",51),n(118,"img",62)(119,"img",63)(120,"img",64)(121,"img",65),t(),e(122,"div",51),n(123,"img",66)(124,"img",67)(125,"img",68)(126,"img",69),t()(),e(127,"div",52)(128,"a",53),i(129," See entire gallery "),t()()(),e(130,"angor-card",43)(131,"div",44)(132,"div",34),i(133," Groups "),t(),e(134,"div",45)(135,"button",46),n(136,"mat-icon",47),t(),e(137,"mat-menu",null,3)(139,"button",48),i(140,"Search for groups"),t()()()(),e(141,"div",70)(142,"div",38),n(143,"img",71),e(144,"div",72)(145,"div",73),i(146," The Port Cafe "),t(),e(147,"div",74),i(148," Best cafe of the downtown New York "),t(),e(149,"div",75),i(150," 1.2k followers "),t()()(),e(151,"div",76),n(152,"img",77),e(153,"div",72)(154,"div",73),i(155," Design House LLC. "),t(),e(156,"div",74),i(157," UI/UX, brand and product design "),t(),e(158,"div",75),i(159," 957 followers "),t()()(),e(160,"div",76),n(161,"img",78),e(162,"div",72)(163,"div",73),i(164," Crax Laser Tag "),t(),e(165,"div",74),i(166," 30% off with group of 6 people "),t(),e(167,"div",75),i(168," 342 followers "),t()()(),e(169,"div",76),n(170,"img",79),e(171,"div",72)(172,"div",73),i(173," Roadster Clothing Inc. "),t(),e(174,"div",74),i(175," $25 off on orders $500 and over "),t(),e(176,"div",75),i(177," 4.7k followers "),t()()()(),e(178,"div",52)(179,"a",53),i(180," See all groups "),t()()(),e(181,"angor-card",43)(182,"div",44)(183,"div",34),i(184,"News"),t(),e(185,"div",45)(186,"button",46),n(187,"mat-icon",47),t(),e(188,"mat-menu",null,4)(190,"button",48),i(191,"Mark all as read"),t()()()(),e(192,"div",70)(193,"div",80),n(194,"mat-icon",81),e(195,"div")(196,"b"),i(197,"20% OFF"),t(),i(198," in your favorite hats shop on next Friday. "),t()(),e(199,"div",82),n(200,"mat-icon",81),e(201,"div"),i(202," Upcoming meetups within 20 miles. "),e(203,"a",83),i(204,"See details "),t()()(),e(205,"div",82),n(206,"mat-icon",81),e(207,"div"),i(208," Concerts from your favorite bands available within 100 miles. "),e(209,"a",83),i(210,"See details "),t()()()(),e(211,"div",84)(212,"a",53),i(213," See all news "),t()()(),e(214,"angor-card",43)(215,"div",44)(216,"div",34),i(217," Activity Feed "),t(),e(218,"div",45)(219,"button",46),n(220,"mat-icon",47),t(),e(221,"mat-menu",null,5)(223,"button",48),i(224,"Clear activities"),t()()()(),e(225,"div",70)(226,"div",80),n(227,"img",85),e(228,"div",72)(229,"div",86),i(230," Amelia Edwards commented on John Silverton's photo "),t(),e(231,"div",75),i(232," 4 minutes ago "),t()()(),e(233,"div",87),n(234,"img",85),e(235,"div",72)(236,"div",86),i(237," Lew Silverton changed his profile photo "),t(),e(238,"div",75),i(239," 25 minutes ago "),t()()(),e(240,"div",87),n(241,"img",85),e(242,"div",72)(243,"div",86),i(244," Display Name liked your photo "),t(),e(245,"div",75),i(246," 3 hours ago "),t()()(),e(247,"div",87),n(248,"img",85),e(249,"div",72)(250,"div",86),i(251," Marleah Eagleston commented on John Silverton's photo "),t(),e(252,"div",75),i(253," Yesterday "),t()()()(),e(254,"div",52)(255,"a",53),i(256," See entire activity feed "),t()()()(),e(257,"div",88)(258,"angor-card",89)(259,"div",90),i(260,"Create Post"),t(),e(261,"div",91)(262,"div",92),n(263,"img",93),e(264,"div",94),i(265),t()(),e(266,"mat-form-field",95),n(267,"textarea",96),t()(),e(268,"div",97)(269,"button",98),n(270,"mat-icon",47),e(271,"span",99),i(272,"Photo / Video"),t()(),e(273,"button",100),n(274,"mat-icon",47),e(275,"span",99),i(276,"Tag Friends"),t()(),e(277,"button",100),n(278,"mat-icon",47),e(279,"span",99),i(280,"Feeling"),t()(),e(281,"button",101),n(282,"mat-icon",47),t(),e(283,"mat-menu",null,6)(285,"button",102)(286,"span",38),n(287,"mat-icon",39),e(288,"span"),i(289,"Tag Friends"),t()()(),e(290,"button",102)(291,"span",38),n(292,"mat-icon",39),e(293,"span"),i(294,"Feeling"),t()()(),e(295,"button",48)(296,"span",38),n(297,"mat-icon",39),e(298,"span"),i(299,"Live"),t()()(),e(300,"button",48)(301,"span",38),n(302,"mat-icon",39),e(303,"span"),i(304,"Gif"),t()()(),e(305,"button",48)(306,"span",38),n(307,"mat-icon",39),e(308,"span"),i(309,"Check in"),t()()()()()(),e(310,"angor-card",103,7)(312,"div",104),n(313,"img",85),e(314,"div",37)(315,"span",105),i(316,"Caroline Lundu"),t(),e(317,"span",106),i(318,"29 minutes ago"),t()(),e(319,"button",107),n(320,"mat-icon",47),t(),e(321,"mat-menu",null,8)(323,"button",48)(324,"span",38),n(325,"mat-icon",39),e(326,"span"),i(327,"Save post"),t()()(),e(328,"button",48)(329,"span",38),n(330,"mat-icon",39),e(331,"span"),i(332,"Hide post"),t()()(),e(333,"button",48)(334,"span",38),n(335,"mat-icon",39),e(336,"span"),i(337,"Snooze for 30 days"),t()()(),e(338,"button",48)(339,"span",38),n(340,"mat-icon",39),e(341,"span"),i(342,"Hide all"),t()()(),n(343,"mat-divider",108),e(344,"button",48)(345,"span",38),n(346,"mat-icon",39),e(347,"span"),i(348,"Report post"),t()()(),e(349,"button",48)(350,"span",38),n(351,"mat-icon",39),e(352,"span"),i(353,"Turn on notifications for this post"),t()()()()(),e(354,"div",109),i(355," Look at that sky! I so want to be there.. Can we arrange a trip? Is that a possibility? Please!!! "),t(),e(356,"div",110),n(357,"img",111),e(358,"div",112),n(359,"mat-icon",113),t()(),e(360,"div",114)(361,"button",98),n(362,"mat-icon",115),e(363,"span",99),i(364,"Unlike"),t()(),e(365,"button",98),n(366,"mat-icon",47),e(367,"span",99),i(368,"Comment"),t()(),e(369,"button",98),n(370,"mat-icon",47),e(371,"span",99),i(372,"Share"),t()()(),n(373,"hr",116),e(374,"div",117)(375,"div",38),n(376,"img",118)(377,"img",119)(378,"img",119)(379,"img",119),e(380,"div",120),i(381," You and 24 more liked this "),t()(),n(382,"div",121),e(383,"div",122)(384,"button",123),i(385," 4 shares "),t(),e(386,"button",124),U("click",function(){A(x);let E=s(311);return R(E.expanded=!E.expanded)}),e(387,"span",125),i(388,"5 Comments"),t(),n(389,"mat-icon",126),t()()(),M(390,127),n(391,"hr",128),e(392,"div",129)(393,"div",130),n(394,"img",131),e(395,"mat-form-field",95),n(396,"textarea",96),t()(),e(397,"div",132)(398,"button",133),n(399,"mat-icon",47),t(),e(400,"button",133),n(401,"mat-icon",47),t(),e(402,"button",133),n(403,"mat-icon",47),t()()(),n(404,"hr",134),e(405,"div",135)(406,"div",136)(407,"div",130),n(408,"img",137),e(409,"div",138)(410,"span")(411,"b"),i(412,"Rutherford Brannan"),t(),i(413," Oh, I\u2019m in.. Let\u2019s arrange a trip for the next weekend if you want! "),t(),e(414,"div",139)(415,"span",140),i(416,"Like"),t(),e(417,"span",140),i(418,"Reply"),t(),e(419,"span",140),i(420,"Hide replies"),t(),e(421,"span",141),i(422,"\u2022"),t(),e(423,"span"),i(424,"17 min"),t()()()(),e(425,"div",142),n(426,"img",137),e(427,"div",138)(428,"span")(429,"b"),i(430,"Caroline Lundu"),t(),i(431," Yes!! Let's talk about it on lunch! "),t(),e(432,"div",139)(433,"span",140),i(434,"Like"),t(),e(435,"span",140),i(436,"Reply"),t(),e(437,"span",141),i(438,"\u2022"),t(),e(439,"span"),i(440,"15 min"),t()()()(),e(441,"div",142),n(442,"img",137),e(443,"div",138)(444,"span")(445,"b"),i(446,"Barbara Cotilla"),t(),i(447," Count me in !!! "),t(),e(448,"div",139)(449,"span",140),i(450,"Like"),t(),e(451,"span",140),i(452,"Reply"),t(),e(453,"span",141),i(454,"\u2022"),t(),e(455,"span"),i(456,"12 min"),t()()()(),e(457,"div",143),n(458,"img",137),e(459,"div",138)(460,"span")(461,"b"),i(462,"Alan Marti"),t(),i(463," The color of the sky doesn\u2019t look natural at all, do you really think this is natural? I\u2019d say Photoshop! Your trip isn't going to worth it since you won't be seeing this exact sky. "),t(),e(464,"div",139)(465,"span",140),i(466,"Like"),t(),e(467,"span",140),i(468,"Reply"),t(),e(469,"span",140),i(470,"Hide replies"),t(),e(471,"span",141),i(472,"\u2022"),t(),e(473,"span"),i(474,"24 min"),t()()()(),e(475,"div",142),n(476,"img",137),e(477,"div",138)(478,"span")(479,"b"),i(480,"Caroline Lundu"),t(),i(481," Hey, Alan! You must be fun at parties! "),t(),e(482,"div",139)(483,"span",140),i(484,"Like"),t(),e(485,"span",140),i(486,"Reply"),t(),e(487,"span",141),i(488,"\u2022"),t(),e(489,"span"),i(490,"22 min"),t()()()(),e(491,"div",142),n(492,"img",137),e(493,"div",138)(494,"span")(495,"b"),i(496,"Alan Marti"),t(),i(497," Caroline, I'm telling the truth, and if you cannot stand the truth, maybe we shouldn't be friends anymore... "),t(),e(498,"div",139)(499,"span",140),i(500,"Like"),t(),e(501,"span",140),i(502,"Reply"),t(),e(503,"span",141),i(504,"\u2022"),t(),e(505,"span"),i(506,"20 min"),t()()()(),e(507,"div",142),n(508,"img",137),e(509,"div",138)(510,"span")(511,"b"),i(512,"Caroline Lundu"),t(),i(513," Dude! Relax! I'm just messing with you... "),t(),e(514,"div",139)(515,"span",140),i(516,"Like"),t(),e(517,"span",140),i(518,"Reply"),t(),e(519,"span",141),i(520,"\u2022"),t(),e(521,"span"),i(522,"18 min"),t()()()(),e(523,"div",142),n(524,"img",137),e(525,"div",138)(526,"span")(527,"b"),i(528,"Alan Marti"),t(),i(529," Sorry! I had a bad morning, let's talk about this in couple hours, I need to relax a bit :( "),t(),e(530,"div",139)(531,"span",140),i(532,"Like"),t(),e(533,"span",140),i(534,"Reply"),t(),e(535,"span",141),i(536,"\u2022"),t(),e(537,"span"),i(538,"16 min"),t()()()(),e(539,"div",143),n(540,"img",137),e(541,"div",138)(542,"span")(543,"b"),i(544,"Marleah Eagleston"),t(),i(545," Count me in, too! "),t(),e(546,"div",139)(547,"span",140),i(548,"Like"),t(),e(549,"span",140),i(550,"Reply"),t(),e(551,"span",141),i(552,"\u2022"),t(),e(553,"span"),i(554,"34 min"),t()()()()()(),j(),t(),e(555,"angor-card",103)(556,"div",144),n(557,"img",85),e(558,"div",37)(559,"span",105),i(560,"Caroline Lundu"),t(),e(561,"span",106),i(562,"29 minutes ago"),t()(),e(563,"button",107),n(564,"mat-icon",47),t(),e(565,"mat-menu",null,9)(567,"button",48)(568,"span",38),n(569,"mat-icon",39),e(570,"span"),i(571,"Save post"),t()()(),e(572,"button",48)(573,"span",38),n(574,"mat-icon",39),e(575,"span"),i(576,"Hide post"),t()()(),e(577,"button",48)(578,"span",38),n(579,"mat-icon",39),e(580,"span"),i(581,"Snooze for 30 days"),t()()(),e(582,"button",48)(583,"span",38),n(584,"mat-icon",39),e(585,"span"),i(586,"Hide all"),t()()(),n(587,"mat-divider",108),e(588,"button",48)(589,"span",38),n(590,"mat-icon",39),e(591,"span"),i(592,"Report post"),t()()(),e(593,"button",48)(594,"span",38),n(595,"mat-icon",39),e(596,"span"),i(597,"Turn on notifications for this post"),t()()()()(),e(598,"div",145)(599,"p"),i(600," We'll put a happy little sky in here. We touch the canvas, the canvas takes what it wants. A little happy sunlight shining through there. Let's build some happy little clouds up here. I was blessed with a very steady hand; and it comes in very handy when you're doing these little delicate things. This is the fun part. "),t(),e(601,"p",35),i(602," Isn't it great to do something you can't fail at? Little trees and bushes grow however makes them happy. Trees get lonely too, so we'll give him a little friend. There are no mistakes. You can fix anything that happens. "),t()(),e(603,"div",114)(604,"button",98),n(605,"mat-icon",115),e(606,"span",99),i(607,"Unlike"),t()(),e(608,"button",98),n(609,"mat-icon",47),e(610,"span",99),i(611,"Comment"),t()(),e(612,"button",98),n(613,"mat-icon",47),e(614,"span",99),i(615,"Share"),t()()(),n(616,"hr",116),e(617,"div",117)(618,"div",38),n(619,"img",118)(620,"img",119)(621,"img",119)(622,"img",119),e(623,"div",120),i(624," You and 24 more liked this "),t()(),n(625,"div",121),e(626,"div",122)(627,"button",123),i(628," 4 shares "),t(),e(629,"button",146),i(630," No comments "),t()()()(),e(631,"angor-card",103)(632,"div",104),n(633,"img",85),e(634,"div",37)(635,"span",105),i(636,"Marleah Eagleston"),t(),e(637,"span",106),i(638,"29 minutes ago"),t()(),e(639,"button",107),n(640,"mat-icon",47),t(),e(641,"mat-menu",null,10)(643,"button",48)(644,"span",38),n(645,"mat-icon",39),e(646,"span"),i(647,"Save post"),t()()(),e(648,"button",48)(649,"span",38),n(650,"mat-icon",39),e(651,"span"),i(652,"Hide post"),t()()(),e(653,"button",48)(654,"span",38),n(655,"mat-icon",39),e(656,"span"),i(657,"Snooze for 30 days"),t()()(),e(658,"button",48)(659,"span",38),n(660,"mat-icon",39),e(661,"span"),i(662,"Hide all"),t()()(),n(663,"mat-divider",108),e(664,"button",48)(665,"span",38),n(666,"mat-icon",39),e(667,"span"),i(668,"Report post"),t()()(),e(669,"button",48)(670,"span",38),n(671,"mat-icon",39),e(672,"span"),i(673,"Turn on notifications for this post"),t()()()()(),e(674,"div",109),i(675," Look at that sky! I so want to be there.. Can we arrange a trip? Is that a possibility? Please!!! "),t(),e(676,"div",147)(677,"div",148),n(678,"img",149),t(),e(679,"div",150)(680,"div",151),n(681,"img",152),t(),e(682,"div",153),n(683,"img",154),t()()(),e(684,"div",114)(685,"button",98),n(686,"mat-icon",115),e(687,"span",99),i(688,"Unlike"),t()(),e(689,"button",98),n(690,"mat-icon",47),e(691,"span",99),i(692,"Comment"),t()(),e(693,"button",98),n(694,"mat-icon",47),e(695,"span",99),i(696,"Share"),t()()(),n(697,"hr",116),e(698,"div",117)(699,"div",38),n(700,"img",118)(701,"img",119)(702,"img",119)(703,"img",119),e(704,"div",120),i(705," You and 24 more liked this "),t()(),n(706,"div",121),e(707,"div",122)(708,"button",123),i(709," 4 shares "),t(),e(710,"button",146),i(711," No comments "),t()()()(),e(712,"angor-card",103)(713,"div",104),n(714,"img",85),e(715,"div",37)(716,"span",73),i(717,"Caroline Lundu"),t(),e(718,"span",106),i(719,"29 minutes ago"),t()(),e(720,"button",107),n(721,"mat-icon",47),t(),e(722,"mat-menu",null,11)(724,"button",48)(725,"span",38),n(726,"mat-icon",39),e(727,"span"),i(728,"Save post"),t()()(),e(729,"button",48)(730,"span",38),n(731,"mat-icon",39),e(732,"span"),i(733,"Hide post"),t()()(),e(734,"button",48)(735,"span",38),n(736,"mat-icon",39),e(737,"span"),i(738,"Snooze for 30 days"),t()()(),e(739,"button",48)(740,"span",38),n(741,"mat-icon",39),e(742,"span"),i(743,"Hide all"),t()()(),n(744,"mat-divider",108),e(745,"button",48)(746,"span",38),n(747,"mat-icon",39),e(748,"span"),i(749,"Report post"),t()()(),e(750,"button",48)(751,"span",38),n(752,"mat-icon",39),e(753,"span"),i(754,"Turn on notifications for this post"),t()()()()(),e(755,"div",109),i(756," Hey!! I never saw this one, it was amazing.. I think I\u2019m going to buy myself a set and try his technique at home! "),t(),e(757,"div",155)(758,"div",156)(759,"div",157),n(760,"img",158),t(),e(761,"div",159)(762,"div",160),i(763," Take a look behind the scenes of Rob Boss episodes "),t(),e(764,"div",161),i(765," We'll put a happy little sky in here. We touch the canvas, the canvas takes what it wants. A little happy sunlight shining through there. "),t(),e(766,"div",162),i(767," example.com "),t()()()(),e(768,"div",114)(769,"button",98),n(770,"mat-icon",115),e(771,"span",99),i(772,"Unlike"),t()(),e(773,"button",98),n(774,"mat-icon",47),e(775,"span",99),i(776,"Comment"),t()(),e(777,"button",98),n(778,"mat-icon",47),e(779,"span",99),i(780,"Share"),t()()(),n(781,"hr",116),e(782,"div",117)(783,"div",38),n(784,"img",118)(785,"img",119)(786,"img",119)(787,"img",119),e(788,"div",120),i(789," You and 24 more liked this "),t()(),n(790,"div",121),e(791,"div",122)(792,"button",123),i(793," 4 shares "),t(),e(794,"button",146),i(795," No comments "),t()()()(),e(796,"angor-card",103)(797,"div",104),n(798,"img",85),e(799,"div",37)(800,"span",105),i(801,"Marleah Eagleston"),t(),e(802,"span",106),i(803,"29 minutes ago"),t()(),e(804,"button",107),n(805,"mat-icon",47),t(),e(806,"mat-menu",null,12)(808,"button",48)(809,"span",38),n(810,"mat-icon",39),e(811,"span"),i(812,"Save post"),t()()(),e(813,"button",48)(814,"span",38),n(815,"mat-icon",39),e(816,"span"),i(817,"Hide post"),t()()(),e(818,"button",48)(819,"span",38),n(820,"mat-icon",39),e(821,"span"),i(822,"Snooze for 30 days"),t()()(),e(823,"button",48)(824,"span",38),n(825,"mat-icon",39),e(826,"span"),i(827,"Hide all"),t()()(),n(828,"mat-divider",108),e(829,"button",48)(830,"span",38),n(831,"mat-icon",39),e(832,"span"),i(833,"Report post"),t()()(),e(834,"button",48)(835,"span",38),n(836,"mat-icon",39),e(837,"span"),i(838,"Turn on notifications for this post"),t()()()()(),e(839,"div",109),i(840," Look at that sky! I so want to be there.. Can we arrange a trip? Is that a possibility? Please!!! "),t(),e(841,"div",147)(842,"div",148),n(843,"img",163),t(),e(844,"div",164),n(845,"img",165),t()(),e(846,"div",114)(847,"button",98),n(848,"mat-icon",115),e(849,"span",99),i(850,"Unlike"),t()(),e(851,"button",98),n(852,"mat-icon",47),e(853,"span",99),i(854,"Comment"),t()(),e(855,"button",98),n(856,"mat-icon",47),e(857,"span",99),i(858,"Share"),t()()(),n(859,"hr",116),e(860,"div",117)(861,"div",38),n(862,"img",118)(863,"img",119)(864,"img",119)(865,"img",119),e(866,"div",120),i(867," You and 24 more liked this "),t()(),n(868,"div",121),e(869,"div",122)(870,"button",123),i(871," 4 shares "),t(),e(872,"button",146),i(873," No comments "),t()()()(),e(874,"angor-card",103)(875,"div",104),n(876,"img",85),e(877,"div",37)(878,"span",105),i(879,"Caroline Lundu"),t(),e(880,"span",106),i(881,"29 minutes ago"),t()(),e(882,"button",107),n(883,"mat-icon",47),t(),e(884,"mat-menu",null,13)(886,"button",48)(887,"span",38),n(888,"mat-icon",39),e(889,"span"),i(890,"Save post"),t()()(),e(891,"button",48)(892,"span",38),n(893,"mat-icon",39),e(894,"span"),i(895,"Hide post"),t()()(),e(896,"button",48)(897,"span",38),n(898,"mat-icon",39),e(899,"span"),i(900,"Snooze for 30 days"),t()()(),e(901,"button",48)(902,"span",38),n(903,"mat-icon",39),e(904,"span"),i(905,"Hide all"),t()()(),n(906,"mat-divider",108),e(907,"button",48)(908,"span",38),n(909,"mat-icon",39),e(910,"span"),i(911,"Report post"),t()()(),e(912,"button",48)(913,"span",38),n(914,"mat-icon",39),e(915,"span"),i(916,"Turn on notifications for this post"),t()()()()(),e(917,"div",109),i(918," Hey!! I never saw this episode, it was amazing.. I think I\u2019m going to buy myself a set and try his technique at home! "),t(),e(919,"div",155)(920,"div",166)(921,"div",167),n(922,"img",168),t(),e(923,"div",159)(924,"div",160),i(925," Rob Boss - Season 09 Episode 04 "),t(),e(926,"div",161),i(927," We'll put a happy little sky in here. We touch the canvas, the canvas takes what it wants. A little happy sunlight shining through there. "),t(),e(928,"div",162),i(929," example.com "),t()()()(),e(930,"div",114)(931,"button",98),n(932,"mat-icon",115),e(933,"span",99),i(934,"Unlike"),t()(),e(935,"button",98),n(936,"mat-icon",47),e(937,"span",99),i(938,"Comment"),t()(),e(939,"button",98),n(940,"mat-icon",47),e(941,"span",99),i(942,"Share"),t()()(),n(943,"hr",116),e(944,"div",117)(945,"div",38),n(946,"img",118)(947,"img",119)(948,"img",119)(949,"img",119),e(950,"div",120),i(951," You and 24 more liked this "),t()(),n(952,"div",121),e(953,"div",122)(954,"button",123),i(955," 4 shares "),t(),e(956,"button",146),i(957," No comments "),t()()()()()()()}if(d&2){let x=s(8),b=s(66),E=s(101),be=s(138),Ee=s(189),ye=s(222),we=s(284),Ce=s(311),_e=s(322),Ie=s(566),ke=s(642),Me=s(723),je=s(807),Le=s(885);a(6),r("ngIf",o.metadata==null?null:o.metadata.picture)("ngIfElse",x),a(5),_((o.metadata==null?null:o.metadata.display_name)||(o.metadata==null?null:o.metadata.name)||"Unknown User"),a(2),_((o.metadata==null?null:o.metadata.username)||(o.metadata==null?null:o.metadata.name)),a(14),r("routerLink",v(132,g)),a(2),r("routerLink",v(133,g)),a(2),r("routerLink",v(134,g)),a(2),r("routerLink",v(135,g)),a(8),D(" ",(o.metadata==null?null:o.metadata.about)||""," "),a(4),r("svgIcon","heroicons_solid:map-pin"),a(4),r("svgIcon","heroicons_solid:briefcase"),a(4),r("svgIcon","heroicons_solid:cake"),a(3),r("color","primary")("routerLink",v(136,g)),a(7),r("matMenuTriggerFor",b),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(27),r("color","primary")("routerLink",v(137,g)),a(7),r("matMenuTriggerFor",E),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(29),r("color","primary")("routerLink",v(138,g)),a(7),r("matMenuTriggerFor",be),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(43),r("color","primary")("routerLink",v(139,g)),a(7),r("matMenuTriggerFor",Ee),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(7),r("svgIcon","heroicons_solid:bell"),a(6),r("svgIcon","heroicons_solid:bell"),a(3),r("routerLink",v(140,g)),a(3),r("svgIcon","heroicons_solid:bell"),a(3),r("routerLink",v(141,g)),a(3),r("color","primary")("routerLink",v(142,g)),a(7),r("matMenuTriggerFor",ye),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(35),r("color","primary")("routerLink",v(143,g)),a(8),C("alt",(o.metadata==null?null:o.metadata.display_name)||(o.metadata==null?null:o.metadata.name)||"Avatar"),r("src",(o.metadata==null?null:o.metadata.picture)||"images/avatars/avatar-placeholder.png",k),a(2),_((o.metadata==null?null:o.metadata.name)||"Unknown User"),a(),r("subscriptSizing","dynamic"),a(),r("placeholder","What's on your mind?")("rows",3),a(3),r("svgIcon","heroicons_solid:photo"),a(4),r("svgIcon","heroicons_solid:user-circle"),a(4),r("svgIcon","heroicons_solid:face-smile"),a(3),r("matMenuTriggerFor",we),a(),r("svgIcon","heroicons_solid:ellipsis-horizontal"),a(5),r("svgIcon","heroicons_solid:user-circle"),a(5),r("svgIcon","heroicons_solid:face-smile"),a(5),r("svgIcon","heroicons_solid:play"),a(5),r("svgIcon","heroicons_solid:sparkles"),a(5),r("svgIcon","heroicons_solid:map-pin"),a(12),r("matMenuTriggerFor",_e),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(5),r("svgIcon","heroicons_solid:arrow-up-tray"),a(5),r("svgIcon","heroicons_solid:eye-slash"),a(5),r("svgIcon","heroicons_solid:clock"),a(5),r("svgIcon","heroicons_solid:minus-circle"),a(6),r("svgIcon","heroicons_solid:exclamation-triangle"),a(5),r("svgIcon","heroicons_solid:bell"),a(7),r("matTooltip","Barmouth / UK")("matTooltipPosition","right"),a(),r("svgIcon","heroicons_solid:map-pin"),a(3),r("svgIcon","heroicons_solid:heart"),a(4),r("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),a(4),r("svgIcon","heroicons_solid:share"),a(19),r("ngClass",Y(144,Ue,Ce.expanded))("svgIcon","heroicons_mini:chevron-down"),a(6),r("subscriptSizing","dynamic"),a(),r("placeholder","Write a comment...")("rows",3),a(3),r("svgIcon","heroicons_solid:sparkles"),a(2),r("svgIcon","heroicons_solid:face-smile"),a(2),r("svgIcon","heroicons_solid:photo"),a(160),r("matMenuTriggerFor",Ie),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(5),r("svgIcon","heroicons_solid:arrow-up-tray"),a(5),r("svgIcon","heroicons_solid:eye-slash"),a(5),r("svgIcon","heroicons_solid:clock"),a(5),r("svgIcon","heroicons_solid:minus-circle"),a(6),r("svgIcon","heroicons_solid:exclamation-triangle"),a(5),r("svgIcon","heroicons_solid:bell"),a(10),r("svgIcon","heroicons_solid:heart"),a(4),r("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),a(4),r("svgIcon","heroicons_solid:share"),a(26),r("matMenuTriggerFor",ke),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(5),r("svgIcon","heroicons_solid:arrow-up-tray"),a(5),r("svgIcon","heroicons_solid:eye-slash"),a(5),r("svgIcon","heroicons_solid:clock"),a(5),r("svgIcon","heroicons_solid:minus-circle"),a(6),r("svgIcon","heroicons_solid:exclamation-triangle"),a(5),r("svgIcon","heroicons_solid:bell"),a(15),r("svgIcon","heroicons_solid:heart"),a(4),r("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),a(4),r("svgIcon","heroicons_solid:share"),a(26),r("matMenuTriggerFor",Me),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(5),r("svgIcon","heroicons_solid:arrow-up-tray"),a(5),r("svgIcon","heroicons_solid:eye-slash"),a(5),r("svgIcon","heroicons_solid:clock"),a(5),r("svgIcon","heroicons_solid:minus-circle"),a(6),r("svgIcon","heroicons_solid:exclamation-triangle"),a(5),r("svgIcon","heroicons_solid:bell"),a(18),r("svgIcon","heroicons_solid:heart"),a(4),r("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),a(4),r("svgIcon","heroicons_solid:share"),a(26),r("matMenuTriggerFor",je),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(5),r("svgIcon","heroicons_solid:arrow-up-tray"),a(5),r("svgIcon","heroicons_solid:eye-slash"),a(5),r("svgIcon","heroicons_solid:clock"),a(5),r("svgIcon","heroicons_solid:minus-circle"),a(6),r("svgIcon","heroicons_solid:exclamation-triangle"),a(5),r("svgIcon","heroicons_solid:bell"),a(12),r("svgIcon","heroicons_solid:heart"),a(4),r("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),a(4),r("svgIcon","heroicons_solid:share"),a(26),r("matMenuTriggerFor",Le),a(),r("svgIcon","heroicons_solid:ellipsis-vertical"),a(5),r("svgIcon","heroicons_solid:arrow-up-tray"),a(5),r("svgIcon","heroicons_solid:eye-slash"),a(5),r("svgIcon","heroicons_solid:clock"),a(5),r("svgIcon","heroicons_solid:minus-circle"),a(6),r("svgIcon","heroicons_solid:exclamation-triangle"),a(5),r("svgIcon","heroicons_solid:bell"),a(18),r("svgIcon","heroicons_solid:heart"),a(4),r("svgIcon","heroicons_solid:chat-bubble-left-ellipsis"),a(4),r("svgIcon","heroicons_solid:share")}},dependencies:[K,Se,te,ee,Z,$,X,Q,de,le,oe,me,J,q,ve,pe,se,ce,ue,ge,ae,ne,W,V,O],encapsulation:2,changeDetection:0});let l=m;return l})();var bt=[{path:"",component:fe}];export{bt as default}; diff --git a/chunk-GQBLPFT4.js b/chunk-CUXGZT4Q.js similarity index 97% rename from chunk-GQBLPFT4.js rename to chunk-CUXGZT4Q.js index 026969b..62f9884 100644 --- a/chunk-GQBLPFT4.js +++ b/chunk-CUXGZT4Q.js @@ -1 +1 @@ -import{a as kt}from"./chunk-6EWZX4UI.js";import{b as Ut,e as zt,f as jt,o as he,r as Vt}from"./chunk-5GRCWTIR.js";import{B as Bt,C as Ft,D as Yt,G as oe,a as Nt,c as Ot,j as Lt,k as ne,l as Ye,t as Mt}from"./chunk-6A5WIJYK.js";import{b as At,e as Ct,k as Pt}from"./chunk-IMW7L7ZP.js";import{Aa as ft,Ab as de,Ba as ut,Dc as xt,Ga as dt,Ia as ue,Jb as Be,Kb as wt,Pa as ht,Pb as It,Vb as Fe,a as q,ac as Tt,b as st,ba as J,bc as Et,c as le,cc as St,db as mt,e as Ji,eb as U,ec as Rt,fc as Dt,g as Zi,h as $,ha as re,ia as _e,ka as Oe,lb as pt,lc as be,ma as Le,n as fe,na as Me,o as ct,ob as vt,pb as _t,qa as ge,ra as ye,sa as lt,xb as gt,yb as yt,zb as bt}from"./chunk-65EYH52Y.js";var Qt=Ji((Wt,Ue)=>{(function(b){if(typeof Wt=="object"&&typeof Ue<"u")Ue.exports=b();else if(typeof define=="function"&&define.amd)define([],b);else{var v;typeof window<"u"?v=window:typeof global<"u"?v=global:typeof self<"u"?v=self:v=this,v.localforage=b()}})(function(){var b,v,dr;return function r(s,l,_){function w(C,B){if(!l[C]){if(!s[C]){var p=typeof le=="function"&≤if(!B&&p)return p(C,!0);if(E)return E(C,!0);var y=new Error("Cannot find module '"+C+"'");throw y.code="MODULE_NOT_FOUND",y}var P=l[C]={exports:{}};s[C][0].call(P.exports,function(L){var H=s[C][1][L];return w(H||L)},P,P.exports,r,s,l,_)}return l[C].exports}for(var E=typeof le=="function"&&le,A=0;A<_.length;A++)w(_[A]);return w}({1:[function(r,s,l){(function(_){"use strict";var w=_.MutationObserver||_.WebKitMutationObserver,E;if(w){var A=0,C=new w(L),B=_.document.createTextNode("");C.observe(B,{characterData:!0}),E=function(){B.data=A=++A%2}}else if(!_.setImmediate&&typeof _.MessageChannel<"u"){var p=new _.MessageChannel;p.port1.onmessage=L,E=function(){p.port2.postMessage(0)}}else"document"in _&&"onreadystatechange"in _.document.createElement("script")?E=function(){var M=_.document.createElement("script");M.onreadystatechange=function(){L(),M.onreadystatechange=null,M.parentNode.removeChild(M),M=null},_.document.documentElement.appendChild(M)}:E=function(){setTimeout(L,0)};var y,P=[];function L(){y=!0;for(var M,X,F=P.length;F;){for(X=P,P=[],M=-1;++M"u"&&r(3);var p=Promise;function y(e,i){i&&e.then(function(t){i(null,t)},function(t){i(t)})}function P(e,i,t){typeof i=="function"&&e.then(i),typeof t=="function"&&e.catch(t)}function L(e){return typeof e!="string"&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function H(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var M="local-forage-detect-blob-support",X=void 0,F={},Ie=Object.prototype.toString,Z="readonly",m="readwrite";function S(e){for(var i=e.length,t=new ArrayBuffer(i),o=new Uint8Array(t),a=0;a=43)}}).catch(function(){return!1})}function x(e){return typeof X=="boolean"?p.resolve(X):T(e).then(function(i){return X=i,X})}function Y(e){var i=F[e.name],t={};t.promise=new p(function(o,a){t.resolve=o,t.reject=a}),i.deferredOperations.push(t),i.dbReady?i.dbReady=i.dbReady.then(function(){return t.promise}):i.dbReady=t.promise}function z(e){var i=F[e.name],t=i.deferredOperations.pop();if(t)return t.resolve(),t.promise}function j(e,i){var t=F[e.name],o=t.deferredOperations.pop();if(o)return o.reject(i),o.promise}function V(e,i){return new p(function(t,o){if(F[e.name]=F[e.name]||je(),e.db)if(i)Y(e),e.db.close();else return t(e.db);var a=[e.name];i&&a.push(e.version);var n=A.open.apply(A,a);i&&(n.onupgradeneeded=function(c){var f=n.result;try{f.createObjectStore(e.storeName),c.oldVersion<=1&&f.createObjectStore(M)}catch(u){if(u.name==="ConstraintError")console.warn('The database "'+e.name+'" has been upgraded from version '+c.oldVersion+" to version "+c.newVersion+', but the storage "'+e.storeName+'" already exists.');else throw u}}),n.onerror=function(c){c.preventDefault(),o(n.error)},n.onsuccess=function(){var c=n.result;c.onversionchange=function(f){f.target.close()},t(c),z(e)}})}function G(e){return V(e,!1)}function ae(e){return V(e,!0)}function me(e,i){if(!e.db)return!0;var t=!e.db.objectStoreNames.contains(e.storeName),o=e.versione.db.version;if(o&&(e.version!==i&&console.warn('The database "'+e.name+`" can't be downgraded from version `+e.db.version+" to version "+e.version+"."),e.version=e.db.version),a||t){if(t){var n=e.db.version+1;n>e.version&&(e.version=n)}return!0}return!1}function Te(e){return new p(function(i,t){var o=new FileReader;o.onerror=t,o.onloadend=function(a){var n=btoa(a.target.result||"");i({__local_forage_encoded_blob:!0,data:n,type:e.type})},o.readAsBinaryString(e)})}function te(e){var i=S(atob(e.data));return B([i],{type:e.type})}function ze(e){return e&&e.__local_forage_encoded_blob}function Zt(e){var i=this,t=i._initReady().then(function(){var o=F[i._dbInfo.name];if(o&&o.dbReady)return o.dbReady});return P(t,e,e),t}function qt(e){Y(e);for(var i=F[e.name],t=i.forages,o=0;o0&&(!e.db||n.name==="InvalidStateError"||n.name==="NotFoundError"))return p.resolve().then(function(){if(!e.db||n.name==="NotFoundError"&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),ae(e)}).then(function(){return qt(e).then(function(){W(e,i,t,o-1)})}).catch(t);t(n)}}function je(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ei(e){var i=this,t={db:null};if(e)for(var o in e)t[o]=e[o];var a=F[t.name];a||(a=je(),F[t.name]=a),a.forages.push(i),i._initReady||(i._initReady=i.ready,i.ready=Zt);var n=[];function c(){return p.resolve()}for(var f=0;f>4,h[a++]=(c&15)<<4|f>>2,h[a++]=(f&3)<<6|u&63;return d}function De(e){var i=new Uint8Array(e),t="",o;for(o=0;o>2],t+=Q[(i[o]&3)<<4|i[o+1]>>4],t+=Q[(i[o+1]&15)<<2|i[o+2]>>6],t+=Q[i[o+2]&63];return i.length%3===2?t=t.substring(0,t.length-1)+"=":i.length%3===1&&(t=t.substring(0,t.length-2)+"=="),t}function hi(e,i){var t="";if(e&&(t=qe.call(e)),e&&(t==="[object ArrayBuffer]"||e.buffer&&qe.call(e.buffer)==="[object ArrayBuffer]")){var o,a=pe;e instanceof ArrayBuffer?(o=e,a+=Se):(o=e.buffer,t==="[object Int8Array]"?a+=ke:t==="[object Uint8Array]"?a+=He:t==="[object Uint8ClampedArray]"?a+=$e:t==="[object Int16Array]"?a+=Xe:t==="[object Uint16Array]"?a+=We:t==="[object Int32Array]"?a+=Ge:t==="[object Uint32Array]"?a+=Qe:t==="[object Float32Array]"?a+=Ke:t==="[object Float64Array]"?a+=Je:i(new Error("Failed to get type for BinaryArray"))),i(a+De(o))}else if(t==="[object Blob]"){var n=new FileReader;n.onload=function(){var c=di+e.type+"~"+De(this.result);i(pe+Re+c)},n.readAsArrayBuffer(e)}else try{i(JSON.stringify(e))}catch(c){console.error("Couldn't convert value into a JSON string: ",e),i(null,c)}}function mi(e){if(e.substring(0,Ee)!==pe)return JSON.parse(e);var i=e.substring(Ze),t=e.substring(Ee,Ze),o;if(t===Re&&Ve.test(i)){var a=i.match(Ve);o=a[1],i=i.substring(a[0].length)}var n=et(i);switch(t){case Se:return n;case Re:return B([n],{type:o});case ke:return new Int8Array(n);case He:return new Uint8Array(n);case $e:return new Uint8ClampedArray(n);case Xe:return new Int16Array(n);case We:return new Uint16Array(n);case Ge:return new Int32Array(n);case Qe:return new Uint32Array(n);case Ke:return new Float32Array(n);case Je:return new Float64Array(n);default:throw new Error("Unkown type: "+t)}}var xe={serialize:hi,deserialize:mi,stringToBuffer:et,bufferToString:De};function tt(e,i,t,o){e.executeSql("CREATE TABLE IF NOT EXISTS "+i.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],t,o)}function pi(e){var i=this,t={db:null};if(e)for(var o in e)t[o]=typeof e[o]!="string"?e[o].toString():e[o];var a=new p(function(n,c){try{t.db=openDatabase(t.name,String(t.version),t.description,t.size)}catch(f){return c(f)}t.db.transaction(function(f){tt(f,t,function(){i._dbInfo=t,n()},function(u,d){c(d)})},c)});return t.serializer=xe,a}function K(e,i,t,o,a,n){e.executeSql(t,o,a,function(c,f){f.code===f.SYNTAX_ERR?c.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[i.storeName],function(u,d){d.rows.length?n(u,f):tt(u,i,function(){u.executeSql(t,o,a,n)},n)},n):n(c,f)},n)}function vi(e,i){var t=this;e=L(e);var o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"SELECT * FROM "+c.storeName+" WHERE key = ? LIMIT 1",[e],function(u,d){var h=d.rows.length?d.rows.item(0).value:null;h&&(h=c.serializer.deserialize(h)),a(h)},function(u,d){n(d)})})}).catch(n)});return y(o,i),o}function _i(e,i){var t=this,o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"SELECT * FROM "+c.storeName,[],function(u,d){for(var h=d.rows,g=h.length,I=0;I0){c(it.apply(a,[e,u,t,o-1]));return}f(I)}})})}).catch(f)});return y(n,t),n}function gi(e,i,t){return it.apply(this,[e,i,t,1])}function yi(e,i){var t=this;e=L(e);var o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"DELETE FROM "+c.storeName+" WHERE key = ?",[e],function(){a()},function(u,d){n(d)})})}).catch(n)});return y(o,i),o}function bi(e){var i=this,t=new p(function(o,a){i.ready().then(function(){var n=i._dbInfo;n.db.transaction(function(c){K(c,n,"DELETE FROM "+n.storeName,[],function(){o()},function(f,u){a(u)})})}).catch(a)});return y(t,e),t}function wi(e){var i=this,t=new p(function(o,a){i.ready().then(function(){var n=i._dbInfo;n.db.transaction(function(c){K(c,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],function(f,u){var d=u.rows.item(0).c;o(d)},function(f,u){a(u)})})}).catch(a)});return y(t,e),t}function Ii(e,i){var t=this,o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"SELECT key FROM "+c.storeName+" WHERE id = ? LIMIT 1",[e+1],function(u,d){var h=d.rows.length?d.rows.item(0).key:null;a(h)},function(u,d){n(d)})})}).catch(n)});return y(o,i),o}function Ti(e){var i=this,t=new p(function(o,a){i.ready().then(function(){var n=i._dbInfo;n.db.transaction(function(c){K(c,n,"SELECT key FROM "+n.storeName,[],function(f,u){for(var d=[],h=0;h '__WebKitDatabaseInfoTable__'",[],function(a,n){for(var c=[],f=0;f0}function Ci(e){var i=this,t={};if(e)for(var o in e)t[o]=e[o];return t.keyPrefix=rt(e,i._defaultConfig),Ai()?(i._dbInfo=t,t.serializer=xe,p.resolve()):p.reject()}function Pi(e){var i=this,t=i.ready().then(function(){for(var o=i._dbInfo.keyPrefix,a=localStorage.length-1;a>=0;a--){var n=localStorage.key(a);n.indexOf(o)===0&&localStorage.removeItem(n)}});return y(t,e),t}function Ni(e,i){var t=this;e=L(e);var o=t.ready().then(function(){var a=t._dbInfo,n=localStorage.getItem(a.keyPrefix+e);return n&&(n=a.serializer.deserialize(n)),n});return y(o,i),o}function Oi(e,i){var t=this,o=t.ready().then(function(){for(var a=t._dbInfo,n=a.keyPrefix,c=n.length,f=localStorage.length,u=1,d=0;d=0;c--){var f=localStorage.key(c);f.indexOf(n)===0&&localStorage.removeItem(f)}}):a=p.reject("Invalid arguments"),y(a,i),a}var zi={_driver:"localStorageWrapper",_initStorage:Ci,_support:Di(),iterate:Oi,getItem:Ni,setItem:Yi,removeItem:Fi,clear:Pi,length:Bi,key:Li,keys:Mi,dropInstance:Ui},ji=function(i,t){return i===t||typeof i=="number"&&typeof t=="number"&&isNaN(i)&&isNaN(t)},Vi=function(i,t){for(var o=i.length,a=0;a"u"?"undefined":_(t))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var o in t){if(o==="storeName"&&(t[o]=t[o].replace(/\W/g,"_")),o==="version"&&typeof t[o]!="number")return new Error("Database version must be a number.");this._config[o]=t[o]}return"driver"in t&&t.driver?this.setDriver(this._config.driver):!0}else return typeof t=="string"?this._config[t]:this._config},e.prototype.defineDriver=function(t,o,a){var n=new p(function(c,f){try{var u=t._driver,d=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver){f(d);return}for(var h=Ae.concat("_initStorage"),g=0,I=h.length;g{let b=Me(he);return()=>b.scrollStrategies.reposition({scrollThrottle:Xt})}});function tr(b){return()=>b.scrollStrategies.reposition({scrollThrottle:Xt})}var ir={provide:Gt,deps:[he],useFactory:tr};function rr(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var nr=new Oe("mat-tooltip-default-options",{providedIn:"root",factory:rr});var Ht="tooltip-panel",$t=Ot({passive:!0}),or=8,ar=8,sr=24,cr=200,Ur=(()=>{let v=class v{get position(){return this._position}set position(r){r!==this._position&&(this._position=r,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(r){this._positionAtOrigin=ne(r),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(r){this._disabled=ne(r),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(r){this._showDelay=Ye(r)}get hideDelay(){return this._hideDelay}set hideDelay(r){this._hideDelay=Ye(r),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(r){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=r!=null?String(r).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(r){this._tooltipClass=r,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(r,s,l,_,w,E,A,C,B,p,y,P){this._overlay=r,this._elementRef=s,this._scrollDispatcher=l,this._viewContainerRef=_,this._ngZone=w,this._platform=E,this._ariaDescriber=A,this._focusMonitor=C,this._dir=p,this._defaultOptions=y,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=lr,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new fe,this._injector=Me(dt),this._scrollStrategy=B,this._document=P,y&&(this._showDelay=y.showDelay,this._hideDelay=y.hideDelay,y.position&&(this.position=y.position),y.positionAtOrigin&&(this.positionAtOrigin=y.positionAtOrigin),y.touchGestures&&(this.touchGestures=y.touchGestures)),p.change.pipe(J(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=or}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(J(this._destroyed)).subscribe(r=>{r?r==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let r=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([s,l])=>{r.removeEventListener(s,l,$t)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(r,this.message,"tooltip"),this._focusMonitor.stopMonitoring(r)}show(r=this.showDelay,s){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let l=this._createOverlay(s);this._detach(),this._portal=this._portal||new jt(this._tooltipComponent,this._viewContainerRef);let _=this._tooltipInstance=l.attach(this._portal).instance;_._triggerElement=this._elementRef.nativeElement,_._mouseLeaveHideDelay=this._hideDelay,_.afterHidden().pipe(J(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),_.show(r)}hide(r=this.hideDelay){let s=this._tooltipInstance;s&&(s.isVisible()?s.hide(r):(s._cancelPendingAnimations(),this._detach()))}toggle(r){this._isTooltipVisible()?this.hide():this.show(void 0,r)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(r){if(this._overlayRef){let _=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!r)&&_._origin instanceof ue)return this._overlayRef;this._detach()}let s=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),l=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?r||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(s);return l.positionChanges.pipe(J(this._destroyed)).subscribe(_=>{this._updateCurrentPositionClass(_.connectionPair),this._tooltipInstance&&_.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:l,panelClass:`${this._cssClassPrefix}-${Ht}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(J(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(J(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(J(this._destroyed)).subscribe(_=>{this._isTooltipVisible()&&_.keyCode===27&&!Lt(_)&&(_.preventDefault(),_.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(r){let s=r.getConfig().positionStrategy,l=this._getOrigin(),_=this._getOverlayPosition();s.withPositions([this._addOffset(q(q({},l.main),_.main)),this._addOffset(q(q({},l.fallback),_.fallback))])}_addOffset(r){let s=ar,l=!this._dir||this._dir.value=="ltr";return r.originY==="top"?r.offsetY=-s:r.originY==="bottom"?r.offsetY=s:r.originX==="start"?r.offsetX=l?-s:s:r.originX==="end"&&(r.offsetX=l?s:-s),r}_getOrigin(){let r=!this._dir||this._dir.value=="ltr",s=this.position,l;s=="above"||s=="below"?l={originX:"center",originY:s=="above"?"top":"bottom"}:s=="before"||s=="left"&&r||s=="right"&&!r?l={originX:"start",originY:"center"}:(s=="after"||s=="right"&&r||s=="left"&&!r)&&(l={originX:"end",originY:"center"});let{x:_,y:w}=this._invertPosition(l.originX,l.originY);return{main:l,fallback:{originX:_,originY:w}}}_getOverlayPosition(){let r=!this._dir||this._dir.value=="ltr",s=this.position,l;s=="above"?l={overlayX:"center",overlayY:"bottom"}:s=="below"?l={overlayX:"center",overlayY:"top"}:s=="before"||s=="left"&&r||s=="right"&&!r?l={overlayX:"end",overlayY:"center"}:(s=="after"||s=="right"&&r||s=="left"&&!r)&&(l={overlayX:"start",overlayY:"center"});let{x:_,y:w}=this._invertPosition(l.overlayX,l.overlayY);return{main:l,fallback:{overlayX:_,overlayY:w}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),vt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(r){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=r,this._tooltipInstance._markForCheck())}_invertPosition(r,s){return this.position==="above"||this.position==="below"?s==="top"?s="bottom":s==="bottom"&&(s="top"):r==="end"?r="start":r==="start"&&(r="end"),{x:r,y:s}}_updateCurrentPositionClass(r){let{overlayY:s,originX:l,originY:_}=r,w;if(s==="center"?this._dir&&this._dir.value==="rtl"?w=l==="end"?"left":"right":w=l==="start"?"left":"right":w=s==="bottom"&&_==="top"?"above":"below",w!==this._currentPosition){let E=this._overlayRef;if(E){let A=`${this._cssClassPrefix}-${Ht}-`;E.removePanelClass(A+this._currentPosition),E.addPanelClass(A+w)}this._currentPosition=w}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",r=>{this._setupPointerExitEventsIfNeeded();let s;r.x!==void 0&&r.y!==void 0&&(s=r),this.show(void 0,s)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",r=>{let s=r.targetTouches?.[0],l=s?{x:s.clientX,y:s.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let _=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,l),this._defaultOptions.touchLongPressShowDelay??_)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let r=[];if(this._platformSupportsMouseEvents())r.push(["mouseleave",s=>{let l=s.relatedTarget;(!l||!this._overlayRef?.overlayElement.contains(l))&&this.hide()}],["wheel",s=>this._wheelListener(s)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let s=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};r.push(["touchend",s],["touchcancel",s])}this._addListeners(r),this._passiveListeners.push(...r)}_addListeners(r){r.forEach(([s,l])=>{this._elementRef.nativeElement.addEventListener(s,l,$t)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(r){if(this._isTooltipVisible()){let s=this._document.elementFromPoint(r.clientX,r.clientY),l=this._elementRef.nativeElement;s!==l&&!l.contains(s)&&this.hide()}}_disableNativeGesturesIfNecessary(){let r=this.touchGestures;if(r!=="off"){let s=this._elementRef.nativeElement,l=s.style;(r==="on"||s.nodeName!=="INPUT"&&s.nodeName!=="TEXTAREA")&&(l.userSelect=l.msUserSelect=l.webkitUserSelect=l.MozUserSelect="none"),(r==="on"||!s.draggable)&&(l.webkitUserDrag="none"),l.touchAction="none",l.webkitTapHighlightColor="transparent"}}};v.\u0275fac=function(s){return new(s||v)(U(he),U(ue),U(Ut),U(_t),U(pt),U(Nt),U(Mt),U(Bt),U(Gt),U(Yt),U(nr,8),U(At))},v.\u0275dir=lt({type:v,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(s,l){s&2&&de("mat-mdc-tooltip-disabled",l.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let b=v;return b})(),lr=(()=>{let v=class v{constructor(r,s,l){this._changeDetectorRef=r,this._elementRef=s,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new fe,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=l==="NoopAnimations"}show(r){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},r)}hide(r){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},r)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:r}){(!r||!this._triggerElement.contains(r))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let r=this._elementRef.nativeElement.getBoundingClientRect();return r.height>sr&&r.width>=cr}_handleAnimationEnd({animationName:r}){(r===this._showAnimation||r===this._hideAnimation)&&this._finalizeAnimation(r===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(r){r?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(r){let s=this._tooltip.nativeElement,l=this._showAnimation,_=this._hideAnimation;if(s.classList.remove(r?_:l),s.classList.add(r?l:_),this._isVisible!==r&&(this._isVisible=r,this._changeDetectorRef.markForCheck()),r&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let w=getComputedStyle(s);(w.getPropertyValue("animation-duration")==="0s"||w.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}r&&this._onShow(),this._animationsDisabled&&(s.classList.add("_mat-animation-noopable"),this._finalizeAnimation(r))}};v.\u0275fac=function(s){return new(s||v)(U(xt),U(ue),U(ht,8))},v.\u0275cmp=ge({type:v,selectors:[["mat-tooltip-component"]],viewQuery:function(s,l){if(s&1&&Tt(er,7),s&2){let _;Et(_=St())&&(l._tooltip=_.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(s,l){s&1&&Fe("mouseleave",function(w){return l._handleMouseLeave(w)}),s&2&&bt("zoom",l.isVisible()?1:null)},standalone:!0,features:[be],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(s,l){if(s&1){let _=It();Be(0,"div",1,0),Fe("animationend",function(E){return ft(_),ut(l._handleAnimationEnd(E))}),Be(2,"div",2),Rt(3),wt()()}s&2&&(de("mdc-tooltip--multiline",l._isMultiline),yt("ngClass",l.tooltipClass),mt(3),Dt(l.message))},dependencies:[Ct],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let b=v;return b})();var zr=(()=>{let v=class v{};v.\u0275fac=function(s){return new(s||v)},v.\u0275mod=ye({type:v}),v.\u0275inj=_e({providers:[ir],imports:[Ft,Pt,Vt,oe,oe,zt]});let b=v;return b})();var $r=(()=>{let v=class v{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(r){this._vertical=ne(r)}get inset(){return this._inset}set inset(r){this._inset=ne(r)}};v.\u0275fac=function(s){return new(s||v)},v.\u0275cmp=ge({type:v,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(s,l){s&2&&(gt("aria-orientation",l.vertical?"vertical":"horizontal"),de("mat-divider-vertical",l.vertical)("mat-divider-horizontal",!l.vertical)("mat-divider-inset",l.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[be],decls:0,vars:0,template:function(s,l){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let b=v;return b})(),Xr=(()=>{let v=class v{};v.\u0275fac=function(s){return new(s||v)},v.\u0275mod=ye({type:v}),v.\u0275inj=_e({imports:[oe,oe]});let b=v;return b})();var ee=Zi(Qt());var Kt=(()=>{let v=class v{constructor(){ee.default.config({driver:ee.default.INDEXEDDB,name:"user-database",version:1,storeName:"users",description:"Store for user metadata"})}getUserMetadata(r){return $(this,null,function*(){try{return yield ee.default.getItem(r)}catch(s){return console.error("Error getting metadata from IndexedDB:",s),null}})}saveUserMetadata(r,s){return $(this,null,function*(){try{yield ee.default.setItem(r,s),console.log("Metadata saved successfully!")}catch(l){console.error("Error saving metadata to IndexedDB:",l)}})}removeUserMetadata(r){return $(this,null,function*(){try{yield ee.default.removeItem(r),console.log(`Metadata for pubkey ${r} removed successfully!`)}catch(s){console.error("Error removing metadata from IndexedDB:",s)}})}clearAllMetadata(){return $(this,null,function*(){try{yield ee.default.clear(),console.log("All metadata cleared successfully!")}catch(r){console.error("Error clearing all metadata:",r)}})}};v.\u0275fac=function(s){return new(s||v)},v.\u0275prov=re({token:v,factory:v.\u0275fac,providedIn:"root"});let b=v;return b})();var Jt=(()=>{let v=class v{constructor(){this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new fe,this.pool=new kt,this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.setupVisibilityChangeHandling()}loadRelaysFromLocalStorage(){let r=[{url:"wss://relay.angor.io",connected:!1,retries:0,retryTimeout:null,ws:void 0},{url:"wss://relay2.angor.io",connected:!1,retries:0,retryTimeout:null,ws:void 0}],s=JSON.parse(localStorage.getItem("nostrRelays")||"[]").map(l=>st(q({},l),{connected:!1,retries:0,retryTimeout:null,ws:void 0}));return[...r,...s]}connectToRelay(r){r.connected||(r.ws=new WebSocket(r.url),r.ws.onopen=()=>{r.connected=!0,r.retries=0,clearTimeout(r.retryTimeout),console.log(`Connected to relay: ${r.url}`),this.saveRelaysToLocalStorage()},r.ws.onerror=s=>{console.error(`Failed to connect to relay: ${r.url}`,s),this.handleRelayError(r)},r.ws.onclose=()=>{r.connected=!1,console.log(`Disconnected from relay: ${r.url}`),this.handleRelayError(r)},r.ws.onmessage=s=>{try{let l=typeof s.data=="string"?s.data:s.data.toString("utf-8"),_=JSON.parse(l);this.eventSubject.next(_)}catch(l){console.error("Error parsing WebSocket message:",l)}})}handleRelayError(r){if(r.retries>=this.maxRetries){console.error(`Max retries reached for relay: ${r.url}. No further attempts will be made.`);return}let s=this.retryDelay*r.retries;r.retries++,r.retryTimeout=setTimeout(()=>{this.connectToRelay(r),console.log(`Retrying connection to relay: ${r.url} (Attempt ${r.retries})`)},s)}connectToRelays(){this.relays.forEach(r=>this.connectToRelay(r))}ensureConnectedRelays(){return $(this,null,function*(){return this.connectToRelays(),new Promise(r=>{let s=()=>{this.getConnectedRelays().length>0?r():setTimeout(s,1e3)};s()})})}setupVisibilityChangeHandling(){document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.connectToRelays()}),window.addEventListener("beforeunload",()=>{this.relays.forEach(r=>{r.ws&&r.ws.close()})})}getConnectedRelays(){return this.relays.filter(r=>r.connected).map(r=>r.url)}saveRelaysToLocalStorage(){let r=this.relays.filter(s=>!["wss://relay.angor.io","wss://relay2.angor.io"].includes(s.url));localStorage.setItem("nostrRelays",JSON.stringify(r))}getEventStream(){return this.eventSubject.asObservable()}addRelay(r){if(!this.relays.some(s=>s.url===r)){let s={url:r,connected:!1,retries:0,retryTimeout:null,ws:void 0};this.relays.push(s),this.connectToRelay(s),this.saveRelaysToLocalStorage()}}removeRelay(r){this.relays=this.relays.filter(s=>s.url!==r),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){let r=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays=this.relays.filter(s=>r.includes(s.url)),this.saveRelaysToLocalStorage()}subscribeToFilter(r){let s=this.getConnectedRelays();this.pool.subscribeMany(s,[r],{onevent:l=>{this.eventSubject.next(l)}})}getPool(){return this.pool}getRelays(){return this.relays}};v.\u0275fac=function(s){return new(s||v)},v.\u0275prov=re({token:v,factory:v.\u0275fac,providedIn:"root"});let b=v;return b})();var en=(()=>{let v=class v{constructor(r,s){this.indexedDBService=r,this.relayService=s,this.metadataSubject=new ct(null)}getMetadataStream(){return this.metadataSubject.asObservable()}fetchMetadataWithCache(r){return $(this,null,function*(){let s=yield this.indexedDBService.getUserMetadata(r);return s?(this.metadataSubject.next(s),console.log("Metadata loaded from localForage (IndexedDB)")):(s=yield this.fetchMetadataRealtime(r),console.log("Metadata fetched from relays")),s&&(yield this.indexedDBService.saveUserMetadata(r,s),console.log("Metadata saved to localForage (IndexedDB)")),s})}subscribeToMetadataUpdates(r){this.relayService.ensureConnectedRelays().then(()=>{let s={authors:[r],kinds:[0]};this.relayService.getPool().subscribeMany(this.relayService.getConnectedRelays(),[s],{onevent:l=>$(this,null,function*(){if(l.pubkey===r&&l.kind===0)try{let _=JSON.parse(l.content);this.metadataSubject.next(_),yield this.indexedDBService.saveUserMetadata(r,_),console.log("Real-time metadata update saved to localForage (IndexedDB)")}catch(_){console.error("Error parsing updated metadata:",_)}}),oneose(){console.log("Real-time metadata subscription closed.")}})})}fetchMetadataRealtime(r){return $(this,null,function*(){yield this.relayService.ensureConnectedRelays();let s=this.relayService.getPool(),l=this.relayService.getConnectedRelays();if(l.length===0)throw new Error("No connected relays");let _=new Promise((w,E)=>{let A=s.subscribeMany(l,[{authors:[r],kinds:[0]}],{onevent:C=>{if(C.pubkey===r&&C.kind===0)try{let B=JSON.parse(C.content);w(B),this.metadataSubject.next(B)}catch(B){console.error("Error parsing event content:",B),w(null)}finally{A.close()}},oneose(){A.close(),w(null)}})});return this.subscribeToMetadataUpdates(r),_})}};v.\u0275fac=function(s){return new(s||v)(Le(Kt),Le(Jt))},v.\u0275prov=re({token:v,factory:v.\u0275fac,providedIn:"root"});let b=v;return b})();export{Ur as a,zr as b,$r as c,Xr as d,en as e}; +import{a as kt}from"./chunk-6EWZX4UI.js";import{b as Ut,e as zt,f as jt,o as he,r as Vt}from"./chunk-5GRCWTIR.js";import{B as Bt,C as Ft,D as Yt,G as oe,a as Nt,c as Ot,j as Lt,k as ne,l as Ye,t as Mt}from"./chunk-6A5WIJYK.js";import{b as At,e as Ct,k as Pt}from"./chunk-IMW7L7ZP.js";import{Aa as ft,Ab as de,Ba as ut,Dc as xt,Ga as dt,Ia as ue,Jb as Be,Kb as wt,Pa as ht,Pb as It,Vb as Fe,a as q,ac as Tt,b as st,ba as J,bc as Et,c as le,cc as St,db as mt,e as Ji,eb as U,ec as Rt,fc as Dt,g as Zi,h as $,ha as re,ia as _e,ka as Oe,lb as pt,lc as be,ma as Le,n as fe,na as Me,o as ct,ob as vt,pb as _t,qa as ge,ra as ye,sa as lt,xb as gt,yb as yt,zb as bt}from"./chunk-65EYH52Y.js";var Qt=Ji((Wt,Ue)=>{(function(b){if(typeof Wt=="object"&&typeof Ue<"u")Ue.exports=b();else if(typeof define=="function"&&define.amd)define([],b);else{var v;typeof window<"u"?v=window:typeof global<"u"?v=global:typeof self<"u"?v=self:v=this,v.localforage=b()}})(function(){var b,v,dr;return function r(s,l,_){function w(C,B){if(!l[C]){if(!s[C]){var p=typeof le=="function"&≤if(!B&&p)return p(C,!0);if(E)return E(C,!0);var y=new Error("Cannot find module '"+C+"'");throw y.code="MODULE_NOT_FOUND",y}var P=l[C]={exports:{}};s[C][0].call(P.exports,function(L){var H=s[C][1][L];return w(H||L)},P,P.exports,r,s,l,_)}return l[C].exports}for(var E=typeof le=="function"&&le,A=0;A<_.length;A++)w(_[A]);return w}({1:[function(r,s,l){(function(_){"use strict";var w=_.MutationObserver||_.WebKitMutationObserver,E;if(w){var A=0,C=new w(L),B=_.document.createTextNode("");C.observe(B,{characterData:!0}),E=function(){B.data=A=++A%2}}else if(!_.setImmediate&&typeof _.MessageChannel<"u"){var p=new _.MessageChannel;p.port1.onmessage=L,E=function(){p.port2.postMessage(0)}}else"document"in _&&"onreadystatechange"in _.document.createElement("script")?E=function(){var M=_.document.createElement("script");M.onreadystatechange=function(){L(),M.onreadystatechange=null,M.parentNode.removeChild(M),M=null},_.document.documentElement.appendChild(M)}:E=function(){setTimeout(L,0)};var y,P=[];function L(){y=!0;for(var M,X,F=P.length;F;){for(X=P,P=[],M=-1;++M"u"&&r(3);var p=Promise;function y(e,i){i&&e.then(function(t){i(null,t)},function(t){i(t)})}function P(e,i,t){typeof i=="function"&&e.then(i),typeof t=="function"&&e.catch(t)}function L(e){return typeof e!="string"&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function H(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var M="local-forage-detect-blob-support",X=void 0,F={},Ie=Object.prototype.toString,Z="readonly",m="readwrite";function S(e){for(var i=e.length,t=new ArrayBuffer(i),o=new Uint8Array(t),a=0;a=43)}}).catch(function(){return!1})}function x(e){return typeof X=="boolean"?p.resolve(X):T(e).then(function(i){return X=i,X})}function Y(e){var i=F[e.name],t={};t.promise=new p(function(o,a){t.resolve=o,t.reject=a}),i.deferredOperations.push(t),i.dbReady?i.dbReady=i.dbReady.then(function(){return t.promise}):i.dbReady=t.promise}function z(e){var i=F[e.name],t=i.deferredOperations.pop();if(t)return t.resolve(),t.promise}function j(e,i){var t=F[e.name],o=t.deferredOperations.pop();if(o)return o.reject(i),o.promise}function V(e,i){return new p(function(t,o){if(F[e.name]=F[e.name]||je(),e.db)if(i)Y(e),e.db.close();else return t(e.db);var a=[e.name];i&&a.push(e.version);var n=A.open.apply(A,a);i&&(n.onupgradeneeded=function(c){var f=n.result;try{f.createObjectStore(e.storeName),c.oldVersion<=1&&f.createObjectStore(M)}catch(u){if(u.name==="ConstraintError")console.warn('The database "'+e.name+'" has been upgraded from version '+c.oldVersion+" to version "+c.newVersion+', but the storage "'+e.storeName+'" already exists.');else throw u}}),n.onerror=function(c){c.preventDefault(),o(n.error)},n.onsuccess=function(){var c=n.result;c.onversionchange=function(f){f.target.close()},t(c),z(e)}})}function G(e){return V(e,!1)}function ae(e){return V(e,!0)}function me(e,i){if(!e.db)return!0;var t=!e.db.objectStoreNames.contains(e.storeName),o=e.versione.db.version;if(o&&(e.version!==i&&console.warn('The database "'+e.name+`" can't be downgraded from version `+e.db.version+" to version "+e.version+"."),e.version=e.db.version),a||t){if(t){var n=e.db.version+1;n>e.version&&(e.version=n)}return!0}return!1}function Te(e){return new p(function(i,t){var o=new FileReader;o.onerror=t,o.onloadend=function(a){var n=btoa(a.target.result||"");i({__local_forage_encoded_blob:!0,data:n,type:e.type})},o.readAsBinaryString(e)})}function te(e){var i=S(atob(e.data));return B([i],{type:e.type})}function ze(e){return e&&e.__local_forage_encoded_blob}function Zt(e){var i=this,t=i._initReady().then(function(){var o=F[i._dbInfo.name];if(o&&o.dbReady)return o.dbReady});return P(t,e,e),t}function qt(e){Y(e);for(var i=F[e.name],t=i.forages,o=0;o0&&(!e.db||n.name==="InvalidStateError"||n.name==="NotFoundError"))return p.resolve().then(function(){if(!e.db||n.name==="NotFoundError"&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),ae(e)}).then(function(){return qt(e).then(function(){W(e,i,t,o-1)})}).catch(t);t(n)}}function je(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ei(e){var i=this,t={db:null};if(e)for(var o in e)t[o]=e[o];var a=F[t.name];a||(a=je(),F[t.name]=a),a.forages.push(i),i._initReady||(i._initReady=i.ready,i.ready=Zt);var n=[];function c(){return p.resolve()}for(var f=0;f>4,h[a++]=(c&15)<<4|f>>2,h[a++]=(f&3)<<6|u&63;return d}function De(e){var i=new Uint8Array(e),t="",o;for(o=0;o>2],t+=Q[(i[o]&3)<<4|i[o+1]>>4],t+=Q[(i[o+1]&15)<<2|i[o+2]>>6],t+=Q[i[o+2]&63];return i.length%3===2?t=t.substring(0,t.length-1)+"=":i.length%3===1&&(t=t.substring(0,t.length-2)+"=="),t}function hi(e,i){var t="";if(e&&(t=qe.call(e)),e&&(t==="[object ArrayBuffer]"||e.buffer&&qe.call(e.buffer)==="[object ArrayBuffer]")){var o,a=pe;e instanceof ArrayBuffer?(o=e,a+=Se):(o=e.buffer,t==="[object Int8Array]"?a+=ke:t==="[object Uint8Array]"?a+=He:t==="[object Uint8ClampedArray]"?a+=$e:t==="[object Int16Array]"?a+=Xe:t==="[object Uint16Array]"?a+=We:t==="[object Int32Array]"?a+=Ge:t==="[object Uint32Array]"?a+=Qe:t==="[object Float32Array]"?a+=Ke:t==="[object Float64Array]"?a+=Je:i(new Error("Failed to get type for BinaryArray"))),i(a+De(o))}else if(t==="[object Blob]"){var n=new FileReader;n.onload=function(){var c=di+e.type+"~"+De(this.result);i(pe+Re+c)},n.readAsArrayBuffer(e)}else try{i(JSON.stringify(e))}catch(c){console.error("Couldn't convert value into a JSON string: ",e),i(null,c)}}function mi(e){if(e.substring(0,Ee)!==pe)return JSON.parse(e);var i=e.substring(Ze),t=e.substring(Ee,Ze),o;if(t===Re&&Ve.test(i)){var a=i.match(Ve);o=a[1],i=i.substring(a[0].length)}var n=et(i);switch(t){case Se:return n;case Re:return B([n],{type:o});case ke:return new Int8Array(n);case He:return new Uint8Array(n);case $e:return new Uint8ClampedArray(n);case Xe:return new Int16Array(n);case We:return new Uint16Array(n);case Ge:return new Int32Array(n);case Qe:return new Uint32Array(n);case Ke:return new Float32Array(n);case Je:return new Float64Array(n);default:throw new Error("Unkown type: "+t)}}var xe={serialize:hi,deserialize:mi,stringToBuffer:et,bufferToString:De};function tt(e,i,t,o){e.executeSql("CREATE TABLE IF NOT EXISTS "+i.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],t,o)}function pi(e){var i=this,t={db:null};if(e)for(var o in e)t[o]=typeof e[o]!="string"?e[o].toString():e[o];var a=new p(function(n,c){try{t.db=openDatabase(t.name,String(t.version),t.description,t.size)}catch(f){return c(f)}t.db.transaction(function(f){tt(f,t,function(){i._dbInfo=t,n()},function(u,d){c(d)})},c)});return t.serializer=xe,a}function K(e,i,t,o,a,n){e.executeSql(t,o,a,function(c,f){f.code===f.SYNTAX_ERR?c.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[i.storeName],function(u,d){d.rows.length?n(u,f):tt(u,i,function(){u.executeSql(t,o,a,n)},n)},n):n(c,f)},n)}function vi(e,i){var t=this;e=L(e);var o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"SELECT * FROM "+c.storeName+" WHERE key = ? LIMIT 1",[e],function(u,d){var h=d.rows.length?d.rows.item(0).value:null;h&&(h=c.serializer.deserialize(h)),a(h)},function(u,d){n(d)})})}).catch(n)});return y(o,i),o}function _i(e,i){var t=this,o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"SELECT * FROM "+c.storeName,[],function(u,d){for(var h=d.rows,g=h.length,I=0;I0){c(it.apply(a,[e,u,t,o-1]));return}f(I)}})})}).catch(f)});return y(n,t),n}function gi(e,i,t){return it.apply(this,[e,i,t,1])}function yi(e,i){var t=this;e=L(e);var o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"DELETE FROM "+c.storeName+" WHERE key = ?",[e],function(){a()},function(u,d){n(d)})})}).catch(n)});return y(o,i),o}function bi(e){var i=this,t=new p(function(o,a){i.ready().then(function(){var n=i._dbInfo;n.db.transaction(function(c){K(c,n,"DELETE FROM "+n.storeName,[],function(){o()},function(f,u){a(u)})})}).catch(a)});return y(t,e),t}function wi(e){var i=this,t=new p(function(o,a){i.ready().then(function(){var n=i._dbInfo;n.db.transaction(function(c){K(c,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],function(f,u){var d=u.rows.item(0).c;o(d)},function(f,u){a(u)})})}).catch(a)});return y(t,e),t}function Ii(e,i){var t=this,o=new p(function(a,n){t.ready().then(function(){var c=t._dbInfo;c.db.transaction(function(f){K(f,c,"SELECT key FROM "+c.storeName+" WHERE id = ? LIMIT 1",[e+1],function(u,d){var h=d.rows.length?d.rows.item(0).key:null;a(h)},function(u,d){n(d)})})}).catch(n)});return y(o,i),o}function Ti(e){var i=this,t=new p(function(o,a){i.ready().then(function(){var n=i._dbInfo;n.db.transaction(function(c){K(c,n,"SELECT key FROM "+n.storeName,[],function(f,u){for(var d=[],h=0;h '__WebKitDatabaseInfoTable__'",[],function(a,n){for(var c=[],f=0;f0}function Ci(e){var i=this,t={};if(e)for(var o in e)t[o]=e[o];return t.keyPrefix=rt(e,i._defaultConfig),Ai()?(i._dbInfo=t,t.serializer=xe,p.resolve()):p.reject()}function Pi(e){var i=this,t=i.ready().then(function(){for(var o=i._dbInfo.keyPrefix,a=localStorage.length-1;a>=0;a--){var n=localStorage.key(a);n.indexOf(o)===0&&localStorage.removeItem(n)}});return y(t,e),t}function Ni(e,i){var t=this;e=L(e);var o=t.ready().then(function(){var a=t._dbInfo,n=localStorage.getItem(a.keyPrefix+e);return n&&(n=a.serializer.deserialize(n)),n});return y(o,i),o}function Oi(e,i){var t=this,o=t.ready().then(function(){for(var a=t._dbInfo,n=a.keyPrefix,c=n.length,f=localStorage.length,u=1,d=0;d=0;c--){var f=localStorage.key(c);f.indexOf(n)===0&&localStorage.removeItem(f)}}):a=p.reject("Invalid arguments"),y(a,i),a}var zi={_driver:"localStorageWrapper",_initStorage:Ci,_support:Di(),iterate:Oi,getItem:Ni,setItem:Yi,removeItem:Fi,clear:Pi,length:Bi,key:Li,keys:Mi,dropInstance:Ui},ji=function(i,t){return i===t||typeof i=="number"&&typeof t=="number"&&isNaN(i)&&isNaN(t)},Vi=function(i,t){for(var o=i.length,a=0;a"u"?"undefined":_(t))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var o in t){if(o==="storeName"&&(t[o]=t[o].replace(/\W/g,"_")),o==="version"&&typeof t[o]!="number")return new Error("Database version must be a number.");this._config[o]=t[o]}return"driver"in t&&t.driver?this.setDriver(this._config.driver):!0}else return typeof t=="string"?this._config[t]:this._config},e.prototype.defineDriver=function(t,o,a){var n=new p(function(c,f){try{var u=t._driver,d=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver){f(d);return}for(var h=Ae.concat("_initStorage"),g=0,I=h.length;g{let b=Me(he);return()=>b.scrollStrategies.reposition({scrollThrottle:Xt})}});function tr(b){return()=>b.scrollStrategies.reposition({scrollThrottle:Xt})}var ir={provide:Gt,deps:[he],useFactory:tr};function rr(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var nr=new Oe("mat-tooltip-default-options",{providedIn:"root",factory:rr});var Ht="tooltip-panel",$t=Ot({passive:!0}),or=8,ar=8,sr=24,cr=200,Ur=(()=>{let v=class v{get position(){return this._position}set position(r){r!==this._position&&(this._position=r,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(r){this._positionAtOrigin=ne(r),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(r){this._disabled=ne(r),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(r){this._showDelay=Ye(r)}get hideDelay(){return this._hideDelay}set hideDelay(r){this._hideDelay=Ye(r),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(r){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=r!=null?String(r).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(r){this._tooltipClass=r,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(r,s,l,_,w,E,A,C,B,p,y,P){this._overlay=r,this._elementRef=s,this._scrollDispatcher=l,this._viewContainerRef=_,this._ngZone=w,this._platform=E,this._ariaDescriber=A,this._focusMonitor=C,this._dir=p,this._defaultOptions=y,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=lr,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new fe,this._injector=Me(dt),this._scrollStrategy=B,this._document=P,y&&(this._showDelay=y.showDelay,this._hideDelay=y.hideDelay,y.position&&(this.position=y.position),y.positionAtOrigin&&(this.positionAtOrigin=y.positionAtOrigin),y.touchGestures&&(this.touchGestures=y.touchGestures)),p.change.pipe(J(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=or}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(J(this._destroyed)).subscribe(r=>{r?r==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let r=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([s,l])=>{r.removeEventListener(s,l,$t)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(r,this.message,"tooltip"),this._focusMonitor.stopMonitoring(r)}show(r=this.showDelay,s){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let l=this._createOverlay(s);this._detach(),this._portal=this._portal||new jt(this._tooltipComponent,this._viewContainerRef);let _=this._tooltipInstance=l.attach(this._portal).instance;_._triggerElement=this._elementRef.nativeElement,_._mouseLeaveHideDelay=this._hideDelay,_.afterHidden().pipe(J(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),_.show(r)}hide(r=this.hideDelay){let s=this._tooltipInstance;s&&(s.isVisible()?s.hide(r):(s._cancelPendingAnimations(),this._detach()))}toggle(r){this._isTooltipVisible()?this.hide():this.show(void 0,r)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(r){if(this._overlayRef){let _=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!r)&&_._origin instanceof ue)return this._overlayRef;this._detach()}let s=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),l=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?r||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(s);return l.positionChanges.pipe(J(this._destroyed)).subscribe(_=>{this._updateCurrentPositionClass(_.connectionPair),this._tooltipInstance&&_.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:l,panelClass:`${this._cssClassPrefix}-${Ht}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(J(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(J(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(J(this._destroyed)).subscribe(_=>{this._isTooltipVisible()&&_.keyCode===27&&!Lt(_)&&(_.preventDefault(),_.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(r){let s=r.getConfig().positionStrategy,l=this._getOrigin(),_=this._getOverlayPosition();s.withPositions([this._addOffset(q(q({},l.main),_.main)),this._addOffset(q(q({},l.fallback),_.fallback))])}_addOffset(r){let s=ar,l=!this._dir||this._dir.value=="ltr";return r.originY==="top"?r.offsetY=-s:r.originY==="bottom"?r.offsetY=s:r.originX==="start"?r.offsetX=l?-s:s:r.originX==="end"&&(r.offsetX=l?s:-s),r}_getOrigin(){let r=!this._dir||this._dir.value=="ltr",s=this.position,l;s=="above"||s=="below"?l={originX:"center",originY:s=="above"?"top":"bottom"}:s=="before"||s=="left"&&r||s=="right"&&!r?l={originX:"start",originY:"center"}:(s=="after"||s=="right"&&r||s=="left"&&!r)&&(l={originX:"end",originY:"center"});let{x:_,y:w}=this._invertPosition(l.originX,l.originY);return{main:l,fallback:{originX:_,originY:w}}}_getOverlayPosition(){let r=!this._dir||this._dir.value=="ltr",s=this.position,l;s=="above"?l={overlayX:"center",overlayY:"bottom"}:s=="below"?l={overlayX:"center",overlayY:"top"}:s=="before"||s=="left"&&r||s=="right"&&!r?l={overlayX:"end",overlayY:"center"}:(s=="after"||s=="right"&&r||s=="left"&&!r)&&(l={overlayX:"start",overlayY:"center"});let{x:_,y:w}=this._invertPosition(l.overlayX,l.overlayY);return{main:l,fallback:{overlayX:_,overlayY:w}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),vt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(r){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=r,this._tooltipInstance._markForCheck())}_invertPosition(r,s){return this.position==="above"||this.position==="below"?s==="top"?s="bottom":s==="bottom"&&(s="top"):r==="end"?r="start":r==="start"&&(r="end"),{x:r,y:s}}_updateCurrentPositionClass(r){let{overlayY:s,originX:l,originY:_}=r,w;if(s==="center"?this._dir&&this._dir.value==="rtl"?w=l==="end"?"left":"right":w=l==="start"?"left":"right":w=s==="bottom"&&_==="top"?"above":"below",w!==this._currentPosition){let E=this._overlayRef;if(E){let A=`${this._cssClassPrefix}-${Ht}-`;E.removePanelClass(A+this._currentPosition),E.addPanelClass(A+w)}this._currentPosition=w}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",r=>{this._setupPointerExitEventsIfNeeded();let s;r.x!==void 0&&r.y!==void 0&&(s=r),this.show(void 0,s)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",r=>{let s=r.targetTouches?.[0],l=s?{x:s.clientX,y:s.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let _=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,l),this._defaultOptions.touchLongPressShowDelay??_)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let r=[];if(this._platformSupportsMouseEvents())r.push(["mouseleave",s=>{let l=s.relatedTarget;(!l||!this._overlayRef?.overlayElement.contains(l))&&this.hide()}],["wheel",s=>this._wheelListener(s)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let s=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};r.push(["touchend",s],["touchcancel",s])}this._addListeners(r),this._passiveListeners.push(...r)}_addListeners(r){r.forEach(([s,l])=>{this._elementRef.nativeElement.addEventListener(s,l,$t)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(r){if(this._isTooltipVisible()){let s=this._document.elementFromPoint(r.clientX,r.clientY),l=this._elementRef.nativeElement;s!==l&&!l.contains(s)&&this.hide()}}_disableNativeGesturesIfNecessary(){let r=this.touchGestures;if(r!=="off"){let s=this._elementRef.nativeElement,l=s.style;(r==="on"||s.nodeName!=="INPUT"&&s.nodeName!=="TEXTAREA")&&(l.userSelect=l.msUserSelect=l.webkitUserSelect=l.MozUserSelect="none"),(r==="on"||!s.draggable)&&(l.webkitUserDrag="none"),l.touchAction="none",l.webkitTapHighlightColor="transparent"}}};v.\u0275fac=function(s){return new(s||v)(U(he),U(ue),U(Ut),U(_t),U(pt),U(Nt),U(Mt),U(Bt),U(Gt),U(Yt),U(nr,8),U(At))},v.\u0275dir=lt({type:v,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(s,l){s&2&&de("mat-mdc-tooltip-disabled",l.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let b=v;return b})(),lr=(()=>{let v=class v{constructor(r,s,l){this._changeDetectorRef=r,this._elementRef=s,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new fe,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=l==="NoopAnimations"}show(r){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},r)}hide(r){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},r)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:r}){(!r||!this._triggerElement.contains(r))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let r=this._elementRef.nativeElement.getBoundingClientRect();return r.height>sr&&r.width>=cr}_handleAnimationEnd({animationName:r}){(r===this._showAnimation||r===this._hideAnimation)&&this._finalizeAnimation(r===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(r){r?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(r){let s=this._tooltip.nativeElement,l=this._showAnimation,_=this._hideAnimation;if(s.classList.remove(r?_:l),s.classList.add(r?l:_),this._isVisible!==r&&(this._isVisible=r,this._changeDetectorRef.markForCheck()),r&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let w=getComputedStyle(s);(w.getPropertyValue("animation-duration")==="0s"||w.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}r&&this._onShow(),this._animationsDisabled&&(s.classList.add("_mat-animation-noopable"),this._finalizeAnimation(r))}};v.\u0275fac=function(s){return new(s||v)(U(xt),U(ue),U(ht,8))},v.\u0275cmp=ge({type:v,selectors:[["mat-tooltip-component"]],viewQuery:function(s,l){if(s&1&&Tt(er,7),s&2){let _;Et(_=St())&&(l._tooltip=_.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(s,l){s&1&&Fe("mouseleave",function(w){return l._handleMouseLeave(w)}),s&2&&bt("zoom",l.isVisible()?1:null)},standalone:!0,features:[be],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(s,l){if(s&1){let _=It();Be(0,"div",1,0),Fe("animationend",function(E){return ft(_),ut(l._handleAnimationEnd(E))}),Be(2,"div",2),Rt(3),wt()()}s&2&&(de("mdc-tooltip--multiline",l._isMultiline),yt("ngClass",l.tooltipClass),mt(3),Dt(l.message))},dependencies:[Ct],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let b=v;return b})();var zr=(()=>{let v=class v{};v.\u0275fac=function(s){return new(s||v)},v.\u0275mod=ye({type:v}),v.\u0275inj=_e({providers:[ir],imports:[Ft,Pt,Vt,oe,oe,zt]});let b=v;return b})();var $r=(()=>{let v=class v{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(r){this._vertical=ne(r)}get inset(){return this._inset}set inset(r){this._inset=ne(r)}};v.\u0275fac=function(s){return new(s||v)},v.\u0275cmp=ge({type:v,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(s,l){s&2&&(gt("aria-orientation",l.vertical?"vertical":"horizontal"),de("mat-divider-vertical",l.vertical)("mat-divider-horizontal",!l.vertical)("mat-divider-inset",l.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[be],decls:0,vars:0,template:function(s,l){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let b=v;return b})(),Xr=(()=>{let v=class v{};v.\u0275fac=function(s){return new(s||v)},v.\u0275mod=ye({type:v}),v.\u0275inj=_e({imports:[oe,oe]});let b=v;return b})();var ee=Zi(Qt());var Kt=(()=>{let v=class v{constructor(){ee.default.config({driver:ee.default.INDEXEDDB,name:"user-database",version:1,storeName:"users",description:"Store for user metadata"})}getUserMetadata(r){return $(this,null,function*(){try{return yield ee.default.getItem(r)}catch(s){return console.error("Error getting metadata from IndexedDB:",s),null}})}saveUserMetadata(r,s){return $(this,null,function*(){try{yield ee.default.setItem(r,s),console.log("Metadata saved successfully!")}catch(l){console.error("Error saving metadata to IndexedDB:",l)}})}removeUserMetadata(r){return $(this,null,function*(){try{yield ee.default.removeItem(r),console.log(`Metadata for pubkey ${r} removed successfully!`)}catch(s){console.error("Error removing metadata from IndexedDB:",s)}})}clearAllMetadata(){return $(this,null,function*(){try{yield ee.default.clear(),console.log("All metadata cleared successfully!")}catch(r){console.error("Error clearing all metadata:",r)}})}};v.\u0275fac=function(s){return new(s||v)},v.\u0275prov=re({token:v,factory:v.\u0275fac,providedIn:"root"});let b=v;return b})();var Jt=(()=>{let v=class v{constructor(){this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new fe,this.pool=new kt,this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.setupVisibilityChangeHandling()}loadRelaysFromLocalStorage(){let r=[{url:"wss://relay.angor.io",connected:!1,retries:0,retryTimeout:null,ws:void 0},{url:"wss://relay2.angor.io",connected:!1,retries:0,retryTimeout:null,ws:void 0}],s=JSON.parse(localStorage.getItem("nostrRelays")||"[]").map(l=>st(q({},l),{connected:!1,retries:0,retryTimeout:null,ws:void 0}));return[...r,...s]}connectToRelay(r){r.connected||(r.ws=new WebSocket(r.url),r.ws.onopen=()=>{r.connected=!0,r.retries=0,clearTimeout(r.retryTimeout),console.log(`Connected to relay: ${r.url}`),this.saveRelaysToLocalStorage()},r.ws.onerror=s=>{console.error(`Failed to connect to relay: ${r.url}`,s),this.handleRelayError(r)},r.ws.onclose=()=>{r.connected=!1,console.log(`Disconnected from relay: ${r.url}`),this.handleRelayError(r)},r.ws.onmessage=s=>{try{let l=typeof s.data=="string"?s.data:s.data.toString("utf-8"),_=JSON.parse(l);this.eventSubject.next(_)}catch(l){console.error("Error parsing WebSocket message:",l)}})}handleRelayError(r){if(r.retries>=this.maxRetries){console.error(`Max retries reached for relay: ${r.url}. No further attempts will be made.`);return}let s=this.retryDelay*r.retries;r.retries++,r.retryTimeout=setTimeout(()=>{this.connectToRelay(r),console.log(`Retrying connection to relay: ${r.url} (Attempt ${r.retries})`)},s)}connectToRelays(){this.relays.forEach(r=>this.connectToRelay(r))}ensureConnectedRelays(){return $(this,null,function*(){return this.connectToRelays(),new Promise(r=>{let s=()=>{this.getConnectedRelays().length>0?r():setTimeout(s,1e3)};s()})})}setupVisibilityChangeHandling(){document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.connectToRelays()}),window.addEventListener("beforeunload",()=>{this.relays.forEach(r=>{r.ws&&r.ws.close()})})}getConnectedRelays(){return this.relays.filter(r=>r.connected).map(r=>r.url)}saveRelaysToLocalStorage(){let r=this.relays.filter(s=>!["wss://relay.angor.io","wss://relay2.angor.io"].includes(s.url));localStorage.setItem("nostrRelays",JSON.stringify(r))}getEventStream(){return this.eventSubject.asObservable()}addRelay(r){if(!this.relays.some(s=>s.url===r)){let s={url:r,connected:!1,retries:0,retryTimeout:null,ws:void 0};this.relays.push(s),this.connectToRelay(s),this.saveRelaysToLocalStorage()}}removeRelay(r){this.relays=this.relays.filter(s=>s.url!==r),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){let r=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays=this.relays.filter(s=>r.includes(s.url)),this.saveRelaysToLocalStorage()}subscribeToFilter(r){let s=this.getConnectedRelays();this.pool.subscribeMany(s,[r],{onevent:l=>{this.eventSubject.next(l)}})}getPool(){return this.pool}getRelays(){return this.relays}};v.\u0275fac=function(s){return new(s||v)},v.\u0275prov=re({token:v,factory:v.\u0275fac,providedIn:"root"});let b=v;return b})();var en=(()=>{let v=class v{constructor(r,s){this.indexedDBService=r,this.relayService=s,this.metadataSubject=new ct(null)}getMetadataStream(){return this.metadataSubject.asObservable()}fetchMetadataWithCache(r){return $(this,null,function*(){let s=yield this.indexedDBService.getUserMetadata(r);return s?(this.metadataSubject.next(s),console.log("Metadata loaded from localForage (IndexedDB)"),s):(s=yield this.fetchMetadataRealtime(r),console.log("Metadata fetched from relays"),s&&(yield this.indexedDBService.saveUserMetadata(r,s),console.log("Metadata saved to localForage (IndexedDB)")),s)})}subscribeToMetadataUpdates(r){this.relayService.ensureConnectedRelays().then(()=>{let s={authors:[r],kinds:[0]};this.relayService.getPool().subscribeMany(this.relayService.getConnectedRelays(),[s],{onevent:l=>$(this,null,function*(){if(l.pubkey===r&&l.kind===0)try{let _=JSON.parse(l.content);this.metadataSubject.next(_),yield this.indexedDBService.saveUserMetadata(r,_),console.log("Real-time metadata update saved to localForage (IndexedDB)")}catch(_){console.error("Error parsing updated metadata:",_)}}),oneose(){console.log("Real-time metadata subscription closed.")}})})}fetchMetadataRealtime(r){return $(this,null,function*(){yield this.relayService.ensureConnectedRelays();let s=this.relayService.getPool(),l=this.relayService.getConnectedRelays();if(l.length===0)throw new Error("No connected relays");let _=new Promise((w,E)=>{let A=s.subscribeMany(l,[{authors:[r],kinds:[0]}],{onevent:C=>{if(C.pubkey===r&&C.kind===0)try{let B=JSON.parse(C.content);w(B),this.metadataSubject.next(B)}catch(B){console.error("Error parsing event content:",B),w(null)}finally{A.close()}},oneose(){A.close(),w(null)}})});return this.subscribeToMetadataUpdates(r),_})}};v.\u0275fac=function(s){return new(s||v)(Le(Kt),Le(Jt))},v.\u0275prov=re({token:v,factory:v.\u0275fac,providedIn:"root"});let b=v;return b})();export{Ur as a,zr as b,$r as c,Xr as d,en as e}; diff --git a/index.html b/index.html index a37dca6..bee6e32 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ - + @@ -39,5 +39,5 @@ - + diff --git a/main-D343LDED.js b/main-WIRNKI6M.js similarity index 99% rename from main-D343LDED.js rename to main-WIRNKI6M.js index dec7904..a3e767f 100644 --- a/main-D343LDED.js +++ b/main-WIRNKI6M.js @@ -1,10 +1,10 @@ -import{a as Ot}from"./chunk-AFNL5RPD.js";import{a as dt,b as mt,c as tu,d as iu,e as au}from"./chunk-GQBLPFT4.js";import{a as ha,b as qo,c as Do,d as ba}from"./chunk-EJSFYMLG.js";import{a as Si}from"./chunk-OZSOB2KQ.js";import{b as Mo}from"./chunk-6EWZX4UI.js";import{a as Yt,b as da,c as hi,d as Ge,e as bi,f as mo,g as fc,h as hc,i as bc,j as vc}from"./chunk-SYNSCGYV.js";import{a as wi}from"./chunk-ZRQGIPCY.js";import{d as Nc,e as Pc,f as us,g as pa,h as Fc,i as sn,j as ln,k as xo,l as wo,m as So,n as ga,o as Qe,r as fa,s as Se,t as T,u as zc,v as To,w as Bc,x as Vc,y as cn}from"./chunk-5GRCWTIR.js";import{A as Gc,B as $c,C as Zc,G as Yc,J as Kc,M as Qc,R as Xc,S as eu,T as Ao,U as Io,a as re,b as Kt,c as Ic,d as li,e as Mc,f as Ec,g as ht,h as Oc,j as ls,m as Lc,n as ma,o as cs,p as _o,s as Rc,v as Hc,w as jc,x as Co,y as ko,z as Uc}from"./chunk-KOQX3PBC.js";import{$ as rt,B as bo,C as xc,D as on,F as wc,G as xi,I as Sc,J as vo,K as ss,O as Cc,P as kc,Q as Tc,R as qc,S as yo,T as Dc,U as Ac,V as rn,X as Jc,Z as ot,a as vi,aa as Wc,ba as _e,ca as xe,g as po,h as yc,j as yi,k as _i,l as os,r as rs,s as go,u as _c,w as fo,x as ho}from"./chunk-6A5WIJYK.js";import{b as Ue,d as cc,e as ye,f as uc,g as ut,i as co,k as uo,n as dc,o as as,p as Zt,q as nn,r as ns,s as mc,t as pc,v as gc}from"./chunk-IMW7L7ZP.js";import{$ as sa,$a as ft,$b as ts,Aa as Q,Ab as Fe,Ba as X,Bb as nc,Ca as ec,Cb as kt,D as na,Dc as oe,E as no,Eb as st,F as oa,Fb as w,Fc as Bi,Ga as Gt,Gc as is,H as oi,Hb as Te,I as Ne,Ia as Be,Ib as qe,Ja as Ke,Jb as b,K as $l,Kb as v,Lb as C,M as oo,Mb as la,Nb as ca,O as Pe,Ob as se,Pa as fi,Pb as le,Q as ra,Qb as oc,S as Zl,Vb as $,W as Yl,Xb as h,Yb as so,Z as Kl,Zb as ua,a as M,aa as Ze,ab as nt,ac as We,b as ne,ba as U,bc as Re,c as Jl,cc as He,d as Za,da as Ut,db as m,dc as K,e as Fi,ea as ue,eb as E,ec as z,fc as en,g as Qr,ga as Ql,gb as Ka,gc as te,h as Wl,ha as N,i as Xr,ia as It,ib as tc,jb as si,k as io,ka as be,kb as ic,kc as tn,lb as Ct,lc as W,ma as L,mc as lo,n as V,na as I,nc as de,o as Jt,oa as ri,ob as ac,oc as Et,p as Wt,pb as Qa,pc as rc,qa as J,qc as sc,r as Ul,ra as Mt,rb as ro,rc as lc,s as Ya,sa as Ri,sb as Xa,sc as ji,t as ct,u as ni,ua as Hi,uc as zi,va as Xl,vc as Ve,wb as k,x as Gl,xb as $t,y as Le,yb as f,yc as an,z as ao,za as Ye,zb as es}from"./chunk-65EYH52Y.js";var Jp=Fi(()=>{});var Ua=Fi((Jr,Wp)=>{(function(i,e){typeof Jr=="object"?Wp.exports=Jr=e():typeof define=="function"&&define.amd?define([],e):i.CryptoJS=e()})(Jr,function(){var i=i||function(e,a){var t;if(typeof window<"u"&&window.crypto&&(t=window.crypto),typeof self<"u"&&self.crypto&&(t=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(t=globalThis.crypto),!t&&typeof window<"u"&&window.msCrypto&&(t=window.msCrypto),!t&&typeof global<"u"&&global.crypto&&(t=global.crypto),!t&&typeof Jl=="function")try{t=Jp()}catch{}var n=function(){if(t){if(typeof t.getRandomValues=="function")try{return t.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof t.randomBytes=="function")try{return t.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function S(){}return function(q){var j;return S.prototype=q,j=new S,S.prototype=null,j}}(),r={},s=r.lib={},l=s.Base=function(){return{extend:function(S){var q=o(this);return S&&q.mixIn(S),(!q.hasOwnProperty("init")||this.init===q.init)&&(q.init=function(){q.$super.init.apply(this,arguments)}),q.init.prototype=q,q.$super=this,q},create:function(){var S=this.extend();return S.init.apply(S,arguments),S},init:function(){},mixIn:function(S){for(var q in S)S.hasOwnProperty(q)&&(this[q]=S[q]);S.hasOwnProperty("toString")&&(this.toString=S.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=l.extend({init:function(S,q){S=this.words=S||[],q!=a?this.sigBytes=q:this.sigBytes=S.length*4},toString:function(S){return(S||g).stringify(this)},concat:function(S){var q=this.words,j=S.words,B=this.sigBytes,pe=S.sigBytes;if(this.clamp(),B%4)for(var ie=0;ie>>2]>>>24-ie%4*8&255;q[B+ie>>>2]|=we<<24-(B+ie)%4*8}else for(var he=0;he>>2]=j[he>>>2];return this.sigBytes+=pe,this},clamp:function(){var S=this.words,q=this.sigBytes;S[q>>>2]&=4294967295<<32-q%4*8,S.length=e.ceil(q/4)},clone:function(){var S=l.clone.call(this);return S.words=this.words.slice(0),S},random:function(S){for(var q=[],j=0;j>>2]>>>24-pe%4*8&255;B.push((ie>>>4).toString(16)),B.push((ie&15).toString(16))}return B.join("")},parse:function(S){for(var q=S.length,j=[],B=0;B>>3]|=parseInt(S.substr(B,2),16)<<24-B%8*4;return new c.init(j,q/2)}},x=d.Latin1={stringify:function(S){for(var q=S.words,j=S.sigBytes,B=[],pe=0;pe>>2]>>>24-pe%4*8&255;B.push(String.fromCharCode(ie))}return B.join("")},parse:function(S){for(var q=S.length,j=[],B=0;B>>2]|=(S.charCodeAt(B)&255)<<24-B%4*8;return new c.init(j,q)}},y=d.Utf8={stringify:function(S){try{return decodeURIComponent(escape(x.stringify(S)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(S){return x.parse(unescape(encodeURIComponent(S)))}},_=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(S){typeof S=="string"&&(S=y.parse(S)),this._data.concat(S),this._nDataBytes+=S.sigBytes},_process:function(S){var q,j=this._data,B=j.words,pe=j.sigBytes,ie=this.blockSize,we=ie*4,he=pe/we;S?he=e.ceil(he):he=e.max((he|0)-this._minBufferSize,0);var Me=he*ie,$e=e.min(Me*4,pe);if(Me){for(var Bt=0;Bt{(function(i,e){typeof Wr=="object"?Up.exports=Wr=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(Wr,function(i){return function(){var e=i,a=e.lib,t=a.WordArray,n=e.enc,o=n.Base64={stringify:function(s){var l=s.words,c=s.sigBytes,d=this._map;s.clamp();for(var g=[],x=0;x>>2]>>>24-x%4*8&255,_=l[x+1>>>2]>>>24-(x+1)%4*8&255,D=l[x+2>>>2]>>>24-(x+2)%4*8&255,O=y<<16|_<<8|D,S=0;S<4&&x+S*.75>>6*(3-S)&63));var q=d.charAt(64);if(q)for(;g.length%4;)g.push(q);return g.join("")},parse:function(s){var l=s.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var g=0;g>>6-x%4*2,D=y|_;d[g>>>2]|=D<<24-g%4*8,g++}return t.create(d,g)}}(),i.enc.Base64})});var Zp=Fi((Ur,$p)=>{(function(i,e){typeof Ur=="object"?$p.exports=Ur=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(Ur,function(i){return i.enc.Utf8})});var Kp=Fi((Gr,Yp)=>{(function(i,e){typeof Gr=="object"?Yp.exports=Gr=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(Gr,function(i){return function(e){var a=i,t=a.lib,n=t.WordArray,o=t.Hasher,r=a.algo,s=[],l=[];(function(){function g(D){for(var O=e.sqrt(D),S=2;S<=O;S++)if(!(D%S))return!1;return!0}function x(D){return(D-(D|0))*4294967296|0}for(var y=2,_=0;_<64;)g(y)&&(_<8&&(s[_]=x(e.pow(y,1/2))),l[_]=x(e.pow(y,1/3)),_++),y++})();var c=[],d=r.SHA256=o.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(g,x){for(var y=this._hash.words,_=y[0],D=y[1],O=y[2],S=y[3],q=y[4],j=y[5],B=y[6],pe=y[7],ie=0;ie<64;ie++){if(ie<16)c[ie]=g[x+ie]|0;else{var we=c[ie-15],he=(we<<25|we>>>7)^(we<<14|we>>>18)^we>>>3,Me=c[ie-2],$e=(Me<<15|Me>>>17)^(Me<<13|Me>>>19)^Me>>>10;c[ie]=he+c[ie-7]+$e+c[ie-16]}var Bt=q&j^~q&B,ai=_&D^_&O^D&O,Ga=(_<<30|_>>>2)^(_<<19|_>>>13)^(_<<10|_>>>22),eo=(q<<26|q>>>6)^(q<<21|q>>>11)^(q<<7|q>>>25),$a=pe+eo+Bt+l[ie]+c[ie],R=Ga+ai;pe=B,B=j,j=q,q=S+$a|0,S=O,O=D,D=_,_=$a+R|0}y[0]=y[0]+_|0,y[1]=y[1]+D|0,y[2]=y[2]+O|0,y[3]=y[3]+S|0,y[4]=y[4]+q|0,y[5]=y[5]+j|0,y[6]=y[6]+B|0,y[7]=y[7]+pe|0},_doFinalize:function(){var g=this._data,x=g.words,y=this._nDataBytes*8,_=g.sigBytes*8;return x[_>>>5]|=128<<24-_%32,x[(_+64>>>9<<4)+14]=e.floor(y/4294967296),x[(_+64>>>9<<4)+15]=y,g.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var g=o.clone.call(this);return g._hash=this._hash.clone(),g}});a.SHA256=o._createHelper(d),a.HmacSHA256=o._createHmacHelper(d)}(Math),i.SHA256})});var Xp=Fi(($r,Qp)=>{(function(i,e){typeof $r=="object"?Qp.exports=$r=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})($r,function(i){(function(){var e=i,a=e.lib,t=a.Base,n=e.enc,o=n.Utf8,r=e.algo,s=r.HMAC=t.extend({init:function(l,c){l=this._hasher=new l.init,typeof c=="string"&&(c=o.parse(c));var d=l.blockSize,g=d*4;c.sigBytes>g&&(c=l.finalize(c)),c.clamp();for(var x=this._oKey=c.clone(),y=this._iKey=c.clone(),_=x.words,D=y.words,O=0;O{(function(i,e,a){typeof Zr=="object"?eg.exports=Zr=e(Ua(),Kp(),Xp()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(i.CryptoJS)})(Zr,function(i){return i.HmacSHA256})});var nu=(()=>{let e=class e{constructor(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["app-root"]],standalone:!0,features:[W],decls:1,vars:0,template:function(n,o){n&1&&C(0,"router-outlet")},dependencies:[hi],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]});let i=e;return i})();var ci=class extends Error{},Eo=class extends ci{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Oo=class extends ci{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},Lo=class extends ci{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},Lt=class extends ci{},va=class extends ci{constructor(e){super(`Invalid unit ${e}`)}},je=class extends ci{},Nt=class extends ci{constructor(){super("Zone is an abstract class")}};var P="numeric",Pt="short",bt="long",Ci={year:P,month:P,day:P},un={year:P,month:Pt,day:P},ds={year:P,month:Pt,day:P,weekday:Pt},dn={year:P,month:bt,day:P},mn={year:P,month:bt,day:P,weekday:bt},pn={hour:P,minute:P},gn={hour:P,minute:P,second:P},fn={hour:P,minute:P,second:P,timeZoneName:Pt},hn={hour:P,minute:P,second:P,timeZoneName:bt},bn={hour:P,minute:P,hourCycle:"h23"},vn={hour:P,minute:P,second:P,hourCycle:"h23"},yn={hour:P,minute:P,second:P,hourCycle:"h23",timeZoneName:Pt},_n={hour:P,minute:P,second:P,hourCycle:"h23",timeZoneName:bt},xn={year:P,month:P,day:P,hour:P,minute:P},wn={year:P,month:P,day:P,hour:P,minute:P,second:P},Sn={year:P,month:Pt,day:P,hour:P,minute:P},Cn={year:P,month:Pt,day:P,hour:P,minute:P,second:P},ms={year:P,month:Pt,day:P,weekday:Pt,hour:P,minute:P},kn={year:P,month:bt,day:P,hour:P,minute:P,timeZoneName:Pt},Tn={year:P,month:bt,day:P,hour:P,minute:P,second:P,timeZoneName:Pt},qn={year:P,month:bt,day:P,weekday:bt,hour:P,minute:P,timeZoneName:bt},Dn={year:P,month:bt,day:P,weekday:bt,hour:P,minute:P,second:P,timeZoneName:bt};var vt=class{get type(){throw new Nt}get name(){throw new Nt}get ianaName(){return this.name}get isUniversal(){throw new Nt}offsetName(e,a){throw new Nt}formatOffset(e,a){throw new Nt}offset(e){throw new Nt}equals(e){throw new Nt}get isValid(){throw new Nt}};var ps=null,Vi=class i extends vt{static get instance(){return ps===null&&(ps=new i),ps}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:a,locale:t}){return Po(e,a,t)}formatOffset(e,a){return ki(this.offset(e),a)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}};var Ro={};function Ig(i){return Ro[i]||(Ro[i]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ro[i]}var Mg={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Eg(i,e){let a=i.format(e).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(a),[,n,o,r,s,l,c,d]=t;return[r,n,o,s,l,c,d]}function Og(i,e){let a=i.formatToParts(e),t=[];for(let n=0;n=0?_:1e3+_,(x-y)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}};var ou={};function Lg(i,e={}){let a=JSON.stringify([i,e]),t=ou[a];return t||(t=new Intl.ListFormat(i,e),ou[a]=t),t}var gs={};function fs(i,e={}){let a=JSON.stringify([i,e]),t=gs[a];return t||(t=new Intl.DateTimeFormat(i,e),gs[a]=t),t}var hs={};function Ng(i,e={}){let a=JSON.stringify([i,e]),t=hs[a];return t||(t=new Intl.NumberFormat(i,e),hs[a]=t),t}var bs={};function Pg(i,e={}){let r=e,{base:a}=r,t=Za(r,["base"]),n=JSON.stringify([i,t]),o=bs[n];return o||(o=new Intl.RelativeTimeFormat(i,e),bs[n]=o),o}var An=null;function Fg(){return An||(An=new Intl.DateTimeFormat().resolvedOptions().locale,An)}var ru={};function Rg(i){let e=ru[i];if(!e){let a=new Intl.Locale(i);e="getWeekInfo"in a?a.getWeekInfo():a.weekInfo,ru[i]=e}return e}function Hg(i){let e=i.indexOf("-x-");e!==-1&&(i=i.substring(0,e));let a=i.indexOf("-u-");if(a===-1)return[i];{let t,n;try{t=fs(i).resolvedOptions(),n=i}catch{let l=i.substring(0,a);t=fs(l).resolvedOptions(),n=l}let{numberingSystem:o,calendar:r}=t;return[n,o,r]}}function jg(i,e,a){return(a||e)&&(i.includes("-u-")||(i+="-u"),a&&(i+=`-ca-${a}`),e&&(i+=`-nu-${e}`)),i}function zg(i){let e=[];for(let a=1;a<=12;a++){let t=F.utc(2009,a,1);e.push(i(t))}return e}function Bg(i){let e=[];for(let a=1;a<=7;a++){let t=F.utc(2016,11,13+a);e.push(i(t))}return e}function Ho(i,e,a,t){let n=i.listingMode();return n==="error"?null:n==="en"?a(e):t(e)}function Vg(i){return i.numberingSystem&&i.numberingSystem!=="latn"?!1:i.numberingSystem==="latn"||!i.locale||i.locale.startsWith("en")||new Intl.DateTimeFormat(i.intl).resolvedOptions().numberingSystem==="latn"}var vs=class{constructor(e,a,t){this.padTo=t.padTo||0,this.floor=t.floor||!1;let s=t,{padTo:n,floor:o}=s,r=Za(s,["padTo","floor"]);if(!a||Object.keys(r).length>0){let l=M({useGrouping:!1},t);t.padTo>0&&(l.minimumIntegerDigits=t.padTo),this.inf=Ng(e,l)}}format(e){if(this.inf){let a=this.floor?Math.floor(e):e;return this.inf.format(a)}else{let a=this.floor?Math.floor(e):_a(e,3);return De(a,this.padTo)}}},ys=class{constructor(e,a,t){this.opts=t,this.originalZone=void 0;let n;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let r=-1*(e.offset/60),s=r>=0?`Etc/GMT+${r}`:`Etc/GMT${r}`;e.offset!==0&<.create(s).valid?(n=s,this.dt=e):(n="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o=M({},this.opts);o.timeZone=o.timeZone||n,this.dtf=fs(a,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(a=>{if(a.type==="timeZoneName"){let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return ne(M({},a),{value:t})}else return a}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},_s=class{constructor(e,a,t){this.opts=M({style:"long"},t),!a&&jo()&&(this.rtf=Pg(e,t))}format(e,a){return this.rtf?this.rtf.format(e,a):su(a,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,a){return this.rtf?this.rtf.formatToParts(e,a):[]}},Jg={firstDay:1,minimalDays:4,weekend:[6,7]},ve=class i{static fromOpts(e){return i.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,a,t,n,o=!1){let r=e||ge.defaultLocale,s=r||(o?"en-US":Fg()),l=a||ge.defaultNumberingSystem,c=t||ge.defaultOutputCalendar,d=In(n)||ge.defaultWeekSettings;return new i(s,l,c,d,r)}static resetCache(){An=null,gs={},hs={},bs={}}static fromObject({locale:e,numberingSystem:a,outputCalendar:t,weekSettings:n}={}){return i.create(e,a,t,n)}constructor(e,a,t,n,o){let[r,s,l]=Hg(e);this.locale=r,this.numberingSystem=a||s||null,this.outputCalendar=t||l||null,this.weekSettings=n,this.intl=jg(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Vg(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),a=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&a?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:i.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,In(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone(ne(M({},e),{defaultToEN:!0}))}redefaultToSystem(e={}){return this.clone(ne(M({},e),{defaultToEN:!1}))}months(e,a=!1){return Ho(this,e,xs,()=>{let t=a?{month:e,day:"numeric"}:{month:e},n=a?"format":"standalone";return this.monthsCache[n][e]||(this.monthsCache[n][e]=zg(o=>this.extract(o,t,"month"))),this.monthsCache[n][e]})}weekdays(e,a=!1){return Ho(this,e,ws,()=>{let t=a?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=a?"format":"standalone";return this.weekdaysCache[n][e]||(this.weekdaysCache[n][e]=Bg(o=>this.extract(o,t,"weekday"))),this.weekdaysCache[n][e]})}meridiems(){return Ho(this,void 0,()=>Ss,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[F.utc(2016,11,13,9),F.utc(2016,11,13,19)].map(a=>this.extract(a,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ho(this,e,Cs,()=>{let a={era:e};return this.eraCache[e]||(this.eraCache[e]=[F.utc(-40,1,1),F.utc(2017,1,1)].map(t=>this.extract(t,a,"era"))),this.eraCache[e]})}extract(e,a,t){let n=this.dtFormatter(e,a),o=n.formatToParts(),r=o.find(s=>s.type.toLowerCase()===t);return r?r.value:null}numberFormatter(e={}){return new vs(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,a={}){return new ys(e,this.intl,a)}relFormatter(e={}){return new _s(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Lg(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:zo()?Rg(this.locale):Jg}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}};var Ts=null,Xe=class i extends vt{static get utcInstance(){return Ts===null&&(Ts=new i(0)),Ts}static instance(e){return e===0?i.utcInstance:new i(e)}static parseSpecifier(e){if(e){let a=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(a)return new i(Ji(a[1],a[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ki(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ki(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,a){return ki(this.fixed,a)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}};var Mn=class extends vt{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function Ft(i,e){let a;if(Z(i)||i===null)return e;if(i instanceof vt)return i;if(lu(i)){let t=i.toLowerCase();return t==="default"?e:t==="local"||t==="system"?Vi.instance:t==="utc"||t==="gmt"?Xe.utcInstance:Xe.parseSpecifier(t)||lt.create(i)}else return Qt(i)?Xe.instance(i):typeof i=="object"&&"offset"in i&&typeof i.offset=="function"?i:new Mn(i)}var cu=()=>Date.now(),uu="system",du=null,mu=null,pu=null,gu=60,fu,hu=null,ge=class{static get now(){return cu}static set now(e){cu=e}static set defaultZone(e){uu=e}static get defaultZone(){return Ft(uu,Vi.instance)}static get defaultLocale(){return du}static set defaultLocale(e){du=e}static get defaultNumberingSystem(){return mu}static set defaultNumberingSystem(e){mu=e}static get defaultOutputCalendar(){return pu}static set defaultOutputCalendar(e){pu=e}static get defaultWeekSettings(){return hu}static set defaultWeekSettings(e){hu=In(e)}static get twoDigitCutoffYear(){return gu}static set twoDigitCutoffYear(e){gu=e%100}static get throwOnInvalid(){return fu}static set throwOnInvalid(e){fu=e}static resetCaches(){ve.resetCache(),lt.resetCache()}};var et=class{constructor(e,a){this.reason=e,this.explanation=a}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}};var bu=[0,31,59,90,120,151,181,212,243,273,304,334],vu=[0,31,60,91,121,152,182,213,244,274,305,335];function Tt(i,e){return new et("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${i}, which is invalid`)}function Bo(i,e,a){let t=new Date(Date.UTC(i,e-1,a));i<100&&i>=0&&t.setUTCFullYear(t.getUTCFullYear()-1900);let n=t.getUTCDay();return n===0?7:n}function yu(i,e,a){return a+(Ui(i)?vu:bu)[e-1]}function _u(i,e){let a=Ui(i)?vu:bu,t=a.findIndex(o=>oWi(t,e,a)?(c=t+1,l=1):c=t,M({weekYear:c,weekNumber:l,weekday:s},Ln(i))}function qs(i,e=4,a=1){let{weekYear:t,weekNumber:n,weekday:o}=i,r=Vo(Bo(t,1,e),a),s=Ti(t),l=n*7+o-r-7+e,c;l<1?(c=t-1,l+=Ti(c)):l>s?(c=t+1,l-=Ti(t)):c=t;let{month:d,day:g}=_u(c,l);return M({year:c,month:d,day:g},Ln(i))}function Jo(i){let{year:e,month:a,day:t}=i,n=yu(e,a,t);return M({year:e,ordinal:n},Ln(i))}function Ds(i){let{year:e,ordinal:a}=i,{month:t,day:n}=_u(e,a);return M({year:e,month:t,day:n},Ln(i))}function As(i,e){if(!Z(i.localWeekday)||!Z(i.localWeekNumber)||!Z(i.localWeekYear)){if(!Z(i.weekday)||!Z(i.weekNumber)||!Z(i.weekYear))throw new Lt("Cannot mix locale-based week fields with ISO-based week fields");return Z(i.localWeekday)||(i.weekday=i.localWeekday),Z(i.localWeekNumber)||(i.weekNumber=i.localWeekNumber),Z(i.localWeekYear)||(i.weekYear=i.localWeekYear),delete i.localWeekday,delete i.localWeekNumber,delete i.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function xu(i,e=4,a=1){let t=On(i.weekYear),n=yt(i.weekNumber,1,Wi(i.weekYear,e,a)),o=yt(i.weekday,1,7);return t?n?o?!1:Tt("weekday",i.weekday):Tt("week",i.weekNumber):Tt("weekYear",i.weekYear)}function wu(i){let e=On(i.year),a=yt(i.ordinal,1,Ti(i.year));return e?a?!1:Tt("ordinal",i.ordinal):Tt("year",i.year)}function Is(i){let e=On(i.year),a=yt(i.month,1,12),t=yt(i.day,1,xa(i.year,i.month));return e?a?t?!1:Tt("day",i.day):Tt("month",i.month):Tt("year",i.year)}function Ms(i){let{hour:e,minute:a,second:t,millisecond:n}=i,o=yt(e,0,23)||e===24&&a===0&&t===0&&n===0,r=yt(a,0,59),s=yt(t,0,59),l=yt(n,0,999);return o?r?s?l?!1:Tt("millisecond",n):Tt("second",t):Tt("minute",a):Tt("hour",e)}function Z(i){return typeof i>"u"}function Qt(i){return typeof i=="number"}function On(i){return typeof i=="number"&&i%1===0}function lu(i){return typeof i=="string"}function Cu(i){return Object.prototype.toString.call(i)==="[object Date]"}function jo(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function zo(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function ku(i){return Array.isArray(i)?i:[i]}function Es(i,e,a){if(i.length!==0)return i.reduce((t,n)=>{let o=[e(n),n];return t&&a(t[0],o[0])===t[0]?t:o},null)[1]}function Tu(i,e){return e.reduce((a,t)=>(a[t]=i[t],a),{})}function qi(i,e){return Object.prototype.hasOwnProperty.call(i,e)}function In(i){if(i==null)return null;if(typeof i!="object")throw new je("Week settings must be an object");if(!yt(i.firstDay,1,7)||!yt(i.minimalDays,1,7)||!Array.isArray(i.weekend)||i.weekend.some(e=>!yt(e,1,7)))throw new je("Invalid week settings");return{firstDay:i.firstDay,minimalDays:i.minimalDays,weekend:Array.from(i.weekend)}}function yt(i,e,a){return On(i)&&i>=e&&i<=a}function Wg(i,e){return i-e*Math.floor(i/e)}function De(i,e=2){let a=i<0,t;return a?t="-"+(""+-i).padStart(e,"0"):t=(""+i).padStart(e,"0"),t}function ui(i){if(!(Z(i)||i===null||i===""))return parseInt(i,10)}function Di(i){if(!(Z(i)||i===null||i===""))return parseFloat(i)}function Nn(i){if(!(Z(i)||i===null||i==="")){let e=parseFloat("0."+i)*1e3;return Math.floor(e)}}function _a(i,e,a=!1){let t=10**e;return(a?Math.trunc:Math.round)(i*t)/t}function Ui(i){return i%4===0&&(i%100!==0||i%400===0)}function Ti(i){return Ui(i)?366:365}function xa(i,e){let a=Wg(e-1,12)+1,t=i+(e-a)/12;return a===2?Ui(t)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][a-1]}function ya(i){let e=Date.UTC(i.year,i.month-1,i.day,i.hour,i.minute,i.second,i.millisecond);return i.year<100&&i.year>=0&&(e=new Date(e),e.setUTCFullYear(i.year,i.month-1,i.day)),+e}function Su(i,e,a){return-Vo(Bo(i,1,e),a)+e-1}function Wi(i,e=4,a=1){let t=Su(i,e,a),n=Su(i+1,e,a);return(Ti(i)-t+n)/7}function Pn(i){return i>99?i:i>ge.twoDigitCutoffYear?1900+i:2e3+i}function Po(i,e,a,t=null){let n=new Date(i),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};t&&(o.timeZone=t);let r=M({timeZoneName:e},o),s=new Intl.DateTimeFormat(a,r).formatToParts(n).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function Ji(i,e){let a=parseInt(i,10);Number.isNaN(a)&&(a=0);let t=parseInt(e,10)||0,n=a<0||Object.is(a,-0)?-t:t;return a*60+n}function Os(i){let e=Number(i);if(typeof i=="boolean"||i===""||Number.isNaN(e))throw new je(`Invalid unit value ${i}`);return e}function wa(i,e){let a={};for(let t in i)if(qi(i,t)){let n=i[t];if(n==null)continue;a[e(t)]=Os(n)}return a}function ki(i,e){let a=Math.trunc(Math.abs(i/60)),t=Math.trunc(Math.abs(i%60)),n=i>=0?"+":"-";switch(e){case"short":return`${n}${De(a,2)}:${De(t,2)}`;case"narrow":return`${n}${a}${t>0?`:${t}`:""}`;case"techie":return`${n}${De(a,2)}${De(t,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ln(i){return Tu(i,["hour","minute","second","millisecond"])}var Ug=["January","February","March","April","May","June","July","August","September","October","November","December"],Ls=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gg=["J","F","M","A","M","J","J","A","S","O","N","D"];function xs(i){switch(i){case"narrow":return[...Gg];case"short":return[...Ls];case"long":return[...Ug];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ns=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ps=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],$g=["M","T","W","T","F","S","S"];function ws(i){switch(i){case"narrow":return[...$g];case"short":return[...Ps];case"long":return[...Ns];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ss=["AM","PM"],Zg=["Before Christ","Anno Domini"],Yg=["BC","AD"],Kg=["B","A"];function Cs(i){switch(i){case"narrow":return[...Kg];case"short":return[...Yg];case"long":return[...Zg];default:return null}}function qu(i){return Ss[i.hour<12?0:1]}function Du(i,e){return ws(e)[i.weekday-1]}function Au(i,e){return xs(e)[i.month-1]}function Iu(i,e){return Cs(e)[i.year<0?0:1]}function su(i,e,a="always",t=!1){let n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(i)===-1;if(a==="auto"&&o){let g=i==="days";switch(e){case 1:return g?"tomorrow":`next ${n[i][0]}`;case-1:return g?"yesterday":`last ${n[i][0]}`;case 0:return g?"today":`this ${n[i][0]}`;default:}}let r=Object.is(e,-0)||e<0,s=Math.abs(e),l=s===1,c=n[i],d=t?l?c[1]:c[2]||c[1]:l?n[i][0]:i;return r?`${s} ${d} ago`:`in ${s} ${d}`}function Mu(i,e){let a="";for(let t of i)t.literal?a+=t.val:a+=e(t.val);return a}var Qg={D:Ci,DD:un,DDD:dn,DDDD:mn,t:pn,tt:gn,ttt:fn,tttt:hn,T:bn,TT:vn,TTT:yn,TTTT:_n,f:xn,ff:Sn,fff:kn,ffff:qn,F:wn,FF:Cn,FFF:Tn,FFFF:Dn},tt=class i{static create(e,a={}){return new i(e,a)}static parseFormat(e){let a=null,t="",n=!1,o=[];for(let r=0;r0&&o.push({literal:n||/^\s+$/.test(t),val:t}),a=null,t="",n=!n):n||s===a?t+=s:(t.length>0&&o.push({literal:/^\s+$/.test(t),val:t}),t=s,a=s)}return t.length>0&&o.push({literal:n||/^\s+$/.test(t),val:t}),o}static macroTokenToFormatOpts(e){return Qg[e]}constructor(e,a){this.opts=a,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,a){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,M(M({},this.opts),a)).format()}dtFormatter(e,a={}){return this.loc.dtFormatter(e,M(M({},this.opts),a))}formatDateTime(e,a){return this.dtFormatter(e,a).format()}formatDateTimeParts(e,a){return this.dtFormatter(e,a).formatToParts()}formatInterval(e,a){return this.dtFormatter(e.start,a).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,a){return this.dtFormatter(e,a).resolvedOptions()}num(e,a=0){if(this.opts.forceSimple)return De(e,a);let t=M({},this.opts);return a>0&&(t.padTo=a),this.loc.numberFormatter(t).format(e)}formatDateTimeFromString(e,a){let t=this.loc.listingMode()==="en",n=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(y,_)=>this.loc.extract(e,y,_),r=y=>e.isOffsetFixed&&e.offset===0&&y.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,y.format):"",s=()=>t?qu(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(y,_)=>t?Au(e,y):o(_?{month:y}:{month:y,day:"numeric"},"month"),c=(y,_)=>t?Du(e,y):o(_?{weekday:y}:{weekday:y,month:"long",day:"numeric"},"weekday"),d=y=>{let _=i.macroTokenToFormatOpts(y);return _?this.formatWithSystemDefault(e,_):y},g=y=>t?Iu(e,y):o({era:y},"era"),x=y=>{switch(y){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return s();case"d":return n?o({day:"numeric"},"day"):this.num(e.day);case"dd":return n?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return n?o({month:"numeric"},"month"):this.num(e.month);case"MM":return n?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return n?o({year:"numeric"},"year"):this.num(e.year);case"yy":return n?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return g("short");case"GG":return g("long");case"GGGGG":return g("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(y)}};return Mu(i.parseFormat(a),x)}formatDurationFromString(e,a){let t=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=l=>c=>{let d=t(c);return d?this.num(l.get(d),c.length):c},o=i.parseFormat(a),r=o.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),s=e.shiftTo(...r.map(t).filter(l=>l));return Mu(o,n(s))}};var Ou=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ca(...i){let e=i.reduce((a,t)=>a+t.source,"");return RegExp(`^${e}$`)}function ka(...i){return e=>i.reduce(([a,t,n],o)=>{let[r,s,l]=o(e,n);return[M(M({},a),r),s||t,l]},[{},null,1]).slice(0,2)}function Ta(i,...e){if(i==null)return[null,null];for(let[a,t]of e){let n=a.exec(i);if(n)return t(n)}return[null,null]}function Lu(...i){return(e,a)=>{let t={},n;for(n=0;ny!==void 0&&(_||y&&d)?-y:y;return[{years:x(Di(a)),months:x(Di(t)),weeks:x(Di(n)),days:x(Di(o)),hours:x(Di(r)),minutes:x(Di(s)),seconds:x(Di(l),l==="-0"),milliseconds:x(Nn(c),g)}]}var mf={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Hs(i,e,a,t,n,o,r){let s={year:e.length===2?Pn(ui(e)):ui(e),month:Ls.indexOf(a)+1,day:ui(t),hour:ui(n),minute:ui(o)};return r&&(s.second=ui(r)),i&&(s.weekday=i.length>3?Ns.indexOf(i)+1:Ps.indexOf(i)+1),s}var pf=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function gf(i){let[,e,a,t,n,o,r,s,l,c,d,g]=i,x=Hs(e,n,t,a,o,r,s),y;return l?y=mf[l]:c?y=0:y=Ji(d,g),[x,new Xe(y)]}function ff(i){return i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var hf=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,bf=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,vf=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Eu(i){let[,e,a,t,n,o,r,s]=i;return[Hs(e,n,t,a,o,r,s),Xe.utcInstance]}function yf(i){let[,e,a,t,n,o,r,s]=i;return[Hs(e,s,a,t,n,o,r),Xe.utcInstance]}var _f=Ca(ef,Rs),xf=Ca(tf,Rs),wf=Ca(af,Rs),Sf=Ca(Pu),Ru=ka(lf,qa,Fn,Rn),Cf=ka(nf,qa,Fn,Rn),kf=ka(of,qa,Fn,Rn),Tf=ka(qa,Fn,Rn);function Hu(i){return Ta(i,[_f,Ru],[xf,Cf],[wf,kf],[Sf,Tf])}function ju(i){return Ta(ff(i),[pf,gf])}function zu(i){return Ta(i,[hf,Eu],[bf,Eu],[vf,yf])}function Bu(i){return Ta(i,[uf,df])}var qf=ka(qa);function Vu(i){return Ta(i,[cf,qf])}var Df=Ca(rf,sf),Af=Ca(Fu),If=ka(qa,Fn,Rn);function Ju(i){return Ta(i,[Df,Ru],[Af,If])}var Wu="Invalid Duration",Gu={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Mf=M({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Gu),qt=146097/400,Da=146097/4800,Ef=M({years:{quarters:4,months:12,weeks:qt/7,days:qt,hours:qt*24,minutes:qt*24*60,seconds:qt*24*60*60,milliseconds:qt*24*60*60*1e3},quarters:{months:3,weeks:qt/28,days:qt/4,hours:qt*24/4,minutes:qt*24*60/4,seconds:qt*24*60*60/4,milliseconds:qt*24*60*60*1e3/4},months:{weeks:Da/7,days:Da,hours:Da*24,minutes:Da*24*60,seconds:Da*24*60*60,milliseconds:Da*24*60*60*1e3}},Gu),Gi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Of=Gi.slice(0).reverse();function Ai(i,e,a=!1){let t={values:a?e.values:M(M({},i.values),e.values||{}),loc:i.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||i.conversionAccuracy,matrix:e.matrix||i.matrix};return new Ee(t)}function $u(i,e){let a=e.milliseconds??0;for(let t of Of.slice(1))e[t]&&(a+=e[t]*i[t].milliseconds);return a}function Uu(i,e){let a=$u(i,e)<0?-1:1;Gi.reduceRight((t,n)=>{if(Z(e[n]))return t;if(t){let o=e[t]*a,r=i[n][t],s=Math.floor(o/r);e[n]+=s*a,e[t]-=s*r*a}return n},null),Gi.reduce((t,n)=>{if(Z(e[n]))return t;if(t){let o=e[t]%1;e[t]-=o,e[n]+=o*i[t][n]}return n},null)}function Lf(i){let e={};for(let[a,t]of Object.entries(i))t!==0&&(e[a]=t);return e}var Ee=class i{constructor(e){let a=e.conversionAccuracy==="longterm"||!1,t=a?Ef:Mf;e.matrix&&(t=e.matrix),this.values=e.values,this.loc=e.loc||ve.create(),this.conversionAccuracy=a?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t,this.isLuxonDuration=!0}static fromMillis(e,a){return i.fromObject({milliseconds:e},a)}static fromObject(e,a={}){if(e==null||typeof e!="object")throw new je(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new i({values:wa(e,i.normalizeUnit),loc:ve.fromObject(a),conversionAccuracy:a.conversionAccuracy,matrix:a.matrix})}static fromDurationLike(e){if(Qt(e))return i.fromMillis(e);if(i.isDuration(e))return e;if(typeof e=="object")return i.fromObject(e);throw new je(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,a){let[t]=Bu(e);return t?i.fromObject(t,a):i.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,a){let[t]=Vu(e);return t?i.fromObject(t,a):i.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,a=null){if(!e)throw new je("need to specify a reason the Duration is invalid");let t=e instanceof et?e:new et(e,a);if(ge.throwOnInvalid)throw new Lo(t);return new i({invalid:t})}static normalizeUnit(e){let a={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!a)throw new va(e);return a}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,a={}){let t=ne(M({},a),{floor:a.round!==!1&&a.floor!==!1});return this.isValid?tt.create(this.loc,t).formatDurationFromString(this,e):Wu}toHuman(e={}){if(!this.isValid)return Wu;let a=Gi.map(t=>{let n=this.values[t];return Z(n)?null:this.loc.numberFormatter(ne(M({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(n)}).filter(t=>t);return this.loc.listFormatter(M({type:"conjunction",style:e.listStyle||"narrow"},e)).format(a)}toObject(){return this.isValid?M({},this.values):{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=_a(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let a=this.toMillis();return a<0||a>=864e5?null:(e=ne(M({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e),{includeOffset:!1}),F.fromMillis(a,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?$u(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let a=i.fromDurationLike(e),t={};for(let n of Gi)(qi(a.values,n)||qi(this.values,n))&&(t[n]=a.get(n)+this.get(n));return Ai(this,{values:t},!0)}minus(e){if(!this.isValid)return this;let a=i.fromDurationLike(e);return this.plus(a.negate())}mapUnits(e){if(!this.isValid)return this;let a={};for(let t of Object.keys(this.values))a[t]=Os(e(this.values[t],t));return Ai(this,{values:a},!0)}get(e){return this[i.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let a=M(M({},this.values),wa(e,i.normalizeUnit));return Ai(this,{values:a})}reconfigure({locale:e,numberingSystem:a,conversionAccuracy:t,matrix:n}={}){let r={loc:this.loc.clone({locale:e,numberingSystem:a}),matrix:n,conversionAccuracy:t};return Ai(this,r)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Uu(this.matrix,e),Ai(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Lf(this.normalize().shiftToAll().toObject());return Ai(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(r=>i.normalizeUnit(r));let a={},t={},n=this.toObject(),o;for(let r of Gi)if(e.indexOf(r)>=0){o=r;let s=0;for(let c in t)s+=this.matrix[c][r]*t[c],t[c]=0;Qt(n[r])&&(s+=n[r]);let l=Math.trunc(s);a[r]=l,t[r]=(s*1e3-l*1e3)/1e3}else Qt(n[r])&&(t[r]=n[r]);for(let r in t)t[r]!==0&&(a[o]+=r===o?t[r]:t[r]/this.matrix[o][r]);return Uu(this.matrix,a),Ai(this,{values:a},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let a of Object.keys(this.values))e[a]=this.values[a]===0?0:-this.values[a];return Ai(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function a(t,n){return t===void 0||t===0?n===void 0||n===0:t===n}for(let t of Gi)if(!a(this.values[t],e.values[t]))return!1;return!0}};var Aa="Invalid Interval";function Nf(i,e){return!i||!i.isValid?Ii.invalid("missing or invalid start"):!e||!e.isValid?Ii.invalid("missing or invalid end"):ee:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:a}={}){return this.isValid?i.fromDateTimes(e||this.s,a||this.e):this}splitAt(...e){if(!this.isValid)return[];let a=e.map(Ia).filter(r=>this.contains(r)).sort((r,s)=>r.toMillis()-s.toMillis()),t=[],{s:n}=this,o=0;for(;n+this.e?this.e:r;t.push(i.fromDateTimes(n,s)),n=s,o+=1}return t}splitBy(e){let a=Ee.fromDurationLike(e);if(!this.isValid||!a.isValid||a.as("milliseconds")===0)return[];let{s:t}=this,n=1,o,r=[];for(;tl*n));o=+s>+this.e?this.e:s,r.push(i.fromDateTimes(t,o)),t=o,n+=1}return r}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let a=this.s>e.s?this.s:e.s,t=this.e=t?null:i.fromDateTimes(a,t)}union(e){if(!this.isValid)return this;let a=this.se.e?this.e:e.e;return i.fromDateTimes(a,t)}static merge(e){let[a,t]=e.sort((n,o)=>n.s-o.s).reduce(([n,o],r)=>o?o.overlaps(r)||o.abutsStart(r)?[n,o.union(r)]:[n.concat([o]),r]:[n,r],[[],null]);return t&&a.push(t),a}static xor(e){let a=null,t=0,n=[],o=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),r=Array.prototype.concat(...o),s=r.sort((l,c)=>l.time-c.time);for(let l of s)t+=l.type==="s"?1:-1,t===1?a=l.time:(a&&+a!=+l.time&&n.push(i.fromDateTimes(a,l.time)),a=null);return i.merge(n)}difference(...e){return i.xor([this].concat(e)).map(a=>this.intersection(a)).filter(a=>a&&!a.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Aa}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ci,a={}){return this.isValid?tt.create(this.s.loc.clone(a),e).formatInterval(this):Aa}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Aa}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Aa}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Aa}toFormat(e,{separator:a=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${a}${this.e.toFormat(e)}`:Aa}toDuration(e,a){return this.isValid?this.e.diff(this.s,e,a):Ee.invalid(this.invalidReason)}mapEndpoints(e){return i.fromDateTimes(e(this.s),e(this.e))}};var Rt=class{static hasDST(e=ge.defaultZone){let a=F.now().setZone(e).set({month:12});return!e.isUniversal&&a.offset!==a.set({month:6}).offset}static isValidIANAZone(e){return lt.isValidZone(e)}static normalizeZone(e){return Ft(e,ge.defaultZone)}static getStartOfWeek({locale:e=null,locObj:a=null}={}){return(a||ve.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:a=null}={}){return(a||ve.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:a=null}={}){return(a||ve.create(e)).getWeekendDays().slice()}static months(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null,outputCalendar:o="gregory"}={}){return(n||ve.create(a,t,o)).months(e)}static monthsFormat(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null,outputCalendar:o="gregory"}={}){return(n||ve.create(a,t,o)).months(e,!0)}static weekdays(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null}={}){return(n||ve.create(a,t,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null}={}){return(n||ve.create(a,t,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return ve.create(e).meridiems()}static eras(e="short",{locale:a=null}={}){return ve.create(a,null,"gregory").eras(e)}static features(){return{relative:jo(),localeWeek:zo()}}};function Zu(i,e){let a=n=>n.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),t=a(e)-a(i);return Math.floor(Ee.fromMillis(t).as("days"))}function Pf(i,e,a){let t=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{let d=Zu(l,c);return(d-d%7)/7}],["days",Zu]],n={},o=i,r,s;for(let[l,c]of t)a.indexOf(l)>=0&&(r=l,n[l]=c(i,e),s=o.plus(n),s>e?(n[l]--,i=o.plus(n),i>e&&(s=i,n[l]--,i=o.plus(n))):i=s);return[i,n,s,r]}function Yu(i,e,a,t){let[n,o,r,s]=Pf(i,e,a),l=e-n,c=a.filter(g=>["hours","minutes","seconds","milliseconds"].indexOf(g)>=0);c.length===0&&(r0?Ee.fromMillis(l,t).shiftTo(...c).plus(d):d}var js={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Ku={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ff=js.hanidec.replace(/[\[|\]]/g,"").split("");function Qu(i){let e=parseInt(i,10);if(isNaN(e)){e="";for(let a=0;a=o&&t<=r&&(e+=t-o)}}return parseInt(e,10)}else return e}function Dt({numberingSystem:i},e=""){return new RegExp(`${js[i||"latn"]}${e}`)}var Rf="missing Intl.DateTimeFormat.formatToParts support";function me(i,e=a=>a){return{regex:i,deser:([a])=>e(Qu(a))}}var Hf="\xA0",td=`[ ${Hf}]`,id=new RegExp(td,"g");function jf(i){return i.replace(/\./g,"\\.?").replace(id,td)}function Xu(i){return i.replace(/\./g,"").replace(id," ").toLowerCase()}function Ht(i,e){return i===null?null:{regex:RegExp(i.map(jf).join("|")),deser:([a])=>i.findIndex(t=>Xu(a)===Xu(t))+e}}function ed(i,e){return{regex:i,deser:([,a,t])=>Ji(a,t),groups:e}}function Wo(i){return{regex:i,deser:([e])=>e}}function zf(i){return i.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Bf(i,e){let a=Dt(e),t=Dt(e,"{2}"),n=Dt(e,"{3}"),o=Dt(e,"{4}"),r=Dt(e,"{6}"),s=Dt(e,"{1,2}"),l=Dt(e,"{1,3}"),c=Dt(e,"{1,6}"),d=Dt(e,"{1,9}"),g=Dt(e,"{2,4}"),x=Dt(e,"{4,6}"),y=O=>({regex:RegExp(zf(O.val)),deser:([S])=>S,literal:!0}),D=(O=>{if(i.literal)return y(O);switch(O.val){case"G":return Ht(e.eras("short"),0);case"GG":return Ht(e.eras("long"),0);case"y":return me(c);case"yy":return me(g,Pn);case"yyyy":return me(o);case"yyyyy":return me(x);case"yyyyyy":return me(r);case"M":return me(s);case"MM":return me(t);case"MMM":return Ht(e.months("short",!0),1);case"MMMM":return Ht(e.months("long",!0),1);case"L":return me(s);case"LL":return me(t);case"LLL":return Ht(e.months("short",!1),1);case"LLLL":return Ht(e.months("long",!1),1);case"d":return me(s);case"dd":return me(t);case"o":return me(l);case"ooo":return me(n);case"HH":return me(t);case"H":return me(s);case"hh":return me(t);case"h":return me(s);case"mm":return me(t);case"m":return me(s);case"q":return me(s);case"qq":return me(t);case"s":return me(s);case"ss":return me(t);case"S":return me(l);case"SSS":return me(n);case"u":return Wo(d);case"uu":return Wo(s);case"uuu":return me(a);case"a":return Ht(e.meridiems(),0);case"kkkk":return me(o);case"kk":return me(g,Pn);case"W":return me(s);case"WW":return me(t);case"E":case"c":return me(a);case"EEE":return Ht(e.weekdays("short",!1),1);case"EEEE":return Ht(e.weekdays("long",!1),1);case"ccc":return Ht(e.weekdays("short",!0),1);case"cccc":return Ht(e.weekdays("long",!0),1);case"Z":case"ZZ":return ed(new RegExp(`([+-]${s.source})(?::(${t.source}))?`),2);case"ZZZ":return ed(new RegExp(`([+-]${s.source})(${t.source})?`),2);case"z":return Wo(/[a-z_+-/]{1,256}?/i);case" ":return Wo(/[^\S\n\r]/);default:return y(O)}})(i)||{invalidReason:Rf};return D.token=i,D}var Vf={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Jf(i,e,a){let{type:t,value:n}=i;if(t==="literal"){let l=/^\s+$/.test(n);return{literal:!l,val:l?" ":n}}let o=e[t],r=t;t==="hour"&&(e.hour12!=null?r=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?r="hour12":r="hour24":r=a.hour12?"hour12":"hour24");let s=Vf[r];if(typeof s=="object"&&(s=s[o]),s)return{literal:!1,val:s}}function Wf(i){return[`^${i.map(a=>a.regex).reduce((a,t)=>`${a}(${t.source})`,"")}$`,i]}function Uf(i,e,a){let t=i.match(e);if(t){let n={},o=1;for(let r in a)if(qi(a,r)){let s=a[r],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(n[s.token.val[0]]=s.deser(t.slice(o,o+l))),o+=l}return[t,n]}else return[t,{}]}function Gf(i){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},a=null,t;return Z(i.z)||(a=lt.create(i.z)),Z(i.Z)||(a||(a=new Xe(i.Z)),t=i.Z),Z(i.q)||(i.M=(i.q-1)*3+1),Z(i.h)||(i.h<12&&i.a===1?i.h+=12:i.h===12&&i.a===0&&(i.h=0)),i.G===0&&i.y&&(i.y=-i.y),Z(i.u)||(i.S=Nn(i.u)),[Object.keys(i).reduce((o,r)=>{let s=e(r);return s&&(o[s]=i[r]),o},{}),a,t]}var zs=null;function $f(){return zs||(zs=F.fromMillis(1555555555555)),zs}function Zf(i,e){if(i.literal)return i;let a=tt.macroTokenToFormatOpts(i.val),t=Js(a,e);return t==null||t.includes(void 0)?i:t}function Bs(i,e){return Array.prototype.concat(...i.map(a=>Zf(a,e)))}function Vs(i,e,a){let t=Bs(tt.parseFormat(a),i),n=t.map(r=>Bf(r,i)),o=n.find(r=>r.invalidReason);if(o)return{input:e,tokens:t,invalidReason:o.invalidReason};{let[r,s]=Wf(n),l=RegExp(r,"i"),[c,d]=Uf(e,l,s),[g,x,y]=d?Gf(d):[null,null,void 0];if(qi(d,"a")&&qi(d,"H"))throw new Lt("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:t,regex:l,rawMatches:c,matches:d,result:g,zone:x,specificOffset:y}}}function ad(i,e,a){let{result:t,zone:n,specificOffset:o,invalidReason:r}=Vs(i,e,a);return[t,n,o,r]}function Js(i,e){if(!i)return null;let t=tt.create(e,i).dtFormatter($f()),n=t.formatToParts(),o=t.resolvedOptions();return n.map(r=>Jf(r,i,o))}var Ws="Invalid DateTime",nd=864e13;function Uo(i){return new et("unsupported zone",`the zone "${i.name}" is not supported`)}function Us(i){return i.weekData===null&&(i.weekData=En(i.c)),i.weekData}function Gs(i){return i.localWeekData===null&&(i.localWeekData=En(i.c,i.loc.getMinDaysInFirstWeek(),i.loc.getStartOfWeek())),i.localWeekData}function $i(i,e){let a={ts:i.ts,zone:i.zone,c:i.c,o:i.o,loc:i.loc,invalid:i.invalid};return new F(ne(M(M({},a),e),{old:a}))}function dd(i,e,a){let t=i-e*60*1e3,n=a.offset(t);if(e===n)return[t,e];t-=(n-e)*60*1e3;let o=a.offset(t);return n===o?[t,n]:[i-Math.min(n,o)*60*1e3,Math.max(n,o)]}function Go(i,e){i+=e*60*1e3;let a=new Date(i);return{year:a.getUTCFullYear(),month:a.getUTCMonth()+1,day:a.getUTCDate(),hour:a.getUTCHours(),minute:a.getUTCMinutes(),second:a.getUTCSeconds(),millisecond:a.getUTCMilliseconds()}}function Zo(i,e,a){return dd(ya(i),e,a)}function od(i,e){let a=i.o,t=i.c.year+Math.trunc(e.years),n=i.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o=ne(M({},i.c),{year:t,month:n,day:Math.min(i.c.day,xa(t,n))+Math.trunc(e.days)+Math.trunc(e.weeks)*7}),r=Ee.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),s=ya(o),[l,c]=dd(s,a,i.zone);return r!==0&&(l+=r,c=i.zone.offset(l)),{ts:l,o:c}}function Hn(i,e,a,t,n,o){let{setZone:r,zone:s}=a;if(i&&Object.keys(i).length!==0||e){let l=e||s,c=F.fromObject(i,ne(M({},a),{zone:l,specificOffset:o}));return r?c:c.setZone(s)}else return F.invalid(new et("unparsable",`the input "${n}" can't be parsed as ${t}`))}function $o(i,e,a=!0){return i.isValid?tt.create(ve.create("en-US"),{allowZ:a,forceSimple:!0}).formatDateTimeFromString(i,e):null}function $s(i,e){let a=i.c.year>9999||i.c.year<0,t="";return a&&i.c.year>=0&&(t+="+"),t+=De(i.c.year,a?6:4),e?(t+="-",t+=De(i.c.month),t+="-",t+=De(i.c.day)):(t+=De(i.c.month),t+=De(i.c.day)),t}function rd(i,e,a,t,n,o){let r=De(i.c.hour);return e?(r+=":",r+=De(i.c.minute),(i.c.millisecond!==0||i.c.second!==0||!a)&&(r+=":")):r+=De(i.c.minute),(i.c.millisecond!==0||i.c.second!==0||!a)&&(r+=De(i.c.second),(i.c.millisecond!==0||!t)&&(r+=".",r+=De(i.c.millisecond,3))),n&&(i.isOffsetFixed&&i.offset===0&&!o?r+="Z":i.o<0?(r+="-",r+=De(Math.trunc(-i.o/60)),r+=":",r+=De(Math.trunc(-i.o%60))):(r+="+",r+=De(Math.trunc(i.o/60)),r+=":",r+=De(Math.trunc(i.o%60)))),o&&(r+="["+i.zone.ianaName+"]"),r}var md={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Yf={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Kf={ordinal:1,hour:0,minute:0,second:0,millisecond:0},pd=["year","month","day","hour","minute","second","millisecond"],Qf=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Xf=["year","ordinal","hour","minute","second","millisecond"];function eh(i){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[i.toLowerCase()];if(!e)throw new va(i);return e}function sd(i){switch(i.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return eh(i)}}function ld(i,e){let a=Ft(e.zone,ge.defaultZone),t=ve.fromObject(e),n=ge.now(),o,r;if(Z(i.year))o=n;else{for(let c of pd)Z(i[c])&&(i[c]=md[c]);let s=Is(i)||Ms(i);if(s)return F.invalid(s);let l=a.offset(n);[o,r]=Zo(i,l,a)}return new F({ts:o,zone:a,loc:t,o:r})}function cd(i,e,a){let t=Z(a.round)?!0:a.round,n=(r,s)=>(r=_a(r,t||a.calendary?0:2,!0),e.loc.clone(a).relFormatter(a).format(r,s)),o=r=>a.calendary?e.hasSame(i,r)?0:e.startOf(r).diff(i.startOf(r),r).get(r):e.diff(i,r).get(r);if(a.unit)return n(o(a.unit),a.unit);for(let r of a.units){let s=o(r);if(Math.abs(s)>=1)return n(s,r)}return n(i>e?-0:0,a.units[a.units.length-1])}function ud(i){let e={},a;return i.length>0&&typeof i[i.length-1]=="object"?(e=i[i.length-1],a=Array.from(i).slice(0,i.length-1)):a=Array.from(i),[e,a]}var F=class i{constructor(e){let a=e.zone||ge.defaultZone,t=e.invalid||(Number.isNaN(e.ts)?new et("invalid input"):null)||(a.isValid?null:Uo(a));this.ts=Z(e.ts)?ge.now():e.ts;let n=null,o=null;if(!t)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(a))[n,o]=[e.old.c,e.old.o];else{let s=a.offset(this.ts);n=Go(this.ts,s),t=Number.isNaN(n.year)?new et("invalid input"):null,n=t?null:n,o=t?null:s}this._zone=a,this.loc=e.loc||ve.create(),this.invalid=t,this.weekData=null,this.localWeekData=null,this.c=n,this.o=o,this.isLuxonDateTime=!0}static now(){return new i({})}static local(){let[e,a]=ud(arguments),[t,n,o,r,s,l,c]=a;return ld({year:t,month:n,day:o,hour:r,minute:s,second:l,millisecond:c},e)}static utc(){let[e,a]=ud(arguments),[t,n,o,r,s,l,c]=a;return e.zone=Xe.utcInstance,ld({year:t,month:n,day:o,hour:r,minute:s,second:l,millisecond:c},e)}static fromJSDate(e,a={}){let t=Cu(e)?e.valueOf():NaN;if(Number.isNaN(t))return i.invalid("invalid input");let n=Ft(a.zone,ge.defaultZone);return n.isValid?new i({ts:t,zone:n,loc:ve.fromObject(a)}):i.invalid(Uo(n))}static fromMillis(e,a={}){if(Qt(e))return e<-nd||e>nd?i.invalid("Timestamp out of range"):new i({ts:e,zone:Ft(a.zone,ge.defaultZone),loc:ve.fromObject(a)});throw new je(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,a={}){if(Qt(e))return new i({ts:e*1e3,zone:Ft(a.zone,ge.defaultZone),loc:ve.fromObject(a)});throw new je("fromSeconds requires a numerical input")}static fromObject(e,a={}){e=e||{};let t=Ft(a.zone,ge.defaultZone);if(!t.isValid)return i.invalid(Uo(t));let n=ve.fromObject(a),o=wa(e,sd),{minDaysInFirstWeek:r,startOfWeek:s}=As(o,n),l=ge.now(),c=Z(a.specificOffset)?t.offset(l):a.specificOffset,d=!Z(o.ordinal),g=!Z(o.year),x=!Z(o.month)||!Z(o.day),y=g||x,_=o.weekYear||o.weekNumber;if((y||d)&&_)throw new Lt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(x&&d)throw new Lt("Can't mix ordinal dates with month/day");let D=_||o.weekday&&!y,O,S,q=Go(l,c);D?(O=Qf,S=Yf,q=En(q,r,s)):d?(O=Xf,S=Kf,q=Jo(q)):(O=pd,S=md);let j=!1;for(let $e of O){let Bt=o[$e];Z(Bt)?j?o[$e]=S[$e]:o[$e]=q[$e]:j=!0}let B=D?xu(o,r,s):d?wu(o):Is(o),pe=B||Ms(o);if(pe)return i.invalid(pe);let ie=D?qs(o,r,s):d?Ds(o):o,[we,he]=Zo(ie,c,t),Me=new i({ts:we,zone:t,o:he,loc:n});return o.weekday&&y&&e.weekday!==Me.weekday?i.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${Me.toISO()}`):Me}static fromISO(e,a={}){let[t,n]=Hu(e);return Hn(t,n,a,"ISO 8601",e)}static fromRFC2822(e,a={}){let[t,n]=ju(e);return Hn(t,n,a,"RFC 2822",e)}static fromHTTP(e,a={}){let[t,n]=zu(e);return Hn(t,n,a,"HTTP",a)}static fromFormat(e,a,t={}){if(Z(e)||Z(a))throw new je("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:o=null}=t,r=ve.fromOpts({locale:n,numberingSystem:o,defaultToEN:!0}),[s,l,c,d]=ad(r,e,a);return d?i.invalid(d):Hn(s,l,t,`format ${a}`,e,c)}static fromString(e,a,t={}){return i.fromFormat(e,a,t)}static fromSQL(e,a={}){let[t,n]=Ju(e);return Hn(t,n,a,"SQL",e)}static invalid(e,a=null){if(!e)throw new je("need to specify a reason the DateTime is invalid");let t=e instanceof et?e:new et(e,a);if(ge.throwOnInvalid)throw new Eo(t);return new i({invalid:t})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,a={}){let t=Js(e,ve.fromObject(a));return t?t.map(n=>n?n.val:null).join(""):null}static expandFormat(e,a={}){return Bs(tt.parseFormat(e),ve.fromObject(a)).map(n=>n.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Us(this).weekYear:NaN}get weekNumber(){return this.isValid?Us(this).weekNumber:NaN}get weekday(){return this.isValid?Us(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Gs(this).weekday:NaN}get localWeekNumber(){return this.isValid?Gs(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Gs(this).weekYear:NaN}get ordinal(){return this.isValid?Jo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Rt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Rt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Rt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Rt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,a=6e4,t=ya(this.c),n=this.zone.offset(t-e),o=this.zone.offset(t+e),r=this.zone.offset(t-n*a),s=this.zone.offset(t-o*a);if(r===s)return[this];let l=t-r*a,c=t-s*a,d=Go(l,r),g=Go(c,s);return d.hour===g.hour&&d.minute===g.minute&&d.second===g.second&&d.millisecond===g.millisecond?[$i(this,{ts:l}),$i(this,{ts:c})]:[this]}get isInLeapYear(){return Ui(this.year)}get daysInMonth(){return xa(this.year,this.month)}get daysInYear(){return this.isValid?Ti(this.year):NaN}get weeksInWeekYear(){return this.isValid?Wi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Wi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:a,numberingSystem:t,calendar:n}=tt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:a,numberingSystem:t,outputCalendar:n}}toUTC(e=0,a={}){return this.setZone(Xe.instance(e),a)}toLocal(){return this.setZone(ge.defaultZone)}setZone(e,{keepLocalTime:a=!1,keepCalendarTime:t=!1}={}){if(e=Ft(e,ge.defaultZone),e.equals(this.zone))return this;if(e.isValid){let n=this.ts;if(a||t){let o=e.offset(this.ts),r=this.toObject();[n]=Zo(r,o,e)}return $i(this,{ts:n,zone:e})}else return i.invalid(Uo(e))}reconfigure({locale:e,numberingSystem:a,outputCalendar:t}={}){let n=this.loc.clone({locale:e,numberingSystem:a,outputCalendar:t});return $i(this,{loc:n})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let a=wa(e,sd),{minDaysInFirstWeek:t,startOfWeek:n}=As(a,this.loc),o=!Z(a.weekYear)||!Z(a.weekNumber)||!Z(a.weekday),r=!Z(a.ordinal),s=!Z(a.year),l=!Z(a.month)||!Z(a.day),c=s||l,d=a.weekYear||a.weekNumber;if((c||r)&&d)throw new Lt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&r)throw new Lt("Can't mix ordinal dates with month/day");let g;o?g=qs(M(M({},En(this.c,t,n)),a),t,n):Z(a.ordinal)?(g=M(M({},this.toObject()),a),Z(a.day)&&(g.day=Math.min(xa(g.year,g.month),g.day))):g=Ds(M(M({},Jo(this.c)),a));let[x,y]=Zo(g,this.o,this.zone);return $i(this,{ts:x,o:y})}plus(e){if(!this.isValid)return this;let a=Ee.fromDurationLike(e);return $i(this,od(this,a))}minus(e){if(!this.isValid)return this;let a=Ee.fromDurationLike(e).negate();return $i(this,od(this,a))}startOf(e,{useLocaleWeeks:a=!1}={}){if(!this.isValid)return this;let t={},n=Ee.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0;break;case"milliseconds":break}if(n==="weeks")if(a){let o=this.loc.getStartOfWeek(),{weekday:r}=this;rthis.valueOf(),s=r?this:e,l=r?e:this,c=Yu(s,l,o,n);return r?c.negate():c}diffNow(e="milliseconds",a={}){return this.diff(i.now(),e,a)}until(e){return this.isValid?Ii.fromDateTimes(this,e):this}hasSame(e,a,t){if(!this.isValid)return!1;let n=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(a,t)<=n&&n<=o.endOf(a,t)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let a=e.base||i.fromObject({},{zone:this.zone}),t=e.padding?thisa.valueOf(),Math.min)}static max(...e){if(!e.every(i.isDateTime))throw new je("max requires all arguments be DateTimes");return Es(e,a=>a.valueOf(),Math.max)}static fromFormatExplain(e,a,t={}){let{locale:n=null,numberingSystem:o=null}=t,r=ve.fromOpts({locale:n,numberingSystem:o,defaultToEN:!0});return Vs(r,e,a)}static fromStringExplain(e,a,t={}){return i.fromFormatExplain(e,a,t)}static get DATE_SHORT(){return Ci}static get DATE_MED(){return un}static get DATE_MED_WITH_WEEKDAY(){return ds}static get DATE_FULL(){return dn}static get DATE_HUGE(){return mn}static get TIME_SIMPLE(){return pn}static get TIME_WITH_SECONDS(){return gn}static get TIME_WITH_SHORT_OFFSET(){return fn}static get TIME_WITH_LONG_OFFSET(){return hn}static get TIME_24_SIMPLE(){return bn}static get TIME_24_WITH_SECONDS(){return vn}static get TIME_24_WITH_SHORT_OFFSET(){return yn}static get TIME_24_WITH_LONG_OFFSET(){return _n}static get DATETIME_SHORT(){return xn}static get DATETIME_SHORT_WITH_SECONDS(){return wn}static get DATETIME_MED(){return Sn}static get DATETIME_MED_WITH_SECONDS(){return Cn}static get DATETIME_MED_WITH_WEEKDAY(){return ms}static get DATETIME_FULL(){return kn}static get DATETIME_FULL_WITH_SECONDS(){return Tn}static get DATETIME_HUGE(){return qn}static get DATETIME_HUGE_WITH_SECONDS(){return Dn}};function Ia(i){if(F.isDateTime(i))return i;if(i&&i.valueOf&&Qt(i.valueOf()))return F.fromJSDate(i);if(i&&typeof i=="object")return F.fromObject(i);throw new je(`Unknown datetime argument: ${i}, of type ${typeof i}`)}var th=new be("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:ih});function ih(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}function ah(i,e){let a=Array(i);for(let t=0;t{let e=class e extends vo{constructor(t,n){super(),this._useUTC=!!n?.useUtc,this._firstDayOfWeek=n?.firstDayOfWeek||0,this._defaultOutputCalendar=n?.defaultOutputCalendar||"gregory",this.setLocale(t||F.local().locale)}getYear(t){return t.year}getMonth(t){return t.month-1}getDate(t){return t.day}getDayOfWeek(t){return t.weekday}getMonthNames(t){return Rt.months(t,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ah(31,n=>t.format(F.utc(2017,1,n+1).toJSDate()))}getDayOfWeekNames(t){let n=Rt.weekdays(t,{locale:this.locale});return n.unshift(n.pop()),n}getYearName(t){return t.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(t){return t.daysInMonth}clone(t){return F.fromObject(t.toObject(),this._getOptions())}createDate(t,n,o){let r=this._getOptions();if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(o<1)throw Error(`Invalid date "${o}". Date has to be greater than 0.`);let s=this._useUTC?F.utc(t,n+1,o,r):F.local(t,n+1,o,r);if(!this.isValid(s))throw Error(`Invalid date "${o}". Reason: "${s.invalidReason}".`);return s}today(){let t=this._getOptions();return this._useUTC?F.utc(t):F.local(t)}parse(t,n){let o=this._getOptions();if(typeof t=="string"&&t.length>0){let r=F.fromISO(t,o);if(this.isValid(r))return r;let s=Array.isArray(n)?n:[n];if(!n.length)throw Error("Formats array must not be empty.");for(let l of s){let c=F.fromFormat(t,l,o);if(this.isValid(c))return c}return this.invalid()}else{if(typeof t=="number")return F.fromMillis(t,o);if(t instanceof Date)return F.fromJSDate(t,o);if(t instanceof F)return F.fromMillis(t.toMillis(),o)}return null}format(t,n){if(!this.isValid(t))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?t.setLocale(this.locale).setZone("utc").toFormat(n):t.setLocale(this.locale).toFormat(n)}addCalendarYears(t,n){return t.reconfigure(this._getOptions()).plus({years:n})}addCalendarMonths(t,n){return t.reconfigure(this._getOptions()).plus({months:n})}addCalendarDays(t,n){return t.reconfigure(this._getOptions()).plus({days:n})}toIso8601(t){return t.toISO()}deserialize(t){let n=this._getOptions(),o;if(t instanceof Date&&(o=F.fromJSDate(t,n)),typeof t=="string"){if(!t)return null;o=F.fromISO(t,n)}return o&&this.isValid(o)?o:super.deserialize(t)}isDateInstance(t){return t instanceof F}isValid(t){return t.isValid}invalid(){return F.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}};e.\u0275fac=function(n){return new(n||e)(L(Sc,8),L(th,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function fd(i){return new ue(3e3,!1)}function nh(){return new ue(3100,!1)}function oh(){return new ue(3101,!1)}function rh(i){return new ue(3001,!1)}function sh(i){return new ue(3003,!1)}function lh(i){return new ue(3004,!1)}function ch(i,e){return new ue(3005,!1)}function uh(){return new ue(3006,!1)}function dh(){return new ue(3007,!1)}function mh(i,e){return new ue(3008,!1)}function ph(i){return new ue(3002,!1)}function gh(i,e,a,t,n){return new ue(3010,!1)}function fh(){return new ue(3011,!1)}function hh(){return new ue(3012,!1)}function bh(){return new ue(3200,!1)}function vh(){return new ue(3202,!1)}function yh(){return new ue(3013,!1)}function _h(i){return new ue(3014,!1)}function xh(i){return new ue(3015,!1)}function wh(i){return new ue(3016,!1)}function Sh(i,e){return new ue(3404,!1)}function Ch(i){return new ue(3502,!1)}function kh(i){return new ue(3503,!1)}function Th(){return new ue(3300,!1)}function qh(i){return new ue(3504,!1)}function Dh(i){return new ue(3301,!1)}function Ah(i,e){return new ue(3302,!1)}function Ih(i){return new ue(3303,!1)}function Mh(i,e){return new ue(3400,!1)}function Eh(i){return new ue(3401,!1)}function Oh(i){return new ue(3402,!1)}function Lh(i,e){return new ue(3505,!1)}function Mi(i){switch(i.length){case 0:return new ma;case 1:return i[0];default:return new cs(i)}}function Ad(i,e,a=new Map,t=new Map){let n=[],o=[],r=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==r,g=d&&s||new Map;l.forEach((x,y)=>{let _=y,D=x;if(y!=="offset")switch(_=i.normalizePropertyName(_,n),D){case _o:D=a.get(y);break;case Kt:D=t.get(y);break;default:D=i.normalizeStyleValue(y,_,D,n);break}g.set(_,D)}),d||o.push(g),s=g,r=c}),n.length)throw Ch(n);return o}function bl(i,e,a,t){switch(e){case"start":i.onStart(()=>t(a&&Zs(a,"start",i)));break;case"done":i.onDone(()=>t(a&&Zs(a,"done",i)));break;case"destroy":i.onDestroy(()=>t(a&&Zs(a,"destroy",i)));break}}function Zs(i,e,a){let t=a.totalTime,n=!!a.disabled,o=vl(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t??i.totalTime,n),r=i._data;return r!=null&&(o._data=r),o}function vl(i,e,a,t,n="",o=0,r){return{element:i,triggerName:e,fromState:a,toState:t,phaseName:n,totalTime:o,disabled:!!r}}function xt(i,e,a){let t=i.get(e);return t||i.set(e,t=a),t}function hd(i){let e=i.indexOf(":"),a=i.substring(1,e),t=i.slice(e+1);return[a,t]}var Nh=typeof document>"u"?null:document.documentElement;function yl(i){let e=i.parentNode||i.host||null;return e===Nh?null:e}function Ph(i){return i.substring(1,6)=="ebkit"}var Zi=null,bd=!1;function Fh(i){Zi||(Zi=Rh()||{},bd=Zi.style?"WebkitAppearance"in Zi.style:!1);let e=!0;return Zi.style&&!Ph(i)&&(e=i in Zi.style,!e&&bd&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Zi.style)),e}function Rh(){return typeof document<"u"?document.body:null}function Id(i,e){for(;e;){if(e===i)return!0;e=yl(e)}return!1}function Md(i,e,a){if(a)return Array.from(i.querySelectorAll(e));let t=i.querySelector(e);return t?[t]:[]}var _l=(()=>{let e=class e{validateStyleProperty(t){return Fh(t)}containsElement(t,n){return Id(t,n)}getParentElement(t){return yl(t)}query(t,n,o){return Md(t,n,o)}computeStyle(t,n,o){return o||""}animate(t,n,o,r,s,l=[],c){return new ma(o,r)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})(),Cl=class Cl{};Cl.NOOP=new _l;var Qi=Cl,Xi=class{};var Hh=1e3,Ed="{{",jh="}}",Od="ng-enter",tl="ng-leave",Yo="ng-trigger",tr=".ng-trigger",vd="ng-animating",il=".ng-animating";function di(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:al(parseFloat(e[1]),e[2])}function al(i,e){switch(e){case"s":return i*Hh;default:return i}}function ir(i,e,a){return i.hasOwnProperty("duration")?i:zh(i,e,a)}function zh(i,e,a){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,o=0,r="";if(typeof i=="string"){let s=i.match(t);if(s===null)return e.push(fd(i)),{duration:0,delay:0,easing:""};n=al(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(o=al(parseFloat(l),s[4]));let c=s[5];c&&(r=c)}else n=i;if(!a){let s=!1,l=e.length;n<0&&(e.push(nh()),s=!0),o<0&&(e.push(oh()),s=!0),s&&e.splice(l,0,fd(i))}return{duration:n,delay:o,easing:r}}function Bh(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Xt(i,e,a){e.forEach((t,n)=>{let o=xl(n);a&&!a.has(n)&&a.set(n,i.style[o]),i.style[o]=t})}function Ki(i,e){e.forEach((a,t)=>{let n=xl(t);i.style[n]=""})}function jn(i){return Array.isArray(i)?i.length==1?i[0]:Ec(i):i}function Vh(i,e,a){let t=e.params||{},n=Ld(i);n.length&&n.forEach(o=>{t.hasOwnProperty(o)||a.push(rh(o))})}var nl=new RegExp(`${Ed}\\s*(.+?)\\s*${jh}`,"g");function Ld(i){let e=[];if(typeof i=="string"){let a;for(;a=nl.exec(i);)e.push(a[1]);nl.lastIndex=0}return e}function Bn(i,e,a){let t=`${i}`,n=t.replace(nl,(o,r)=>{let s=e[r];return s==null&&(a.push(sh(r)),s=""),s.toString()});return n==t?i:n}var Jh=/-+([a-z0-9])/g;function xl(i){return i.replace(Jh,(...e)=>e[1].toUpperCase())}function Wh(i,e){return i===0||e===0}function Uh(i,e,a){if(a.size&&e.length){let t=e[0],n=[];if(a.forEach((o,r)=>{t.has(r)||n.push(r),t.set(r,o)}),n.length)for(let o=1;or.set(s,wl(i,s)))}}return e}function _t(i,e,a){switch(e.type){case re.Trigger:return i.visitTrigger(e,a);case re.State:return i.visitState(e,a);case re.Transition:return i.visitTransition(e,a);case re.Sequence:return i.visitSequence(e,a);case re.Group:return i.visitGroup(e,a);case re.Animate:return i.visitAnimate(e,a);case re.Keyframes:return i.visitKeyframes(e,a);case re.Style:return i.visitStyle(e,a);case re.Reference:return i.visitReference(e,a);case re.AnimateChild:return i.visitAnimateChild(e,a);case re.AnimateRef:return i.visitAnimateRef(e,a);case re.Query:return i.visitQuery(e,a);case re.Stagger:return i.visitStagger(e,a);default:throw lh(e.type)}}function wl(i,e){return window.getComputedStyle(i)[e]}var Gh=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"]),ar=class extends Xi{normalizePropertyName(e,a){return xl(e)}normalizeStyleValue(e,a,t,n){let o="",r=t.toString().trim();if(Gh.has(a)&&t!==0&&t!=="0")if(typeof t=="number")o="px";else{let s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&n.push(ch(e,t))}return r+o}};var nr="*";function $h(i,e){let a=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(t=>Zh(t,a,e)):a.push(i),a}function Zh(i,e,a){if(i[0]==":"){let l=Yh(i,a);if(typeof l=="function"){e.push(l);return}i=l}let t=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return a.push(xh(i)),e;let n=t[1],o=t[2],r=t[3];e.push(yd(n,r));let s=n==nr&&r==nr;o[0]=="<"&&!s&&e.push(yd(r,n))}function Yh(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,t)=>parseFloat(t)>parseFloat(a);case":decrement":return(a,t)=>parseFloat(t) *"}}var Ko=new Set(["true","1"]),Qo=new Set(["false","0"]);function yd(i,e){let a=Ko.has(i)||Qo.has(i),t=Ko.has(e)||Qo.has(e);return(n,o)=>{let r=i==nr||i==n,s=e==nr||e==o;return!r&&a&&typeof n=="boolean"&&(r=n?Ko.has(i):Qo.has(i)),!s&&t&&typeof o=="boolean"&&(s=o?Ko.has(e):Qo.has(e)),r&&s}}var Nd=":self",Kh=new RegExp(`s*${Nd}s*,?`,"g");function Pd(i,e,a,t){return new ol(i).build(e,a,t)}var _d="",ol=class{constructor(e){this._driver=e}build(e,a,t){let n=new rl(a);return this._resetContextStyleTimingState(n),_t(this,jn(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=_d,e.collectedStyles=new Map,e.collectedStyles.set(_d,new Map),e.currentTime=0}visitTrigger(e,a){let t=a.queryCount=0,n=a.depCount=0,o=[],r=[];return e.name.charAt(0)=="@"&&a.errors.push(uh()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(a),s.type==re.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,a))}),l.name=c}else if(s.type==re.Transition){let l=this.visitTransition(s,a);t+=l.queryCount,n+=l.depCount,r.push(l)}else a.errors.push(dh())}),{type:re.Trigger,name:e.name,states:o,transitions:r,queryCount:t,depCount:n,options:null}}visitState(e,a){let t=this.visitStyle(e.styles,a),n=e.options&&e.options.params||null;if(t.containsDynamicStyles){let o=new Set,r=n||{};t.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{Ld(l).forEach(c=>{r.hasOwnProperty(c)||o.add(c)})})}),o.size&&a.errors.push(mh(e.name,[...o.values()]))}return{type:re.State,name:e.name,style:t,options:n?{params:n}:null}}visitTransition(e,a){a.queryCount=0,a.depCount=0;let t=_t(this,jn(e.animation),a),n=$h(e.expr,a.errors);return{type:re.Transition,matchers:n,animation:t,queryCount:a.queryCount,depCount:a.depCount,options:Yi(e.options)}}visitSequence(e,a){return{type:re.Sequence,steps:e.steps.map(t=>_t(this,t,a)),options:Yi(e.options)}}visitGroup(e,a){let t=a.currentTime,n=0,o=e.steps.map(r=>{a.currentTime=t;let s=_t(this,r,a);return n=Math.max(n,a.currentTime),s});return a.currentTime=n,{type:re.Group,steps:o,options:Yi(e.options)}}visitAnimate(e,a){let t=t0(e.timings,a.errors);a.currentAnimateTimings=t;let n,o=e.styles?e.styles:ht({});if(o.type==re.Keyframes)n=this.visitKeyframes(o,a);else{let r=e.styles,s=!1;if(!r){s=!0;let c={};t.easing&&(c.easing=t.easing),r=ht(c)}a.currentTime+=t.duration+t.delay;let l=this.visitStyle(r,a);l.isEmptyStep=s,n=l}return a.currentAnimateTimings=null,{type:re.Animate,timings:t,style:n,options:null}}visitStyle(e,a){let t=this._makeStyleAst(e,a);return this._validateStyleAst(t,a),t}_makeStyleAst(e,a){let t=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of n)typeof s=="string"?s===Kt?t.push(s):a.errors.push(ph(s)):t.push(new Map(Object.entries(s)));let o=!1,r=null;return t.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(r=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(Ed)>=0){o=!0;break}}}),{type:re.Style,styles:t,easing:r,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,a){let t=a.currentAnimateTimings,n=a.currentTime,o=a.currentTime;t&&o>0&&(o-=t.duration+t.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,l)=>{let c=a.collectedStyles.get(a.currentQuerySelector),d=c.get(l),g=!0;d&&(o!=n&&o>=d.startTime&&n<=d.endTime&&(a.errors.push(gh(l,d.startTime,d.endTime,o,n)),g=!1),o=d.startTime),g&&c.set(l,{startTime:o,endTime:n}),a.options&&Vh(s,a.options,a.errors)})})}visitKeyframes(e,a){let t={type:re.Keyframes,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(fh()),t;let n=1,o=0,r=[],s=!1,l=!1,c=0,d=e.steps.map(S=>{let q=this._makeStyleAst(S,a),j=q.offset!=null?q.offset:e0(q.styles),B=0;return j!=null&&(o++,B=q.offset=j),l=l||B<0||B>1,s=s||B0&&o{let j=x>0?q==y?1:x*q:r[q],B=j*O;a.currentTime=_+D.delay+B,D.duration=B,this._validateStyleAst(S,a),S.offset=j,t.styles.push(S)}),t}visitReference(e,a){return{type:re.Reference,animation:_t(this,jn(e.animation),a),options:Yi(e.options)}}visitAnimateChild(e,a){return a.depCount++,{type:re.AnimateChild,options:Yi(e.options)}}visitAnimateRef(e,a){return{type:re.AnimateRef,animation:this.visitReference(e.animation,a),options:Yi(e.options)}}visitQuery(e,a){let t=a.currentQuerySelector,n=e.options||{};a.queryCount++,a.currentQuery=e;let[o,r]=Qh(e.selector);a.currentQuerySelector=t.length?t+" "+o:o,xt(a.collectedStyles,a.currentQuerySelector,new Map);let s=_t(this,jn(e.animation),a);return a.currentQuery=null,a.currentQuerySelector=t,{type:re.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:s,originalSelector:e.selector,options:Yi(e.options)}}visitStagger(e,a){a.currentQuery||a.errors.push(yh());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ir(e.timings,a.errors,!0);return{type:re.Stagger,animation:_t(this,jn(e.animation),a),timings:t,options:null}}};function Qh(i){let e=!!i.split(/\s*,\s*/).find(a=>a==Nd);return e&&(i=i.replace(Kh,"")),i=i.replace(/@\*/g,tr).replace(/@\w+/g,a=>tr+"-"+a.slice(1)).replace(/:animating/g,il),[i,e]}function Xh(i){return i?M({},i):null}var rl=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 e0(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(a=>{if(a instanceof Map&&a.has("offset")){let t=a;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let a=i;e=parseFloat(a.get("offset")),a.delete("offset")}return e}function t0(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=ir(i,e).duration;return Ys(o,0,"")}let a=i;if(a.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ys(0,0,"");return o.dynamic=!0,o.strValue=a,o}let n=ir(a,e);return Ys(n.duration,n.delay,n.easing)}function Yi(i){return i?(i=M({},i),i.params&&(i.params=Xh(i.params))):i={},i}function Ys(i,e,a){return{duration:i,delay:e,easing:a}}function Sl(i,e,a,t,n,o,r=null,s=!1){return{type:1,element:i,keyframes:e,preStyleProps:a,postStyleProps:t,duration:n,delay:o,totalTime:n+o,easing:r,subTimeline:s}}var Vn=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,a){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...a)}has(e){return this._map.has(e)}clear(){this._map.clear()}},i0=1,a0=":enter",n0=new RegExp(a0,"g"),o0=":leave",r0=new RegExp(o0,"g");function Fd(i,e,a,t,n,o=new Map,r=new Map,s,l,c=[]){return new sl().buildKeyframes(i,e,a,t,n,o,r,s,l,c)}var sl=class{buildKeyframes(e,a,t,n,o,r,s,l,c,d=[]){c=c||new Vn;let g=new ll(e,a,c,n,o,d,[]);g.options=l;let x=l.delay?di(l.delay):0;g.currentTimeline.delayNextStep(x),g.currentTimeline.setStyles([r],null,g.errors,l),_t(this,t,g);let y=g.timelines.filter(_=>_.containsAnimation());if(y.length&&s.size){let _;for(let D=y.length-1;D>=0;D--){let O=y[D];if(O.element===a){_=O;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([s],null,g.errors,l)}return y.length?y.map(_=>_.buildKeyframes()):[Sl(a,[],[],[],0,x,"",!1)]}visitTrigger(e,a){}visitState(e,a){}visitTransition(e,a){}visitAnimateChild(e,a){let t=a.subInstructions.get(a.element);if(t){let n=a.createSubContext(e.options),o=a.currentTimeline.currentTime,r=this._visitSubInstructions(t,n,n.options);o!=r&&a.transformIntoNewTimeline(r)}a.previousNode=e}visitAnimateRef(e,a){let t=a.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],a,t),this.visitReference(e.animation,t),a.transformIntoNewTimeline(t.currentTimeline.currentTime),a.previousNode=e}_applyAnimationRefDelays(e,a,t){for(let n of e){let o=n?.delay;if(o){let r=typeof o=="number"?o:di(Bn(o,n?.params??{},a.errors));t.delayNextStep(r)}}}_visitSubInstructions(e,a,t){let o=a.currentTimeline.currentTime,r=t.duration!=null?di(t.duration):null,s=t.delay!=null?di(t.delay):null;return r!==0&&e.forEach(l=>{let c=a.appendInstructionToTimeline(l,r,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,a){a.updateOptions(e.options,!0),_t(this,e.animation,a),a.previousNode=e}visitSequence(e,a){let t=a.subContextCount,n=a,o=e.options;if(o&&(o.params||o.delay)&&(n=a.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==re.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=or);let r=di(o.delay);n.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>_t(this,r,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>t&&n.transformIntoNewTimeline()),a.previousNode=e}visitGroup(e,a){let t=[],n=a.currentTimeline.currentTime,o=e.options&&e.options.delay?di(e.options.delay):0;e.steps.forEach(r=>{let s=a.createSubContext(e.options);o&&s.delayNextStep(o),_t(this,r,s),n=Math.max(n,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(r=>a.currentTimeline.mergeTimelineCollectedStyles(r)),a.transformIntoNewTimeline(n),a.previousNode=e}_visitTiming(e,a){if(e.dynamic){let t=e.strValue,n=a.params?Bn(t,a.params,a.errors):t;return ir(n,a.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,a){let t=a.currentAnimateTimings=this._visitTiming(e.timings,a),n=a.currentTimeline;t.delay&&(a.incrementTime(t.delay),n.snapshotCurrentStyles());let o=e.style;o.type==re.Keyframes?this.visitKeyframes(o,a):(a.incrementTime(t.duration),this.visitStyle(o,a),n.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=e}visitStyle(e,a){let t=a.currentTimeline,n=a.currentAnimateTimings;!n&&t.hasCurrentStyleProperties()&&t.forwardFrame();let o=n&&n.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(o):t.setStyles(e.styles,o,a.errors,a.options),a.previousNode=e}visitKeyframes(e,a){let t=a.currentAnimateTimings,n=a.currentTimeline.duration,o=t.duration,s=a.createSubContext().currentTimeline;s.easing=t.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,a.errors,a.options),s.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(s),a.transformIntoNewTimeline(n+o),a.previousNode=e}visitQuery(e,a){let t=a.currentTimeline.currentTime,n=e.options||{},o=n.delay?di(n.delay):0;o&&(a.previousNode.type===re.Style||t==0&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=or);let r=t,s=a.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,a.errors);a.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{a.currentQueryIndex=d;let g=a.createSubContext(e.options,c);o&&g.delayNextStep(o),c===a.element&&(l=g.currentTimeline),_t(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe();let x=g.currentTimeline.currentTime;r=Math.max(r,x)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(r),l&&(a.currentTimeline.mergeTimelineCollectedStyles(l),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=e}visitStagger(e,a){let t=a.parentContext,n=a.currentTimeline,o=e.timings,r=Math.abs(o.duration),s=r*(a.currentQueryTotal-1),l=r*a.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=t.currentStaggerTime;break}let d=a.currentTimeline;l&&d.delayNextStep(l);let g=d.currentTime;_t(this,e.animation,a),a.previousNode=e,t.currentStaggerTime=n.currentTime-g+(n.startTime-t.currentTimeline.startTime)}},or={},ll=class i{constructor(e,a,t,n,o,r,s,l){this._driver=e,this.element=a,this.subInstructions=t,this._enterClassName=n,this._leaveClassName=o,this.errors=r,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=or,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new rr(this._driver,a,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,a){if(!e)return;let t=e,n=this.options;t.duration!=null&&(n.duration=di(t.duration)),t.delay!=null&&(n.delay=di(t.delay));let o=t.params;if(o){let r=n.params;r||(r=this.options.params={}),Object.keys(o).forEach(s=>{(!a||!r.hasOwnProperty(s))&&(r[s]=Bn(o[s],r,this.errors))})}}_copyOptions(){let e={};if(this.options){let a=this.options.params;if(a){let t=e.params={};Object.keys(a).forEach(n=>{t[n]=a[n]})}}return e}createSubContext(e=null,a,t){let n=a||this.element,o=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,t||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=or,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,a,t){let n={duration:a??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},o=new cl(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(o),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,a,t,n,o,r){let s=[];if(n&&s.push(this.element),e.length>0){e=e.replace(n0,"."+this._enterClassName),e=e.replace(r0,"."+this._leaveClassName);let l=t!=1,c=this._driver.query(this.element,e,l);t!==0&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),s.push(...c)}return!o&&s.length==0&&r.push(_h(a)),s}},rr=class i{constructor(e,a,t,n){this._driver=e,this.element=a,this.startTime=t,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(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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 a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+e),a&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,a){return this.applyStylesToKeyframe(),new i(this._driver,e,a||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+=i0,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,a){this._localTimelineStyles.set(e,a),this._globalTimelineStyles.set(e,a),this._styleSummary.set(e,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[a,t]of this._globalTimelineStyles)this._backFill.set(a,t||Kt),this._currentKeyframe.set(a,Kt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,a,t,n){a&&this._previousKeyframe.set("easing",a);let o=n&&n.params||{},r=s0(e,this._globalTimelineStyles);for(let[s,l]of r){let c=Bn(l,o,t);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Kt),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,a)=>{this._currentKeyframe.set(a,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,e)}))}snapshotCurrentStyles(){for(let[e,a]of this._localTimelineStyles)this._pendingStyles.set(e,a),this._updateStyle(e,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let a in this._currentKeyframe)e.push(a);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((a,t)=>{let n=this._styleSummary.get(t);(!n||a.time>n.time)&&this._updateStyle(t,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,a=new Set,t=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,g)=>{d===_o?e.add(g):d===Kt&&a.add(g)}),t||c.set("offset",l/this.duration),n.push(c)});let o=[...e.values()],r=[...a.values()];if(t){let s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return Sl(this.element,n,o,r,this.duration,this.startTime,this.easing,!1)}},cl=class extends rr{constructor(e,a,t,n,o,r,s=!1){super(e,a,r.delay),this.keyframes=t,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:a,duration:t,easing:n}=this.timings;if(this._stretchStartingKeyframe&&a){let o=[],r=t+a,s=a/r,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",xd(s)),o.push(c);let d=e.length-1;for(let g=1;g<=d;g++){let x=new Map(e[g]),y=x.get("offset"),_=a+y*t;x.set("offset",xd(_/r)),o.push(x)}t=r,a=0,n="",e=o}return Sl(this.element,e,this.preStyleProps,this.postStyleProps,t,a,n,!0)}};function xd(i,e=3){let a=Math.pow(10,e-1);return Math.round(i*a)/a}function s0(i,e){let a=new Map,t;return i.forEach(n=>{if(n==="*"){t??=e.keys();for(let o of t)a.set(o,Kt)}else for(let[o,r]of n)a.set(o,r)}),a}function wd(i,e,a,t,n,o,r,s,l,c,d,g,x){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:a,fromStyles:o,toState:t,toStyles:r,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:g,errors:x}}var Ks={},sr=class{constructor(e,a,t){this._triggerName=e,this.ast=a,this._stateStyles=t}match(e,a,t,n){return l0(this.ast.matchers,e,a,t,n)}buildStyles(e,a,t){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(a,t):new Map}build(e,a,t,n,o,r,s,l,c,d){let g=[],x=this.ast.options&&this.ast.options.params||Ks,y=s&&s.params||Ks,_=this.buildStyles(t,y,g),D=l&&l.params||Ks,O=this.buildStyles(n,D,g),S=new Set,q=new Map,j=new Map,B=n==="void",pe={params:Rd(D,x),delay:this.ast.options?.delay},ie=d?[]:Fd(e,a,this.ast.animation,o,r,_,O,pe,c,g),we=0;return ie.forEach(he=>{we=Math.max(he.duration+he.delay,we)}),g.length?wd(a,this._triggerName,t,n,B,_,O,[],[],q,j,we,g):(ie.forEach(he=>{let Me=he.element,$e=xt(q,Me,new Set);he.preStyleProps.forEach(ai=>$e.add(ai));let Bt=xt(j,Me,new Set);he.postStyleProps.forEach(ai=>Bt.add(ai)),Me!==a&&S.add(Me)}),wd(a,this._triggerName,t,n,B,_,O,ie,[...S.values()],q,j,we))}};function l0(i,e,a,t,n){return i.some(o=>o(e,a,t,n))}function Rd(i,e){let a=M({},e);return Object.entries(i).forEach(([t,n])=>{n!=null&&(a[t]=n)}),a}var ul=class{constructor(e,a,t){this.styles=e,this.defaultParams=a,this.normalizer=t}buildStyles(e,a){let t=new Map,n=Rd(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((r,s)=>{r&&(r=Bn(r,n,a));let l=this.normalizer.normalizePropertyName(s,a);r=this.normalizer.normalizeStyleValue(s,l,r,a),t.set(s,r)})}),t}};function c0(i,e,a){return new dl(i,e,a)}var dl=class{constructor(e,a,t){this.name=e,this.ast=a,this._normalizer=t,this.transitionFactories=[],this.states=new Map,a.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new ul(n.style,o,t))}),Sd(this.states,"true","1"),Sd(this.states,"false","0"),a.transitions.forEach(n=>{this.transitionFactories.push(new sr(e,n,this.states))}),this.fallbackTransition=u0(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,a,t,n){return this.transitionFactories.find(r=>r.match(e,a,t,n))||null}matchStyles(e,a,t){return this.fallbackTransition.buildStyles(e,a,t)}};function u0(i,e,a){let t=[(r,s)=>!0],n={type:re.Sequence,steps:[],options:null},o={type:re.Transition,animation:n,matchers:t,options:null,queryCount:0,depCount:0};return new sr(i,o,e)}function Sd(i,e,a){i.has(e)?i.has(a)||i.set(a,i.get(e)):i.has(a)&&i.set(e,i.get(a))}var d0=new Vn,ml=class{constructor(e,a,t){this.bodyNode=e,this._driver=a,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,a){let t=[],n=[],o=Pd(this._driver,a,t,n);if(t.length)throw kh(t);n.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,a,t){let n=e.element,o=Ad(this._normalizer,e.keyframes,a,t);return this._driver.animate(n,o,e.duration,e.delay,e.easing,[],!0)}create(e,a,t={}){let n=[],o=this._animations.get(e),r,s=new Map;if(o?(r=Fd(this._driver,a,o,Od,tl,new Map,new Map,t,d0,n),r.forEach(d=>{let g=xt(s,d.element,new Map);d.postStyleProps.forEach(x=>g.set(x,null))})):(n.push(Th()),r=[]),n.length)throw qh(n);s.forEach((d,g)=>{d.forEach((x,y)=>{d.set(y,this._driver.computeStyle(g,y,Kt))})});let l=r.map(d=>{let g=s.get(d.element);return this._buildPlayer(d,new Map,g)}),c=Mi(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let a=this._getPlayer(e);a.destroy(),this._playersById.delete(e);let t=this.players.indexOf(a);t>=0&&this.players.splice(t,1)}_getPlayer(e){let a=this._playersById.get(e);if(!a)throw Dh(e);return a}listen(e,a,t,n){let o=vl(a,"","","");return bl(this._getPlayer(e),t,o,n),()=>{}}command(e,a,t,n){if(t=="register"){this.register(e,n[0]);return}if(t=="create"){let r=n[0]||{};this.create(e,a,r);return}let o=this._getPlayer(e);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Cd="ng-animate-queued",m0=".ng-animate-queued",Qs="ng-animate-disabled",p0=".ng-animate-disabled",g0="ng-star-inserted",f0=".ng-star-inserted",h0=[],Hd={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},b0={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed",Jn=class{get params(){return this.options.params}constructor(e,a=""){this.namespaceId=a;let t=e&&e.hasOwnProperty("value"),n=t?e.value:e;if(this.value=y0(n),t){let o=e,{value:r}=o,s=Za(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let a=e.params;if(a){let t=this.options.params;Object.keys(a).forEach(n=>{t[n]==null&&(t[n]=a[n])})}}},zn="void",Xs=new Jn(zn),pl=class{constructor(e,a,t){this.id=e,this.hostElement=a,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,At(a,this._hostClassName)}listen(e,a,t,n){if(!this._triggers.has(a))throw Ah(t,a);if(t==null||t.length==0)throw Ih(a);if(!_0(t))throw Mh(t,a);let o=xt(this._elementListeners,e,[]),r={name:a,phase:t,callback:n};o.push(r);let s=xt(this._engine.statesByElement,e,new Map);return s.has(a)||(At(e,Yo),At(e,Yo+"-"+a),s.set(a,Xs)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(r);l>=0&&o.splice(l,1),this._triggers.has(a)||s.delete(a)})}}register(e,a){return this._triggers.has(e)?!1:(this._triggers.set(e,a),!0)}_getTrigger(e){let a=this._triggers.get(e);if(!a)throw Eh(e);return a}trigger(e,a,t,n=!0){let o=this._getTrigger(a),r=new Wn(this.id,a,e),s=this._engine.statesByElement.get(e);s||(At(e,Yo),At(e,Yo+"-"+a),this._engine.statesByElement.set(e,s=new Map));let l=s.get(a),c=new Jn(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(a,c),l||(l=Xs),!(c.value===zn)&&l.value===c.value){if(!S0(l.params,c.params)){let D=[],O=o.matchStyles(l.value,l.params,D),S=o.matchStyles(c.value,c.params,D);D.length?this._engine.reportError(D):this._engine.afterFlush(()=>{Ki(e,O),Xt(e,S)})}return}let x=xt(this._engine.playersByElement,e,[]);x.forEach(D=>{D.namespaceId==this.id&&D.triggerName==a&&D.queued&&D.destroy()});let y=o.matchTransition(l.value,c.value,e,c.params),_=!1;if(!y){if(!n)return;y=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:y,fromState:l,toState:c,player:r,isFallbackTransition:_}),_||(At(e,Cd),r.onStart(()=>{Ma(e,Cd)})),r.onDone(()=>{let D=this.players.indexOf(r);D>=0&&this.players.splice(D,1);let O=this._engine.playersByElement.get(e);if(O){let S=O.indexOf(r);S>=0&&O.splice(S,1)}}),this.players.push(r),x.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(a=>a.delete(e)),this._elementListeners.forEach((a,t)=>{this._elementListeners.set(t,a.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let a=this._engine.playersByElement.get(e);a&&(a.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,a){let t=this._engine.driver.query(e,tr,!0);t.forEach(n=>{if(n[jt])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(r=>r.triggerLeaveAnimation(n,a,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,a,t,n){let o=this._engine.statesByElement.get(e),r=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(r.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,zn,n);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,a,r),t&&Mi(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let a=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(a&&t){let n=new Set;a.forEach(o=>{let r=o.name;if(n.has(r))return;n.add(r);let l=this._triggers.get(r).fallbackTransition,c=t.get(r)||Xs,d=new Jn(zn),g=new Wn(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:l,fromState:c,toState:d,player:g,isFallbackTransition:!0})})}}removeNode(e,a){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,a),this.triggerLeaveAnimation(e,a,!0))return;let n=!1;if(t.totalAnimations){let o=t.players.length?t.playersByQueriedElement.get(e):[];if(o&&o.length)n=!0;else{let r=e;for(;r=r.parentNode;)if(t.statesByElement.get(r)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)t.markElementAsRemoved(this.id,e,!1,a);else{let o=e[jt];(!o||o===Hd)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,a))}}insertNode(e,a){At(e,this._hostClassName)}drainQueuedTransitions(e){let a=[];return this._queue.forEach(t=>{let n=t.player;if(n.destroyed)return;let o=t.element,r=this._elementListeners.get(o);r&&r.forEach(s=>{if(s.name==t.triggerName){let l=vl(o,t.triggerName,t.fromState.value,t.toState.value);l._data=e,bl(t.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):a.push(t)}),this._queue=[],a.sort((t,n)=>{let o=t.transition.ast.depCount,r=n.transition.ast.depCount;return o==0||r==0?o-r:this._engine.driver.containsElement(t.element,n.element)?1:-1})}destroy(e){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},gl=class{_onRemovalComplete(e,a){this.onRemovalComplete(e,a)}constructor(e,a,t){this.bodyNode=e,this.driver=a,this._normalizer=t,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,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(a=>{a.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,a){let t=new pl(e,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(t,a):(this.newHostElements.set(a,t),this.collectEnterElement(a)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,a){let t=this._namespaceList,n=this.namespacesByHostElement;if(t.length-1>=0){let r=!1,s=this.driver.getParentElement(a);for(;s;){let l=n.get(s);if(l){let c=t.indexOf(l);t.splice(c+1,0,e),r=!0;break}s=this.driver.getParentElement(s)}r||t.unshift(e)}else t.push(e);return n.set(a,e),e}register(e,a){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,a)),t}registerTrigger(e,a,t){let n=this._namespaceLookup[e];n&&n.register(a,t)&&this.totalAnimations++}destroy(e,a){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let n=this._namespaceList.indexOf(t);n>=0&&this._namespaceList.splice(n,1),t.destroy(a),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let a=new Set,t=this.statesByElement.get(e);if(t){for(let n of t.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&a.add(o)}}return a}trigger(e,a,t,n){if(Xo(a)){let o=this._fetchNamespace(e);if(o)return o.trigger(a,t,n),!0}return!1}insertNode(e,a,t,n){if(!Xo(a))return;let o=a[jt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let r=this.collectedLeaveElements.indexOf(a);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(a,t)}n&&this.collectEnterElement(a)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,a){a?this.disabledNodes.has(e)||(this.disabledNodes.add(e),At(e,Qs)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ma(e,Qs))}removeNode(e,a,t){if(Xo(a)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(a,t):this.markElementAsRemoved(e,a,!1,t);let o=this.namespacesByHostElement.get(a);o&&o.id!==e&&o.removeNode(a,t)}else this._onRemovalComplete(a,t)}markElementAsRemoved(e,a,t,n,o){this.collectedLeaveElements.push(a),a[jt]={namespaceId:e,setForRemoval:n,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,a,t,n,o){return Xo(a)?this._fetchNamespace(e).listen(a,t,n,o):()=>{}}_buildInstruction(e,a,t,n,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,n,e.fromState.options,e.toState.options,a,o)}destroyInnerAnimations(e){let a=this.driver.query(e,tr,!0);a.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(a=this.driver.query(e,il,!0),a.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let a=this.playersByElement.get(e);a&&a.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let a=this.playersByQueriedElement.get(e);a&&a.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Mi(this.players).onDone(()=>e());e()})}processLeaveNode(e){let a=e[jt];if(a&&a.setForRemoval){if(e[jt]=Hd,a.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(a.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,a.setForRemoval)}e.classList?.contains(Qs)&&this.markElementAsDisabled(e,!1),this.driver.query(e,p0,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,n)=>this._balanceNamespaceList(t,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],a.length?Mi(a).onDone(()=>{t.forEach(n=>n())}):t.forEach(n=>n())}}reportError(e){throw Oh(e)}_flushAnimations(e,a){let t=new Vn,n=[],o=new Map,r=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(R=>{d.add(R);let G=this.driver.query(R,m0,!0);for(let Y=0;Y{let Y=Od+D++;_.set(G,Y),R.forEach(ce=>At(ce,Y))});let O=[],S=new Set,q=new Set;for(let R=0;RS.add(ce)):q.add(G))}let j=new Map,B=qd(x,Array.from(S));B.forEach((R,G)=>{let Y=tl+D++;j.set(G,Y),R.forEach(ce=>At(ce,Y))}),e.push(()=>{y.forEach((R,G)=>{let Y=_.get(G);R.forEach(ce=>Ma(ce,Y))}),B.forEach((R,G)=>{let Y=j.get(G);R.forEach(ce=>Ma(ce,Y))}),O.forEach(R=>{this.processLeaveNode(R)})});let pe=[],ie=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(a).forEach(Y=>{let ce=Y.player,Je=Y.element;if(pe.push(ce),this.collectedEnterElements.length){let at=Je[jt];if(at&&at.setForMove){if(at.previousTriggersValues&&at.previousTriggersValues.has(Y.triggerName)){let Pi=at.previousTriggersValues.get(Y.triggerName),St=this.statesByElement.get(Y.element);if(St&&St.has(Y.triggerName)){let to=St.get(Y.triggerName);to.value=Pi,St.set(Y.triggerName,to)}}ce.destroy();return}}let Vt=!g||!this.driver.containsElement(g,Je),gt=j.get(Je),gi=_.get(Je),ke=this._buildInstruction(Y,t,gi,gt,Vt);if(ke.errors&&ke.errors.length){ie.push(ke);return}if(Vt){ce.onStart(()=>Ki(Je,ke.fromStyles)),ce.onDestroy(()=>Xt(Je,ke.toStyles)),n.push(ce);return}if(Y.isFallbackTransition){ce.onStart(()=>Ki(Je,ke.fromStyles)),ce.onDestroy(()=>Xt(Je,ke.toStyles)),n.push(ce);return}let Vl=[];ke.timelines.forEach(at=>{at.stretchStartingKeyframe=!0,this.disabledNodes.has(at.element)||Vl.push(at)}),ke.timelines=Vl,t.append(Je,ke.timelines);let Ag={instruction:ke,player:ce,element:Je};r.push(Ag),ke.queriedElements.forEach(at=>xt(s,at,[]).push(ce)),ke.preStyleProps.forEach((at,Pi)=>{if(at.size){let St=l.get(Pi);St||l.set(Pi,St=new Set),at.forEach((to,Kr)=>St.add(Kr))}}),ke.postStyleProps.forEach((at,Pi)=>{let St=c.get(Pi);St||c.set(Pi,St=new Set),at.forEach((to,Kr)=>St.add(Kr))})});if(ie.length){let R=[];ie.forEach(G=>{R.push(Lh(G.triggerName,G.errors))}),pe.forEach(G=>G.destroy()),this.reportError(R)}let we=new Map,he=new Map;r.forEach(R=>{let G=R.element;t.has(G)&&(he.set(G,G),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,we))}),n.forEach(R=>{let G=R.element;this._getPreviousPlayers(G,!1,R.namespaceId,R.triggerName,null).forEach(ce=>{xt(we,G,[]).push(ce),ce.destroy()})});let Me=O.filter(R=>Dd(R,l,c)),$e=new Map;Td($e,this.driver,q,c,Kt).forEach(R=>{Dd(R,l,c)&&Me.push(R)});let ai=new Map;y.forEach((R,G)=>{Td(ai,this.driver,new Set(R),l,_o)}),Me.forEach(R=>{let G=$e.get(R),Y=ai.get(R);$e.set(R,new Map([...G?.entries()??[],...Y?.entries()??[]]))});let Ga=[],eo=[],$a={};r.forEach(R=>{let{element:G,player:Y,instruction:ce}=R;if(t.has(G)){if(d.has(G)){Y.onDestroy(()=>Xt(G,ce.toStyles)),Y.disabled=!0,Y.overrideTotalTime(ce.totalTime),n.push(Y);return}let Je=$a;if(he.size>1){let gt=G,gi=[];for(;gt=gt.parentNode;){let ke=he.get(gt);if(ke){Je=ke;break}gi.push(gt)}gi.forEach(ke=>he.set(ke,Je))}let Vt=this._buildAnimation(Y.namespaceId,ce,we,o,ai,$e);if(Y.setRealPlayer(Vt),Je===$a)Ga.push(Y);else{let gt=this.playersByElement.get(Je);gt&>.length&&(Y.parentPlayer=Mi(gt)),n.push(Y)}}else Ki(G,ce.fromStyles),Y.onDestroy(()=>Xt(G,ce.toStyles)),eo.push(Y),d.has(G)&&n.push(Y)}),eo.forEach(R=>{let G=o.get(R.element);if(G&&G.length){let Y=Mi(G);R.setRealPlayer(Y)}}),n.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R!Vt.destroyed);Je.length?x0(this,G,Je):this.processLeaveNode(G)}return O.length=0,Ga.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();let G=this.players.indexOf(R);this.players.splice(G,1)}),R.play()}),Ga}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,a,t,n,o){let r=[];if(a){let s=this.playersByQueriedElement.get(e);s&&(r=s)}else{let s=this.playersByElement.get(e);if(s){let l=!o||o==zn;s.forEach(c=>{c.queued||!l&&c.triggerName!=n||r.push(c)})}}return(t||n)&&(r=r.filter(s=>!(t&&t!=s.namespaceId||n&&n!=s.triggerName))),r}_beforeAnimationBuild(e,a,t){let n=a.triggerName,o=a.element,r=a.isRemovalTransition?void 0:e,s=a.isRemovalTransition?void 0:n;for(let l of a.timelines){let c=l.element,d=c!==o,g=xt(t,c,[]);this._getPreviousPlayers(c,d,r,s,a.toState).forEach(y=>{let _=y.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),y.destroy(),g.push(y)})}Ki(o,a.fromStyles)}_buildAnimation(e,a,t,n,o,r){let s=a.triggerName,l=a.element,c=[],d=new Set,g=new Set,x=a.timelines.map(_=>{let D=_.element;d.add(D);let O=D[jt];if(O&&O.removedBeforeQueried)return new ma(_.duration,_.delay);let S=D!==l,q=w0((t.get(D)||h0).map(we=>we.getRealPlayer())).filter(we=>{let he=we;return he.element?he.element===D:!1}),j=o.get(D),B=r.get(D),pe=Ad(this._normalizer,_.keyframes,j,B),ie=this._buildPlayer(_,pe,q);if(_.subTimeline&&n&&g.add(D),S){let we=new Wn(e,s,D);we.setRealPlayer(ie),c.push(we)}return ie});c.forEach(_=>{xt(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>v0(this.playersByQueriedElement,_.element,_))}),d.forEach(_=>At(_,vd));let y=Mi(x);return y.onDestroy(()=>{d.forEach(_=>Ma(_,vd)),Xt(l,a.toStyles)}),g.forEach(_=>{xt(n,_,[]).push(y)}),y}_buildPlayer(e,a,t){return a.length>0?this.driver.animate(e.element,a,e.duration,e.delay,e.easing,t):new ma(e.duration,e.delay)}},Wn=class{constructor(e,a,t){this.namespaceId=e,this.triggerName=a,this.element=t,this._player=new ma,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((a,t)=>{a.forEach(n=>bl(e,t,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 a=this._player;a.triggerCallback&&e.onStart(()=>a.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,a){xt(this._queuedCallbacks,e,[]).push(a)}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 a=this._player;a.triggerCallback&&a.triggerCallback(e)}};function v0(i,e,a){let t=i.get(e);if(t){if(t.length){let n=t.indexOf(a);t.splice(n,1)}t.length==0&&i.delete(e)}return t}function y0(i){return i??null}function Xo(i){return i&&i.nodeType===1}function _0(i){return i=="start"||i=="done"}function kd(i,e){let a=i.style.display;return i.style.display=e??"none",a}function Td(i,e,a,t,n){let o=[];a.forEach(l=>o.push(kd(l)));let r=[];t.forEach((l,c)=>{let d=new Map;l.forEach(g=>{let x=e.computeStyle(c,g,n);d.set(g,x),(!x||x.length==0)&&(c[jt]=b0,r.push(c))}),i.set(c,d)});let s=0;return a.forEach(l=>kd(l,o[s++])),r}function qd(i,e){let a=new Map;if(i.forEach(s=>a.set(s,[])),e.length==0)return a;let t=1,n=new Set(e),o=new Map;function r(s){if(!s)return t;let l=o.get(s);if(l)return l;let c=s.parentNode;return a.has(c)?l=c:n.has(c)?l=t:l=r(c),o.set(s,l),l}return e.forEach(s=>{let l=r(s);l!==t&&a.get(l).push(s)}),a}function At(i,e){i.classList?.add(e)}function Ma(i,e){i.classList?.remove(e)}function x0(i,e,a){Mi(a).onDone(()=>i.processLeaveNode(e))}function w0(i){let e=[];return jd(i,e),e}function jd(i,e){for(let a=0;an.add(o)):e.set(i,t),a.delete(i),!0}var Oa=class{constructor(e,a,t){this._driver=a,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(n,o)=>{},this._transitionEngine=new gl(e.body,a,t),this._timelineEngine=new ml(e.body,a,t),this._transitionEngine.onRemovalComplete=(n,o)=>this.onRemovalComplete(n,o)}registerTrigger(e,a,t,n,o){let r=e+"-"+n,s=this._triggerCache[r];if(!s){let l=[],c=[],d=Pd(this._driver,o,l,c);if(l.length)throw Sh(n,l);c.length&&void 0,s=c0(n,d,this._normalizer),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(a,n,s)}register(e,a){this._transitionEngine.register(e,a)}destroy(e,a){this._transitionEngine.destroy(e,a)}onInsert(e,a,t,n){this._transitionEngine.insertNode(e,a,t,n)}onRemove(e,a,t){this._transitionEngine.removeNode(e,a,t)}disableAnimations(e,a){this._transitionEngine.markElementAsDisabled(e,a)}process(e,a,t,n){if(t.charAt(0)=="@"){let[o,r]=hd(t),s=n;this._timelineEngine.command(o,a,r,s)}else this._transitionEngine.trigger(e,a,t,n)}listen(e,a,t,n,o){if(t.charAt(0)=="@"){let[r,s]=hd(t);return this._timelineEngine.listen(r,a,s,o)}return this._transitionEngine.listen(e,a,t,n,o)}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 C0(i,e){let a=null,t=null;return Array.isArray(e)&&e.length?(a=el(e[0]),e.length>1&&(t=el(e[e.length-1]))):e instanceof Map&&(a=el(e)),a||t?new fl(i,a,t):null}var Ea=class Ea{constructor(e,a,t){this._element=e,this._startStyles=a,this._endStyles=t,this._state=0;let n=Ea.initialStylesByElement.get(e);n||Ea.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&Xt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xt(this._element,this._initialStyles),this._endStyles&&(Xt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ea.initialStylesByElement.delete(this._element),this._startStyles&&(Ki(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ki(this._element,this._endStyles),this._endStyles=null),Xt(this._element,this._initialStyles),this._state=3)}};Ea.initialStylesByElement=new WeakMap;var fl=Ea;function el(i){let e=null;return i.forEach((a,t)=>{k0(t)&&(e=e||new Map,e.set(t,a))}),e}function k0(i){return i==="display"||i==="position"}var lr=class{constructor(e,a,t,n){this.element=e,this.keyframes=a,this.options=t,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=t.duration,this._delay=t.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 a=()=>this._onFinish();this.domPlayer.addEventListener("finish",a),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",a)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let a=[];return e.forEach(t=>{a.push(Object.fromEntries(t))}),a}_triggerWebAnimation(e,a,t){return e.animate(this._convertKeyframesToObject(a),t)}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((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:wl(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let a=e==="start"?this._onStartFns:this._onDoneFns;a.forEach(t=>t()),a.length=0}},cr=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,a){return Id(e,a)}getParentElement(e){return yl(e)}query(e,a,t){return Md(e,a,t)}computeStyle(e,a,t){return wl(e,a)}animate(e,a,t,n,o,r=[]){let s=n==0?"both":"forwards",l={duration:t,delay:n,fill:s};o&&(l.easing=o);let c=new Map,d=r.filter(y=>y instanceof lr);Wh(t,n)&&d.forEach(y=>{y.currentSnapshot.forEach((_,D)=>c.set(D,_))});let g=Bh(a).map(y=>new Map(y));g=Uh(e,g,c);let x=C0(e,g);return new lr(e,g,l,x)}};var er="@",zd="@.disabled",ur=class{constructor(e,a,t,n){this.namespaceId=e,this.delegate=a,this.engine=t,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,a){return this.delegate.createElement(e,a)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,a){this.delegate.appendChild(e,a),this.engine.onInsert(this.namespaceId,a,e,!1)}insertBefore(e,a,t,n=!0){this.delegate.insertBefore(e,a,t),this.engine.onInsert(this.namespaceId,a,e,n)}removeChild(e,a,t){this.engine.onRemove(this.namespaceId,a,this.delegate)}selectRootElement(e,a){return this.delegate.selectRootElement(e,a)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,a,t,n){this.delegate.setAttribute(e,a,t,n)}removeAttribute(e,a,t){this.delegate.removeAttribute(e,a,t)}addClass(e,a){this.delegate.addClass(e,a)}removeClass(e,a){this.delegate.removeClass(e,a)}setStyle(e,a,t,n){this.delegate.setStyle(e,a,t,n)}removeStyle(e,a,t){this.delegate.removeStyle(e,a,t)}setProperty(e,a,t){a.charAt(0)==er&&a==zd?this.disableAnimations(e,!!t):this.delegate.setProperty(e,a,t)}setValue(e,a){this.delegate.setValue(e,a)}listen(e,a,t){return this.delegate.listen(e,a,t)}disableAnimations(e,a){this.engine.disableAnimations(e,a)}},hl=class extends ur{constructor(e,a,t,n,o){super(a,t,n,o),this.factory=e,this.namespaceId=a}setProperty(e,a,t){a.charAt(0)==er?a.charAt(1)=="."&&a==zd?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,a.slice(1),t):this.delegate.setProperty(e,a,t)}listen(e,a,t){if(a.charAt(0)==er){let n=T0(e),o=a.slice(1),r="";return o.charAt(0)!=er&&([o,r]=q0(o)),this.engine.listen(this.namespaceId,n,o,r,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,t,s)})}return this.delegate.listen(e,a,t)}};function T0(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function q0(i){let e=i.indexOf("."),a=i.substring(0,e),t=i.slice(e+1);return[a,t]}var dr=class{constructor(e,a,t){this.delegate=e,this.engine=a,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,a.onRemovalComplete=(n,o)=>{let r=o?.parentNode(n);r&&o.removeChild(r,n)}}createRenderer(e,a){let t="",n=this.delegate.createRenderer(e,a);if(!e||!a?.data?.animation){let c=this._rendererCache,d=c.get(n);if(!d){let g=()=>c.delete(n);d=new ur(t,n,this.engine,g),c.set(n,d)}return d}let o=a.id,r=a.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,r,e,c.name,c)};return a.data.animation.forEach(s),new hl(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,a,t){if(e>=0&&ea(t));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[r,s]=o;r(s)}),this._animationCallbacksBuffer=[]})}),n.push([a,t])}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 A0=(()=>{let e=class e extends Oa{constructor(t,n,o){super(t,n,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(L(Ue),L(Qi),L(Xi))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function I0(){return new ar}function M0(i,e,a){return new dr(i,e,a)}var Bd=[{provide:Xi,useFactory:I0},{provide:Oa,useClass:A0},{provide:tc,useFactory:M0,deps:[mc,Oa,Ct]}],E0=[{provide:Qi,useFactory:()=>new cr},{provide:fi,useValue:"BrowserAnimations"},...Bd],v3=[{provide:Qi,useClass:_l},{provide:fi,useValue:"NoopAnimations"},...Bd];function Vd(){return ic("NgEagerAnimations"),[...E0]}function L0(i,e){}var ea=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Tl=(()=>{let e=class e extends Fc{constructor(t,n,o,r,s,l,c,d){super(),this._elementRef=t,this._focusTrapFactory=n,this._config=r,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._platform=I(vi),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=I(oe),this.attachDomPortal=g=>{this._portalOutlet.hasAttached();let x=this._portalOutlet.attachDomPortal(g);return this._contentAttached(),x},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let n=this._ariaLabelledByQueue.indexOf(t);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),n}attachTemplatePortal(t){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,n){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(n)}_focusByCssSelector(t,n){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,n)}_trapFocus(){let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let t=this._config.restoreFocus,n=null;if(typeof t=="string"?n=this._document.querySelector(t):typeof t=="boolean"?n=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(n=t),this._config.restoreFocus&&n&&typeof n.focus=="function"){let o=po(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,n=po();return t===n||t.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=po()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(n){return new(n||e)(E(Be),E(ho),E(Ue,8),E(ea),E(fo),E(Ct),E(ga),E(bo))},e.\u0275cmp=J({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(n,o){if(n&1&&We(sn,7),n&2){let r;Re(r=He())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,o){n&2&&$t("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[ro,W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,o){n&1&&k(0,L0,0,0,"ng-template",0)},dependencies:[sn],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let i=e;return i})(),Un=class{constructor(e,a){this.overlayRef=e,this.config=a,this.closed=new V,this.disableClose=a.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=a.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!yi(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{a.closeOnOverlayDetachments!==!1&&this.close()})}close(e,a){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=a?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(e),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",a=""){return this.overlayRef.updateSize({width:e,height:a}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},N0=new be("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=I(Qe);return()=>i.scrollStrategies.block()}}),P0=new be("DialogData"),F0=new be("DefaultDialogConfig");var R0=0,ql=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,n,o,r,s,l){this._overlay=t,this._injector=n,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new V,this._afterOpenedAtThisLevel=new V,this._ariaHiddenElements=new Map,this.afterAllClosed=na(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(sa(void 0))),this._scrollStrategy=l}open(t,n){let o=this._defaultOptions||new ea;n=M(M({},o),n),n.id=n.id||`cdk-dialog-${R0++}`,n.id&&this.getDialogById(n.id);let r=this._getOverlayConfig(n),s=this._overlay.create(r),l=new Un(s,n),c=this._attachContainer(s,l,n);return l.containerInstance=c,this._attachDialogContent(t,l,c,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){kl(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){kl(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),kl(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let n=new wo({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(n.backdropClass=t.backdropClass),n}_attachContainer(t,n,o){let r=o.injector||o.viewContainerRef?.injector,s=[{provide:ea,useValue:o},{provide:Un,useValue:n},{provide:ga,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,s.push(...o.container.providers(o))):l=Tl;let c=new us(l,o.viewContainerRef,Gt.create({parent:r||this._injector,providers:s}),o.componentFactoryResolver);return t.attach(c).instance}_attachDialogContent(t,n,o,r){if(t instanceof Ka){let s=this._createInjector(r,n,o,void 0),l={$implicit:r.data,dialogRef:n};r.templateContext&&(l=M(M({},l),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new pa(t,null,l,s))}else{let s=this._createInjector(r,n,o,this._injector),l=o.attachComponentPortal(new us(t,r.viewContainerRef,s,r.componentFactoryResolver));n.componentRef=l,n.componentInstance=l.instance}}_createInjector(t,n,o,r){let s=t.injector||t.viewContainerRef?.injector,l=[{provide:P0,useValue:t.data},{provide:Un,useValue:n}];return t.providers&&(typeof t.providers=="function"?l.push(...t.providers(n,t,o)):l.push(...t.providers)),t.direction&&(!s||!s.get(on,null,{optional:!0}))&&l.push({provide:on,useValue:{value:t.direction,change:ct()}}),Gt.create({parent:s||r,providers:l})}_removeOpenDialog(t,n){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let n=t.parentElement.children;for(let o=n.length-1;o>-1;o--){let r=n[o];r!==t&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(n){return new(n||e)(L(Qe),L(Gt),L(F0,8),L(e,12),L(So),L(N0))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function kl(i,e){let a=i.length;for(;a--;)e(i[a])}var Jd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=It({providers:[ql],imports:[fa,ln,xc,ln]});let i=e;return i})();function z0(i,e){}var Gn=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Dl="mdc-dialog--open",Wd="mdc-dialog--opening",Ud="mdc-dialog--closing",B0=150,V0=75,J0=(()=>{let e=class e extends Tl{constructor(t,n,o,r,s,l,c,d,g){super(t,n,o,r,s,l,c,g),this._animationMode=d,this._animationStateChanged=new Ke,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?$d(this._config.enterAnimationDuration)??B0:0,this._exitAnimationDuration=this._animationsEnabled?$d(this._config.exitAnimationDuration)??V0:0,this._animationTimer=null,this._isDestroyed=!1,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Gd,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Wd,Dl)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Dl),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Dl),this._animationsEnabled?(this._hostElement.style.setProperty(Gd,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ud)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Wd,Ud)}_waitForAnimationToComplete(t,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._isDestroyed||(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t}))}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer),this._isDestroyed=!0}attachComponentPortal(t){let n=super.attachComponentPortal(t);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}};e.\u0275fac=function(n){return new(n||e)(E(Be),E(ho),E(Ue,8),E(Gn),E(fo),E(Ct),E(ga),E(fi,8),E(bo))},e.\u0275cmp=J({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,o){n&2&&(oc("id",o._config.id),$t("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Fe("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[ro,W],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(b(0,"div",0)(1,"div",1),k(2,z0,0,0,"ng-template",2),v()())},dependencies:[sn],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, white)}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2});let i=e;return i})(),Gd="--mat-dialog-transition-duration";function $d(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?os(i.substring(0,i.length-2)):i.endsWith("s")?os(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var pr=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(pr||{}),gr=class{constructor(e,a,t){this._ref=e,this._containerInstance=t,this._afterOpened=new V,this._beforeClosed=new V,this._state=pr.OPEN,this.disableClose=a.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(Ne(n=>n.state==="opened"),Pe(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(Ne(n=>n.state==="closed"),Pe(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),oi(this.backdropClick(),this.keydownEvents().pipe(Ne(n=>n.keyCode===27&&!this.disableClose&&!yi(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Zd(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Ne(a=>a.state==="closing"),Pe(1)).subscribe(a=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),a.totalTime+100)}),this._state=pr.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let a=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?a.left(e.left):a.right(e.right):a.centerHorizontally(),e&&(e.top||e.bottom)?e.top?a.top(e.top):a.bottom(e.bottom):a.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",a=""){return this._ref.updateSize(e,a),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=pr.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Zd(i,e,a){return i._closeInteractionType=e,i.close(a)}var Al=new be("MatMdcDialogData"),W0=new be("mat-mdc-dialog-default-options"),U0=new be("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=I(Qe);return()=>i.scrollStrategies.block()}});var G0=0,fr=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,n,o,r,s,l,c,d){this._overlay=t,this._defaultOptions=r,this._scrollStrategy=s,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new V,this._afterOpenedAtThisLevel=new V,this.dialogConfigClass=Gn,this.afterAllClosed=na(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(sa(void 0))),this._dialog=n.get(ql),this._dialogRefConstructor=gr,this._dialogContainerType=J0,this._dialogDataToken=Al}open(t,n){let o;n=M(M({},this._defaultOptions||new Gn),n),n.id=n.id||`mat-mdc-dialog-${G0++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(t,ne(M({},n),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:ea,useValue:n}]},templateContext:()=>({dialogRef:o}),providers:(s,l,c)=>(o=new this._dialogRefConstructor(s,n,c),o.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let n=t.length;for(;n--;)t[n].close()}};e.\u0275fac=function(n){return new(n||e)(L(Qe),L(Gt),L(cc,8),L(W0,8),L(U0),L(e,12),L(So),L(fi,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Yd=(()=>{let e=class e{constructor(t,n,o){this.dialogRef=t,this._elementRef=n,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=$0(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let n=t._matDialogClose||t._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(t){Zd(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(n){return new(n||e)(E(gr,8),E(Be),E(fr))},e.\u0275dir=Ri({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,o){n&1&&$("click",function(s){return o._onButtonClick(s)}),n&2&&$t("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Ye]});let i=e;return i})();function $0(i,e){let a=i.nativeElement.parentElement;for(;a&&!a.classList.contains("mat-mdc-dialog-container");)a=a.parentElement;return a?e.find(t=>t.id===a.id):null}var hr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=It({providers:[fr],imports:[Jd,fa,ln,xi,xi]});let i=e;return i})();var br=new be("ANGOR_MOCK_API_DEFAULT_DELAY");var vr=class{constructor(e,a){this.url=e,this.delay=a,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return ni(()=>new Error("Execution limit has been reached!"));if(!this._reply)return ni(()=>new Error("Response callback function does not exist!"));if(!this.request)return ni(()=>new Error("Request does not exist!"));this._replied++;let e=this._reply({request:this.request,urlParams:this.urlParams});return e instanceof io?e.pipe(Pe(1)):ct(e).pipe(Pe(1))}reply(e){this._reply=e}replyCount(e){this._replyCount=e}};var ee=(()=>{let e=class e{constructor(){this._handlers={get:new Map,post:new Map,patch:new Map,delete:new Map,put:new Map,head:new Map,jsonp:new Map,options:new Map}}findHandler(t,n){let o={handler:void 0,urlParams:{}},r=n.split("/"),s=this._handlers[t.toLowerCase()];for(let[l,c]of s){let d=l.split("/");if(r.length===d.length&&d.every((x,y)=>x.startsWith(":")||x===r[y])){o.handler=c,o.urlParams=zc(d.map((x,y)=>x.startsWith(":")?[x.substring(1),r[y]]:void 0).filter(Boolean));break}}return o}onGet(t,n){return this._registerHandler("get",t,n)}onPost(t,n){return this._registerHandler("post",t,n)}onPatch(t,n){return this._registerHandler("patch",t,n)}onDelete(t,n){return this._registerHandler("delete",t,n)}onPut(t,n){return this._registerHandler("put",t,n)}onHead(t,n){return this._registerHandler("head",t,n)}onJsonp(t,n){return this._registerHandler("jsonp",t,n)}onOptions(t,n){return this._registerHandler("options",t,n)}_registerHandler(t,n,o){let r=new vr(n,o);return this._handlers[t].set(n,r),r}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Kd=(i,e)=>{let a=I(br),t=I(ee),{handler:n,urlParams:o}=t.findHandler(i.method.toUpperCase(),i.url);return n?(n.request=i,n.urlParams=o,n.response.pipe(ra(n.delay??a??0),Ze(r=>{if(!r)return ni(()=>new as({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));let s={status:r[0],body:r[1]};return s.status>=200&&s.status<300?ct(new dc({body:s.body,status:s.status,statusText:"OK"})):ni(()=>new as({error:s.body?.error,status:s.status,statusText:"ERROR"}))}))):e(i)};var Ae=class{static guid(){let e=new Date().getTime();return typeof performance<"u"&&typeof performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{let t=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(a==="x"?t:t&3|8).toString(16)})}};var Y0=(i,e,a,t,n,o,r,s)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":i,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":e,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":a,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":t,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":n,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":o,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":r,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":s});function K0(i,e){i&1&&(b(0,"div",1)(1,"button",6),C(2,"mat-icon",7),v()()),i&2&&(m(),f("matDialogClose",void 0),m(),f("svgIcon","heroicons_outline:x-mark"))}function Q0(i,e){if(i&1&&(b(0,"div",3),C(1,"mat-icon",8),v()),i&2){let a=h();f("ngClass",lc(2,Y0,a.data.icon.color==="primary",a.data.icon.color==="accent",a.data.icon.color==="warn",a.data.icon.color==="basic",a.data.icon.color==="info",a.data.icon.color==="success",a.data.icon.color==="warning",a.data.icon.color==="error")),m(),f("svgIcon",a.data.icon.name)}}function X0(i,e){if(i&1&&C(0,"div",9),i&2){let a=h(2);f("innerHTML",a.data.title,ft)}}function eb(i,e){if(i&1&&C(0,"div",10),i&2){let a=h(2);f("innerHTML",a.data.message,ft)}}function tb(i,e){if(i&1&&(b(0,"div",4),k(1,X0,1,1,"div",9)(2,eb,1,1,"div",10),v()),i&2){let a=h();m(),w(a.data.title?1:-1),m(),w(a.data.message?2:-1)}}function ib(i,e){if(i&1&&(b(0,"button",11),z(1),v()),i&2){let a=h(2);f("matDialogClose","cancelled"),m(),te(" ",a.data.actions.cancel.label," ")}}function ab(i,e){if(i&1&&(b(0,"button",12),z(1),v()),i&2){let a=h(2);f("color",a.data.actions.confirm.color)("matDialogClose","confirmed"),m(),te(" ",a.data.actions.confirm.label," ")}}function nb(i,e){if(i&1&&(b(0,"div",5),k(1,ib,2,2,"button",11)(2,ab,2,3,"button",12),v()),i&2){let a=h();m(),w(a.data.actions.cancel.show?1:-1),m(),w(a.data.actions.confirm.show?2:-1)}}var Qd=(()=>{let e=class e{constructor(){this.data=I(Al)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-confirmation-dialog"]],standalone:!0,features:[W],decls:6,vars:4,consts:[[1,"relative","flex","h-full","w-full","flex-col"],[1,"absolute","right-0","top-0","pr-4","pt-4"],[1,"flex","flex-auto","flex-col","items-center","p-8","pb-6","sm:flex-row","sm:items-start","sm:pb-8"],[1,"flex","h-10","w-10","flex-0","items-center","justify-center","rounded-full","sm:mr-4",3,"ngClass"],[1,"mt-4","flex","flex-col","items-center","space-y-1","text-center","sm:mt-0","sm:items-start","sm:pr-8","sm:text-left"],[1,"flex","items-center","justify-center","space-x-3","bg-gray-50","px-6","py-4","dark:bg-black","dark:bg-opacity-10","sm:justify-end"],["mat-icon-button","",3,"matDialogClose"],[1,"text-secondary",3,"svgIcon"],[1,"text-current",3,"svgIcon"],[1,"text-xl","font-medium","leading-6",3,"innerHTML"],[1,"text-secondary",3,"innerHTML"],["mat-stroked-button","",3,"matDialogClose"],["mat-flat-button","",3,"color","matDialogClose"]],template:function(n,o){n&1&&(b(0,"div",0),k(1,K0,3,2,"div",1),b(2,"div",2),k(3,Q0,2,11,"div",3)(4,tb,3,2,"div",4),v(),k(5,nb,3,2,"div",5),v()),n&2&&(m(),w(o.data.dismissible?1:-1),m(2),w(o.data.icon.show?3:-1),m(),w(o.data.title||o.data.message?4:-1),m(),w(o.data.actions.confirm.show||o.data.actions.cancel.show?5:-1))},dependencies:[rt,Jc,ot,hr,Yd,xe,_e,ye],styles:[`@media (min-width: 960px){.angor-confirmation-dialog-panel{width:32rem}}.angor-confirmation-dialog-panel .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:0!important} +import{a as Ot}from"./chunk-AFNL5RPD.js";import{a as dt,b as mt,c as tu,d as iu,e as au}from"./chunk-CUXGZT4Q.js";import{a as ha,b as qo,c as Do,d as ba}from"./chunk-EJSFYMLG.js";import{a as Si}from"./chunk-OZSOB2KQ.js";import{b as Mo}from"./chunk-6EWZX4UI.js";import{a as Yt,b as da,c as hi,d as Ge,e as bi,f as mo,g as fc,h as hc,i as bc,j as vc}from"./chunk-SYNSCGYV.js";import{a as wi}from"./chunk-ZRQGIPCY.js";import{d as Nc,e as Pc,f as us,g as pa,h as Fc,i as sn,j as ln,k as xo,l as wo,m as So,n as ga,o as Qe,r as fa,s as Se,t as T,u as zc,v as To,w as Bc,x as Vc,y as cn}from"./chunk-5GRCWTIR.js";import{A as Gc,B as $c,C as Zc,G as Yc,J as Kc,M as Qc,R as Xc,S as eu,T as Ao,U as Io,a as re,b as Kt,c as Ic,d as li,e as Mc,f as Ec,g as ht,h as Oc,j as ls,m as Lc,n as ma,o as cs,p as _o,s as Rc,v as Hc,w as jc,x as Co,y as ko,z as Uc}from"./chunk-KOQX3PBC.js";import{$ as rt,B as bo,C as xc,D as on,F as wc,G as xi,I as Sc,J as vo,K as ss,O as Cc,P as kc,Q as Tc,R as qc,S as yo,T as Dc,U as Ac,V as rn,X as Jc,Z as ot,a as vi,aa as Wc,ba as _e,ca as xe,g as po,h as yc,j as yi,k as _i,l as os,r as rs,s as go,u as _c,w as fo,x as ho}from"./chunk-6A5WIJYK.js";import{b as Ue,d as cc,e as ye,f as uc,g as ut,i as co,k as uo,n as dc,o as as,p as Zt,q as nn,r as ns,s as mc,t as pc,v as gc}from"./chunk-IMW7L7ZP.js";import{$ as sa,$a as ft,$b as ts,Aa as Q,Ab as Fe,Ba as X,Bb as nc,Ca as ec,Cb as kt,D as na,Dc as oe,E as no,Eb as st,F as oa,Fb as w,Fc as Bi,Ga as Gt,Gc as is,H as oi,Hb as Te,I as Ne,Ia as Be,Ib as qe,Ja as Ke,Jb as b,K as $l,Kb as v,Lb as C,M as oo,Mb as la,Nb as ca,O as Pe,Ob as se,Pa as fi,Pb as le,Q as ra,Qb as oc,S as Zl,Vb as $,W as Yl,Xb as h,Yb as so,Z as Kl,Zb as ua,a as M,aa as Ze,ab as nt,ac as We,b as ne,ba as U,bc as Re,c as Jl,cc as He,d as Za,da as Ut,db as m,dc as K,e as Fi,ea as ue,eb as E,ec as z,fc as en,g as Qr,ga as Ql,gb as Ka,gc as te,h as Wl,ha as N,i as Xr,ia as It,ib as tc,jb as si,k as io,ka as be,kb as ic,kc as tn,lb as Ct,lc as W,ma as L,mc as lo,n as V,na as I,nc as de,o as Jt,oa as ri,ob as ac,oc as Et,p as Wt,pb as Qa,pc as rc,qa as J,qc as sc,r as Ul,ra as Mt,rb as ro,rc as lc,s as Ya,sa as Ri,sb as Xa,sc as ji,t as ct,u as ni,ua as Hi,uc as zi,va as Xl,vc as Ve,wb as k,x as Gl,xb as $t,y as Le,yb as f,yc as an,z as ao,za as Ye,zb as es}from"./chunk-65EYH52Y.js";var Jp=Fi(()=>{});var Ua=Fi((Jr,Wp)=>{(function(i,e){typeof Jr=="object"?Wp.exports=Jr=e():typeof define=="function"&&define.amd?define([],e):i.CryptoJS=e()})(Jr,function(){var i=i||function(e,a){var t;if(typeof window<"u"&&window.crypto&&(t=window.crypto),typeof self<"u"&&self.crypto&&(t=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(t=globalThis.crypto),!t&&typeof window<"u"&&window.msCrypto&&(t=window.msCrypto),!t&&typeof global<"u"&&global.crypto&&(t=global.crypto),!t&&typeof Jl=="function")try{t=Jp()}catch{}var n=function(){if(t){if(typeof t.getRandomValues=="function")try{return t.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof t.randomBytes=="function")try{return t.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function S(){}return function(q){var j;return S.prototype=q,j=new S,S.prototype=null,j}}(),r={},s=r.lib={},l=s.Base=function(){return{extend:function(S){var q=o(this);return S&&q.mixIn(S),(!q.hasOwnProperty("init")||this.init===q.init)&&(q.init=function(){q.$super.init.apply(this,arguments)}),q.init.prototype=q,q.$super=this,q},create:function(){var S=this.extend();return S.init.apply(S,arguments),S},init:function(){},mixIn:function(S){for(var q in S)S.hasOwnProperty(q)&&(this[q]=S[q]);S.hasOwnProperty("toString")&&(this.toString=S.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=l.extend({init:function(S,q){S=this.words=S||[],q!=a?this.sigBytes=q:this.sigBytes=S.length*4},toString:function(S){return(S||g).stringify(this)},concat:function(S){var q=this.words,j=S.words,B=this.sigBytes,pe=S.sigBytes;if(this.clamp(),B%4)for(var ie=0;ie>>2]>>>24-ie%4*8&255;q[B+ie>>>2]|=we<<24-(B+ie)%4*8}else for(var he=0;he>>2]=j[he>>>2];return this.sigBytes+=pe,this},clamp:function(){var S=this.words,q=this.sigBytes;S[q>>>2]&=4294967295<<32-q%4*8,S.length=e.ceil(q/4)},clone:function(){var S=l.clone.call(this);return S.words=this.words.slice(0),S},random:function(S){for(var q=[],j=0;j>>2]>>>24-pe%4*8&255;B.push((ie>>>4).toString(16)),B.push((ie&15).toString(16))}return B.join("")},parse:function(S){for(var q=S.length,j=[],B=0;B>>3]|=parseInt(S.substr(B,2),16)<<24-B%8*4;return new c.init(j,q/2)}},x=d.Latin1={stringify:function(S){for(var q=S.words,j=S.sigBytes,B=[],pe=0;pe>>2]>>>24-pe%4*8&255;B.push(String.fromCharCode(ie))}return B.join("")},parse:function(S){for(var q=S.length,j=[],B=0;B>>2]|=(S.charCodeAt(B)&255)<<24-B%4*8;return new c.init(j,q)}},y=d.Utf8={stringify:function(S){try{return decodeURIComponent(escape(x.stringify(S)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(S){return x.parse(unescape(encodeURIComponent(S)))}},_=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(S){typeof S=="string"&&(S=y.parse(S)),this._data.concat(S),this._nDataBytes+=S.sigBytes},_process:function(S){var q,j=this._data,B=j.words,pe=j.sigBytes,ie=this.blockSize,we=ie*4,he=pe/we;S?he=e.ceil(he):he=e.max((he|0)-this._minBufferSize,0);var Me=he*ie,$e=e.min(Me*4,pe);if(Me){for(var Bt=0;Bt{(function(i,e){typeof Wr=="object"?Up.exports=Wr=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(Wr,function(i){return function(){var e=i,a=e.lib,t=a.WordArray,n=e.enc,o=n.Base64={stringify:function(s){var l=s.words,c=s.sigBytes,d=this._map;s.clamp();for(var g=[],x=0;x>>2]>>>24-x%4*8&255,_=l[x+1>>>2]>>>24-(x+1)%4*8&255,D=l[x+2>>>2]>>>24-(x+2)%4*8&255,O=y<<16|_<<8|D,S=0;S<4&&x+S*.75>>6*(3-S)&63));var q=d.charAt(64);if(q)for(;g.length%4;)g.push(q);return g.join("")},parse:function(s){var l=s.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var g=0;g>>6-x%4*2,D=y|_;d[g>>>2]|=D<<24-g%4*8,g++}return t.create(d,g)}}(),i.enc.Base64})});var Zp=Fi((Ur,$p)=>{(function(i,e){typeof Ur=="object"?$p.exports=Ur=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(Ur,function(i){return i.enc.Utf8})});var Kp=Fi((Gr,Yp)=>{(function(i,e){typeof Gr=="object"?Yp.exports=Gr=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})(Gr,function(i){return function(e){var a=i,t=a.lib,n=t.WordArray,o=t.Hasher,r=a.algo,s=[],l=[];(function(){function g(D){for(var O=e.sqrt(D),S=2;S<=O;S++)if(!(D%S))return!1;return!0}function x(D){return(D-(D|0))*4294967296|0}for(var y=2,_=0;_<64;)g(y)&&(_<8&&(s[_]=x(e.pow(y,1/2))),l[_]=x(e.pow(y,1/3)),_++),y++})();var c=[],d=r.SHA256=o.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(g,x){for(var y=this._hash.words,_=y[0],D=y[1],O=y[2],S=y[3],q=y[4],j=y[5],B=y[6],pe=y[7],ie=0;ie<64;ie++){if(ie<16)c[ie]=g[x+ie]|0;else{var we=c[ie-15],he=(we<<25|we>>>7)^(we<<14|we>>>18)^we>>>3,Me=c[ie-2],$e=(Me<<15|Me>>>17)^(Me<<13|Me>>>19)^Me>>>10;c[ie]=he+c[ie-7]+$e+c[ie-16]}var Bt=q&j^~q&B,ai=_&D^_&O^D&O,Ga=(_<<30|_>>>2)^(_<<19|_>>>13)^(_<<10|_>>>22),eo=(q<<26|q>>>6)^(q<<21|q>>>11)^(q<<7|q>>>25),$a=pe+eo+Bt+l[ie]+c[ie],R=Ga+ai;pe=B,B=j,j=q,q=S+$a|0,S=O,O=D,D=_,_=$a+R|0}y[0]=y[0]+_|0,y[1]=y[1]+D|0,y[2]=y[2]+O|0,y[3]=y[3]+S|0,y[4]=y[4]+q|0,y[5]=y[5]+j|0,y[6]=y[6]+B|0,y[7]=y[7]+pe|0},_doFinalize:function(){var g=this._data,x=g.words,y=this._nDataBytes*8,_=g.sigBytes*8;return x[_>>>5]|=128<<24-_%32,x[(_+64>>>9<<4)+14]=e.floor(y/4294967296),x[(_+64>>>9<<4)+15]=y,g.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var g=o.clone.call(this);return g._hash=this._hash.clone(),g}});a.SHA256=o._createHelper(d),a.HmacSHA256=o._createHmacHelper(d)}(Math),i.SHA256})});var Xp=Fi(($r,Qp)=>{(function(i,e){typeof $r=="object"?Qp.exports=$r=e(Ua()):typeof define=="function"&&define.amd?define(["./core"],e):e(i.CryptoJS)})($r,function(i){(function(){var e=i,a=e.lib,t=a.Base,n=e.enc,o=n.Utf8,r=e.algo,s=r.HMAC=t.extend({init:function(l,c){l=this._hasher=new l.init,typeof c=="string"&&(c=o.parse(c));var d=l.blockSize,g=d*4;c.sigBytes>g&&(c=l.finalize(c)),c.clamp();for(var x=this._oKey=c.clone(),y=this._iKey=c.clone(),_=x.words,D=y.words,O=0;O{(function(i,e,a){typeof Zr=="object"?eg.exports=Zr=e(Ua(),Kp(),Xp()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(i.CryptoJS)})(Zr,function(i){return i.HmacSHA256})});var nu=(()=>{let e=class e{constructor(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["app-root"]],standalone:!0,features:[W],decls:1,vars:0,template:function(n,o){n&1&&C(0,"router-outlet")},dependencies:[hi],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]});let i=e;return i})();var ci=class extends Error{},Eo=class extends ci{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Oo=class extends ci{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},Lo=class extends ci{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},Lt=class extends ci{},va=class extends ci{constructor(e){super(`Invalid unit ${e}`)}},je=class extends ci{},Nt=class extends ci{constructor(){super("Zone is an abstract class")}};var P="numeric",Pt="short",bt="long",Ci={year:P,month:P,day:P},un={year:P,month:Pt,day:P},ds={year:P,month:Pt,day:P,weekday:Pt},dn={year:P,month:bt,day:P},mn={year:P,month:bt,day:P,weekday:bt},pn={hour:P,minute:P},gn={hour:P,minute:P,second:P},fn={hour:P,minute:P,second:P,timeZoneName:Pt},hn={hour:P,minute:P,second:P,timeZoneName:bt},bn={hour:P,minute:P,hourCycle:"h23"},vn={hour:P,minute:P,second:P,hourCycle:"h23"},yn={hour:P,minute:P,second:P,hourCycle:"h23",timeZoneName:Pt},_n={hour:P,minute:P,second:P,hourCycle:"h23",timeZoneName:bt},xn={year:P,month:P,day:P,hour:P,minute:P},wn={year:P,month:P,day:P,hour:P,minute:P,second:P},Sn={year:P,month:Pt,day:P,hour:P,minute:P},Cn={year:P,month:Pt,day:P,hour:P,minute:P,second:P},ms={year:P,month:Pt,day:P,weekday:Pt,hour:P,minute:P},kn={year:P,month:bt,day:P,hour:P,minute:P,timeZoneName:Pt},Tn={year:P,month:bt,day:P,hour:P,minute:P,second:P,timeZoneName:Pt},qn={year:P,month:bt,day:P,weekday:bt,hour:P,minute:P,timeZoneName:bt},Dn={year:P,month:bt,day:P,weekday:bt,hour:P,minute:P,second:P,timeZoneName:bt};var vt=class{get type(){throw new Nt}get name(){throw new Nt}get ianaName(){return this.name}get isUniversal(){throw new Nt}offsetName(e,a){throw new Nt}formatOffset(e,a){throw new Nt}offset(e){throw new Nt}equals(e){throw new Nt}get isValid(){throw new Nt}};var ps=null,Vi=class i extends vt{static get instance(){return ps===null&&(ps=new i),ps}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:a,locale:t}){return Po(e,a,t)}formatOffset(e,a){return ki(this.offset(e),a)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}};var Ro={};function Ig(i){return Ro[i]||(Ro[i]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ro[i]}var Mg={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Eg(i,e){let a=i.format(e).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(a),[,n,o,r,s,l,c,d]=t;return[r,n,o,s,l,c,d]}function Og(i,e){let a=i.formatToParts(e),t=[];for(let n=0;n=0?_:1e3+_,(x-y)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}};var ou={};function Lg(i,e={}){let a=JSON.stringify([i,e]),t=ou[a];return t||(t=new Intl.ListFormat(i,e),ou[a]=t),t}var gs={};function fs(i,e={}){let a=JSON.stringify([i,e]),t=gs[a];return t||(t=new Intl.DateTimeFormat(i,e),gs[a]=t),t}var hs={};function Ng(i,e={}){let a=JSON.stringify([i,e]),t=hs[a];return t||(t=new Intl.NumberFormat(i,e),hs[a]=t),t}var bs={};function Pg(i,e={}){let r=e,{base:a}=r,t=Za(r,["base"]),n=JSON.stringify([i,t]),o=bs[n];return o||(o=new Intl.RelativeTimeFormat(i,e),bs[n]=o),o}var An=null;function Fg(){return An||(An=new Intl.DateTimeFormat().resolvedOptions().locale,An)}var ru={};function Rg(i){let e=ru[i];if(!e){let a=new Intl.Locale(i);e="getWeekInfo"in a?a.getWeekInfo():a.weekInfo,ru[i]=e}return e}function Hg(i){let e=i.indexOf("-x-");e!==-1&&(i=i.substring(0,e));let a=i.indexOf("-u-");if(a===-1)return[i];{let t,n;try{t=fs(i).resolvedOptions(),n=i}catch{let l=i.substring(0,a);t=fs(l).resolvedOptions(),n=l}let{numberingSystem:o,calendar:r}=t;return[n,o,r]}}function jg(i,e,a){return(a||e)&&(i.includes("-u-")||(i+="-u"),a&&(i+=`-ca-${a}`),e&&(i+=`-nu-${e}`)),i}function zg(i){let e=[];for(let a=1;a<=12;a++){let t=F.utc(2009,a,1);e.push(i(t))}return e}function Bg(i){let e=[];for(let a=1;a<=7;a++){let t=F.utc(2016,11,13+a);e.push(i(t))}return e}function Ho(i,e,a,t){let n=i.listingMode();return n==="error"?null:n==="en"?a(e):t(e)}function Vg(i){return i.numberingSystem&&i.numberingSystem!=="latn"?!1:i.numberingSystem==="latn"||!i.locale||i.locale.startsWith("en")||new Intl.DateTimeFormat(i.intl).resolvedOptions().numberingSystem==="latn"}var vs=class{constructor(e,a,t){this.padTo=t.padTo||0,this.floor=t.floor||!1;let s=t,{padTo:n,floor:o}=s,r=Za(s,["padTo","floor"]);if(!a||Object.keys(r).length>0){let l=M({useGrouping:!1},t);t.padTo>0&&(l.minimumIntegerDigits=t.padTo),this.inf=Ng(e,l)}}format(e){if(this.inf){let a=this.floor?Math.floor(e):e;return this.inf.format(a)}else{let a=this.floor?Math.floor(e):_a(e,3);return De(a,this.padTo)}}},ys=class{constructor(e,a,t){this.opts=t,this.originalZone=void 0;let n;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let r=-1*(e.offset/60),s=r>=0?`Etc/GMT+${r}`:`Etc/GMT${r}`;e.offset!==0&<.create(s).valid?(n=s,this.dt=e):(n="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o=M({},this.opts);o.timeZone=o.timeZone||n,this.dtf=fs(a,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(a=>{if(a.type==="timeZoneName"){let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return ne(M({},a),{value:t})}else return a}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},_s=class{constructor(e,a,t){this.opts=M({style:"long"},t),!a&&jo()&&(this.rtf=Pg(e,t))}format(e,a){return this.rtf?this.rtf.format(e,a):su(a,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,a){return this.rtf?this.rtf.formatToParts(e,a):[]}},Jg={firstDay:1,minimalDays:4,weekend:[6,7]},ve=class i{static fromOpts(e){return i.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,a,t,n,o=!1){let r=e||ge.defaultLocale,s=r||(o?"en-US":Fg()),l=a||ge.defaultNumberingSystem,c=t||ge.defaultOutputCalendar,d=In(n)||ge.defaultWeekSettings;return new i(s,l,c,d,r)}static resetCache(){An=null,gs={},hs={},bs={}}static fromObject({locale:e,numberingSystem:a,outputCalendar:t,weekSettings:n}={}){return i.create(e,a,t,n)}constructor(e,a,t,n,o){let[r,s,l]=Hg(e);this.locale=r,this.numberingSystem=a||s||null,this.outputCalendar=t||l||null,this.weekSettings=n,this.intl=jg(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Vg(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),a=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&a?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:i.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,In(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone(ne(M({},e),{defaultToEN:!0}))}redefaultToSystem(e={}){return this.clone(ne(M({},e),{defaultToEN:!1}))}months(e,a=!1){return Ho(this,e,xs,()=>{let t=a?{month:e,day:"numeric"}:{month:e},n=a?"format":"standalone";return this.monthsCache[n][e]||(this.monthsCache[n][e]=zg(o=>this.extract(o,t,"month"))),this.monthsCache[n][e]})}weekdays(e,a=!1){return Ho(this,e,ws,()=>{let t=a?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=a?"format":"standalone";return this.weekdaysCache[n][e]||(this.weekdaysCache[n][e]=Bg(o=>this.extract(o,t,"weekday"))),this.weekdaysCache[n][e]})}meridiems(){return Ho(this,void 0,()=>Ss,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[F.utc(2016,11,13,9),F.utc(2016,11,13,19)].map(a=>this.extract(a,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ho(this,e,Cs,()=>{let a={era:e};return this.eraCache[e]||(this.eraCache[e]=[F.utc(-40,1,1),F.utc(2017,1,1)].map(t=>this.extract(t,a,"era"))),this.eraCache[e]})}extract(e,a,t){let n=this.dtFormatter(e,a),o=n.formatToParts(),r=o.find(s=>s.type.toLowerCase()===t);return r?r.value:null}numberFormatter(e={}){return new vs(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,a={}){return new ys(e,this.intl,a)}relFormatter(e={}){return new _s(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Lg(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:zo()?Rg(this.locale):Jg}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}};var Ts=null,Xe=class i extends vt{static get utcInstance(){return Ts===null&&(Ts=new i(0)),Ts}static instance(e){return e===0?i.utcInstance:new i(e)}static parseSpecifier(e){if(e){let a=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(a)return new i(Ji(a[1],a[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ki(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ki(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,a){return ki(this.fixed,a)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}};var Mn=class extends vt{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function Ft(i,e){let a;if(Z(i)||i===null)return e;if(i instanceof vt)return i;if(lu(i)){let t=i.toLowerCase();return t==="default"?e:t==="local"||t==="system"?Vi.instance:t==="utc"||t==="gmt"?Xe.utcInstance:Xe.parseSpecifier(t)||lt.create(i)}else return Qt(i)?Xe.instance(i):typeof i=="object"&&"offset"in i&&typeof i.offset=="function"?i:new Mn(i)}var cu=()=>Date.now(),uu="system",du=null,mu=null,pu=null,gu=60,fu,hu=null,ge=class{static get now(){return cu}static set now(e){cu=e}static set defaultZone(e){uu=e}static get defaultZone(){return Ft(uu,Vi.instance)}static get defaultLocale(){return du}static set defaultLocale(e){du=e}static get defaultNumberingSystem(){return mu}static set defaultNumberingSystem(e){mu=e}static get defaultOutputCalendar(){return pu}static set defaultOutputCalendar(e){pu=e}static get defaultWeekSettings(){return hu}static set defaultWeekSettings(e){hu=In(e)}static get twoDigitCutoffYear(){return gu}static set twoDigitCutoffYear(e){gu=e%100}static get throwOnInvalid(){return fu}static set throwOnInvalid(e){fu=e}static resetCaches(){ve.resetCache(),lt.resetCache()}};var et=class{constructor(e,a){this.reason=e,this.explanation=a}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}};var bu=[0,31,59,90,120,151,181,212,243,273,304,334],vu=[0,31,60,91,121,152,182,213,244,274,305,335];function Tt(i,e){return new et("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${i}, which is invalid`)}function Bo(i,e,a){let t=new Date(Date.UTC(i,e-1,a));i<100&&i>=0&&t.setUTCFullYear(t.getUTCFullYear()-1900);let n=t.getUTCDay();return n===0?7:n}function yu(i,e,a){return a+(Ui(i)?vu:bu)[e-1]}function _u(i,e){let a=Ui(i)?vu:bu,t=a.findIndex(o=>oWi(t,e,a)?(c=t+1,l=1):c=t,M({weekYear:c,weekNumber:l,weekday:s},Ln(i))}function qs(i,e=4,a=1){let{weekYear:t,weekNumber:n,weekday:o}=i,r=Vo(Bo(t,1,e),a),s=Ti(t),l=n*7+o-r-7+e,c;l<1?(c=t-1,l+=Ti(c)):l>s?(c=t+1,l-=Ti(t)):c=t;let{month:d,day:g}=_u(c,l);return M({year:c,month:d,day:g},Ln(i))}function Jo(i){let{year:e,month:a,day:t}=i,n=yu(e,a,t);return M({year:e,ordinal:n},Ln(i))}function Ds(i){let{year:e,ordinal:a}=i,{month:t,day:n}=_u(e,a);return M({year:e,month:t,day:n},Ln(i))}function As(i,e){if(!Z(i.localWeekday)||!Z(i.localWeekNumber)||!Z(i.localWeekYear)){if(!Z(i.weekday)||!Z(i.weekNumber)||!Z(i.weekYear))throw new Lt("Cannot mix locale-based week fields with ISO-based week fields");return Z(i.localWeekday)||(i.weekday=i.localWeekday),Z(i.localWeekNumber)||(i.weekNumber=i.localWeekNumber),Z(i.localWeekYear)||(i.weekYear=i.localWeekYear),delete i.localWeekday,delete i.localWeekNumber,delete i.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function xu(i,e=4,a=1){let t=On(i.weekYear),n=yt(i.weekNumber,1,Wi(i.weekYear,e,a)),o=yt(i.weekday,1,7);return t?n?o?!1:Tt("weekday",i.weekday):Tt("week",i.weekNumber):Tt("weekYear",i.weekYear)}function wu(i){let e=On(i.year),a=yt(i.ordinal,1,Ti(i.year));return e?a?!1:Tt("ordinal",i.ordinal):Tt("year",i.year)}function Is(i){let e=On(i.year),a=yt(i.month,1,12),t=yt(i.day,1,xa(i.year,i.month));return e?a?t?!1:Tt("day",i.day):Tt("month",i.month):Tt("year",i.year)}function Ms(i){let{hour:e,minute:a,second:t,millisecond:n}=i,o=yt(e,0,23)||e===24&&a===0&&t===0&&n===0,r=yt(a,0,59),s=yt(t,0,59),l=yt(n,0,999);return o?r?s?l?!1:Tt("millisecond",n):Tt("second",t):Tt("minute",a):Tt("hour",e)}function Z(i){return typeof i>"u"}function Qt(i){return typeof i=="number"}function On(i){return typeof i=="number"&&i%1===0}function lu(i){return typeof i=="string"}function Cu(i){return Object.prototype.toString.call(i)==="[object Date]"}function jo(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function zo(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function ku(i){return Array.isArray(i)?i:[i]}function Es(i,e,a){if(i.length!==0)return i.reduce((t,n)=>{let o=[e(n),n];return t&&a(t[0],o[0])===t[0]?t:o},null)[1]}function Tu(i,e){return e.reduce((a,t)=>(a[t]=i[t],a),{})}function qi(i,e){return Object.prototype.hasOwnProperty.call(i,e)}function In(i){if(i==null)return null;if(typeof i!="object")throw new je("Week settings must be an object");if(!yt(i.firstDay,1,7)||!yt(i.minimalDays,1,7)||!Array.isArray(i.weekend)||i.weekend.some(e=>!yt(e,1,7)))throw new je("Invalid week settings");return{firstDay:i.firstDay,minimalDays:i.minimalDays,weekend:Array.from(i.weekend)}}function yt(i,e,a){return On(i)&&i>=e&&i<=a}function Wg(i,e){return i-e*Math.floor(i/e)}function De(i,e=2){let a=i<0,t;return a?t="-"+(""+-i).padStart(e,"0"):t=(""+i).padStart(e,"0"),t}function ui(i){if(!(Z(i)||i===null||i===""))return parseInt(i,10)}function Di(i){if(!(Z(i)||i===null||i===""))return parseFloat(i)}function Nn(i){if(!(Z(i)||i===null||i==="")){let e=parseFloat("0."+i)*1e3;return Math.floor(e)}}function _a(i,e,a=!1){let t=10**e;return(a?Math.trunc:Math.round)(i*t)/t}function Ui(i){return i%4===0&&(i%100!==0||i%400===0)}function Ti(i){return Ui(i)?366:365}function xa(i,e){let a=Wg(e-1,12)+1,t=i+(e-a)/12;return a===2?Ui(t)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][a-1]}function ya(i){let e=Date.UTC(i.year,i.month-1,i.day,i.hour,i.minute,i.second,i.millisecond);return i.year<100&&i.year>=0&&(e=new Date(e),e.setUTCFullYear(i.year,i.month-1,i.day)),+e}function Su(i,e,a){return-Vo(Bo(i,1,e),a)+e-1}function Wi(i,e=4,a=1){let t=Su(i,e,a),n=Su(i+1,e,a);return(Ti(i)-t+n)/7}function Pn(i){return i>99?i:i>ge.twoDigitCutoffYear?1900+i:2e3+i}function Po(i,e,a,t=null){let n=new Date(i),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};t&&(o.timeZone=t);let r=M({timeZoneName:e},o),s=new Intl.DateTimeFormat(a,r).formatToParts(n).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function Ji(i,e){let a=parseInt(i,10);Number.isNaN(a)&&(a=0);let t=parseInt(e,10)||0,n=a<0||Object.is(a,-0)?-t:t;return a*60+n}function Os(i){let e=Number(i);if(typeof i=="boolean"||i===""||Number.isNaN(e))throw new je(`Invalid unit value ${i}`);return e}function wa(i,e){let a={};for(let t in i)if(qi(i,t)){let n=i[t];if(n==null)continue;a[e(t)]=Os(n)}return a}function ki(i,e){let a=Math.trunc(Math.abs(i/60)),t=Math.trunc(Math.abs(i%60)),n=i>=0?"+":"-";switch(e){case"short":return`${n}${De(a,2)}:${De(t,2)}`;case"narrow":return`${n}${a}${t>0?`:${t}`:""}`;case"techie":return`${n}${De(a,2)}${De(t,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ln(i){return Tu(i,["hour","minute","second","millisecond"])}var Ug=["January","February","March","April","May","June","July","August","September","October","November","December"],Ls=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gg=["J","F","M","A","M","J","J","A","S","O","N","D"];function xs(i){switch(i){case"narrow":return[...Gg];case"short":return[...Ls];case"long":return[...Ug];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ns=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ps=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],$g=["M","T","W","T","F","S","S"];function ws(i){switch(i){case"narrow":return[...$g];case"short":return[...Ps];case"long":return[...Ns];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ss=["AM","PM"],Zg=["Before Christ","Anno Domini"],Yg=["BC","AD"],Kg=["B","A"];function Cs(i){switch(i){case"narrow":return[...Kg];case"short":return[...Yg];case"long":return[...Zg];default:return null}}function qu(i){return Ss[i.hour<12?0:1]}function Du(i,e){return ws(e)[i.weekday-1]}function Au(i,e){return xs(e)[i.month-1]}function Iu(i,e){return Cs(e)[i.year<0?0:1]}function su(i,e,a="always",t=!1){let n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(i)===-1;if(a==="auto"&&o){let g=i==="days";switch(e){case 1:return g?"tomorrow":`next ${n[i][0]}`;case-1:return g?"yesterday":`last ${n[i][0]}`;case 0:return g?"today":`this ${n[i][0]}`;default:}}let r=Object.is(e,-0)||e<0,s=Math.abs(e),l=s===1,c=n[i],d=t?l?c[1]:c[2]||c[1]:l?n[i][0]:i;return r?`${s} ${d} ago`:`in ${s} ${d}`}function Mu(i,e){let a="";for(let t of i)t.literal?a+=t.val:a+=e(t.val);return a}var Qg={D:Ci,DD:un,DDD:dn,DDDD:mn,t:pn,tt:gn,ttt:fn,tttt:hn,T:bn,TT:vn,TTT:yn,TTTT:_n,f:xn,ff:Sn,fff:kn,ffff:qn,F:wn,FF:Cn,FFF:Tn,FFFF:Dn},tt=class i{static create(e,a={}){return new i(e,a)}static parseFormat(e){let a=null,t="",n=!1,o=[];for(let r=0;r0&&o.push({literal:n||/^\s+$/.test(t),val:t}),a=null,t="",n=!n):n||s===a?t+=s:(t.length>0&&o.push({literal:/^\s+$/.test(t),val:t}),t=s,a=s)}return t.length>0&&o.push({literal:n||/^\s+$/.test(t),val:t}),o}static macroTokenToFormatOpts(e){return Qg[e]}constructor(e,a){this.opts=a,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,a){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,M(M({},this.opts),a)).format()}dtFormatter(e,a={}){return this.loc.dtFormatter(e,M(M({},this.opts),a))}formatDateTime(e,a){return this.dtFormatter(e,a).format()}formatDateTimeParts(e,a){return this.dtFormatter(e,a).formatToParts()}formatInterval(e,a){return this.dtFormatter(e.start,a).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,a){return this.dtFormatter(e,a).resolvedOptions()}num(e,a=0){if(this.opts.forceSimple)return De(e,a);let t=M({},this.opts);return a>0&&(t.padTo=a),this.loc.numberFormatter(t).format(e)}formatDateTimeFromString(e,a){let t=this.loc.listingMode()==="en",n=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(y,_)=>this.loc.extract(e,y,_),r=y=>e.isOffsetFixed&&e.offset===0&&y.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,y.format):"",s=()=>t?qu(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(y,_)=>t?Au(e,y):o(_?{month:y}:{month:y,day:"numeric"},"month"),c=(y,_)=>t?Du(e,y):o(_?{weekday:y}:{weekday:y,month:"long",day:"numeric"},"weekday"),d=y=>{let _=i.macroTokenToFormatOpts(y);return _?this.formatWithSystemDefault(e,_):y},g=y=>t?Iu(e,y):o({era:y},"era"),x=y=>{switch(y){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return s();case"d":return n?o({day:"numeric"},"day"):this.num(e.day);case"dd":return n?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return n?o({month:"numeric"},"month"):this.num(e.month);case"MM":return n?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return n?o({year:"numeric"},"year"):this.num(e.year);case"yy":return n?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return g("short");case"GG":return g("long");case"GGGGG":return g("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(y)}};return Mu(i.parseFormat(a),x)}formatDurationFromString(e,a){let t=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=l=>c=>{let d=t(c);return d?this.num(l.get(d),c.length):c},o=i.parseFormat(a),r=o.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),s=e.shiftTo(...r.map(t).filter(l=>l));return Mu(o,n(s))}};var Ou=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ca(...i){let e=i.reduce((a,t)=>a+t.source,"");return RegExp(`^${e}$`)}function ka(...i){return e=>i.reduce(([a,t,n],o)=>{let[r,s,l]=o(e,n);return[M(M({},a),r),s||t,l]},[{},null,1]).slice(0,2)}function Ta(i,...e){if(i==null)return[null,null];for(let[a,t]of e){let n=a.exec(i);if(n)return t(n)}return[null,null]}function Lu(...i){return(e,a)=>{let t={},n;for(n=0;ny!==void 0&&(_||y&&d)?-y:y;return[{years:x(Di(a)),months:x(Di(t)),weeks:x(Di(n)),days:x(Di(o)),hours:x(Di(r)),minutes:x(Di(s)),seconds:x(Di(l),l==="-0"),milliseconds:x(Nn(c),g)}]}var mf={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Hs(i,e,a,t,n,o,r){let s={year:e.length===2?Pn(ui(e)):ui(e),month:Ls.indexOf(a)+1,day:ui(t),hour:ui(n),minute:ui(o)};return r&&(s.second=ui(r)),i&&(s.weekday=i.length>3?Ns.indexOf(i)+1:Ps.indexOf(i)+1),s}var pf=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function gf(i){let[,e,a,t,n,o,r,s,l,c,d,g]=i,x=Hs(e,n,t,a,o,r,s),y;return l?y=mf[l]:c?y=0:y=Ji(d,g),[x,new Xe(y)]}function ff(i){return i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var hf=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,bf=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,vf=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Eu(i){let[,e,a,t,n,o,r,s]=i;return[Hs(e,n,t,a,o,r,s),Xe.utcInstance]}function yf(i){let[,e,a,t,n,o,r,s]=i;return[Hs(e,s,a,t,n,o,r),Xe.utcInstance]}var _f=Ca(ef,Rs),xf=Ca(tf,Rs),wf=Ca(af,Rs),Sf=Ca(Pu),Ru=ka(lf,qa,Fn,Rn),Cf=ka(nf,qa,Fn,Rn),kf=ka(of,qa,Fn,Rn),Tf=ka(qa,Fn,Rn);function Hu(i){return Ta(i,[_f,Ru],[xf,Cf],[wf,kf],[Sf,Tf])}function ju(i){return Ta(ff(i),[pf,gf])}function zu(i){return Ta(i,[hf,Eu],[bf,Eu],[vf,yf])}function Bu(i){return Ta(i,[uf,df])}var qf=ka(qa);function Vu(i){return Ta(i,[cf,qf])}var Df=Ca(rf,sf),Af=Ca(Fu),If=ka(qa,Fn,Rn);function Ju(i){return Ta(i,[Df,Ru],[Af,If])}var Wu="Invalid Duration",Gu={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Mf=M({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Gu),qt=146097/400,Da=146097/4800,Ef=M({years:{quarters:4,months:12,weeks:qt/7,days:qt,hours:qt*24,minutes:qt*24*60,seconds:qt*24*60*60,milliseconds:qt*24*60*60*1e3},quarters:{months:3,weeks:qt/28,days:qt/4,hours:qt*24/4,minutes:qt*24*60/4,seconds:qt*24*60*60/4,milliseconds:qt*24*60*60*1e3/4},months:{weeks:Da/7,days:Da,hours:Da*24,minutes:Da*24*60,seconds:Da*24*60*60,milliseconds:Da*24*60*60*1e3}},Gu),Gi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Of=Gi.slice(0).reverse();function Ai(i,e,a=!1){let t={values:a?e.values:M(M({},i.values),e.values||{}),loc:i.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||i.conversionAccuracy,matrix:e.matrix||i.matrix};return new Ee(t)}function $u(i,e){let a=e.milliseconds??0;for(let t of Of.slice(1))e[t]&&(a+=e[t]*i[t].milliseconds);return a}function Uu(i,e){let a=$u(i,e)<0?-1:1;Gi.reduceRight((t,n)=>{if(Z(e[n]))return t;if(t){let o=e[t]*a,r=i[n][t],s=Math.floor(o/r);e[n]+=s*a,e[t]-=s*r*a}return n},null),Gi.reduce((t,n)=>{if(Z(e[n]))return t;if(t){let o=e[t]%1;e[t]-=o,e[n]+=o*i[t][n]}return n},null)}function Lf(i){let e={};for(let[a,t]of Object.entries(i))t!==0&&(e[a]=t);return e}var Ee=class i{constructor(e){let a=e.conversionAccuracy==="longterm"||!1,t=a?Ef:Mf;e.matrix&&(t=e.matrix),this.values=e.values,this.loc=e.loc||ve.create(),this.conversionAccuracy=a?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t,this.isLuxonDuration=!0}static fromMillis(e,a){return i.fromObject({milliseconds:e},a)}static fromObject(e,a={}){if(e==null||typeof e!="object")throw new je(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new i({values:wa(e,i.normalizeUnit),loc:ve.fromObject(a),conversionAccuracy:a.conversionAccuracy,matrix:a.matrix})}static fromDurationLike(e){if(Qt(e))return i.fromMillis(e);if(i.isDuration(e))return e;if(typeof e=="object")return i.fromObject(e);throw new je(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,a){let[t]=Bu(e);return t?i.fromObject(t,a):i.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,a){let[t]=Vu(e);return t?i.fromObject(t,a):i.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,a=null){if(!e)throw new je("need to specify a reason the Duration is invalid");let t=e instanceof et?e:new et(e,a);if(ge.throwOnInvalid)throw new Lo(t);return new i({invalid:t})}static normalizeUnit(e){let a={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!a)throw new va(e);return a}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,a={}){let t=ne(M({},a),{floor:a.round!==!1&&a.floor!==!1});return this.isValid?tt.create(this.loc,t).formatDurationFromString(this,e):Wu}toHuman(e={}){if(!this.isValid)return Wu;let a=Gi.map(t=>{let n=this.values[t];return Z(n)?null:this.loc.numberFormatter(ne(M({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(n)}).filter(t=>t);return this.loc.listFormatter(M({type:"conjunction",style:e.listStyle||"narrow"},e)).format(a)}toObject(){return this.isValid?M({},this.values):{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=_a(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let a=this.toMillis();return a<0||a>=864e5?null:(e=ne(M({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e),{includeOffset:!1}),F.fromMillis(a,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?$u(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let a=i.fromDurationLike(e),t={};for(let n of Gi)(qi(a.values,n)||qi(this.values,n))&&(t[n]=a.get(n)+this.get(n));return Ai(this,{values:t},!0)}minus(e){if(!this.isValid)return this;let a=i.fromDurationLike(e);return this.plus(a.negate())}mapUnits(e){if(!this.isValid)return this;let a={};for(let t of Object.keys(this.values))a[t]=Os(e(this.values[t],t));return Ai(this,{values:a},!0)}get(e){return this[i.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let a=M(M({},this.values),wa(e,i.normalizeUnit));return Ai(this,{values:a})}reconfigure({locale:e,numberingSystem:a,conversionAccuracy:t,matrix:n}={}){let r={loc:this.loc.clone({locale:e,numberingSystem:a}),matrix:n,conversionAccuracy:t};return Ai(this,r)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Uu(this.matrix,e),Ai(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Lf(this.normalize().shiftToAll().toObject());return Ai(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(r=>i.normalizeUnit(r));let a={},t={},n=this.toObject(),o;for(let r of Gi)if(e.indexOf(r)>=0){o=r;let s=0;for(let c in t)s+=this.matrix[c][r]*t[c],t[c]=0;Qt(n[r])&&(s+=n[r]);let l=Math.trunc(s);a[r]=l,t[r]=(s*1e3-l*1e3)/1e3}else Qt(n[r])&&(t[r]=n[r]);for(let r in t)t[r]!==0&&(a[o]+=r===o?t[r]:t[r]/this.matrix[o][r]);return Uu(this.matrix,a),Ai(this,{values:a},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let a of Object.keys(this.values))e[a]=this.values[a]===0?0:-this.values[a];return Ai(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function a(t,n){return t===void 0||t===0?n===void 0||n===0:t===n}for(let t of Gi)if(!a(this.values[t],e.values[t]))return!1;return!0}};var Aa="Invalid Interval";function Nf(i,e){return!i||!i.isValid?Ii.invalid("missing or invalid start"):!e||!e.isValid?Ii.invalid("missing or invalid end"):ee:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:a}={}){return this.isValid?i.fromDateTimes(e||this.s,a||this.e):this}splitAt(...e){if(!this.isValid)return[];let a=e.map(Ia).filter(r=>this.contains(r)).sort((r,s)=>r.toMillis()-s.toMillis()),t=[],{s:n}=this,o=0;for(;n+this.e?this.e:r;t.push(i.fromDateTimes(n,s)),n=s,o+=1}return t}splitBy(e){let a=Ee.fromDurationLike(e);if(!this.isValid||!a.isValid||a.as("milliseconds")===0)return[];let{s:t}=this,n=1,o,r=[];for(;tl*n));o=+s>+this.e?this.e:s,r.push(i.fromDateTimes(t,o)),t=o,n+=1}return r}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let a=this.s>e.s?this.s:e.s,t=this.e=t?null:i.fromDateTimes(a,t)}union(e){if(!this.isValid)return this;let a=this.se.e?this.e:e.e;return i.fromDateTimes(a,t)}static merge(e){let[a,t]=e.sort((n,o)=>n.s-o.s).reduce(([n,o],r)=>o?o.overlaps(r)||o.abutsStart(r)?[n,o.union(r)]:[n.concat([o]),r]:[n,r],[[],null]);return t&&a.push(t),a}static xor(e){let a=null,t=0,n=[],o=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),r=Array.prototype.concat(...o),s=r.sort((l,c)=>l.time-c.time);for(let l of s)t+=l.type==="s"?1:-1,t===1?a=l.time:(a&&+a!=+l.time&&n.push(i.fromDateTimes(a,l.time)),a=null);return i.merge(n)}difference(...e){return i.xor([this].concat(e)).map(a=>this.intersection(a)).filter(a=>a&&!a.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Aa}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ci,a={}){return this.isValid?tt.create(this.s.loc.clone(a),e).formatInterval(this):Aa}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Aa}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Aa}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Aa}toFormat(e,{separator:a=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${a}${this.e.toFormat(e)}`:Aa}toDuration(e,a){return this.isValid?this.e.diff(this.s,e,a):Ee.invalid(this.invalidReason)}mapEndpoints(e){return i.fromDateTimes(e(this.s),e(this.e))}};var Rt=class{static hasDST(e=ge.defaultZone){let a=F.now().setZone(e).set({month:12});return!e.isUniversal&&a.offset!==a.set({month:6}).offset}static isValidIANAZone(e){return lt.isValidZone(e)}static normalizeZone(e){return Ft(e,ge.defaultZone)}static getStartOfWeek({locale:e=null,locObj:a=null}={}){return(a||ve.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:a=null}={}){return(a||ve.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:a=null}={}){return(a||ve.create(e)).getWeekendDays().slice()}static months(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null,outputCalendar:o="gregory"}={}){return(n||ve.create(a,t,o)).months(e)}static monthsFormat(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null,outputCalendar:o="gregory"}={}){return(n||ve.create(a,t,o)).months(e,!0)}static weekdays(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null}={}){return(n||ve.create(a,t,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:a=null,numberingSystem:t=null,locObj:n=null}={}){return(n||ve.create(a,t,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return ve.create(e).meridiems()}static eras(e="short",{locale:a=null}={}){return ve.create(a,null,"gregory").eras(e)}static features(){return{relative:jo(),localeWeek:zo()}}};function Zu(i,e){let a=n=>n.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),t=a(e)-a(i);return Math.floor(Ee.fromMillis(t).as("days"))}function Pf(i,e,a){let t=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{let d=Zu(l,c);return(d-d%7)/7}],["days",Zu]],n={},o=i,r,s;for(let[l,c]of t)a.indexOf(l)>=0&&(r=l,n[l]=c(i,e),s=o.plus(n),s>e?(n[l]--,i=o.plus(n),i>e&&(s=i,n[l]--,i=o.plus(n))):i=s);return[i,n,s,r]}function Yu(i,e,a,t){let[n,o,r,s]=Pf(i,e,a),l=e-n,c=a.filter(g=>["hours","minutes","seconds","milliseconds"].indexOf(g)>=0);c.length===0&&(r0?Ee.fromMillis(l,t).shiftTo(...c).plus(d):d}var js={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Ku={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ff=js.hanidec.replace(/[\[|\]]/g,"").split("");function Qu(i){let e=parseInt(i,10);if(isNaN(e)){e="";for(let a=0;a=o&&t<=r&&(e+=t-o)}}return parseInt(e,10)}else return e}function Dt({numberingSystem:i},e=""){return new RegExp(`${js[i||"latn"]}${e}`)}var Rf="missing Intl.DateTimeFormat.formatToParts support";function me(i,e=a=>a){return{regex:i,deser:([a])=>e(Qu(a))}}var Hf="\xA0",td=`[ ${Hf}]`,id=new RegExp(td,"g");function jf(i){return i.replace(/\./g,"\\.?").replace(id,td)}function Xu(i){return i.replace(/\./g,"").replace(id," ").toLowerCase()}function Ht(i,e){return i===null?null:{regex:RegExp(i.map(jf).join("|")),deser:([a])=>i.findIndex(t=>Xu(a)===Xu(t))+e}}function ed(i,e){return{regex:i,deser:([,a,t])=>Ji(a,t),groups:e}}function Wo(i){return{regex:i,deser:([e])=>e}}function zf(i){return i.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Bf(i,e){let a=Dt(e),t=Dt(e,"{2}"),n=Dt(e,"{3}"),o=Dt(e,"{4}"),r=Dt(e,"{6}"),s=Dt(e,"{1,2}"),l=Dt(e,"{1,3}"),c=Dt(e,"{1,6}"),d=Dt(e,"{1,9}"),g=Dt(e,"{2,4}"),x=Dt(e,"{4,6}"),y=O=>({regex:RegExp(zf(O.val)),deser:([S])=>S,literal:!0}),D=(O=>{if(i.literal)return y(O);switch(O.val){case"G":return Ht(e.eras("short"),0);case"GG":return Ht(e.eras("long"),0);case"y":return me(c);case"yy":return me(g,Pn);case"yyyy":return me(o);case"yyyyy":return me(x);case"yyyyyy":return me(r);case"M":return me(s);case"MM":return me(t);case"MMM":return Ht(e.months("short",!0),1);case"MMMM":return Ht(e.months("long",!0),1);case"L":return me(s);case"LL":return me(t);case"LLL":return Ht(e.months("short",!1),1);case"LLLL":return Ht(e.months("long",!1),1);case"d":return me(s);case"dd":return me(t);case"o":return me(l);case"ooo":return me(n);case"HH":return me(t);case"H":return me(s);case"hh":return me(t);case"h":return me(s);case"mm":return me(t);case"m":return me(s);case"q":return me(s);case"qq":return me(t);case"s":return me(s);case"ss":return me(t);case"S":return me(l);case"SSS":return me(n);case"u":return Wo(d);case"uu":return Wo(s);case"uuu":return me(a);case"a":return Ht(e.meridiems(),0);case"kkkk":return me(o);case"kk":return me(g,Pn);case"W":return me(s);case"WW":return me(t);case"E":case"c":return me(a);case"EEE":return Ht(e.weekdays("short",!1),1);case"EEEE":return Ht(e.weekdays("long",!1),1);case"ccc":return Ht(e.weekdays("short",!0),1);case"cccc":return Ht(e.weekdays("long",!0),1);case"Z":case"ZZ":return ed(new RegExp(`([+-]${s.source})(?::(${t.source}))?`),2);case"ZZZ":return ed(new RegExp(`([+-]${s.source})(${t.source})?`),2);case"z":return Wo(/[a-z_+-/]{1,256}?/i);case" ":return Wo(/[^\S\n\r]/);default:return y(O)}})(i)||{invalidReason:Rf};return D.token=i,D}var Vf={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Jf(i,e,a){let{type:t,value:n}=i;if(t==="literal"){let l=/^\s+$/.test(n);return{literal:!l,val:l?" ":n}}let o=e[t],r=t;t==="hour"&&(e.hour12!=null?r=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?r="hour12":r="hour24":r=a.hour12?"hour12":"hour24");let s=Vf[r];if(typeof s=="object"&&(s=s[o]),s)return{literal:!1,val:s}}function Wf(i){return[`^${i.map(a=>a.regex).reduce((a,t)=>`${a}(${t.source})`,"")}$`,i]}function Uf(i,e,a){let t=i.match(e);if(t){let n={},o=1;for(let r in a)if(qi(a,r)){let s=a[r],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(n[s.token.val[0]]=s.deser(t.slice(o,o+l))),o+=l}return[t,n]}else return[t,{}]}function Gf(i){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},a=null,t;return Z(i.z)||(a=lt.create(i.z)),Z(i.Z)||(a||(a=new Xe(i.Z)),t=i.Z),Z(i.q)||(i.M=(i.q-1)*3+1),Z(i.h)||(i.h<12&&i.a===1?i.h+=12:i.h===12&&i.a===0&&(i.h=0)),i.G===0&&i.y&&(i.y=-i.y),Z(i.u)||(i.S=Nn(i.u)),[Object.keys(i).reduce((o,r)=>{let s=e(r);return s&&(o[s]=i[r]),o},{}),a,t]}var zs=null;function $f(){return zs||(zs=F.fromMillis(1555555555555)),zs}function Zf(i,e){if(i.literal)return i;let a=tt.macroTokenToFormatOpts(i.val),t=Js(a,e);return t==null||t.includes(void 0)?i:t}function Bs(i,e){return Array.prototype.concat(...i.map(a=>Zf(a,e)))}function Vs(i,e,a){let t=Bs(tt.parseFormat(a),i),n=t.map(r=>Bf(r,i)),o=n.find(r=>r.invalidReason);if(o)return{input:e,tokens:t,invalidReason:o.invalidReason};{let[r,s]=Wf(n),l=RegExp(r,"i"),[c,d]=Uf(e,l,s),[g,x,y]=d?Gf(d):[null,null,void 0];if(qi(d,"a")&&qi(d,"H"))throw new Lt("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:t,regex:l,rawMatches:c,matches:d,result:g,zone:x,specificOffset:y}}}function ad(i,e,a){let{result:t,zone:n,specificOffset:o,invalidReason:r}=Vs(i,e,a);return[t,n,o,r]}function Js(i,e){if(!i)return null;let t=tt.create(e,i).dtFormatter($f()),n=t.formatToParts(),o=t.resolvedOptions();return n.map(r=>Jf(r,i,o))}var Ws="Invalid DateTime",nd=864e13;function Uo(i){return new et("unsupported zone",`the zone "${i.name}" is not supported`)}function Us(i){return i.weekData===null&&(i.weekData=En(i.c)),i.weekData}function Gs(i){return i.localWeekData===null&&(i.localWeekData=En(i.c,i.loc.getMinDaysInFirstWeek(),i.loc.getStartOfWeek())),i.localWeekData}function $i(i,e){let a={ts:i.ts,zone:i.zone,c:i.c,o:i.o,loc:i.loc,invalid:i.invalid};return new F(ne(M(M({},a),e),{old:a}))}function dd(i,e,a){let t=i-e*60*1e3,n=a.offset(t);if(e===n)return[t,e];t-=(n-e)*60*1e3;let o=a.offset(t);return n===o?[t,n]:[i-Math.min(n,o)*60*1e3,Math.max(n,o)]}function Go(i,e){i+=e*60*1e3;let a=new Date(i);return{year:a.getUTCFullYear(),month:a.getUTCMonth()+1,day:a.getUTCDate(),hour:a.getUTCHours(),minute:a.getUTCMinutes(),second:a.getUTCSeconds(),millisecond:a.getUTCMilliseconds()}}function Zo(i,e,a){return dd(ya(i),e,a)}function od(i,e){let a=i.o,t=i.c.year+Math.trunc(e.years),n=i.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o=ne(M({},i.c),{year:t,month:n,day:Math.min(i.c.day,xa(t,n))+Math.trunc(e.days)+Math.trunc(e.weeks)*7}),r=Ee.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),s=ya(o),[l,c]=dd(s,a,i.zone);return r!==0&&(l+=r,c=i.zone.offset(l)),{ts:l,o:c}}function Hn(i,e,a,t,n,o){let{setZone:r,zone:s}=a;if(i&&Object.keys(i).length!==0||e){let l=e||s,c=F.fromObject(i,ne(M({},a),{zone:l,specificOffset:o}));return r?c:c.setZone(s)}else return F.invalid(new et("unparsable",`the input "${n}" can't be parsed as ${t}`))}function $o(i,e,a=!0){return i.isValid?tt.create(ve.create("en-US"),{allowZ:a,forceSimple:!0}).formatDateTimeFromString(i,e):null}function $s(i,e){let a=i.c.year>9999||i.c.year<0,t="";return a&&i.c.year>=0&&(t+="+"),t+=De(i.c.year,a?6:4),e?(t+="-",t+=De(i.c.month),t+="-",t+=De(i.c.day)):(t+=De(i.c.month),t+=De(i.c.day)),t}function rd(i,e,a,t,n,o){let r=De(i.c.hour);return e?(r+=":",r+=De(i.c.minute),(i.c.millisecond!==0||i.c.second!==0||!a)&&(r+=":")):r+=De(i.c.minute),(i.c.millisecond!==0||i.c.second!==0||!a)&&(r+=De(i.c.second),(i.c.millisecond!==0||!t)&&(r+=".",r+=De(i.c.millisecond,3))),n&&(i.isOffsetFixed&&i.offset===0&&!o?r+="Z":i.o<0?(r+="-",r+=De(Math.trunc(-i.o/60)),r+=":",r+=De(Math.trunc(-i.o%60))):(r+="+",r+=De(Math.trunc(i.o/60)),r+=":",r+=De(Math.trunc(i.o%60)))),o&&(r+="["+i.zone.ianaName+"]"),r}var md={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Yf={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Kf={ordinal:1,hour:0,minute:0,second:0,millisecond:0},pd=["year","month","day","hour","minute","second","millisecond"],Qf=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Xf=["year","ordinal","hour","minute","second","millisecond"];function eh(i){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[i.toLowerCase()];if(!e)throw new va(i);return e}function sd(i){switch(i.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return eh(i)}}function ld(i,e){let a=Ft(e.zone,ge.defaultZone),t=ve.fromObject(e),n=ge.now(),o,r;if(Z(i.year))o=n;else{for(let c of pd)Z(i[c])&&(i[c]=md[c]);let s=Is(i)||Ms(i);if(s)return F.invalid(s);let l=a.offset(n);[o,r]=Zo(i,l,a)}return new F({ts:o,zone:a,loc:t,o:r})}function cd(i,e,a){let t=Z(a.round)?!0:a.round,n=(r,s)=>(r=_a(r,t||a.calendary?0:2,!0),e.loc.clone(a).relFormatter(a).format(r,s)),o=r=>a.calendary?e.hasSame(i,r)?0:e.startOf(r).diff(i.startOf(r),r).get(r):e.diff(i,r).get(r);if(a.unit)return n(o(a.unit),a.unit);for(let r of a.units){let s=o(r);if(Math.abs(s)>=1)return n(s,r)}return n(i>e?-0:0,a.units[a.units.length-1])}function ud(i){let e={},a;return i.length>0&&typeof i[i.length-1]=="object"?(e=i[i.length-1],a=Array.from(i).slice(0,i.length-1)):a=Array.from(i),[e,a]}var F=class i{constructor(e){let a=e.zone||ge.defaultZone,t=e.invalid||(Number.isNaN(e.ts)?new et("invalid input"):null)||(a.isValid?null:Uo(a));this.ts=Z(e.ts)?ge.now():e.ts;let n=null,o=null;if(!t)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(a))[n,o]=[e.old.c,e.old.o];else{let s=a.offset(this.ts);n=Go(this.ts,s),t=Number.isNaN(n.year)?new et("invalid input"):null,n=t?null:n,o=t?null:s}this._zone=a,this.loc=e.loc||ve.create(),this.invalid=t,this.weekData=null,this.localWeekData=null,this.c=n,this.o=o,this.isLuxonDateTime=!0}static now(){return new i({})}static local(){let[e,a]=ud(arguments),[t,n,o,r,s,l,c]=a;return ld({year:t,month:n,day:o,hour:r,minute:s,second:l,millisecond:c},e)}static utc(){let[e,a]=ud(arguments),[t,n,o,r,s,l,c]=a;return e.zone=Xe.utcInstance,ld({year:t,month:n,day:o,hour:r,minute:s,second:l,millisecond:c},e)}static fromJSDate(e,a={}){let t=Cu(e)?e.valueOf():NaN;if(Number.isNaN(t))return i.invalid("invalid input");let n=Ft(a.zone,ge.defaultZone);return n.isValid?new i({ts:t,zone:n,loc:ve.fromObject(a)}):i.invalid(Uo(n))}static fromMillis(e,a={}){if(Qt(e))return e<-nd||e>nd?i.invalid("Timestamp out of range"):new i({ts:e,zone:Ft(a.zone,ge.defaultZone),loc:ve.fromObject(a)});throw new je(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,a={}){if(Qt(e))return new i({ts:e*1e3,zone:Ft(a.zone,ge.defaultZone),loc:ve.fromObject(a)});throw new je("fromSeconds requires a numerical input")}static fromObject(e,a={}){e=e||{};let t=Ft(a.zone,ge.defaultZone);if(!t.isValid)return i.invalid(Uo(t));let n=ve.fromObject(a),o=wa(e,sd),{minDaysInFirstWeek:r,startOfWeek:s}=As(o,n),l=ge.now(),c=Z(a.specificOffset)?t.offset(l):a.specificOffset,d=!Z(o.ordinal),g=!Z(o.year),x=!Z(o.month)||!Z(o.day),y=g||x,_=o.weekYear||o.weekNumber;if((y||d)&&_)throw new Lt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(x&&d)throw new Lt("Can't mix ordinal dates with month/day");let D=_||o.weekday&&!y,O,S,q=Go(l,c);D?(O=Qf,S=Yf,q=En(q,r,s)):d?(O=Xf,S=Kf,q=Jo(q)):(O=pd,S=md);let j=!1;for(let $e of O){let Bt=o[$e];Z(Bt)?j?o[$e]=S[$e]:o[$e]=q[$e]:j=!0}let B=D?xu(o,r,s):d?wu(o):Is(o),pe=B||Ms(o);if(pe)return i.invalid(pe);let ie=D?qs(o,r,s):d?Ds(o):o,[we,he]=Zo(ie,c,t),Me=new i({ts:we,zone:t,o:he,loc:n});return o.weekday&&y&&e.weekday!==Me.weekday?i.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${Me.toISO()}`):Me}static fromISO(e,a={}){let[t,n]=Hu(e);return Hn(t,n,a,"ISO 8601",e)}static fromRFC2822(e,a={}){let[t,n]=ju(e);return Hn(t,n,a,"RFC 2822",e)}static fromHTTP(e,a={}){let[t,n]=zu(e);return Hn(t,n,a,"HTTP",a)}static fromFormat(e,a,t={}){if(Z(e)||Z(a))throw new je("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:o=null}=t,r=ve.fromOpts({locale:n,numberingSystem:o,defaultToEN:!0}),[s,l,c,d]=ad(r,e,a);return d?i.invalid(d):Hn(s,l,t,`format ${a}`,e,c)}static fromString(e,a,t={}){return i.fromFormat(e,a,t)}static fromSQL(e,a={}){let[t,n]=Ju(e);return Hn(t,n,a,"SQL",e)}static invalid(e,a=null){if(!e)throw new je("need to specify a reason the DateTime is invalid");let t=e instanceof et?e:new et(e,a);if(ge.throwOnInvalid)throw new Eo(t);return new i({invalid:t})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,a={}){let t=Js(e,ve.fromObject(a));return t?t.map(n=>n?n.val:null).join(""):null}static expandFormat(e,a={}){return Bs(tt.parseFormat(e),ve.fromObject(a)).map(n=>n.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Us(this).weekYear:NaN}get weekNumber(){return this.isValid?Us(this).weekNumber:NaN}get weekday(){return this.isValid?Us(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Gs(this).weekday:NaN}get localWeekNumber(){return this.isValid?Gs(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Gs(this).weekYear:NaN}get ordinal(){return this.isValid?Jo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Rt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Rt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Rt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Rt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,a=6e4,t=ya(this.c),n=this.zone.offset(t-e),o=this.zone.offset(t+e),r=this.zone.offset(t-n*a),s=this.zone.offset(t-o*a);if(r===s)return[this];let l=t-r*a,c=t-s*a,d=Go(l,r),g=Go(c,s);return d.hour===g.hour&&d.minute===g.minute&&d.second===g.second&&d.millisecond===g.millisecond?[$i(this,{ts:l}),$i(this,{ts:c})]:[this]}get isInLeapYear(){return Ui(this.year)}get daysInMonth(){return xa(this.year,this.month)}get daysInYear(){return this.isValid?Ti(this.year):NaN}get weeksInWeekYear(){return this.isValid?Wi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Wi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:a,numberingSystem:t,calendar:n}=tt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:a,numberingSystem:t,outputCalendar:n}}toUTC(e=0,a={}){return this.setZone(Xe.instance(e),a)}toLocal(){return this.setZone(ge.defaultZone)}setZone(e,{keepLocalTime:a=!1,keepCalendarTime:t=!1}={}){if(e=Ft(e,ge.defaultZone),e.equals(this.zone))return this;if(e.isValid){let n=this.ts;if(a||t){let o=e.offset(this.ts),r=this.toObject();[n]=Zo(r,o,e)}return $i(this,{ts:n,zone:e})}else return i.invalid(Uo(e))}reconfigure({locale:e,numberingSystem:a,outputCalendar:t}={}){let n=this.loc.clone({locale:e,numberingSystem:a,outputCalendar:t});return $i(this,{loc:n})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let a=wa(e,sd),{minDaysInFirstWeek:t,startOfWeek:n}=As(a,this.loc),o=!Z(a.weekYear)||!Z(a.weekNumber)||!Z(a.weekday),r=!Z(a.ordinal),s=!Z(a.year),l=!Z(a.month)||!Z(a.day),c=s||l,d=a.weekYear||a.weekNumber;if((c||r)&&d)throw new Lt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&r)throw new Lt("Can't mix ordinal dates with month/day");let g;o?g=qs(M(M({},En(this.c,t,n)),a),t,n):Z(a.ordinal)?(g=M(M({},this.toObject()),a),Z(a.day)&&(g.day=Math.min(xa(g.year,g.month),g.day))):g=Ds(M(M({},Jo(this.c)),a));let[x,y]=Zo(g,this.o,this.zone);return $i(this,{ts:x,o:y})}plus(e){if(!this.isValid)return this;let a=Ee.fromDurationLike(e);return $i(this,od(this,a))}minus(e){if(!this.isValid)return this;let a=Ee.fromDurationLike(e).negate();return $i(this,od(this,a))}startOf(e,{useLocaleWeeks:a=!1}={}){if(!this.isValid)return this;let t={},n=Ee.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0;break;case"milliseconds":break}if(n==="weeks")if(a){let o=this.loc.getStartOfWeek(),{weekday:r}=this;rthis.valueOf(),s=r?this:e,l=r?e:this,c=Yu(s,l,o,n);return r?c.negate():c}diffNow(e="milliseconds",a={}){return this.diff(i.now(),e,a)}until(e){return this.isValid?Ii.fromDateTimes(this,e):this}hasSame(e,a,t){if(!this.isValid)return!1;let n=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(a,t)<=n&&n<=o.endOf(a,t)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let a=e.base||i.fromObject({},{zone:this.zone}),t=e.padding?thisa.valueOf(),Math.min)}static max(...e){if(!e.every(i.isDateTime))throw new je("max requires all arguments be DateTimes");return Es(e,a=>a.valueOf(),Math.max)}static fromFormatExplain(e,a,t={}){let{locale:n=null,numberingSystem:o=null}=t,r=ve.fromOpts({locale:n,numberingSystem:o,defaultToEN:!0});return Vs(r,e,a)}static fromStringExplain(e,a,t={}){return i.fromFormatExplain(e,a,t)}static get DATE_SHORT(){return Ci}static get DATE_MED(){return un}static get DATE_MED_WITH_WEEKDAY(){return ds}static get DATE_FULL(){return dn}static get DATE_HUGE(){return mn}static get TIME_SIMPLE(){return pn}static get TIME_WITH_SECONDS(){return gn}static get TIME_WITH_SHORT_OFFSET(){return fn}static get TIME_WITH_LONG_OFFSET(){return hn}static get TIME_24_SIMPLE(){return bn}static get TIME_24_WITH_SECONDS(){return vn}static get TIME_24_WITH_SHORT_OFFSET(){return yn}static get TIME_24_WITH_LONG_OFFSET(){return _n}static get DATETIME_SHORT(){return xn}static get DATETIME_SHORT_WITH_SECONDS(){return wn}static get DATETIME_MED(){return Sn}static get DATETIME_MED_WITH_SECONDS(){return Cn}static get DATETIME_MED_WITH_WEEKDAY(){return ms}static get DATETIME_FULL(){return kn}static get DATETIME_FULL_WITH_SECONDS(){return Tn}static get DATETIME_HUGE(){return qn}static get DATETIME_HUGE_WITH_SECONDS(){return Dn}};function Ia(i){if(F.isDateTime(i))return i;if(i&&i.valueOf&&Qt(i.valueOf()))return F.fromJSDate(i);if(i&&typeof i=="object")return F.fromObject(i);throw new je(`Unknown datetime argument: ${i}, of type ${typeof i}`)}var th=new be("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:ih});function ih(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}function ah(i,e){let a=Array(i);for(let t=0;t{let e=class e extends vo{constructor(t,n){super(),this._useUTC=!!n?.useUtc,this._firstDayOfWeek=n?.firstDayOfWeek||0,this._defaultOutputCalendar=n?.defaultOutputCalendar||"gregory",this.setLocale(t||F.local().locale)}getYear(t){return t.year}getMonth(t){return t.month-1}getDate(t){return t.day}getDayOfWeek(t){return t.weekday}getMonthNames(t){return Rt.months(t,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ah(31,n=>t.format(F.utc(2017,1,n+1).toJSDate()))}getDayOfWeekNames(t){let n=Rt.weekdays(t,{locale:this.locale});return n.unshift(n.pop()),n}getYearName(t){return t.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(t){return t.daysInMonth}clone(t){return F.fromObject(t.toObject(),this._getOptions())}createDate(t,n,o){let r=this._getOptions();if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(o<1)throw Error(`Invalid date "${o}". Date has to be greater than 0.`);let s=this._useUTC?F.utc(t,n+1,o,r):F.local(t,n+1,o,r);if(!this.isValid(s))throw Error(`Invalid date "${o}". Reason: "${s.invalidReason}".`);return s}today(){let t=this._getOptions();return this._useUTC?F.utc(t):F.local(t)}parse(t,n){let o=this._getOptions();if(typeof t=="string"&&t.length>0){let r=F.fromISO(t,o);if(this.isValid(r))return r;let s=Array.isArray(n)?n:[n];if(!n.length)throw Error("Formats array must not be empty.");for(let l of s){let c=F.fromFormat(t,l,o);if(this.isValid(c))return c}return this.invalid()}else{if(typeof t=="number")return F.fromMillis(t,o);if(t instanceof Date)return F.fromJSDate(t,o);if(t instanceof F)return F.fromMillis(t.toMillis(),o)}return null}format(t,n){if(!this.isValid(t))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?t.setLocale(this.locale).setZone("utc").toFormat(n):t.setLocale(this.locale).toFormat(n)}addCalendarYears(t,n){return t.reconfigure(this._getOptions()).plus({years:n})}addCalendarMonths(t,n){return t.reconfigure(this._getOptions()).plus({months:n})}addCalendarDays(t,n){return t.reconfigure(this._getOptions()).plus({days:n})}toIso8601(t){return t.toISO()}deserialize(t){let n=this._getOptions(),o;if(t instanceof Date&&(o=F.fromJSDate(t,n)),typeof t=="string"){if(!t)return null;o=F.fromISO(t,n)}return o&&this.isValid(o)?o:super.deserialize(t)}isDateInstance(t){return t instanceof F}isValid(t){return t.isValid}invalid(){return F.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}};e.\u0275fac=function(n){return new(n||e)(L(Sc,8),L(th,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function fd(i){return new ue(3e3,!1)}function nh(){return new ue(3100,!1)}function oh(){return new ue(3101,!1)}function rh(i){return new ue(3001,!1)}function sh(i){return new ue(3003,!1)}function lh(i){return new ue(3004,!1)}function ch(i,e){return new ue(3005,!1)}function uh(){return new ue(3006,!1)}function dh(){return new ue(3007,!1)}function mh(i,e){return new ue(3008,!1)}function ph(i){return new ue(3002,!1)}function gh(i,e,a,t,n){return new ue(3010,!1)}function fh(){return new ue(3011,!1)}function hh(){return new ue(3012,!1)}function bh(){return new ue(3200,!1)}function vh(){return new ue(3202,!1)}function yh(){return new ue(3013,!1)}function _h(i){return new ue(3014,!1)}function xh(i){return new ue(3015,!1)}function wh(i){return new ue(3016,!1)}function Sh(i,e){return new ue(3404,!1)}function Ch(i){return new ue(3502,!1)}function kh(i){return new ue(3503,!1)}function Th(){return new ue(3300,!1)}function qh(i){return new ue(3504,!1)}function Dh(i){return new ue(3301,!1)}function Ah(i,e){return new ue(3302,!1)}function Ih(i){return new ue(3303,!1)}function Mh(i,e){return new ue(3400,!1)}function Eh(i){return new ue(3401,!1)}function Oh(i){return new ue(3402,!1)}function Lh(i,e){return new ue(3505,!1)}function Mi(i){switch(i.length){case 0:return new ma;case 1:return i[0];default:return new cs(i)}}function Ad(i,e,a=new Map,t=new Map){let n=[],o=[],r=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==r,g=d&&s||new Map;l.forEach((x,y)=>{let _=y,D=x;if(y!=="offset")switch(_=i.normalizePropertyName(_,n),D){case _o:D=a.get(y);break;case Kt:D=t.get(y);break;default:D=i.normalizeStyleValue(y,_,D,n);break}g.set(_,D)}),d||o.push(g),s=g,r=c}),n.length)throw Ch(n);return o}function bl(i,e,a,t){switch(e){case"start":i.onStart(()=>t(a&&Zs(a,"start",i)));break;case"done":i.onDone(()=>t(a&&Zs(a,"done",i)));break;case"destroy":i.onDestroy(()=>t(a&&Zs(a,"destroy",i)));break}}function Zs(i,e,a){let t=a.totalTime,n=!!a.disabled,o=vl(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t??i.totalTime,n),r=i._data;return r!=null&&(o._data=r),o}function vl(i,e,a,t,n="",o=0,r){return{element:i,triggerName:e,fromState:a,toState:t,phaseName:n,totalTime:o,disabled:!!r}}function xt(i,e,a){let t=i.get(e);return t||i.set(e,t=a),t}function hd(i){let e=i.indexOf(":"),a=i.substring(1,e),t=i.slice(e+1);return[a,t]}var Nh=typeof document>"u"?null:document.documentElement;function yl(i){let e=i.parentNode||i.host||null;return e===Nh?null:e}function Ph(i){return i.substring(1,6)=="ebkit"}var Zi=null,bd=!1;function Fh(i){Zi||(Zi=Rh()||{},bd=Zi.style?"WebkitAppearance"in Zi.style:!1);let e=!0;return Zi.style&&!Ph(i)&&(e=i in Zi.style,!e&&bd&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Zi.style)),e}function Rh(){return typeof document<"u"?document.body:null}function Id(i,e){for(;e;){if(e===i)return!0;e=yl(e)}return!1}function Md(i,e,a){if(a)return Array.from(i.querySelectorAll(e));let t=i.querySelector(e);return t?[t]:[]}var _l=(()=>{let e=class e{validateStyleProperty(t){return Fh(t)}containsElement(t,n){return Id(t,n)}getParentElement(t){return yl(t)}query(t,n,o){return Md(t,n,o)}computeStyle(t,n,o){return o||""}animate(t,n,o,r,s,l=[],c){return new ma(o,r)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})(),Cl=class Cl{};Cl.NOOP=new _l;var Qi=Cl,Xi=class{};var Hh=1e3,Ed="{{",jh="}}",Od="ng-enter",tl="ng-leave",Yo="ng-trigger",tr=".ng-trigger",vd="ng-animating",il=".ng-animating";function di(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:al(parseFloat(e[1]),e[2])}function al(i,e){switch(e){case"s":return i*Hh;default:return i}}function ir(i,e,a){return i.hasOwnProperty("duration")?i:zh(i,e,a)}function zh(i,e,a){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,o=0,r="";if(typeof i=="string"){let s=i.match(t);if(s===null)return e.push(fd(i)),{duration:0,delay:0,easing:""};n=al(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(o=al(parseFloat(l),s[4]));let c=s[5];c&&(r=c)}else n=i;if(!a){let s=!1,l=e.length;n<0&&(e.push(nh()),s=!0),o<0&&(e.push(oh()),s=!0),s&&e.splice(l,0,fd(i))}return{duration:n,delay:o,easing:r}}function Bh(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Xt(i,e,a){e.forEach((t,n)=>{let o=xl(n);a&&!a.has(n)&&a.set(n,i.style[o]),i.style[o]=t})}function Ki(i,e){e.forEach((a,t)=>{let n=xl(t);i.style[n]=""})}function jn(i){return Array.isArray(i)?i.length==1?i[0]:Ec(i):i}function Vh(i,e,a){let t=e.params||{},n=Ld(i);n.length&&n.forEach(o=>{t.hasOwnProperty(o)||a.push(rh(o))})}var nl=new RegExp(`${Ed}\\s*(.+?)\\s*${jh}`,"g");function Ld(i){let e=[];if(typeof i=="string"){let a;for(;a=nl.exec(i);)e.push(a[1]);nl.lastIndex=0}return e}function Bn(i,e,a){let t=`${i}`,n=t.replace(nl,(o,r)=>{let s=e[r];return s==null&&(a.push(sh(r)),s=""),s.toString()});return n==t?i:n}var Jh=/-+([a-z0-9])/g;function xl(i){return i.replace(Jh,(...e)=>e[1].toUpperCase())}function Wh(i,e){return i===0||e===0}function Uh(i,e,a){if(a.size&&e.length){let t=e[0],n=[];if(a.forEach((o,r)=>{t.has(r)||n.push(r),t.set(r,o)}),n.length)for(let o=1;or.set(s,wl(i,s)))}}return e}function _t(i,e,a){switch(e.type){case re.Trigger:return i.visitTrigger(e,a);case re.State:return i.visitState(e,a);case re.Transition:return i.visitTransition(e,a);case re.Sequence:return i.visitSequence(e,a);case re.Group:return i.visitGroup(e,a);case re.Animate:return i.visitAnimate(e,a);case re.Keyframes:return i.visitKeyframes(e,a);case re.Style:return i.visitStyle(e,a);case re.Reference:return i.visitReference(e,a);case re.AnimateChild:return i.visitAnimateChild(e,a);case re.AnimateRef:return i.visitAnimateRef(e,a);case re.Query:return i.visitQuery(e,a);case re.Stagger:return i.visitStagger(e,a);default:throw lh(e.type)}}function wl(i,e){return window.getComputedStyle(i)[e]}var Gh=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"]),ar=class extends Xi{normalizePropertyName(e,a){return xl(e)}normalizeStyleValue(e,a,t,n){let o="",r=t.toString().trim();if(Gh.has(a)&&t!==0&&t!=="0")if(typeof t=="number")o="px";else{let s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&n.push(ch(e,t))}return r+o}};var nr="*";function $h(i,e){let a=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(t=>Zh(t,a,e)):a.push(i),a}function Zh(i,e,a){if(i[0]==":"){let l=Yh(i,a);if(typeof l=="function"){e.push(l);return}i=l}let t=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return a.push(xh(i)),e;let n=t[1],o=t[2],r=t[3];e.push(yd(n,r));let s=n==nr&&r==nr;o[0]=="<"&&!s&&e.push(yd(r,n))}function Yh(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,t)=>parseFloat(t)>parseFloat(a);case":decrement":return(a,t)=>parseFloat(t) *"}}var Ko=new Set(["true","1"]),Qo=new Set(["false","0"]);function yd(i,e){let a=Ko.has(i)||Qo.has(i),t=Ko.has(e)||Qo.has(e);return(n,o)=>{let r=i==nr||i==n,s=e==nr||e==o;return!r&&a&&typeof n=="boolean"&&(r=n?Ko.has(i):Qo.has(i)),!s&&t&&typeof o=="boolean"&&(s=o?Ko.has(e):Qo.has(e)),r&&s}}var Nd=":self",Kh=new RegExp(`s*${Nd}s*,?`,"g");function Pd(i,e,a,t){return new ol(i).build(e,a,t)}var _d="",ol=class{constructor(e){this._driver=e}build(e,a,t){let n=new rl(a);return this._resetContextStyleTimingState(n),_t(this,jn(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=_d,e.collectedStyles=new Map,e.collectedStyles.set(_d,new Map),e.currentTime=0}visitTrigger(e,a){let t=a.queryCount=0,n=a.depCount=0,o=[],r=[];return e.name.charAt(0)=="@"&&a.errors.push(uh()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(a),s.type==re.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,a))}),l.name=c}else if(s.type==re.Transition){let l=this.visitTransition(s,a);t+=l.queryCount,n+=l.depCount,r.push(l)}else a.errors.push(dh())}),{type:re.Trigger,name:e.name,states:o,transitions:r,queryCount:t,depCount:n,options:null}}visitState(e,a){let t=this.visitStyle(e.styles,a),n=e.options&&e.options.params||null;if(t.containsDynamicStyles){let o=new Set,r=n||{};t.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{Ld(l).forEach(c=>{r.hasOwnProperty(c)||o.add(c)})})}),o.size&&a.errors.push(mh(e.name,[...o.values()]))}return{type:re.State,name:e.name,style:t,options:n?{params:n}:null}}visitTransition(e,a){a.queryCount=0,a.depCount=0;let t=_t(this,jn(e.animation),a),n=$h(e.expr,a.errors);return{type:re.Transition,matchers:n,animation:t,queryCount:a.queryCount,depCount:a.depCount,options:Yi(e.options)}}visitSequence(e,a){return{type:re.Sequence,steps:e.steps.map(t=>_t(this,t,a)),options:Yi(e.options)}}visitGroup(e,a){let t=a.currentTime,n=0,o=e.steps.map(r=>{a.currentTime=t;let s=_t(this,r,a);return n=Math.max(n,a.currentTime),s});return a.currentTime=n,{type:re.Group,steps:o,options:Yi(e.options)}}visitAnimate(e,a){let t=t0(e.timings,a.errors);a.currentAnimateTimings=t;let n,o=e.styles?e.styles:ht({});if(o.type==re.Keyframes)n=this.visitKeyframes(o,a);else{let r=e.styles,s=!1;if(!r){s=!0;let c={};t.easing&&(c.easing=t.easing),r=ht(c)}a.currentTime+=t.duration+t.delay;let l=this.visitStyle(r,a);l.isEmptyStep=s,n=l}return a.currentAnimateTimings=null,{type:re.Animate,timings:t,style:n,options:null}}visitStyle(e,a){let t=this._makeStyleAst(e,a);return this._validateStyleAst(t,a),t}_makeStyleAst(e,a){let t=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of n)typeof s=="string"?s===Kt?t.push(s):a.errors.push(ph(s)):t.push(new Map(Object.entries(s)));let o=!1,r=null;return t.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(r=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(Ed)>=0){o=!0;break}}}),{type:re.Style,styles:t,easing:r,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,a){let t=a.currentAnimateTimings,n=a.currentTime,o=a.currentTime;t&&o>0&&(o-=t.duration+t.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,l)=>{let c=a.collectedStyles.get(a.currentQuerySelector),d=c.get(l),g=!0;d&&(o!=n&&o>=d.startTime&&n<=d.endTime&&(a.errors.push(gh(l,d.startTime,d.endTime,o,n)),g=!1),o=d.startTime),g&&c.set(l,{startTime:o,endTime:n}),a.options&&Vh(s,a.options,a.errors)})})}visitKeyframes(e,a){let t={type:re.Keyframes,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(fh()),t;let n=1,o=0,r=[],s=!1,l=!1,c=0,d=e.steps.map(S=>{let q=this._makeStyleAst(S,a),j=q.offset!=null?q.offset:e0(q.styles),B=0;return j!=null&&(o++,B=q.offset=j),l=l||B<0||B>1,s=s||B0&&o{let j=x>0?q==y?1:x*q:r[q],B=j*O;a.currentTime=_+D.delay+B,D.duration=B,this._validateStyleAst(S,a),S.offset=j,t.styles.push(S)}),t}visitReference(e,a){return{type:re.Reference,animation:_t(this,jn(e.animation),a),options:Yi(e.options)}}visitAnimateChild(e,a){return a.depCount++,{type:re.AnimateChild,options:Yi(e.options)}}visitAnimateRef(e,a){return{type:re.AnimateRef,animation:this.visitReference(e.animation,a),options:Yi(e.options)}}visitQuery(e,a){let t=a.currentQuerySelector,n=e.options||{};a.queryCount++,a.currentQuery=e;let[o,r]=Qh(e.selector);a.currentQuerySelector=t.length?t+" "+o:o,xt(a.collectedStyles,a.currentQuerySelector,new Map);let s=_t(this,jn(e.animation),a);return a.currentQuery=null,a.currentQuerySelector=t,{type:re.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:s,originalSelector:e.selector,options:Yi(e.options)}}visitStagger(e,a){a.currentQuery||a.errors.push(yh());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ir(e.timings,a.errors,!0);return{type:re.Stagger,animation:_t(this,jn(e.animation),a),timings:t,options:null}}};function Qh(i){let e=!!i.split(/\s*,\s*/).find(a=>a==Nd);return e&&(i=i.replace(Kh,"")),i=i.replace(/@\*/g,tr).replace(/@\w+/g,a=>tr+"-"+a.slice(1)).replace(/:animating/g,il),[i,e]}function Xh(i){return i?M({},i):null}var rl=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 e0(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(a=>{if(a instanceof Map&&a.has("offset")){let t=a;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let a=i;e=parseFloat(a.get("offset")),a.delete("offset")}return e}function t0(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=ir(i,e).duration;return Ys(o,0,"")}let a=i;if(a.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ys(0,0,"");return o.dynamic=!0,o.strValue=a,o}let n=ir(a,e);return Ys(n.duration,n.delay,n.easing)}function Yi(i){return i?(i=M({},i),i.params&&(i.params=Xh(i.params))):i={},i}function Ys(i,e,a){return{duration:i,delay:e,easing:a}}function Sl(i,e,a,t,n,o,r=null,s=!1){return{type:1,element:i,keyframes:e,preStyleProps:a,postStyleProps:t,duration:n,delay:o,totalTime:n+o,easing:r,subTimeline:s}}var Vn=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,a){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...a)}has(e){return this._map.has(e)}clear(){this._map.clear()}},i0=1,a0=":enter",n0=new RegExp(a0,"g"),o0=":leave",r0=new RegExp(o0,"g");function Fd(i,e,a,t,n,o=new Map,r=new Map,s,l,c=[]){return new sl().buildKeyframes(i,e,a,t,n,o,r,s,l,c)}var sl=class{buildKeyframes(e,a,t,n,o,r,s,l,c,d=[]){c=c||new Vn;let g=new ll(e,a,c,n,o,d,[]);g.options=l;let x=l.delay?di(l.delay):0;g.currentTimeline.delayNextStep(x),g.currentTimeline.setStyles([r],null,g.errors,l),_t(this,t,g);let y=g.timelines.filter(_=>_.containsAnimation());if(y.length&&s.size){let _;for(let D=y.length-1;D>=0;D--){let O=y[D];if(O.element===a){_=O;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([s],null,g.errors,l)}return y.length?y.map(_=>_.buildKeyframes()):[Sl(a,[],[],[],0,x,"",!1)]}visitTrigger(e,a){}visitState(e,a){}visitTransition(e,a){}visitAnimateChild(e,a){let t=a.subInstructions.get(a.element);if(t){let n=a.createSubContext(e.options),o=a.currentTimeline.currentTime,r=this._visitSubInstructions(t,n,n.options);o!=r&&a.transformIntoNewTimeline(r)}a.previousNode=e}visitAnimateRef(e,a){let t=a.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],a,t),this.visitReference(e.animation,t),a.transformIntoNewTimeline(t.currentTimeline.currentTime),a.previousNode=e}_applyAnimationRefDelays(e,a,t){for(let n of e){let o=n?.delay;if(o){let r=typeof o=="number"?o:di(Bn(o,n?.params??{},a.errors));t.delayNextStep(r)}}}_visitSubInstructions(e,a,t){let o=a.currentTimeline.currentTime,r=t.duration!=null?di(t.duration):null,s=t.delay!=null?di(t.delay):null;return r!==0&&e.forEach(l=>{let c=a.appendInstructionToTimeline(l,r,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,a){a.updateOptions(e.options,!0),_t(this,e.animation,a),a.previousNode=e}visitSequence(e,a){let t=a.subContextCount,n=a,o=e.options;if(o&&(o.params||o.delay)&&(n=a.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==re.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=or);let r=di(o.delay);n.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>_t(this,r,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>t&&n.transformIntoNewTimeline()),a.previousNode=e}visitGroup(e,a){let t=[],n=a.currentTimeline.currentTime,o=e.options&&e.options.delay?di(e.options.delay):0;e.steps.forEach(r=>{let s=a.createSubContext(e.options);o&&s.delayNextStep(o),_t(this,r,s),n=Math.max(n,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(r=>a.currentTimeline.mergeTimelineCollectedStyles(r)),a.transformIntoNewTimeline(n),a.previousNode=e}_visitTiming(e,a){if(e.dynamic){let t=e.strValue,n=a.params?Bn(t,a.params,a.errors):t;return ir(n,a.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,a){let t=a.currentAnimateTimings=this._visitTiming(e.timings,a),n=a.currentTimeline;t.delay&&(a.incrementTime(t.delay),n.snapshotCurrentStyles());let o=e.style;o.type==re.Keyframes?this.visitKeyframes(o,a):(a.incrementTime(t.duration),this.visitStyle(o,a),n.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=e}visitStyle(e,a){let t=a.currentTimeline,n=a.currentAnimateTimings;!n&&t.hasCurrentStyleProperties()&&t.forwardFrame();let o=n&&n.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(o):t.setStyles(e.styles,o,a.errors,a.options),a.previousNode=e}visitKeyframes(e,a){let t=a.currentAnimateTimings,n=a.currentTimeline.duration,o=t.duration,s=a.createSubContext().currentTimeline;s.easing=t.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,a.errors,a.options),s.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(s),a.transformIntoNewTimeline(n+o),a.previousNode=e}visitQuery(e,a){let t=a.currentTimeline.currentTime,n=e.options||{},o=n.delay?di(n.delay):0;o&&(a.previousNode.type===re.Style||t==0&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=or);let r=t,s=a.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,a.errors);a.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{a.currentQueryIndex=d;let g=a.createSubContext(e.options,c);o&&g.delayNextStep(o),c===a.element&&(l=g.currentTimeline),_t(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe();let x=g.currentTimeline.currentTime;r=Math.max(r,x)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(r),l&&(a.currentTimeline.mergeTimelineCollectedStyles(l),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=e}visitStagger(e,a){let t=a.parentContext,n=a.currentTimeline,o=e.timings,r=Math.abs(o.duration),s=r*(a.currentQueryTotal-1),l=r*a.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=t.currentStaggerTime;break}let d=a.currentTimeline;l&&d.delayNextStep(l);let g=d.currentTime;_t(this,e.animation,a),a.previousNode=e,t.currentStaggerTime=n.currentTime-g+(n.startTime-t.currentTimeline.startTime)}},or={},ll=class i{constructor(e,a,t,n,o,r,s,l){this._driver=e,this.element=a,this.subInstructions=t,this._enterClassName=n,this._leaveClassName=o,this.errors=r,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=or,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new rr(this._driver,a,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,a){if(!e)return;let t=e,n=this.options;t.duration!=null&&(n.duration=di(t.duration)),t.delay!=null&&(n.delay=di(t.delay));let o=t.params;if(o){let r=n.params;r||(r=this.options.params={}),Object.keys(o).forEach(s=>{(!a||!r.hasOwnProperty(s))&&(r[s]=Bn(o[s],r,this.errors))})}}_copyOptions(){let e={};if(this.options){let a=this.options.params;if(a){let t=e.params={};Object.keys(a).forEach(n=>{t[n]=a[n]})}}return e}createSubContext(e=null,a,t){let n=a||this.element,o=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,t||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=or,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,a,t){let n={duration:a??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},o=new cl(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(o),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,a,t,n,o,r){let s=[];if(n&&s.push(this.element),e.length>0){e=e.replace(n0,"."+this._enterClassName),e=e.replace(r0,"."+this._leaveClassName);let l=t!=1,c=this._driver.query(this.element,e,l);t!==0&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),s.push(...c)}return!o&&s.length==0&&r.push(_h(a)),s}},rr=class i{constructor(e,a,t,n){this._driver=e,this.element=a,this.startTime=t,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(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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 a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+e),a&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,a){return this.applyStylesToKeyframe(),new i(this._driver,e,a||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+=i0,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,a){this._localTimelineStyles.set(e,a),this._globalTimelineStyles.set(e,a),this._styleSummary.set(e,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[a,t]of this._globalTimelineStyles)this._backFill.set(a,t||Kt),this._currentKeyframe.set(a,Kt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,a,t,n){a&&this._previousKeyframe.set("easing",a);let o=n&&n.params||{},r=s0(e,this._globalTimelineStyles);for(let[s,l]of r){let c=Bn(l,o,t);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Kt),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,a)=>{this._currentKeyframe.set(a,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,e)}))}snapshotCurrentStyles(){for(let[e,a]of this._localTimelineStyles)this._pendingStyles.set(e,a),this._updateStyle(e,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let a in this._currentKeyframe)e.push(a);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((a,t)=>{let n=this._styleSummary.get(t);(!n||a.time>n.time)&&this._updateStyle(t,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,a=new Set,t=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,g)=>{d===_o?e.add(g):d===Kt&&a.add(g)}),t||c.set("offset",l/this.duration),n.push(c)});let o=[...e.values()],r=[...a.values()];if(t){let s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return Sl(this.element,n,o,r,this.duration,this.startTime,this.easing,!1)}},cl=class extends rr{constructor(e,a,t,n,o,r,s=!1){super(e,a,r.delay),this.keyframes=t,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:a,duration:t,easing:n}=this.timings;if(this._stretchStartingKeyframe&&a){let o=[],r=t+a,s=a/r,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",xd(s)),o.push(c);let d=e.length-1;for(let g=1;g<=d;g++){let x=new Map(e[g]),y=x.get("offset"),_=a+y*t;x.set("offset",xd(_/r)),o.push(x)}t=r,a=0,n="",e=o}return Sl(this.element,e,this.preStyleProps,this.postStyleProps,t,a,n,!0)}};function xd(i,e=3){let a=Math.pow(10,e-1);return Math.round(i*a)/a}function s0(i,e){let a=new Map,t;return i.forEach(n=>{if(n==="*"){t??=e.keys();for(let o of t)a.set(o,Kt)}else for(let[o,r]of n)a.set(o,r)}),a}function wd(i,e,a,t,n,o,r,s,l,c,d,g,x){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:a,fromStyles:o,toState:t,toStyles:r,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:g,errors:x}}var Ks={},sr=class{constructor(e,a,t){this._triggerName=e,this.ast=a,this._stateStyles=t}match(e,a,t,n){return l0(this.ast.matchers,e,a,t,n)}buildStyles(e,a,t){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(a,t):new Map}build(e,a,t,n,o,r,s,l,c,d){let g=[],x=this.ast.options&&this.ast.options.params||Ks,y=s&&s.params||Ks,_=this.buildStyles(t,y,g),D=l&&l.params||Ks,O=this.buildStyles(n,D,g),S=new Set,q=new Map,j=new Map,B=n==="void",pe={params:Rd(D,x),delay:this.ast.options?.delay},ie=d?[]:Fd(e,a,this.ast.animation,o,r,_,O,pe,c,g),we=0;return ie.forEach(he=>{we=Math.max(he.duration+he.delay,we)}),g.length?wd(a,this._triggerName,t,n,B,_,O,[],[],q,j,we,g):(ie.forEach(he=>{let Me=he.element,$e=xt(q,Me,new Set);he.preStyleProps.forEach(ai=>$e.add(ai));let Bt=xt(j,Me,new Set);he.postStyleProps.forEach(ai=>Bt.add(ai)),Me!==a&&S.add(Me)}),wd(a,this._triggerName,t,n,B,_,O,ie,[...S.values()],q,j,we))}};function l0(i,e,a,t,n){return i.some(o=>o(e,a,t,n))}function Rd(i,e){let a=M({},e);return Object.entries(i).forEach(([t,n])=>{n!=null&&(a[t]=n)}),a}var ul=class{constructor(e,a,t){this.styles=e,this.defaultParams=a,this.normalizer=t}buildStyles(e,a){let t=new Map,n=Rd(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((r,s)=>{r&&(r=Bn(r,n,a));let l=this.normalizer.normalizePropertyName(s,a);r=this.normalizer.normalizeStyleValue(s,l,r,a),t.set(s,r)})}),t}};function c0(i,e,a){return new dl(i,e,a)}var dl=class{constructor(e,a,t){this.name=e,this.ast=a,this._normalizer=t,this.transitionFactories=[],this.states=new Map,a.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new ul(n.style,o,t))}),Sd(this.states,"true","1"),Sd(this.states,"false","0"),a.transitions.forEach(n=>{this.transitionFactories.push(new sr(e,n,this.states))}),this.fallbackTransition=u0(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,a,t,n){return this.transitionFactories.find(r=>r.match(e,a,t,n))||null}matchStyles(e,a,t){return this.fallbackTransition.buildStyles(e,a,t)}};function u0(i,e,a){let t=[(r,s)=>!0],n={type:re.Sequence,steps:[],options:null},o={type:re.Transition,animation:n,matchers:t,options:null,queryCount:0,depCount:0};return new sr(i,o,e)}function Sd(i,e,a){i.has(e)?i.has(a)||i.set(a,i.get(e)):i.has(a)&&i.set(e,i.get(a))}var d0=new Vn,ml=class{constructor(e,a,t){this.bodyNode=e,this._driver=a,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,a){let t=[],n=[],o=Pd(this._driver,a,t,n);if(t.length)throw kh(t);n.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,a,t){let n=e.element,o=Ad(this._normalizer,e.keyframes,a,t);return this._driver.animate(n,o,e.duration,e.delay,e.easing,[],!0)}create(e,a,t={}){let n=[],o=this._animations.get(e),r,s=new Map;if(o?(r=Fd(this._driver,a,o,Od,tl,new Map,new Map,t,d0,n),r.forEach(d=>{let g=xt(s,d.element,new Map);d.postStyleProps.forEach(x=>g.set(x,null))})):(n.push(Th()),r=[]),n.length)throw qh(n);s.forEach((d,g)=>{d.forEach((x,y)=>{d.set(y,this._driver.computeStyle(g,y,Kt))})});let l=r.map(d=>{let g=s.get(d.element);return this._buildPlayer(d,new Map,g)}),c=Mi(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let a=this._getPlayer(e);a.destroy(),this._playersById.delete(e);let t=this.players.indexOf(a);t>=0&&this.players.splice(t,1)}_getPlayer(e){let a=this._playersById.get(e);if(!a)throw Dh(e);return a}listen(e,a,t,n){let o=vl(a,"","","");return bl(this._getPlayer(e),t,o,n),()=>{}}command(e,a,t,n){if(t=="register"){this.register(e,n[0]);return}if(t=="create"){let r=n[0]||{};this.create(e,a,r);return}let o=this._getPlayer(e);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Cd="ng-animate-queued",m0=".ng-animate-queued",Qs="ng-animate-disabled",p0=".ng-animate-disabled",g0="ng-star-inserted",f0=".ng-star-inserted",h0=[],Hd={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},b0={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed",Jn=class{get params(){return this.options.params}constructor(e,a=""){this.namespaceId=a;let t=e&&e.hasOwnProperty("value"),n=t?e.value:e;if(this.value=y0(n),t){let o=e,{value:r}=o,s=Za(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let a=e.params;if(a){let t=this.options.params;Object.keys(a).forEach(n=>{t[n]==null&&(t[n]=a[n])})}}},zn="void",Xs=new Jn(zn),pl=class{constructor(e,a,t){this.id=e,this.hostElement=a,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,At(a,this._hostClassName)}listen(e,a,t,n){if(!this._triggers.has(a))throw Ah(t,a);if(t==null||t.length==0)throw Ih(a);if(!_0(t))throw Mh(t,a);let o=xt(this._elementListeners,e,[]),r={name:a,phase:t,callback:n};o.push(r);let s=xt(this._engine.statesByElement,e,new Map);return s.has(a)||(At(e,Yo),At(e,Yo+"-"+a),s.set(a,Xs)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(r);l>=0&&o.splice(l,1),this._triggers.has(a)||s.delete(a)})}}register(e,a){return this._triggers.has(e)?!1:(this._triggers.set(e,a),!0)}_getTrigger(e){let a=this._triggers.get(e);if(!a)throw Eh(e);return a}trigger(e,a,t,n=!0){let o=this._getTrigger(a),r=new Wn(this.id,a,e),s=this._engine.statesByElement.get(e);s||(At(e,Yo),At(e,Yo+"-"+a),this._engine.statesByElement.set(e,s=new Map));let l=s.get(a),c=new Jn(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(a,c),l||(l=Xs),!(c.value===zn)&&l.value===c.value){if(!S0(l.params,c.params)){let D=[],O=o.matchStyles(l.value,l.params,D),S=o.matchStyles(c.value,c.params,D);D.length?this._engine.reportError(D):this._engine.afterFlush(()=>{Ki(e,O),Xt(e,S)})}return}let x=xt(this._engine.playersByElement,e,[]);x.forEach(D=>{D.namespaceId==this.id&&D.triggerName==a&&D.queued&&D.destroy()});let y=o.matchTransition(l.value,c.value,e,c.params),_=!1;if(!y){if(!n)return;y=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:y,fromState:l,toState:c,player:r,isFallbackTransition:_}),_||(At(e,Cd),r.onStart(()=>{Ma(e,Cd)})),r.onDone(()=>{let D=this.players.indexOf(r);D>=0&&this.players.splice(D,1);let O=this._engine.playersByElement.get(e);if(O){let S=O.indexOf(r);S>=0&&O.splice(S,1)}}),this.players.push(r),x.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(a=>a.delete(e)),this._elementListeners.forEach((a,t)=>{this._elementListeners.set(t,a.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let a=this._engine.playersByElement.get(e);a&&(a.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,a){let t=this._engine.driver.query(e,tr,!0);t.forEach(n=>{if(n[jt])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(r=>r.triggerLeaveAnimation(n,a,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,a,t,n){let o=this._engine.statesByElement.get(e),r=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(r.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,zn,n);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,a,r),t&&Mi(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let a=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(a&&t){let n=new Set;a.forEach(o=>{let r=o.name;if(n.has(r))return;n.add(r);let l=this._triggers.get(r).fallbackTransition,c=t.get(r)||Xs,d=new Jn(zn),g=new Wn(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:l,fromState:c,toState:d,player:g,isFallbackTransition:!0})})}}removeNode(e,a){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,a),this.triggerLeaveAnimation(e,a,!0))return;let n=!1;if(t.totalAnimations){let o=t.players.length?t.playersByQueriedElement.get(e):[];if(o&&o.length)n=!0;else{let r=e;for(;r=r.parentNode;)if(t.statesByElement.get(r)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)t.markElementAsRemoved(this.id,e,!1,a);else{let o=e[jt];(!o||o===Hd)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,a))}}insertNode(e,a){At(e,this._hostClassName)}drainQueuedTransitions(e){let a=[];return this._queue.forEach(t=>{let n=t.player;if(n.destroyed)return;let o=t.element,r=this._elementListeners.get(o);r&&r.forEach(s=>{if(s.name==t.triggerName){let l=vl(o,t.triggerName,t.fromState.value,t.toState.value);l._data=e,bl(t.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):a.push(t)}),this._queue=[],a.sort((t,n)=>{let o=t.transition.ast.depCount,r=n.transition.ast.depCount;return o==0||r==0?o-r:this._engine.driver.containsElement(t.element,n.element)?1:-1})}destroy(e){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},gl=class{_onRemovalComplete(e,a){this.onRemovalComplete(e,a)}constructor(e,a,t){this.bodyNode=e,this.driver=a,this._normalizer=t,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,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(a=>{a.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,a){let t=new pl(e,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(t,a):(this.newHostElements.set(a,t),this.collectEnterElement(a)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,a){let t=this._namespaceList,n=this.namespacesByHostElement;if(t.length-1>=0){let r=!1,s=this.driver.getParentElement(a);for(;s;){let l=n.get(s);if(l){let c=t.indexOf(l);t.splice(c+1,0,e),r=!0;break}s=this.driver.getParentElement(s)}r||t.unshift(e)}else t.push(e);return n.set(a,e),e}register(e,a){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,a)),t}registerTrigger(e,a,t){let n=this._namespaceLookup[e];n&&n.register(a,t)&&this.totalAnimations++}destroy(e,a){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let n=this._namespaceList.indexOf(t);n>=0&&this._namespaceList.splice(n,1),t.destroy(a),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let a=new Set,t=this.statesByElement.get(e);if(t){for(let n of t.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&a.add(o)}}return a}trigger(e,a,t,n){if(Xo(a)){let o=this._fetchNamespace(e);if(o)return o.trigger(a,t,n),!0}return!1}insertNode(e,a,t,n){if(!Xo(a))return;let o=a[jt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let r=this.collectedLeaveElements.indexOf(a);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(a,t)}n&&this.collectEnterElement(a)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,a){a?this.disabledNodes.has(e)||(this.disabledNodes.add(e),At(e,Qs)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ma(e,Qs))}removeNode(e,a,t){if(Xo(a)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(a,t):this.markElementAsRemoved(e,a,!1,t);let o=this.namespacesByHostElement.get(a);o&&o.id!==e&&o.removeNode(a,t)}else this._onRemovalComplete(a,t)}markElementAsRemoved(e,a,t,n,o){this.collectedLeaveElements.push(a),a[jt]={namespaceId:e,setForRemoval:n,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,a,t,n,o){return Xo(a)?this._fetchNamespace(e).listen(a,t,n,o):()=>{}}_buildInstruction(e,a,t,n,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,n,e.fromState.options,e.toState.options,a,o)}destroyInnerAnimations(e){let a=this.driver.query(e,tr,!0);a.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(a=this.driver.query(e,il,!0),a.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let a=this.playersByElement.get(e);a&&a.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let a=this.playersByQueriedElement.get(e);a&&a.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Mi(this.players).onDone(()=>e());e()})}processLeaveNode(e){let a=e[jt];if(a&&a.setForRemoval){if(e[jt]=Hd,a.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(a.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,a.setForRemoval)}e.classList?.contains(Qs)&&this.markElementAsDisabled(e,!1),this.driver.query(e,p0,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,n)=>this._balanceNamespaceList(t,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],a.length?Mi(a).onDone(()=>{t.forEach(n=>n())}):t.forEach(n=>n())}}reportError(e){throw Oh(e)}_flushAnimations(e,a){let t=new Vn,n=[],o=new Map,r=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(R=>{d.add(R);let G=this.driver.query(R,m0,!0);for(let Y=0;Y{let Y=Od+D++;_.set(G,Y),R.forEach(ce=>At(ce,Y))});let O=[],S=new Set,q=new Set;for(let R=0;RS.add(ce)):q.add(G))}let j=new Map,B=qd(x,Array.from(S));B.forEach((R,G)=>{let Y=tl+D++;j.set(G,Y),R.forEach(ce=>At(ce,Y))}),e.push(()=>{y.forEach((R,G)=>{let Y=_.get(G);R.forEach(ce=>Ma(ce,Y))}),B.forEach((R,G)=>{let Y=j.get(G);R.forEach(ce=>Ma(ce,Y))}),O.forEach(R=>{this.processLeaveNode(R)})});let pe=[],ie=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(a).forEach(Y=>{let ce=Y.player,Je=Y.element;if(pe.push(ce),this.collectedEnterElements.length){let at=Je[jt];if(at&&at.setForMove){if(at.previousTriggersValues&&at.previousTriggersValues.has(Y.triggerName)){let Pi=at.previousTriggersValues.get(Y.triggerName),St=this.statesByElement.get(Y.element);if(St&&St.has(Y.triggerName)){let to=St.get(Y.triggerName);to.value=Pi,St.set(Y.triggerName,to)}}ce.destroy();return}}let Vt=!g||!this.driver.containsElement(g,Je),gt=j.get(Je),gi=_.get(Je),ke=this._buildInstruction(Y,t,gi,gt,Vt);if(ke.errors&&ke.errors.length){ie.push(ke);return}if(Vt){ce.onStart(()=>Ki(Je,ke.fromStyles)),ce.onDestroy(()=>Xt(Je,ke.toStyles)),n.push(ce);return}if(Y.isFallbackTransition){ce.onStart(()=>Ki(Je,ke.fromStyles)),ce.onDestroy(()=>Xt(Je,ke.toStyles)),n.push(ce);return}let Vl=[];ke.timelines.forEach(at=>{at.stretchStartingKeyframe=!0,this.disabledNodes.has(at.element)||Vl.push(at)}),ke.timelines=Vl,t.append(Je,ke.timelines);let Ag={instruction:ke,player:ce,element:Je};r.push(Ag),ke.queriedElements.forEach(at=>xt(s,at,[]).push(ce)),ke.preStyleProps.forEach((at,Pi)=>{if(at.size){let St=l.get(Pi);St||l.set(Pi,St=new Set),at.forEach((to,Kr)=>St.add(Kr))}}),ke.postStyleProps.forEach((at,Pi)=>{let St=c.get(Pi);St||c.set(Pi,St=new Set),at.forEach((to,Kr)=>St.add(Kr))})});if(ie.length){let R=[];ie.forEach(G=>{R.push(Lh(G.triggerName,G.errors))}),pe.forEach(G=>G.destroy()),this.reportError(R)}let we=new Map,he=new Map;r.forEach(R=>{let G=R.element;t.has(G)&&(he.set(G,G),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,we))}),n.forEach(R=>{let G=R.element;this._getPreviousPlayers(G,!1,R.namespaceId,R.triggerName,null).forEach(ce=>{xt(we,G,[]).push(ce),ce.destroy()})});let Me=O.filter(R=>Dd(R,l,c)),$e=new Map;Td($e,this.driver,q,c,Kt).forEach(R=>{Dd(R,l,c)&&Me.push(R)});let ai=new Map;y.forEach((R,G)=>{Td(ai,this.driver,new Set(R),l,_o)}),Me.forEach(R=>{let G=$e.get(R),Y=ai.get(R);$e.set(R,new Map([...G?.entries()??[],...Y?.entries()??[]]))});let Ga=[],eo=[],$a={};r.forEach(R=>{let{element:G,player:Y,instruction:ce}=R;if(t.has(G)){if(d.has(G)){Y.onDestroy(()=>Xt(G,ce.toStyles)),Y.disabled=!0,Y.overrideTotalTime(ce.totalTime),n.push(Y);return}let Je=$a;if(he.size>1){let gt=G,gi=[];for(;gt=gt.parentNode;){let ke=he.get(gt);if(ke){Je=ke;break}gi.push(gt)}gi.forEach(ke=>he.set(ke,Je))}let Vt=this._buildAnimation(Y.namespaceId,ce,we,o,ai,$e);if(Y.setRealPlayer(Vt),Je===$a)Ga.push(Y);else{let gt=this.playersByElement.get(Je);gt&>.length&&(Y.parentPlayer=Mi(gt)),n.push(Y)}}else Ki(G,ce.fromStyles),Y.onDestroy(()=>Xt(G,ce.toStyles)),eo.push(Y),d.has(G)&&n.push(Y)}),eo.forEach(R=>{let G=o.get(R.element);if(G&&G.length){let Y=Mi(G);R.setRealPlayer(Y)}}),n.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R!Vt.destroyed);Je.length?x0(this,G,Je):this.processLeaveNode(G)}return O.length=0,Ga.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();let G=this.players.indexOf(R);this.players.splice(G,1)}),R.play()}),Ga}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,a,t,n,o){let r=[];if(a){let s=this.playersByQueriedElement.get(e);s&&(r=s)}else{let s=this.playersByElement.get(e);if(s){let l=!o||o==zn;s.forEach(c=>{c.queued||!l&&c.triggerName!=n||r.push(c)})}}return(t||n)&&(r=r.filter(s=>!(t&&t!=s.namespaceId||n&&n!=s.triggerName))),r}_beforeAnimationBuild(e,a,t){let n=a.triggerName,o=a.element,r=a.isRemovalTransition?void 0:e,s=a.isRemovalTransition?void 0:n;for(let l of a.timelines){let c=l.element,d=c!==o,g=xt(t,c,[]);this._getPreviousPlayers(c,d,r,s,a.toState).forEach(y=>{let _=y.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),y.destroy(),g.push(y)})}Ki(o,a.fromStyles)}_buildAnimation(e,a,t,n,o,r){let s=a.triggerName,l=a.element,c=[],d=new Set,g=new Set,x=a.timelines.map(_=>{let D=_.element;d.add(D);let O=D[jt];if(O&&O.removedBeforeQueried)return new ma(_.duration,_.delay);let S=D!==l,q=w0((t.get(D)||h0).map(we=>we.getRealPlayer())).filter(we=>{let he=we;return he.element?he.element===D:!1}),j=o.get(D),B=r.get(D),pe=Ad(this._normalizer,_.keyframes,j,B),ie=this._buildPlayer(_,pe,q);if(_.subTimeline&&n&&g.add(D),S){let we=new Wn(e,s,D);we.setRealPlayer(ie),c.push(we)}return ie});c.forEach(_=>{xt(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>v0(this.playersByQueriedElement,_.element,_))}),d.forEach(_=>At(_,vd));let y=Mi(x);return y.onDestroy(()=>{d.forEach(_=>Ma(_,vd)),Xt(l,a.toStyles)}),g.forEach(_=>{xt(n,_,[]).push(y)}),y}_buildPlayer(e,a,t){return a.length>0?this.driver.animate(e.element,a,e.duration,e.delay,e.easing,t):new ma(e.duration,e.delay)}},Wn=class{constructor(e,a,t){this.namespaceId=e,this.triggerName=a,this.element=t,this._player=new ma,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((a,t)=>{a.forEach(n=>bl(e,t,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 a=this._player;a.triggerCallback&&e.onStart(()=>a.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,a){xt(this._queuedCallbacks,e,[]).push(a)}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 a=this._player;a.triggerCallback&&a.triggerCallback(e)}};function v0(i,e,a){let t=i.get(e);if(t){if(t.length){let n=t.indexOf(a);t.splice(n,1)}t.length==0&&i.delete(e)}return t}function y0(i){return i??null}function Xo(i){return i&&i.nodeType===1}function _0(i){return i=="start"||i=="done"}function kd(i,e){let a=i.style.display;return i.style.display=e??"none",a}function Td(i,e,a,t,n){let o=[];a.forEach(l=>o.push(kd(l)));let r=[];t.forEach((l,c)=>{let d=new Map;l.forEach(g=>{let x=e.computeStyle(c,g,n);d.set(g,x),(!x||x.length==0)&&(c[jt]=b0,r.push(c))}),i.set(c,d)});let s=0;return a.forEach(l=>kd(l,o[s++])),r}function qd(i,e){let a=new Map;if(i.forEach(s=>a.set(s,[])),e.length==0)return a;let t=1,n=new Set(e),o=new Map;function r(s){if(!s)return t;let l=o.get(s);if(l)return l;let c=s.parentNode;return a.has(c)?l=c:n.has(c)?l=t:l=r(c),o.set(s,l),l}return e.forEach(s=>{let l=r(s);l!==t&&a.get(l).push(s)}),a}function At(i,e){i.classList?.add(e)}function Ma(i,e){i.classList?.remove(e)}function x0(i,e,a){Mi(a).onDone(()=>i.processLeaveNode(e))}function w0(i){let e=[];return jd(i,e),e}function jd(i,e){for(let a=0;an.add(o)):e.set(i,t),a.delete(i),!0}var Oa=class{constructor(e,a,t){this._driver=a,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(n,o)=>{},this._transitionEngine=new gl(e.body,a,t),this._timelineEngine=new ml(e.body,a,t),this._transitionEngine.onRemovalComplete=(n,o)=>this.onRemovalComplete(n,o)}registerTrigger(e,a,t,n,o){let r=e+"-"+n,s=this._triggerCache[r];if(!s){let l=[],c=[],d=Pd(this._driver,o,l,c);if(l.length)throw Sh(n,l);c.length&&void 0,s=c0(n,d,this._normalizer),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(a,n,s)}register(e,a){this._transitionEngine.register(e,a)}destroy(e,a){this._transitionEngine.destroy(e,a)}onInsert(e,a,t,n){this._transitionEngine.insertNode(e,a,t,n)}onRemove(e,a,t){this._transitionEngine.removeNode(e,a,t)}disableAnimations(e,a){this._transitionEngine.markElementAsDisabled(e,a)}process(e,a,t,n){if(t.charAt(0)=="@"){let[o,r]=hd(t),s=n;this._timelineEngine.command(o,a,r,s)}else this._transitionEngine.trigger(e,a,t,n)}listen(e,a,t,n,o){if(t.charAt(0)=="@"){let[r,s]=hd(t);return this._timelineEngine.listen(r,a,s,o)}return this._transitionEngine.listen(e,a,t,n,o)}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 C0(i,e){let a=null,t=null;return Array.isArray(e)&&e.length?(a=el(e[0]),e.length>1&&(t=el(e[e.length-1]))):e instanceof Map&&(a=el(e)),a||t?new fl(i,a,t):null}var Ea=class Ea{constructor(e,a,t){this._element=e,this._startStyles=a,this._endStyles=t,this._state=0;let n=Ea.initialStylesByElement.get(e);n||Ea.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&Xt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xt(this._element,this._initialStyles),this._endStyles&&(Xt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ea.initialStylesByElement.delete(this._element),this._startStyles&&(Ki(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ki(this._element,this._endStyles),this._endStyles=null),Xt(this._element,this._initialStyles),this._state=3)}};Ea.initialStylesByElement=new WeakMap;var fl=Ea;function el(i){let e=null;return i.forEach((a,t)=>{k0(t)&&(e=e||new Map,e.set(t,a))}),e}function k0(i){return i==="display"||i==="position"}var lr=class{constructor(e,a,t,n){this.element=e,this.keyframes=a,this.options=t,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=t.duration,this._delay=t.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 a=()=>this._onFinish();this.domPlayer.addEventListener("finish",a),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",a)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let a=[];return e.forEach(t=>{a.push(Object.fromEntries(t))}),a}_triggerWebAnimation(e,a,t){return e.animate(this._convertKeyframesToObject(a),t)}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((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:wl(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let a=e==="start"?this._onStartFns:this._onDoneFns;a.forEach(t=>t()),a.length=0}},cr=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,a){return Id(e,a)}getParentElement(e){return yl(e)}query(e,a,t){return Md(e,a,t)}computeStyle(e,a,t){return wl(e,a)}animate(e,a,t,n,o,r=[]){let s=n==0?"both":"forwards",l={duration:t,delay:n,fill:s};o&&(l.easing=o);let c=new Map,d=r.filter(y=>y instanceof lr);Wh(t,n)&&d.forEach(y=>{y.currentSnapshot.forEach((_,D)=>c.set(D,_))});let g=Bh(a).map(y=>new Map(y));g=Uh(e,g,c);let x=C0(e,g);return new lr(e,g,l,x)}};var er="@",zd="@.disabled",ur=class{constructor(e,a,t,n){this.namespaceId=e,this.delegate=a,this.engine=t,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,a){return this.delegate.createElement(e,a)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,a){this.delegate.appendChild(e,a),this.engine.onInsert(this.namespaceId,a,e,!1)}insertBefore(e,a,t,n=!0){this.delegate.insertBefore(e,a,t),this.engine.onInsert(this.namespaceId,a,e,n)}removeChild(e,a,t){this.engine.onRemove(this.namespaceId,a,this.delegate)}selectRootElement(e,a){return this.delegate.selectRootElement(e,a)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,a,t,n){this.delegate.setAttribute(e,a,t,n)}removeAttribute(e,a,t){this.delegate.removeAttribute(e,a,t)}addClass(e,a){this.delegate.addClass(e,a)}removeClass(e,a){this.delegate.removeClass(e,a)}setStyle(e,a,t,n){this.delegate.setStyle(e,a,t,n)}removeStyle(e,a,t){this.delegate.removeStyle(e,a,t)}setProperty(e,a,t){a.charAt(0)==er&&a==zd?this.disableAnimations(e,!!t):this.delegate.setProperty(e,a,t)}setValue(e,a){this.delegate.setValue(e,a)}listen(e,a,t){return this.delegate.listen(e,a,t)}disableAnimations(e,a){this.engine.disableAnimations(e,a)}},hl=class extends ur{constructor(e,a,t,n,o){super(a,t,n,o),this.factory=e,this.namespaceId=a}setProperty(e,a,t){a.charAt(0)==er?a.charAt(1)=="."&&a==zd?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,a.slice(1),t):this.delegate.setProperty(e,a,t)}listen(e,a,t){if(a.charAt(0)==er){let n=T0(e),o=a.slice(1),r="";return o.charAt(0)!=er&&([o,r]=q0(o)),this.engine.listen(this.namespaceId,n,o,r,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,t,s)})}return this.delegate.listen(e,a,t)}};function T0(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function q0(i){let e=i.indexOf("."),a=i.substring(0,e),t=i.slice(e+1);return[a,t]}var dr=class{constructor(e,a,t){this.delegate=e,this.engine=a,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,a.onRemovalComplete=(n,o)=>{let r=o?.parentNode(n);r&&o.removeChild(r,n)}}createRenderer(e,a){let t="",n=this.delegate.createRenderer(e,a);if(!e||!a?.data?.animation){let c=this._rendererCache,d=c.get(n);if(!d){let g=()=>c.delete(n);d=new ur(t,n,this.engine,g),c.set(n,d)}return d}let o=a.id,r=a.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,r,e,c.name,c)};return a.data.animation.forEach(s),new hl(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,a,t){if(e>=0&&ea(t));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[r,s]=o;r(s)}),this._animationCallbacksBuffer=[]})}),n.push([a,t])}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 A0=(()=>{let e=class e extends Oa{constructor(t,n,o){super(t,n,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(L(Ue),L(Qi),L(Xi))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function I0(){return new ar}function M0(i,e,a){return new dr(i,e,a)}var Bd=[{provide:Xi,useFactory:I0},{provide:Oa,useClass:A0},{provide:tc,useFactory:M0,deps:[mc,Oa,Ct]}],E0=[{provide:Qi,useFactory:()=>new cr},{provide:fi,useValue:"BrowserAnimations"},...Bd],v3=[{provide:Qi,useClass:_l},{provide:fi,useValue:"NoopAnimations"},...Bd];function Vd(){return ic("NgEagerAnimations"),[...E0]}function L0(i,e){}var ea=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Tl=(()=>{let e=class e extends Fc{constructor(t,n,o,r,s,l,c,d){super(),this._elementRef=t,this._focusTrapFactory=n,this._config=r,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._platform=I(vi),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=I(oe),this.attachDomPortal=g=>{this._portalOutlet.hasAttached();let x=this._portalOutlet.attachDomPortal(g);return this._contentAttached(),x},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let n=this._ariaLabelledByQueue.indexOf(t);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),n}attachTemplatePortal(t){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,n){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(n)}_focusByCssSelector(t,n){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,n)}_trapFocus(){let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let t=this._config.restoreFocus,n=null;if(typeof t=="string"?n=this._document.querySelector(t):typeof t=="boolean"?n=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(n=t),this._config.restoreFocus&&n&&typeof n.focus=="function"){let o=po(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,n=po();return t===n||t.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=po()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(n){return new(n||e)(E(Be),E(ho),E(Ue,8),E(ea),E(fo),E(Ct),E(ga),E(bo))},e.\u0275cmp=J({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(n,o){if(n&1&&We(sn,7),n&2){let r;Re(r=He())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,o){n&2&&$t("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[ro,W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,o){n&1&&k(0,L0,0,0,"ng-template",0)},dependencies:[sn],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let i=e;return i})(),Un=class{constructor(e,a){this.overlayRef=e,this.config=a,this.closed=new V,this.disableClose=a.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=a.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!yi(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{a.closeOnOverlayDetachments!==!1&&this.close()})}close(e,a){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=a?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(e),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",a=""){return this.overlayRef.updateSize({width:e,height:a}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},N0=new be("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=I(Qe);return()=>i.scrollStrategies.block()}}),P0=new be("DialogData"),F0=new be("DefaultDialogConfig");var R0=0,ql=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,n,o,r,s,l){this._overlay=t,this._injector=n,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new V,this._afterOpenedAtThisLevel=new V,this._ariaHiddenElements=new Map,this.afterAllClosed=na(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(sa(void 0))),this._scrollStrategy=l}open(t,n){let o=this._defaultOptions||new ea;n=M(M({},o),n),n.id=n.id||`cdk-dialog-${R0++}`,n.id&&this.getDialogById(n.id);let r=this._getOverlayConfig(n),s=this._overlay.create(r),l=new Un(s,n),c=this._attachContainer(s,l,n);return l.containerInstance=c,this._attachDialogContent(t,l,c,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){kl(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){kl(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),kl(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let n=new wo({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(n.backdropClass=t.backdropClass),n}_attachContainer(t,n,o){let r=o.injector||o.viewContainerRef?.injector,s=[{provide:ea,useValue:o},{provide:Un,useValue:n},{provide:ga,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,s.push(...o.container.providers(o))):l=Tl;let c=new us(l,o.viewContainerRef,Gt.create({parent:r||this._injector,providers:s}),o.componentFactoryResolver);return t.attach(c).instance}_attachDialogContent(t,n,o,r){if(t instanceof Ka){let s=this._createInjector(r,n,o,void 0),l={$implicit:r.data,dialogRef:n};r.templateContext&&(l=M(M({},l),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new pa(t,null,l,s))}else{let s=this._createInjector(r,n,o,this._injector),l=o.attachComponentPortal(new us(t,r.viewContainerRef,s,r.componentFactoryResolver));n.componentRef=l,n.componentInstance=l.instance}}_createInjector(t,n,o,r){let s=t.injector||t.viewContainerRef?.injector,l=[{provide:P0,useValue:t.data},{provide:Un,useValue:n}];return t.providers&&(typeof t.providers=="function"?l.push(...t.providers(n,t,o)):l.push(...t.providers)),t.direction&&(!s||!s.get(on,null,{optional:!0}))&&l.push({provide:on,useValue:{value:t.direction,change:ct()}}),Gt.create({parent:s||r,providers:l})}_removeOpenDialog(t,n){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let n=t.parentElement.children;for(let o=n.length-1;o>-1;o--){let r=n[o];r!==t&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(n){return new(n||e)(L(Qe),L(Gt),L(F0,8),L(e,12),L(So),L(N0))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function kl(i,e){let a=i.length;for(;a--;)e(i[a])}var Jd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=It({providers:[ql],imports:[fa,ln,xc,ln]});let i=e;return i})();function z0(i,e){}var Gn=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Dl="mdc-dialog--open",Wd="mdc-dialog--opening",Ud="mdc-dialog--closing",B0=150,V0=75,J0=(()=>{let e=class e extends Tl{constructor(t,n,o,r,s,l,c,d,g){super(t,n,o,r,s,l,c,g),this._animationMode=d,this._animationStateChanged=new Ke,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?$d(this._config.enterAnimationDuration)??B0:0,this._exitAnimationDuration=this._animationsEnabled?$d(this._config.exitAnimationDuration)??V0:0,this._animationTimer=null,this._isDestroyed=!1,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Gd,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Wd,Dl)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Dl),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Dl),this._animationsEnabled?(this._hostElement.style.setProperty(Gd,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ud)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Wd,Ud)}_waitForAnimationToComplete(t,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._isDestroyed||(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t}))}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer),this._isDestroyed=!0}attachComponentPortal(t){let n=super.attachComponentPortal(t);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}};e.\u0275fac=function(n){return new(n||e)(E(Be),E(ho),E(Ue,8),E(Gn),E(fo),E(Ct),E(ga),E(fi,8),E(bo))},e.\u0275cmp=J({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,o){n&2&&(oc("id",o._config.id),$t("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Fe("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[ro,W],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(b(0,"div",0)(1,"div",1),k(2,z0,0,0,"ng-template",2),v()())},dependencies:[sn],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, white)}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2});let i=e;return i})(),Gd="--mat-dialog-transition-duration";function $d(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?os(i.substring(0,i.length-2)):i.endsWith("s")?os(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var pr=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(pr||{}),gr=class{constructor(e,a,t){this._ref=e,this._containerInstance=t,this._afterOpened=new V,this._beforeClosed=new V,this._state=pr.OPEN,this.disableClose=a.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(Ne(n=>n.state==="opened"),Pe(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(Ne(n=>n.state==="closed"),Pe(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),oi(this.backdropClick(),this.keydownEvents().pipe(Ne(n=>n.keyCode===27&&!this.disableClose&&!yi(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Zd(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Ne(a=>a.state==="closing"),Pe(1)).subscribe(a=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),a.totalTime+100)}),this._state=pr.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let a=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?a.left(e.left):a.right(e.right):a.centerHorizontally(),e&&(e.top||e.bottom)?e.top?a.top(e.top):a.bottom(e.bottom):a.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",a=""){return this._ref.updateSize(e,a),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=pr.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Zd(i,e,a){return i._closeInteractionType=e,i.close(a)}var Al=new be("MatMdcDialogData"),W0=new be("mat-mdc-dialog-default-options"),U0=new be("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=I(Qe);return()=>i.scrollStrategies.block()}});var G0=0,fr=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,n,o,r,s,l,c,d){this._overlay=t,this._defaultOptions=r,this._scrollStrategy=s,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new V,this._afterOpenedAtThisLevel=new V,this.dialogConfigClass=Gn,this.afterAllClosed=na(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(sa(void 0))),this._dialog=n.get(ql),this._dialogRefConstructor=gr,this._dialogContainerType=J0,this._dialogDataToken=Al}open(t,n){let o;n=M(M({},this._defaultOptions||new Gn),n),n.id=n.id||`mat-mdc-dialog-${G0++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(t,ne(M({},n),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:ea,useValue:n}]},templateContext:()=>({dialogRef:o}),providers:(s,l,c)=>(o=new this._dialogRefConstructor(s,n,c),o.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let n=t.length;for(;n--;)t[n].close()}};e.\u0275fac=function(n){return new(n||e)(L(Qe),L(Gt),L(cc,8),L(W0,8),L(U0),L(e,12),L(So),L(fi,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Yd=(()=>{let e=class e{constructor(t,n,o){this.dialogRef=t,this._elementRef=n,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=$0(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let n=t._matDialogClose||t._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(t){Zd(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(n){return new(n||e)(E(gr,8),E(Be),E(fr))},e.\u0275dir=Ri({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,o){n&1&&$("click",function(s){return o._onButtonClick(s)}),n&2&&$t("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Ye]});let i=e;return i})();function $0(i,e){let a=i.nativeElement.parentElement;for(;a&&!a.classList.contains("mat-mdc-dialog-container");)a=a.parentElement;return a?e.find(t=>t.id===a.id):null}var hr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=It({providers:[fr],imports:[Jd,fa,ln,xi,xi]});let i=e;return i})();var br=new be("ANGOR_MOCK_API_DEFAULT_DELAY");var vr=class{constructor(e,a){this.url=e,this.delay=a,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return ni(()=>new Error("Execution limit has been reached!"));if(!this._reply)return ni(()=>new Error("Response callback function does not exist!"));if(!this.request)return ni(()=>new Error("Request does not exist!"));this._replied++;let e=this._reply({request:this.request,urlParams:this.urlParams});return e instanceof io?e.pipe(Pe(1)):ct(e).pipe(Pe(1))}reply(e){this._reply=e}replyCount(e){this._replyCount=e}};var ee=(()=>{let e=class e{constructor(){this._handlers={get:new Map,post:new Map,patch:new Map,delete:new Map,put:new Map,head:new Map,jsonp:new Map,options:new Map}}findHandler(t,n){let o={handler:void 0,urlParams:{}},r=n.split("/"),s=this._handlers[t.toLowerCase()];for(let[l,c]of s){let d=l.split("/");if(r.length===d.length&&d.every((x,y)=>x.startsWith(":")||x===r[y])){o.handler=c,o.urlParams=zc(d.map((x,y)=>x.startsWith(":")?[x.substring(1),r[y]]:void 0).filter(Boolean));break}}return o}onGet(t,n){return this._registerHandler("get",t,n)}onPost(t,n){return this._registerHandler("post",t,n)}onPatch(t,n){return this._registerHandler("patch",t,n)}onDelete(t,n){return this._registerHandler("delete",t,n)}onPut(t,n){return this._registerHandler("put",t,n)}onHead(t,n){return this._registerHandler("head",t,n)}onJsonp(t,n){return this._registerHandler("jsonp",t,n)}onOptions(t,n){return this._registerHandler("options",t,n)}_registerHandler(t,n,o){let r=new vr(n,o);return this._handlers[t].set(n,r),r}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Kd=(i,e)=>{let a=I(br),t=I(ee),{handler:n,urlParams:o}=t.findHandler(i.method.toUpperCase(),i.url);return n?(n.request=i,n.urlParams=o,n.response.pipe(ra(n.delay??a??0),Ze(r=>{if(!r)return ni(()=>new as({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));let s={status:r[0],body:r[1]};return s.status>=200&&s.status<300?ct(new dc({body:s.body,status:s.status,statusText:"OK"})):ni(()=>new as({error:s.body?.error,status:s.status,statusText:"ERROR"}))}))):e(i)};var Ae=class{static guid(){let e=new Date().getTime();return typeof performance<"u"&&typeof performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{let t=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(a==="x"?t:t&3|8).toString(16)})}};var Y0=(i,e,a,t,n,o,r,s)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":i,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":e,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":a,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":t,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":n,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":o,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":r,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":s});function K0(i,e){i&1&&(b(0,"div",1)(1,"button",6),C(2,"mat-icon",7),v()()),i&2&&(m(),f("matDialogClose",void 0),m(),f("svgIcon","heroicons_outline:x-mark"))}function Q0(i,e){if(i&1&&(b(0,"div",3),C(1,"mat-icon",8),v()),i&2){let a=h();f("ngClass",lc(2,Y0,a.data.icon.color==="primary",a.data.icon.color==="accent",a.data.icon.color==="warn",a.data.icon.color==="basic",a.data.icon.color==="info",a.data.icon.color==="success",a.data.icon.color==="warning",a.data.icon.color==="error")),m(),f("svgIcon",a.data.icon.name)}}function X0(i,e){if(i&1&&C(0,"div",9),i&2){let a=h(2);f("innerHTML",a.data.title,ft)}}function eb(i,e){if(i&1&&C(0,"div",10),i&2){let a=h(2);f("innerHTML",a.data.message,ft)}}function tb(i,e){if(i&1&&(b(0,"div",4),k(1,X0,1,1,"div",9)(2,eb,1,1,"div",10),v()),i&2){let a=h();m(),w(a.data.title?1:-1),m(),w(a.data.message?2:-1)}}function ib(i,e){if(i&1&&(b(0,"button",11),z(1),v()),i&2){let a=h(2);f("matDialogClose","cancelled"),m(),te(" ",a.data.actions.cancel.label," ")}}function ab(i,e){if(i&1&&(b(0,"button",12),z(1),v()),i&2){let a=h(2);f("color",a.data.actions.confirm.color)("matDialogClose","confirmed"),m(),te(" ",a.data.actions.confirm.label," ")}}function nb(i,e){if(i&1&&(b(0,"div",5),k(1,ib,2,2,"button",11)(2,ab,2,3,"button",12),v()),i&2){let a=h();m(),w(a.data.actions.cancel.show?1:-1),m(),w(a.data.actions.confirm.show?2:-1)}}var Qd=(()=>{let e=class e{constructor(){this.data=I(Al)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-confirmation-dialog"]],standalone:!0,features:[W],decls:6,vars:4,consts:[[1,"relative","flex","h-full","w-full","flex-col"],[1,"absolute","right-0","top-0","pr-4","pt-4"],[1,"flex","flex-auto","flex-col","items-center","p-8","pb-6","sm:flex-row","sm:items-start","sm:pb-8"],[1,"flex","h-10","w-10","flex-0","items-center","justify-center","rounded-full","sm:mr-4",3,"ngClass"],[1,"mt-4","flex","flex-col","items-center","space-y-1","text-center","sm:mt-0","sm:items-start","sm:pr-8","sm:text-left"],[1,"flex","items-center","justify-center","space-x-3","bg-gray-50","px-6","py-4","dark:bg-black","dark:bg-opacity-10","sm:justify-end"],["mat-icon-button","",3,"matDialogClose"],[1,"text-secondary",3,"svgIcon"],[1,"text-current",3,"svgIcon"],[1,"text-xl","font-medium","leading-6",3,"innerHTML"],[1,"text-secondary",3,"innerHTML"],["mat-stroked-button","",3,"matDialogClose"],["mat-flat-button","",3,"color","matDialogClose"]],template:function(n,o){n&1&&(b(0,"div",0),k(1,K0,3,2,"div",1),b(2,"div",2),k(3,Q0,2,11,"div",3)(4,tb,3,2,"div",4),v(),k(5,nb,3,2,"div",5),v()),n&2&&(m(),w(o.data.dismissible?1:-1),m(2),w(o.data.icon.show?3:-1),m(),w(o.data.title||o.data.message?4:-1),m(),w(o.data.actions.confirm.show||o.data.actions.cancel.show?5:-1))},dependencies:[rt,Jc,ot,hr,Yd,xe,_e,ye],styles:[`@media (min-width: 960px){.angor-confirmation-dialog-panel{width:32rem}}.angor-confirmation-dialog-panel .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:0!important} `],encapsulation:2});let i=e;return i})();var Xd=(()=>{let e=class e{constructor(){this._matDialog=I(fr),this._defaultConfig={title:"Confirm action",message:"Are you sure you want to confirm this action?",icon:{show:!0,name:"heroicons_outline:exclamation-triangle",color:"warn"},actions:{confirm:{show:!0,label:"Confirm",color:"warn"},cancel:{show:!0,label:"Cancel"}},dismissible:!1}}open(t={}){let n=To({},this._defaultConfig,t);return this._matDialog.open(Qd,{autoFocus:!1,disableClose:!n.dismissible,data:n,panelClass:"angor-confirmation-dialog-panel"})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Na=(()=>{let e=class e{constructor(){this._auto$=new Jt(!0),this._mode$=new Jt("indeterminate"),this._progress$=new Jt(0),this._show$=new Jt(!1),this._urlMap=new Map}get auto$(){return this._auto$.asObservable()}get mode$(){return this._mode$.asObservable()}get progress$(){return this._progress$.asObservable()}get show$(){return this._show$.asObservable()}show(){this._show$.next(!0)}hide(){this._show$.next(!1)}setAutoMode(t){this._auto$.next(t)}setMode(t){this._mode$.next(t)}setProgress(t){if(t<0||t>100){console.error("Progress value must be between 0 and 100!");return}this._progress$.next(t)}_setLoadingStatus(t,n){if(!n){console.error("The request URL must be provided!");return}t===!0?(this._urlMap.set(n,t),this._show$.next(!0)):t===!1&&this._urlMap.has(n)&&this._urlMap.delete(n),this._urlMap.size===0&&this._show$.next(!1)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var em=(i,e)=>{let a=I(Na),t=!1;return a.auto$.pipe(Pe(1)).subscribe(n=>{t=n}),t?(a._setLoadingStatus(!0,i.url),e(i).pipe(Zl(()=>{a._setLoadingStatus(!1,i.url)}))):e(i)};var _r=(()=>{let e=class e{constructor(){this._platform=I(vi),this.osName="os-unknown",this._platform.isBrowser&&(navigator.userAgent.includes("Win")&&(this.osName="os-windows"),navigator.userAgent.includes("Mac")&&(this.osName="os-mac"),navigator.userAgent.includes("X11")&&(this.osName="os-unix"),navigator.userAgent.includes("Linux")&&(this.osName="os-linux"),this._platform.IOS&&(this.osName="os-ios"),this._platform.ANDROID&&(this.osName="os-android"))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var tm=(()=>{let e=class e{constructor(){this._document=I(Ue),this._router=I(Ge),this._router.events.pipe(Ne(t=>t instanceof Yt),Pe(1)).subscribe(()=>{this.hide()})}show(){this._document.body.classList.remove("angor-splash-screen-hidden")}hide(){this._document.body.classList.add("angor-splash-screen-hidden")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var im=i=>{let e=[{provide:wc,useValue:{doctype:!0,theme:!1,version:!0}},{provide:jc,useValue:{appearance:"fill"}},{provide:br,useValue:i?.mockApi?.delay??0},{provide:Vc,useValue:i?.angor??{}},Xl(hr),{provide:ri,useValue:()=>I(Xd),multi:!0},nn(ns([em])),{provide:ri,useValue:()=>I(Na),multi:!0},{provide:ri,useValue:()=>I(wi),multi:!0},{provide:ri,useValue:()=>I(_r),multi:!0},{provide:ri,useValue:()=>I(tm),multi:!0},{provide:ri,useValue:()=>I(Ot),multi:!0}];return i?.mockApi?.services&&e.push(nn(ns([Kd])),{provide:an,deps:[...i.mockApi.services],useFactory:()=>()=>null,multi:!0}),e};function am(i){return i&&i.constructor&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)}function nm(i){return i}function Il(i,e){e=e||{};let a=e.delimiter||".",t=e.maxDepth,n=e.transformKey||nm,o={};function r(s,l,c){c=c||1,Object.keys(s).forEach(function(d){let g=s[d],x=e.safe&&Array.isArray(g),y=Object.prototype.toString.call(g),_=am(g),D=y==="[object Object]"||y==="[object Array]",O=l?l+a+n(d):n(d);if(!x&&!_&&D&&Object.keys(g).length&&(!e.maxDepth||c0&&(x=s(g.shift()),y=s(g[0]))}_[x]=Ml(i[d],e)}),o}var Ol=class{translations;constructor(e){this.translations=e}getTranslation(e){return ct(this.translations.get(e)||{})}},lm=new be("TRANSLOCO_LOADER");function om(i,e){return i&&(Object.prototype.hasOwnProperty.call(i,e)?i[e]:e.split(".").reduce((a,t)=>a?.[t],i))}function rb(i,e,a){i=M({},i);let t=e.split("."),n=t.length-1;return t.reduce((o,r,s)=>(s===n?o[r]=a:o[r]=Array.isArray(o[r])?o[r].slice():M({},o[r]),o&&o[r]),i),i}function cm(i){return i?Array.isArray(i)?i.length:Nl(i)?Object.keys(i).length:i?i.length:0:0}function sb(i){return cm(i)===0}function lb(i){return typeof i=="function"}function xr(i){return typeof i=="string"}function Nl(i){return!!i&&typeof i=="object"&&!Array.isArray(i)}function cb(i){return i.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,a)=>a==0?e.toLowerCase():e.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ll(i){return i==null}function rm(i){return Ll(i)===!1}function um(i){return i&&typeof i.scope=="string"}function ub(i){return Array.isArray(i)&&i.every(um)}function db(i){return i&&Nl(i.loader)}function mb(i){return Ml(i)}function sm(i){return Il(i,{safe:!0})}var Pa=new be("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>$n}),$n={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function pb(i={}){return ne(M(M({},$n),i),{missingHandler:M(M({},$n.missingHandler),i.missingHandler),flatten:M(M({},$n.flatten),i.flatten)})}var dm=new be("TRANSLOCO_TRANSPILER"),gb=(()=>{class i{interpolationMatcher;constructor(a){this.interpolationMatcher=fb(a??$n)}transpile(a,t={},n,o){return xr(a)?a.replace(this.interpolationMatcher,(r,s)=>(s=s.trim(),rm(t[s])?t[s]:rm(n[s])?this.transpile(n[s],t,n,o):"")):(t&&(Nl(a)?a=this.handleObject(a,t,n,o):Array.isArray(a)&&(a=this.handleArray(a,t,n,o))),a)}handleObject(a,t={},n,o){let r=a;return Object.keys(t).forEach(s=>{let l=om(r,s),c=om(t,s),d=this.transpile(l,c,n,o);r=rb(r,s,d)}),r}handleArray(a,t={},n,o){return a.map(r=>this.transpile(r,t,n,o))}static \u0275fac=function(t){return new(t||i)(L(Pa,8))};static \u0275prov=N({token:i,factory:i.\u0275fac})}return i})();function fb(i){let[e,a]=i.interpolation;return new RegExp(`${e}(.*?)${a}`,"g")}var mm=new be("TRANSLOCO_MISSING_HANDLER"),hb=(()=>{class i{handle(a,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let n=`Missing translation for '${a}'`;console.warn(`%c ${n}`,"font-size: 12px; color: red")}return a}static \u0275fac=function(t){return new(t||i)};static \u0275prov=N({token:i,factory:i.\u0275fac})}return i})(),pm=new be("TRANSLOCO_INTERCEPTOR"),bb=(()=>{class i{preSaveTranslation(a){return a}preSaveTranslationKey(a,t){return t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=N({token:i,factory:i.\u0275fac})}return i})(),gm=new be("TRANSLOCO_FALLBACK_STRATEGY"),vb=(()=>{class i{userConfig;constructor(a){this.userConfig=a}getNextLangs(){let a=this.userConfig.fallbackLang;if(!a)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(a)?a:[a]}static \u0275fac=function(t){return new(t||i)(L(Pa))};static \u0275prov=N({token:i,factory:i.\u0275fac})}return i})();function wr(i){if(!i)return"";let e=i.split("/");return e.pop(),e.join("/")}function ia(i){return i?i.split("/").pop():""}function yb(i,e){return Object.keys(i).reduce((a,t)=>(a[`${e}/${t}`]=i[t],a),{})}function _b(i,e){return db(i)?yb(i.loader,e):void 0}function El(i){return{scope:wr(i)||null,langName:ia(i)}}function fm(i){let{path:e,inlineLoader:a,mainLoader:t,data:n}=i;if(a){let o=a[e];if(lb(o)===!1)throw`You're using an inline loader but didn't provide a loader for ${e}`;return a[e]().then(r=>r.default?r.default:r)}return t.getTranslation(e,n)}function xb({mainLoader:i,path:e,data:a,fallbackPath:t,inlineLoader:n}){return(t?[e,t]:[e]).map(r=>{let s=fm({path:r,mainLoader:i,inlineLoader:n,data:a});return Ya(s).pipe(Le(l=>({translation:l,lang:r})))})}var wb;var hm=(()=>{class i{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;subscription=null;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new V;events$=this.events.asObservable();config;constructor(a,t,n,o,r,s){this.loader=a,this.parser=t,this.missingHandler=n,this.interceptor=o,this.fallbackStrategy=s,this.loader||(this.loader=new Ol(this.translations)),wb=this,this.config=JSON.parse(JSON.stringify(r)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Jt(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(l=>{l.type==="translationLoadSuccess"&&l.wasFailure&&this.setActiveLang(l.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(a){this.defaultLang=a}getActiveLang(){return this.lang.getValue()}setActiveLang(a){return this.parser.onLangChanged?.(a),this.lang.next(a),this.events.next({type:"langChanged",payload:El(a)}),this}setAvailableLangs(a){this.availableLangs=a}getAvailableLangs(){return this.availableLangs}load(a,t={}){let n=this.cache.get(a);if(n)return n;let o,r=this._isLangScoped(a),s;r&&(s=wr(a));let l={path:a,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:r?{scope:s}:void 0};if(this.useFallbackTranslation(a)){let d=r?`${s}/${this.firstFallbackLang}`:this.firstFallbackLang,g=xb(ne(M({},l),{fallbackPath:d}));o=no(g)}else{let d=fm(l);o=Ya(d)}let c=o.pipe(Yl(this.config.failedRetries),Ut(d=>{if(Array.isArray(d)){d.forEach(g=>{this.handleSuccess(g.lang,g.translation),g.lang!==a&&this.cache.set(g.lang,ct({}))});return}this.handleSuccess(a,d)}),$l(d=>(this.config.prodMode||console.error(`Error while trying to load "${a}"`,d),this.handleFailure(a,t))),Kl(1));return this.cache.set(a,c),c}translate(a,t={},n=this.getActiveLang()){if(!a)return a;let{scope:o,resolveLang:r}=this.resolveLangAndScope(n);if(Array.isArray(a))return a.map(c=>this.translate(o?`${o}.${c}`:c,t,r));a=o?`${o}.${a}`:a;let s=this.getTranslation(r),l=s[a];return l?this.parser.transpile(l,t,s,a):this._handleMissingKey(a,l,t)}selectTranslate(a,t,n,o=!1){let r,s=(c,d)=>this.load(c,d).pipe(Le(()=>o?this.translateObject(a,t,c):this.translate(a,t,c)));if(Ll(n))return this.langChanges$.pipe(Ze(c=>s(c)));if(ub(n)||um(n)){let c=Array.isArray(n)?n[0]:n;n=c.scope,r=_b(c,c.scope)}if(n=n,this.isLang(n)||this.isScopeWithLang(n))return s(n);let l=n;return this.langChanges$.pipe(Ze(c=>s(`${l}/${c}`,{inlineLoader:r})))}isScopeWithLang(a){return this.isLang(ia(a))}translateObject(a,t={},n=this.getActiveLang()){if(xr(a)||Array.isArray(a)){let{resolveLang:r,scope:s}=this.resolveLangAndScope(n);if(Array.isArray(a))return a.map(d=>this.translateObject(s?`${s}.${d}`:d,t,r));let l=this.getTranslation(r);a=s?`${s}.${a}`:a;let c=mb(this.getObjectByKey(l,a));return sb(c)?this.translate(a,t,n):this.parser.transpile(c,t,l,a)}let o=[];for(let[r,s]of this.getEntries(a))o.push(this.translateObject(r,s,n));return o}selectTranslateObject(a,t,n){if(xr(a)||Array.isArray(a))return this.selectTranslate(a,t,n,!0);let[[o,r],...s]=this.getEntries(a);return this.selectTranslateObject(o,r,n).pipe(Le(l=>{let c=[l];for(let[d,g]of s)c.push(this.translateObject(d,g,n));return c}))}getTranslation(a){if(a){if(this.isLang(a))return this.translations.get(a)||{};{let{scope:t,resolveLang:n}=this.resolveLangAndScope(a),o=this.translations.get(n)||{};return this.getObjectByKey(o,t)}}return this.translations}selectTranslation(a){let t=this.langChanges$;if(a){let n=ia(a)!==a;this.isLang(a)||n?t=ct(a):t=this.langChanges$.pipe(Le(o=>`${a}/${o}`))}return t.pipe(Ze(n=>this.load(n).pipe(Le(()=>this.getTranslation(n)))))}setTranslation(a,t=this.getActiveLang(),n={}){let r=M(M({},{merge:!0,emitChange:!0}),n),s=wr(t),l=a;if(s){let y=this.getMappedScope(s);l=sm({[y]:a})}let c=s?ia(t):t,d=M(M({},r.merge&&this.getTranslation(c)),l),g=this.config.flatten.aot?d:sm(d),x=this.interceptor.preSaveTranslation(g,c);this.translations.set(c,x),r.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(a,t,n=this.getActiveLang(),o={}){let r=this.interceptor.preSaveTranslationKey(a,t,n),s={[a]:r};this.setTranslation(s,n,ne(M({},o),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:a}){let t=Array.isArray(a)?a[0]:a;a&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(a,t,n){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let o=this.translate(a,n,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,o}return this.missingHandler.handle(a,this.getMissingHandlerData(),n)}_isLangScoped(a){return this.getAvailableLangsIds().indexOf(a)===-1}isLang(a){return this.getAvailableLangsIds().indexOf(a)!==-1}_loadDependencies(a,t){let n=ia(a);return this._isLangScoped(a)&&!this.isLoadedTranslation(n)?ao([this.load(n),this.load(a,{inlineLoader:t})]):this.load(a,{inlineLoader:t})}_completeScopeWithLang(a){return this._isLangScoped(a)&&!this.isLang(ia(a))?`${a}/${this.getActiveLang()}`:a}_setScopeAlias(a,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[a]=t}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(a){return cm(this.getTranslation(a))}getAvailableLangsIds(){let a=this.getAvailableLangs()[0];return xr(a)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return ne(M({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(a){return this.config.missingHandler.useFallbackTranslation&&a!==this.firstFallbackLang}handleSuccess(a,t){this.setTranslation(t,a,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:El(a)}),this.failedLangs.forEach(n=>this.cache.delete(n)),this.failedLangs.clear()}handleFailure(a,t){Ll(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(a)));let n=a.split("/"),r=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(a),this.cache.has(r))return this.handleSuccess(r,this.getTranslation(r)),Ul;let s=r===n[n.length-1];if(!r||s){let c="Unable to load translation and all the fallback languages";throw n.length>1&&(c+=", did you misspelled the scope name?"),new Error(c)}let l=r;return n.length>1&&(n[n.length-1]=r,l=n.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:El(a)}),this.load(l,t)}getMappedScope(a){let{scopeMapping:t={}}=this.config;return t[a]||cb(a)}resolveLangAndScope(a){let t=a,n;if(this._isLangScoped(a)){let o=ia(a),r=this.isLang(o);t=r?o:this.getActiveLang(),n=this.getMappedScope(r?wr(a):a)}return{scope:n,resolveLang:t}}getObjectByKey(a,t){let n={},o=`${t}.`;for(let r in a)r.startsWith(o)&&(n[r.replace(o,"")]=a[r]);return n}getEntries(a){return a instanceof Map?a.entries():Object.entries(a)}static \u0275fac=function(t){return new(t||i)(L(lm,8),L(dm),L(mm),L(pm),L(Pa),L(gm))};static \u0275prov=N({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var tx=new be("TRANSLOCO_LANG"),ix=new be("TRANSLOCO_LOADING_TEMPLATE"),ax=new be("TRANSLOCO_SCOPE");function bm(i){let e=[kb(gb),qb(hb),Db(bb),Tb(vb)];return i.config&&e.push(Sb(i.config)),i.loader&&e.push(Cb(i.loader)),e}function Sb(i){return Hi([{provide:Pa,useValue:pb(i)}])}function Cb(i){return Hi([{provide:lm,useClass:i}])}function kb(i){return Hi([{provide:dm,useClass:i,deps:[Pa]}])}function Tb(i){return Hi([{provide:gm,useClass:i,deps:[Pa]}])}function qb(i){return Hi([{provide:mm,useClass:i}])}function Db(i){return Hi([{provide:pm,useClass:i}])}var nx=new be("TRANSLOCO_TEST_LANGS - Available testing languages"),ox=new be("TRANSLOCO_TEST_OPTIONS - Testing options");var Fa=(()=>{let e=class e{constructor(){this._httpClient=I(Zt),this._navigation=new Wt(1)}get navigation$(){return this._navigation.asObservable()}get(){return this._httpClient.get("api/common/navigation").pipe(Ut(t=>{this._navigation.next(t)}))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Sr=(()=>{let e=class e{constructor(t){this._httpClient=t,this._notifications=new Wt(1)}get notifications$(){return this._notifications.asObservable()}getAll(){return this._httpClient.get("api/common/notifications").pipe(Ut(t=>{this._notifications.next(t)}))}create(t){return this.notifications$.pipe(Pe(1),Ze(n=>this._httpClient.post("api/common/notifications",{notification:t}).pipe(Le(o=>(this._notifications.next([...n,o]),o)))))}update(t,n){return this.notifications$.pipe(Pe(1),Ze(o=>this._httpClient.patch("api/common/notifications",{id:t,notification:n}).pipe(Le(r=>{let s=o.findIndex(l=>l.id===t);return o[s]=r,this._notifications.next(o),r}))))}delete(t){return this.notifications$.pipe(Pe(1),Ze(n=>this._httpClient.delete("api/common/notifications",{params:{id:t}}).pipe(Le(o=>{let r=n.findIndex(s=>s.id===t);return n.splice(r,1),this._notifications.next(n),o}))))}markAllAsRead(){return this.notifications$.pipe(Pe(1),Ze(t=>this._httpClient.get("api/common/notifications/mark-all-as-read").pipe(Le(n=>(t.forEach((o,r)=>{t[r].read=!0}),this._notifications.next(t),n)))))}};e.\u0275fac=function(n){return new(n||e)(L(Zt))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Cr=(()=>{let e=class e{constructor(t){this._httpClient=t,this._chat=new Jt(null),this._chats=new Jt(null)}get chat$(){return this._chat.asObservable()}get chats$(){return this._chats.asObservable()}getChats(){return this._httpClient.get("api/apps/chat/chats").pipe(Ut(t=>{this._chats.next(t)}))}getChatById(t){return this._httpClient.get("api/apps/chat/chat",{params:{id:t}}).pipe(Le(n=>(this._chat.next(n),n)),Ze(n=>n?ct(n):ni("Could not found chat with id of "+t+"!")))}};e.\u0275fac=function(n){return new(n||e)(L(Zt))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ym=()=>{let i=I(Fa),e=I(Sr),a=I(Cr);return no([i.get(),e.getAll(),a.getChats()])};var kr=class{constructor(e){this.version=e,this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}};var _m=new kr("0.0.1").full;function Mb(i,e){i&1&&C(0,"div",2)}var Eb=new be("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var Sm=(()=>{let e=class e{constructor(t,n,o,r,s){this._elementRef=t,this._ngZone=n,this._changeDetectorRef=o,this._animationMode=r,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new Ke,this._mode="determinate",this._transitionendHandler=l=>{this.animationEnd.observers.length===0||!l.target||!l.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=r==="NoopAnimations",s&&(s.color&&(this.color=this._defaultColor=s.color),this.mode=s.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(t){this._color=t}get value(){return this._value}set value(t){this._value=wm(t||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(t){this._bufferValue=wm(t||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(t){this._mode=t,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};e.\u0275fac=function(n){return new(n||e)(E(Be),E(Ct),E(oe),E(fi,8),E(Eb,8))},e.\u0275cmp=J({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(n,o){n&2&&($t("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),kt("mat-"+o.color),Fe("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",is],bufferValue:[2,"bufferValue","bufferValue",is],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[Xa,W],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,o){n&1&&(b(0,"div",0),C(1,"div",1),k(2,Mb,1,0,"div",2),v(),b(3,"div",3),C(4,"span",4),v(),b(5,"div",5),C(6,"span",4),v()),n&2&&(m(),es("flex-basis",o._getBufferBarFlexBasis()),m(),w(o.mode==="buffer"?2:-1),m(),es("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let i=e;return i})();function wm(i,e=0,a=100){return Math.max(e,Math.min(a,i))}var Cm=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=It({imports:[xi]});let i=e;return i})();function Lb(i,e){if(i&1&&C(0,"mat-progress-bar",0),i&2){let a=h();f("mode",a.mode)("value",a.progress)}}var Ra=(()=>{let e=class e{constructor(){this._angorLoadingService=I(Na),this.autoMode=!0,this.progress=0,this.show=!1,this._unsubscribeAll=new V}ngOnChanges(t){"autoMode"in t&&this._angorLoadingService.setAutoMode(_i(t.autoMode.currentValue))}ngOnInit(){this._angorLoadingService.mode$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.mode=t}),this._angorLoadingService.progress$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.progress=t}),this._angorLoadingService.show$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.show=t})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-loading-bar"]],inputs:{autoMode:"autoMode"},exportAs:["angorLoadingBar"],standalone:!0,features:[Ye,W],decls:1,vars:1,consts:[[3,"mode","value"]],template:function(n,o){n&1&&k(0,Lb,1,2,"mat-progress-bar",0),n&2&&w(o.show?0:-1)},dependencies:[Cm,Sm],styles:[`angor-loading-bar{position:fixed;top:0;z-index:999;width:100%;height:6px} `],encapsulation:2});let i=e;return i})();function Nb(i,e){i&1&&C(0,"router-outlet")}var km=(()=>{let e=class e{constructor(){this._unsubscribeAll=new V}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["empty-layout"]],standalone:!0,features:[W],decls:4,vars:1,consts:[[1,"flex","w-full","flex-auto","flex-col"],[1,"flex","flex-auto","flex-col"]],template:function(n,o){n&1&&(C(0,"angor-loading-bar"),b(1,"div",0)(2,"div",1),k(3,Nb,1,0,"router-outlet"),v()()),n&2&&(m(3),w(3))},dependencies:[Ra,hi],encapsulation:2});let i=e;return i})();function Pb(i,e){i&1&&C(0,"mat-icon",3)}var Tr=(()=>{let e=class e{constructor(){this._document=I(Ue)}toggleFullscreen(){if(!this._document.fullscreenEnabled){console.log("Fullscreen is not available in this browser.");return}this._document.fullscreenElement?this._document.exitFullscreen():this._document.documentElement.requestFullscreen().catch(()=>{console.error("Entering fullscreen mode failed.")})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-fullscreen"]],inputs:{iconTpl:"iconTpl",tooltip:"tooltip"},exportAs:["angorFullscreen"],standalone:!0,features:[W],decls:4,vars:2,consts:[["defaultIconTpl",""],["mat-icon-button","",3,"click","matTooltip"],[3,"ngTemplateOutlet"],["svgIcon","heroicons_outline:arrows-pointing-out"]],template:function(n,o){if(n&1){let r=le();b(0,"button",1),$("click",function(){return Q(r),X(o.toggleFullscreen())}),se(1,2),v(),k(2,Pb,1,0,"ng-template",null,0,Ve)}if(n&2){let r=K(3);f("matTooltip",o.tooltip||"Toggle Fullscreen"),m(),f("ngTemplateOutlet",o.iconTpl||r)}},dependencies:[rt,ot,mt,dt,ut,xe,_e],encapsulation:2,changeDetection:0});let i=e;return i})();var fe=(()=>{let e=class e{constructor(){this._componentRegistry=new Map,this._navigationStore=new Map}registerComponent(t,n){this._componentRegistry.set(t,n)}deregisterComponent(t){this._componentRegistry.delete(t)}getComponent(t){return this._componentRegistry.get(t)}storeNavigation(t,n){this._navigationStore.set(t,n)}getNavigation(t){return this._navigationStore.get(t)??[]}deleteNavigation(t){this._navigationStore.has(t)||console.warn(`Navigation with the key '${t}' does not exist.`),this._navigationStore.delete(t)}getFlatNavigation(t,n=[]){for(let o of t)o.type==="basic"?n.push(o):o.children&&this.getFlatNavigation(o.children,n);return n}getItem(t,n){for(let o of n){if(o.id===t)return o;if(o.children){let r=this.getItem(t,o.children);if(r)return r}}return null}getItemParent(t,n,o){for(let r of n){if(r.id===t)return o;if(r.children){let s=this.getItemParent(t,r.children,r);if(s)return s}}return null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var qr=i=>({"angor-horizontal-navigation-item-active-forced":i}),qm=i=>[i];function Fb(i,e){i&1&&se(0)}function Rb(i,e){if(i&1&&(b(0,"div",2),k(1,Fb,1,0,"ng-container",7),v()),i&2){let a,t,n,o,r=h(),s=K(9);f("ngClass",de(10,qr,r.item.active))("routerLink",de(12,qm,r.item.link))("fragment",(a=r.item.fragment)!==null&&a!==void 0?a:null)("preserveFragment",(t=r.item.preserveFragment)!==null&&t!==void 0?t:!1)("queryParams",(n=r.item.queryParams)!==null&&n!==void 0?n:null)("queryParamsHandling",(o=r.item.queryParamsHandling)!==null&&o!==void 0?o:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",r.isActiveMatchOptions)("matTooltip",r.item.tooltip||""),m(),f("ngTemplateOutlet",s)}}function Hb(i,e){i&1&&se(0)}function jb(i,e){if(i&1&&(b(0,"a",3),k(1,Hb,1,0,"ng-container",7),v()),i&2){let a=h(),t=K(9);f("href",a.item.link,nt)("target",a.item.target||"_self")("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function zb(i,e){i&1&&se(0)}function Bb(i,e){if(i&1){let a=le();b(0,"div",8),$("click",function(){Q(a);let n=h();return X(n.item.function(n.item))}),k(1,zb,1,0,"ng-container",7),v()}if(i&2){let a=h(),t=K(9);f("ngClass",de(3,qr,a.item.active))("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Vb(i,e){i&1&&se(0)}function Jb(i,e){if(i&1){let a=le();b(0,"div",9),$("click",function(){Q(a);let n=h();return X(n.item.function(n.item))}),k(1,Vb,1,0,"ng-container",7),v()}if(i&2){let a,t,n,o,r=h(),s=K(9);f("ngClass",de(10,qr,r.item.active))("routerLink",de(12,qm,r.item.link))("fragment",(a=r.item.fragment)!==null&&a!==void 0?a:null)("preserveFragment",(t=r.item.preserveFragment)!==null&&t!==void 0?t:!1)("queryParams",(n=r.item.queryParams)!==null&&n!==void 0?n:null)("queryParamsHandling",(o=r.item.queryParamsHandling)!==null&&o!==void 0?o:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",r.isActiveMatchOptions)("matTooltip",r.item.tooltip||""),m(),f("ngTemplateOutlet",s)}}function Wb(i,e){i&1&&se(0)}function Ub(i,e){if(i&1){let a=le();b(0,"a",10),$("click",function(){Q(a);let n=h();return X(n.item.function(n.item))}),k(1,Wb,1,0,"ng-container",7),v()}if(i&2){let a=h(),t=K(9);f("href",a.item.link,nt)("target",a.item.target||"_self")("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Gb(i,e){i&1&&se(0)}function $b(i,e){if(i&1&&(b(0,"div",4),k(1,Gb,1,0,"ng-container",7),v()),i&2){let a=h(),t=K(9);f("ngClass",de(3,qr,a.item.active))("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Zb(i,e){i&1&&se(0)}function Yb(i,e){if(i&1&&(b(0,"div",6),k(1,Zb,1,0,"ng-container",7),v()),i&2){h();let a=K(9);m(),f("ngTemplateOutlet",a)}}function Kb(i,e){if(i&1&&C(0,"mat-icon",11),i&2){let a=h(2);f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function Qb(i,e){if(i&1&&(b(0,"div",15)(1,"span",14),z(2),v()()),i&2){let a=h(2);m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),te(" ",a.item.subtitle," ")}}function Xb(i,e){if(i&1&&(b(0,"div",16)(1,"div",17),z(2),v()()),i&2){let a=h(2);m(),f("ngClass",a.item.badge.classes),m(),te(" ",a.item.badge.title," ")}}function ev(i,e){if(i&1&&(k(0,Kb,1,2,"mat-icon",11),b(1,"div",12)(2,"div",13)(3,"span",14),z(4),v()(),k(5,Qb,3,2,"div",15),v(),k(6,Xb,3,2,"div",16)),i&2){let a=h();w(a.item.icon?0:-1),m(3),f("ngClass",a.item.classes==null?null:a.item.classes.title),m(),te(" ",a.item.title," "),m(),w(a.item.subtitle?5:-1),m(),w(a.item.badge?6:-1)}}var Dr=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._angorUtilsService=I(Ot),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new V}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorHorizontalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-horizontal-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[W],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item","angor-horizontal-navigation-item-disabled"],[4,"ngTemplateOutlet"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(n,o){n&1&&(b(0,"div",1),k(1,Rb,2,14,"div",2)(2,jb,2,4,"a",3)(3,Bb,2,5,"div",4)(4,Jb,2,14,"div",2)(5,Ub,2,4,"a",5)(6,$b,2,5,"div",4)(7,Yb,2,1,"div",6),v(),k(8,ev,7,5,"ng-template",null,0,Ve)),n&2&&(Fe("angor-horizontal-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(),w(o.item.link&&!o.item.externalLink&&!o.item.function&&!o.item.disabled?1:-1),m(),w(o.item.link&&o.item.externalLink&&!o.item.function&&!o.item.disabled?2:-1),m(),w(!o.item.link&&o.item.function&&!o.item.disabled?3:-1),m(),w(o.item.link&&!o.item.externalLink&&o.item.function&&!o.item.disabled?4:-1),m(),w(o.item.link&&o.item.externalLink&&o.item.function&&!o.item.disabled?5:-1),m(),w(!o.item.link&&!o.item.function&&!o.item.disabled?6:-1),m(),w(o.item.disabled?7:-1))},dependencies:[ye,bi,mo,mt,dt,ut,ba,ha,xe,_e],encapsulation:2,changeDetection:0});let i=e;return i})();var Dm=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._unsubscribeAll=new V}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-horizontal-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[W],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper","divider",3,"ngClass"]],template:function(n,o){n&1&&C(0,"div",0),n&2&&f("ngClass",o.item.classes==null?null:o.item.classes.wrapper)},dependencies:[ye],encapsulation:2,changeDetection:0});let i=e;return i})();var tv=["matMenu"],iv=(i,e)=>({"angor-horizontal-navigation-menu-active":i,"angor-horizontal-navigation-menu-active-forced":e}),Am=i=>({$implicit:i}),av=(i,e)=>({"angor-horizontal-navigation-item-disabled":i,"angor-horizontal-navigation-item-active-forced":e});function nv(i,e){i&1&&se(0)}function ov(i,e){if(i&1){let a=le();b(0,"div",6,2),$("onMenuOpen",function(){Q(a);let n=h();return X(n.triggerChangeDetection())})("onMenuClose",function(){Q(a);let n=h();return X(n.triggerChangeDetection())}),k(2,nv,1,0,"ng-container",7),v()}if(i&2){let a=K(1),t=h(),n=K(2),o=K(6);f("ngClass",Et(4,iv,a.menuOpen,t.item.active))("matMenuTriggerFor",n),m(2),f("ngTemplateOutlet",o)("ngTemplateOutletContext",de(7,Am,t.item))}}function rv(i,e){if(i&1&&(b(0,"div",8),C(1,"angor-horizontal-navigation-basic-item",11),v()),i&2){let a=h(2).$implicit,t=h();f("disabled",a.disabled),m(),f("item",a)("name",t.name)}}function sv(i,e){i&1&&se(0)}function lv(i,e){if(i&1&&(b(0,"div",9),k(1,sv,1,0,"ng-container",7),C(2,"angor-horizontal-navigation-branch-item",12,3),v()),i&2){let a=K(3),t=h(2).$implicit,n=h(),o=K(6);f("disabled",t.disabled)("matMenuTriggerFor",a.matMenu),m(),f("ngTemplateOutlet",o)("ngTemplateOutletContext",de(7,Am,t)),m(),f("child",!0)("item",t)("name",n.name)}}function cv(i,e){if(i&1&&(b(0,"div",10),C(1,"angor-horizontal-navigation-divider-item",11),v()),i&2){let a=h(2).$implicit,t=h();m(),f("item",a)("name",t.name)}}function uv(i,e){if(i&1&&k(0,rv,2,3,"div",8)(1,lv,4,9,"div",9)(2,cv,2,2,"div",10),i&2){let a=h().$implicit;w(a.type==="basic"?0:-1),m(),w(a.type==="aside"||a.type==="collapsable"||a.type==="group"?1:-1),m(),w(a.type==="divider"?2:-1)}}function dv(i,e){if(i&1&&k(0,uv,3,3),i&2){let a=e.$implicit;w(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function mv(i,e){if(i&1&&C(0,"mat-icon",15),i&2){let a=h().$implicit;f("ngClass",a.classes==null?null:a.classes.icon)("svgIcon",a.icon)}}function pv(i,e){if(i&1&&(b(0,"div",19)(1,"span",18),z(2),v()()),i&2){let a=h().$implicit;m(),f("ngClass",a.classes==null?null:a.classes.subtitle),m(),te(" ",a.subtitle," ")}}function gv(i,e){if(i&1&&(b(0,"div",20)(1,"div",21),z(2),v()()),i&2){let a=h().$implicit;m(),f("ngClass",a.badge.classes),m(),te(" ",a.badge.title," ")}}function fv(i,e){if(i&1&&(b(0,"div",13)(1,"div",14),k(2,mv,1,2,"mat-icon",15),b(3,"div",16)(4,"div",17)(5,"span",18),z(6),v()(),k(7,pv,3,2,"div",19),v(),k(8,gv,3,2,"div",20),v()()),i&2){let a=e.$implicit;Fe("angor-horizontal-navigation-item-has-subtitle",!!a.subtitle),f("ngClass",a.classes==null?null:a.classes.wrapper),m(),f("ngClass",Et(10,av,a.disabled,a.active))("matTooltip",a.tooltip||""),m(),w(a.icon?2:-1),m(3),f("ngClass",a.classes==null?null:a.classes.title),m(),te(" ",a.title," "),m(),w(a.subtitle?7:-1),m(),w(a.badge?8:-1)}}var Im=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this.child=!1,this._unsubscribeAll=new V}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}triggerChangeDetection(){this._changeDetectorRef.markForCheck()}trackByFn(t,n){return n.id||t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-horizontal-navigation-branch-item"]],viewQuery:function(n,o){if(n&1&&We(tv,7),n&2){let r;Re(r=He())&&(o.matMenu=r.first)}},inputs:{child:"child",item:"item",name:"name"},standalone:!0,features:[W],decls:7,vars:2,consts:[["matMenu","matMenu"],["itemTemplate",""],["trigger","matMenuTrigger"],["branch",""],[3,"ngClass","matMenuTriggerFor"],[1,"angor-horizontal-navigation-menu-panel",3,"overlapTrigger"],[3,"onMenuOpen","onMenuClose","ngClass","matMenuTriggerFor"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item"],[3,"item","name"],[3,"child","item","name"],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(n,o){n&1&&(k(0,ov,3,9,"div",4),b(1,"mat-menu",5,0),Te(3,dv,1,1,null,null,o.trackByFn,!0),v(),k(5,fv,9,13,"ng-template",null,1,Ve)),n&2&&(w(o.child?-1:0),m(),f("overlapTrigger",!1),m(2),qe(o.item.children))},dependencies:()=>[e,ye,ba,qo,ha,Do,ut,Dr,Dm,mt,dt,xe,_e],encapsulation:2,changeDetection:0});let i=e;return i})();var Mm=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._unsubscribeAll=new V}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-horizontal-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[W],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"]],template:function(n,o){n&1&&C(0,"div",0),n&2&&f("ngClass",o.item.classes==null?null:o.item.classes.wrapper)},dependencies:[ye],encapsulation:2,changeDetection:0});let i=e;return i})();function hv(i,e){if(i&1&&C(0,"angor-horizontal-navigation-basic-item",1),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function bv(i,e){if(i&1&&C(0,"angor-horizontal-navigation-branch-item",1),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function vv(i,e){if(i&1&&C(0,"angor-horizontal-navigation-spacer-item",1),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function yv(i,e){if(i&1&&k(0,hv,1,2,"angor-horizontal-navigation-basic-item",1)(1,bv,1,2,"angor-horizontal-navigation-branch-item",1)(2,vv,1,2,"angor-horizontal-navigation-spacer-item",1),i&2){let a=h().$implicit;w(a.type==="basic"?0:-1),m(),w(a.type==="aside"||a.type==="collapsable"||a.type==="group"?1:-1),m(),w(a.type==="spacer"?2:-1)}}function _v(i,e){if(i&1&&k(0,yv,3,3),i&2){let a=e.$implicit;w(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}var Em=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._angorUtilsService=I(Ot),this.name=this._angorUtilsService.randomId(),this.onRefreshed=new Wt(1),this._unsubscribeAll=new V}ngOnChanges(t){"navigation"in t&&this._changeDetectorRef.markForCheck()}ngOnInit(){this.name===""&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this)}ngOnDestroy(){this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}trackByFn(t,n){return n.id||t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-horizontal-navigation"]],inputs:{name:"name",navigation:"navigation"},exportAs:["angorHorizontalNavigation"],standalone:!0,features:[Ye,W],decls:3,vars:0,consts:[[1,"angor-horizontal-navigation-wrapper"],[1,"angor-horizontal-navigation-menu-item",3,"item","name"]],template:function(n,o){n&1&&(b(0,"div",0),Te(1,_v,1,1,null,null,o.trackByFn,!0),v()),n&2&&(m(),qe(o.navigation))},dependencies:[Dr,Im,Mm],styles:[`angor-horizontal-navigation .angor-horizontal-navigation-wrapper{display:flex;align-items:center}@media (min-width: 600px){angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item:hover .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item:hover .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper{border-radius:4px;overflow:hidden}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{padding:0 16px;cursor:pointer;-webkit-user-select:none;user-select:none}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon{margin-right:12px}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active-forced .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-spacer-item{margin:12px 0}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item{height:auto;min-height:0;line-height:normal;white-space:normal}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-branch-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{display:flex;flex:1 1 auto}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{margin:8px -16px}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item .angor-horizontal-navigation-item-wrapper{height:1px;box-shadow:0 1px}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper{width:100%}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper.angor-horizontal-navigation-item-has-subtitle .angor-horizontal-navigation-item{min-height:56px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:48px;width:100%;font-size:13px;font-weight:500;text-decoration:none}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-title-wrapper .angor-horizontal-navigation-item-subtitle{font-size:12px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge{margin-left:auto}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge .angor-horizontal-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px} `],encapsulation:2,data:{animation:Si},changeDetection:0});let i=e;return i})();var Ar=i=>({"angor-vertical-navigation-item-active-forced":i}),Om=i=>[i];function xv(i,e){i&1&&se(0)}function wv(i,e){if(i&1&&(b(0,"a",2),k(1,xv,1,0,"ng-container",6),v()),i&2){let a,t,n,o,r=h(),s=K(9);f("ngClass",de(10,Ar,r.item.active))("routerLink",de(12,Om,r.item.link))("fragment",(a=r.item.fragment)!==null&&a!==void 0?a:null)("preserveFragment",(t=r.item.preserveFragment)!==null&&t!==void 0?t:!1)("queryParams",(n=r.item.queryParams)!==null&&n!==void 0?n:null)("queryParamsHandling",(o=r.item.queryParamsHandling)!==null&&o!==void 0?o:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",r.isActiveMatchOptions)("matTooltip",r.item.tooltip||""),m(),f("ngTemplateOutlet",s)}}function Sv(i,e){i&1&&se(0)}function Cv(i,e){if(i&1&&(b(0,"a",3),k(1,Sv,1,0,"ng-container",6),v()),i&2){let a=h(),t=K(9);f("href",a.item.link,nt)("target",a.item.target||"_self")("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function kv(i,e){i&1&&se(0)}function Tv(i,e){if(i&1){let a=le();b(0,"div",7),$("click",function(){Q(a);let n=h();return X(n.item.function(n.item))}),k(1,kv,1,0,"ng-container",6),v()}if(i&2){let a=h(),t=K(9);f("ngClass",de(3,Ar,a.item.active))("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function qv(i,e){i&1&&se(0)}function Dv(i,e){if(i&1){let a=le();b(0,"a",8),$("click",function(){Q(a);let n=h();return X(n.item.function(n.item))}),k(1,qv,1,0,"ng-container",6),v()}if(i&2){let a,t,n,o,r=h(),s=K(9);f("ngClass",de(10,Ar,r.item.active))("routerLink",de(12,Om,r.item.link))("fragment",(a=r.item.fragment)!==null&&a!==void 0?a:null)("preserveFragment",(t=r.item.preserveFragment)!==null&&t!==void 0?t:!1)("queryParams",(n=r.item.queryParams)!==null&&n!==void 0?n:null)("queryParamsHandling",(o=r.item.queryParamsHandling)!==null&&o!==void 0?o:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",r.isActiveMatchOptions)("matTooltip",r.item.tooltip||""),m(),f("ngTemplateOutlet",s)}}function Av(i,e){i&1&&se(0)}function Iv(i,e){if(i&1){let a=le();b(0,"a",9),$("click",function(){Q(a);let n=h();return X(n.item.function(n.item))}),k(1,Av,1,0,"ng-container",6),v()}if(i&2){let a=h(),t=K(9);f("href",a.item.link,nt)("target",a.item.target||"_self")("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Mv(i,e){i&1&&se(0)}function Ev(i,e){if(i&1&&(b(0,"div",4),k(1,Mv,1,0,"ng-container",6),v()),i&2){let a=h(),t=K(9);f("ngClass",de(3,Ar,a.item.active))("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Ov(i,e){i&1&&se(0)}function Lv(i,e){if(i&1&&(b(0,"div",5),k(1,Ov,1,0,"ng-container",6),v()),i&2){let a=h(),t=K(9);f("matTooltip",a.item.tooltip||""),m(),f("ngTemplateOutlet",t)}}function Nv(i,e){if(i&1&&C(0,"mat-icon",10),i&2){let a=h(2);f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function Pv(i,e){if(i&1&&(b(0,"div",14)(1,"span",13),z(2),v()()),i&2){let a=h(2);m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),te(" ",a.item.subtitle," ")}}function Fv(i,e){if(i&1&&(b(0,"div",15)(1,"div",16),z(2),v()()),i&2){let a=h(2);m(),f("ngClass",a.item.badge.classes),m(),te(" ",a.item.badge.title," ")}}function Rv(i,e){if(i&1&&(k(0,Nv,1,2,"mat-icon",10),b(1,"div",11)(2,"div",12)(3,"span",13),z(4),v()(),k(5,Pv,3,2,"div",14),v(),k(6,Fv,3,2,"div",15)),i&2){let a=h();w(a.item.icon?0:-1),m(3),f("ngClass",a.item.classes==null?null:a.item.classes.title),m(),te(" ",a.item.title," "),m(),w(a.item.subtitle?5:-1),m(),w(a.item.badge?6:-1)}}var Ei=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._angorUtilsService=I(Ot),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new V}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[W],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"href","target","matTooltip"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item","angor-vertical-navigation-item-disabled",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"]],template:function(n,o){n&1&&(b(0,"div",1),k(1,wv,2,14,"a",2)(2,Cv,2,4,"a",3)(3,Tv,2,5,"div",4)(4,Dv,2,14,"a",2)(5,Iv,2,4,"a",3)(6,Ev,2,5,"div",4)(7,Lv,2,2,"div",5),v(),k(8,Rv,7,5,"ng-template",null,0,Ve)),n&2&&(Fe("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(),w(o.item.link&&!o.item.externalLink&&!o.item.function&&!o.item.disabled?1:-1),m(),w(o.item.link&&o.item.externalLink&&!o.item.function&&!o.item.disabled?2:-1),m(),w(!o.item.link&&o.item.function&&!o.item.disabled?3:-1),m(),w(o.item.link&&!o.item.externalLink&&o.item.function&&!o.item.disabled?4:-1),m(),w(o.item.link&&o.item.externalLink&&o.item.function&&!o.item.disabled?5:-1),m(),w(!o.item.link&&!o.item.function&&!o.item.disabled?6:-1),m(),w(o.item.disabled?7:-1))},dependencies:[ye,bi,mo,mt,dt,ut,xe,_e],encapsulation:2,changeDetection:0});let i=e;return i})();var Oi=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._unsubscribeAll=new V}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[W],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(n,o){n&1&&C(0,"div",0),n&2&&f("ngClass",o.item.classes==null?null:o.item.classes.wrapper)},dependencies:[ye],encapsulation:2,changeDetection:0});let i=e;return i})();var Li=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._unsubscribeAll=new V}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[W],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(n,o){n&1&&C(0,"div",0),n&2&&f("ngClass",o.item.classes==null?null:o.item.classes.wrapper)},dependencies:[ye],encapsulation:2,changeDetection:0});let i=e;return i})();function Hv(i,e){if(i&1&&C(0,"mat-icon",2),i&2){let a=h();f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function jv(i,e){if(i&1&&(b(0,"div",6)(1,"span",5),z(2),v()()),i&2){let a=h();m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),te(" ",a.item.subtitle," ")}}function zv(i,e){if(i&1&&(b(0,"div",7)(1,"div",8),z(2),v()()),i&2){let a=h();m(),f("ngClass",a.item.badge.classes),m(),te(" ",a.item.badge.title," ")}}function Bv(i,e){if(i&1&&C(0,"angor-vertical-navigation-basic-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function Vv(i,e){if(i&1&&C(0,"angor-vertical-navigation-collapsable-item",10),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function Jv(i,e){if(i&1&&C(0,"angor-vertical-navigation-divider-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function Wv(i,e){if(i&1&&C(0,"angor-vertical-navigation-group-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function Uv(i,e){if(i&1&&C(0,"angor-vertical-navigation-spacer-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function Gv(i,e){if(i&1&&k(0,Bv,1,2,"angor-vertical-navigation-basic-item",9)(1,Vv,1,3,"angor-vertical-navigation-collapsable-item",10)(2,Jv,1,2,"angor-vertical-navigation-divider-item",9)(3,Wv,1,2,"angor-vertical-navigation-group-item",9)(4,Uv,1,2,"angor-vertical-navigation-spacer-item",9),i&2){let a=h().$implicit;w(a.type==="basic"?0:-1),m(),w(a.type==="collapsable"?1:-1),m(),w(a.type==="divider"?2:-1),m(),w(a.type==="group"?3:-1),m(),w(a.type==="spacer"?4:-1)}}function $v(i,e){if(i&1&&k(0,Gv,5,5),i&2){let a=e.$implicit;w(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}var ja=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._angorNavigationService=I(fe),this._unsubscribeAll=new V}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(t,n){return n.id||t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[W],decls:11,vars:8,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(n,o){n&1&&(b(0,"div",0)(1,"div",1),k(2,Hv,1,2,"mat-icon",2),b(3,"div",3)(4,"div",4)(5,"span",5),z(6),v()(),k(7,jv,3,2,"div",6),v(),k(8,zv,3,2,"div",7),v()(),Te(9,$v,1,1,null,null,o.trackByFn,!0)),n&2&&(Fe("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(2),w(o.item.icon?2:-1),m(3),f("ngClass",o.item.classes==null?null:o.item.classes.title),m(),te(" ",o.item.title," "),m(),w(o.item.subtitle?7:-1),m(),w(o.item.badge?8:-1),m(),qe(o.item.children))},dependencies:()=>[e,ye,xe,_e,Ei,za,Oi,Li],encapsulation:2,changeDetection:0});let i=e;return i})();var Zv=i=>({"angor-vertical-navigation-item-disabled":i});function Yv(i,e){if(i&1&&C(0,"mat-icon",2),i&2){let a=h();f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function Kv(i,e){if(i&1&&(b(0,"div",6)(1,"span",5),z(2),v()()),i&2){let a=h();m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),te(" ",a.item.subtitle," ")}}function Qv(i,e){if(i&1&&(b(0,"div",7)(1,"div",10),z(2),v()()),i&2){let a=h();m(),f("ngClass",a.item.badge.classes),m(),te(" ",a.item.badge.title," ")}}function Xv(i,e){if(i&1&&C(0,"angor-vertical-navigation-basic-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function e1(i,e){if(i&1&&C(0,"angor-vertical-navigation-collapsable-item",12),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function t1(i,e){if(i&1&&C(0,"angor-vertical-navigation-divider-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function i1(i,e){if(i&1&&C(0,"angor-vertical-navigation-group-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function a1(i,e){if(i&1&&C(0,"angor-vertical-navigation-spacer-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function n1(i,e){if(i&1&&k(0,Xv,1,2,"angor-vertical-navigation-basic-item",11)(1,e1,1,3,"angor-vertical-navigation-collapsable-item",12)(2,t1,1,2,"angor-vertical-navigation-divider-item",11)(3,i1,1,2,"angor-vertical-navigation-group-item",11)(4,a1,1,2,"angor-vertical-navigation-spacer-item",11),i&2){let a=h().$implicit;w(a.type==="basic"?0:-1),m(),w(a.type==="collapsable"?1:-1),m(),w(a.type==="divider"?2:-1),m(),w(a.type==="group"?3:-1),m(),w(a.type==="spacer"?4:-1)}}function o1(i,e){if(i&1&&k(0,n1,5,5),i&2){let a=e.$implicit;w(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function r1(i,e){if(i&1&&(b(0,"div",9),Te(1,o1,1,1,null,null,st().trackByFn,!0),v()),i&2){let a=h();f("@expandCollapse",void 0),m(),qe(a.item.children)}}var za=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._router=I(Ge),this._angorNavigationService=I(fe),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new V}get classList(){return{"angor-vertical-navigation-item-collapsed":this.isCollapsed,"angor-vertical-navigation-item-expanded":this.isExpanded}}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._hasActiveChild(this.item,this._router.url)?this.expand():this.autoCollapse&&this.collapse(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.pipe(U(this._unsubscribeAll)).subscribe(t=>{t!==null&&this._isChildrenOf(t,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe(U(this._unsubscribeAll)).subscribe(t=>{t!==null&&(this._isChildrenOf(this.item,t)||this._hasActiveChild(this.item,this._router.url)||this.item!==t&&this.collapse())}),this._router.events.pipe(Ne(t=>t instanceof Yt),U(this._unsubscribeAll)).subscribe(t=>{this._hasActiveChild(this.item,t.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}collapse(){this.item.disabled||this.isCollapsed||(this.isCollapsed=!0,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.next(this.item))}expand(){this.item.disabled||this.isCollapsed&&(this.isCollapsed=!1,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemExpanded.next(this.item))}toggleCollapsable(){this.isCollapsed?this.expand():this.collapse()}trackByFn(t,n){return n.id||t}_hasActiveChild(t,n){let o=t.children;if(!o)return!1;for(let r of o)if(r.children&&this._hasActiveChild(r,n)||r.link&&this._router.isActive(r.link,r.exactMatch||!1))return!0;return!1}_isChildrenOf(t,n){let o=t.children;if(!o)return!1;if(o.indexOf(n)>-1)return!0;for(let r of o)if(r.children&&this._isChildrenOf(r,n))return!0;return!1}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(n,o){n&2&&kt(o.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[W],decls:11,vars:14,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-arrow","icon-size-4",3,"svgIcon"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(n,o){n&1&&(b(0,"div",0)(1,"div",1),$("click",function(){return o.toggleCollapsable()}),k(2,Yv,1,2,"mat-icon",2),b(3,"div",3)(4,"div",4)(5,"span",5),z(6),v()(),k(7,Kv,3,2,"div",6),v(),k(8,Qv,3,2,"div",7),C(9,"mat-icon",8),v()(),k(10,r1,3,1,"div",9)),n&2&&(Fe("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(),f("ngClass",de(12,Zv,o.item.disabled))("matTooltip",o.item.tooltip||""),m(),w(o.item.icon?2:-1),m(3),f("ngClass",o.item.classes==null?null:o.item.classes.title),m(),te(" ",o.item.title," "),m(),w(o.item.subtitle?7:-1),m(),w(o.item.badge?8:-1),m(),f("svgIcon","heroicons_solid:chevron-right"),m(),w(o.isCollapsed?-1:10))},dependencies:()=>[e,ye,mt,dt,xe,_e,Ei,Oi,ja,Li],encapsulation:2,data:{animation:Si},changeDetection:0});let i=e;return i})();var s1=(i,e,a)=>({"angor-vertical-navigation-item-active":i,"angor-vertical-navigation-item-disabled":e,"angor-vertical-navigation-item-active-forced":a});function l1(i,e){if(i&1&&C(0,"mat-icon",2),i&2){let a=h();f("ngClass",a.item.classes==null?null:a.item.classes.icon)("svgIcon",a.item.icon)}}function c1(i,e){if(i&1&&(b(0,"div",6)(1,"span",5),z(2),v()()),i&2){let a=h();m(),f("ngClass",a.item.classes==null?null:a.item.classes.subtitle),m(),te(" ",a.item.subtitle," ")}}function u1(i,e){if(i&1&&(b(0,"div",7)(1,"div",9),z(2),v()()),i&2){let a=h();m(),f("ngClass",a.item.badge.classes),m(),te(" ",a.item.badge.title," ")}}function d1(i,e){if(i&1&&C(0,"angor-vertical-navigation-basic-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function m1(i,e){if(i&1&&C(0,"angor-vertical-navigation-collapsable-item",11),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function p1(i,e){if(i&1&&C(0,"angor-vertical-navigation-divider-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function g1(i,e){if(i&1&&C(0,"angor-vertical-navigation-group-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function f1(i,e){if(i&1&&C(0,"angor-vertical-navigation-spacer-item",10),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)}}function h1(i,e){if(i&1&&k(0,d1,1,2,"angor-vertical-navigation-basic-item",10)(1,m1,1,3,"angor-vertical-navigation-collapsable-item",11)(2,p1,1,2,"angor-vertical-navigation-divider-item",10)(3,g1,1,2,"angor-vertical-navigation-group-item",10)(4,f1,1,2,"angor-vertical-navigation-spacer-item",10),i&2){let a=h().$implicit;w(a.type==="basic"?0:-1),m(),w(a.type==="collapsable"?1:-1),m(),w(a.type==="divider"?2:-1),m(),w(a.type==="group"?3:-1),m(),w(a.type==="spacer"?4:-1)}}function b1(i,e){if(i&1&&k(0,h1,5,5),i&2){let a=e.$implicit;w(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function v1(i,e){if(i&1&&(b(0,"div",8),Te(1,b1,1,1,null,null,st().trackByFn,!0),v()),i&2){let a=h();m(),qe(a.item.children)}}var Lm=(()=>{let e=class e{constructor(){this._changeDetectorRef=I(oe),this._router=I(Ge),this._angorNavigationService=I(fe),this.active=!1,this._unsubscribeAll=new V}ngOnChanges(t){"activeItemId"in t&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe(Ne(t=>t instanceof Yt),U(this._unsubscribeAll)).subscribe(t=>{this._markIfActive(t.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe(U(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(t,n){return n.id||t}_hasActiveChild(t,n){let o=t.children;if(!o)return!1;for(let r of o){if(r.children&&this._hasActiveChild(r,n))return!0;if(r.type==="basic"&&r.link&&this._router.isActive(r.link,r.exactMatch||!1))return!0}return!1}_markIfActive(t){this.active=this.activeItemId===this.item.id,this._hasActiveChild(this.item,t)&&(this.active=!0),this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},standalone:!0,features:[Ye,W],decls:10,vars:15,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(n,o){n&1&&(b(0,"div",0)(1,"div",1),k(2,l1,1,2,"mat-icon",2),b(3,"div",3)(4,"div",4)(5,"span",5),z(6),v()(),k(7,c1,3,2,"div",6),v(),k(8,u1,3,2,"div",7),v()(),k(9,v1,3,0,"div",8)),n&2&&(Fe("angor-vertical-navigation-item-has-subtitle",!!o.item.subtitle),f("ngClass",o.item.classes==null?null:o.item.classes.wrapper),m(),f("ngClass",rc(11,s1,o.active,o.item.disabled,o.item.active))("matTooltip",o.item.tooltip||""),m(),w(o.item.icon?2:-1),m(3),f("ngClass",o.item.classes==null?null:o.item.classes.title),m(),te(" ",o.item.title," "),m(),w(o.item.subtitle?7:-1),m(),w(o.item.badge?8:-1),m(),w(o.skipChildren?-1:9))},dependencies:[ye,mt,dt,xe,_e,Ei,za,Oi,ja,Li],encapsulation:2,changeDetection:0});let i=e;return i})();var Ir=class{constructor(e,a,t,n){this.x=e,this.y=a,this.w=t,this.h=n}},Zn=class{constructor(e,a){this.x=e,this.y=a}};function ei(i){return getComputedStyle(i)}function pt(i,e){for(var a in e){var t=e[a];typeof t=="number"&&(t=t+"px"),i.style[a]=t}return i}function Mr(i){var e=document.createElement("div");return e.className=i,e}var Nm=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Ni(i,e){if(!Nm)throw new Error("No element matching method supported");return Nm.call(i,e)}function Va(i){i.remove?i.remove():i.parentNode&&i.parentNode.removeChild(i)}function Pm(i,e){return Array.prototype.filter.call(i.children,function(a){return Ni(a,e)})}var ze={main:"ps",rtl:"ps__rtl",element:{thumb:function(i){return"ps__thumb-"+i},rail:function(i){return"ps__rail-"+i},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(i){return"ps--active-"+i},scrolling:function(i){return"ps--scrolling-"+i}}},Hm={x:null,y:null};function jm(i,e){var a=i.element.classList,t=ze.state.scrolling(e);a.contains(t)?clearTimeout(Hm[e]):a.add(t)}function zm(i,e){Hm[e]=setTimeout(function(){return i.isAlive&&i.element.classList.remove(ze.state.scrolling(e))},i.settings.scrollingThreshold)}function y1(i,e){jm(i,e),zm(i,e)}var Yn=function(e){this.element=e,this.handlers={}},Bm={isEmpty:{configurable:!0}};Yn.prototype.bind=function(e,a){typeof this.handlers[e]>"u"&&(this.handlers[e]=[]),this.handlers[e].push(a),this.element.addEventListener(e,a,!1)};Yn.prototype.unbind=function(e,a){var t=this;this.handlers[e]=this.handlers[e].filter(function(n){return a&&n!==a?!0:(t.element.removeEventListener(e,n,!1),!1)})};Yn.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)};Bm.isEmpty.get=function(){var i=this;return Object.keys(this.handlers).every(function(e){return i.handlers[e].length===0})};Object.defineProperties(Yn.prototype,Bm);var Ja=function(){this.eventElements=[]};Ja.prototype.eventElement=function(e){var a=this.eventElements.filter(function(t){return t.element===e})[0];return a||(a=new Yn(e),this.eventElements.push(a)),a};Ja.prototype.bind=function(e,a,t){this.eventElement(e).bind(a,t)};Ja.prototype.unbind=function(e,a,t){var n=this.eventElement(e);n.unbind(a,t),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)};Ja.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]};Ja.prototype.once=function(e,a,t){var n=this.eventElement(e),o=function(r){n.unbind(a,o),t(r)};n.bind(a,o)};function Er(i){if(typeof window.CustomEvent=="function")return new CustomEvent(i);var e=document.createEvent("CustomEvent");return e.initCustomEvent(i,!1,!1,void 0),e}function Or(i,e,a,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1);var o;if(e==="top")o=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(e==="left")o=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");_1(i,a,o,t,n)}function _1(i,e,a,t,n){var o=a[0],r=a[1],s=a[2],l=a[3],c=a[4],d=a[5];t===void 0&&(t=!0),n===void 0&&(n=!1);var g=i.element;i.reach[l]=null,g[s]<1&&(i.reach[l]="start"),g[s]>i[o]-i[r]-1&&(i.reach[l]="end"),e&&(g.dispatchEvent(Er("ps-scroll-"+l)),e<0?g.dispatchEvent(Er("ps-scroll-"+c)):e>0&&g.dispatchEvent(Er("ps-scroll-"+d)),t&&y1(i,l)),i.reach[l]&&(e||n)&&g.dispatchEvent(Er("ps-"+l+"-reach-"+i.reach[l]))}function Ie(i){return parseInt(i,10)||0}function x1(i){return Ni(i,"input,[contenteditable]")||Ni(i,"select,[contenteditable]")||Ni(i,"textarea,[contenteditable]")||Ni(i,"button,[contenteditable]")}function w1(i){var e=ei(i);return Ie(e.width)+Ie(e.paddingLeft)+Ie(e.paddingRight)+Ie(e.borderLeftWidth)+Ie(e.borderRightWidth)}var Ba={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function mi(i){var e=i.element,a=Math.floor(e.scrollTop),t=e.getBoundingClientRect();i.containerWidth=Math.round(t.width),i.containerHeight=Math.round(t.height),i.contentWidth=e.scrollWidth,i.contentHeight=e.scrollHeight,e.contains(i.scrollbarXRail)||(Pm(e,ze.element.rail("x")).forEach(function(n){return Va(n)}),e.appendChild(i.scrollbarXRail)),e.contains(i.scrollbarYRail)||(Pm(e,ze.element.rail("y")).forEach(function(n){return Va(n)}),e.appendChild(i.scrollbarYRail)),!i.settings.suppressScrollX&&i.containerWidth+i.settings.scrollXMarginOffset=i.railXWidth-i.scrollbarXWidth&&(i.scrollbarXLeft=i.railXWidth-i.scrollbarXWidth),i.scrollbarYTop>=i.railYHeight-i.scrollbarYHeight&&(i.scrollbarYTop=i.railYHeight-i.scrollbarYHeight),S1(e,i),i.scrollbarXActive?e.classList.add(ze.state.active("x")):(e.classList.remove(ze.state.active("x")),i.scrollbarXWidth=0,i.scrollbarXLeft=0,e.scrollLeft=i.isRtl===!0?i.contentWidth:0),i.scrollbarYActive?e.classList.add(ze.state.active("y")):(e.classList.remove(ze.state.active("y")),i.scrollbarYHeight=0,i.scrollbarYTop=0,e.scrollTop=0)}function Fm(i,e){return i.settings.minScrollbarLength&&(e=Math.max(e,i.settings.minScrollbarLength)),i.settings.maxScrollbarLength&&(e=Math.min(e,i.settings.maxScrollbarLength)),e}function S1(i,e){var a={width:e.railXWidth},t=Math.floor(i.scrollTop);e.isRtl?a.left=e.negativeScrollAdjustment+i.scrollLeft+e.containerWidth-e.contentWidth:a.left=i.scrollLeft,e.isScrollbarXUsingBottom?a.bottom=e.scrollbarXBottom-t:a.top=e.scrollbarXTop+t,pt(e.scrollbarXRail,a);var n={top:t,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?n.right=e.contentWidth-(e.negativeScrollAdjustment+i.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:n.right=e.scrollbarYRight-i.scrollLeft:e.isRtl?n.left=e.negativeScrollAdjustment+i.scrollLeft+e.containerWidth*2-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:n.left=e.scrollbarYLeft+i.scrollLeft,pt(e.scrollbarYRail,n),pt(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),pt(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}function C1(i){var e=i.element;i.event.bind(i.scrollbarY,"mousedown",function(a){return a.stopPropagation()}),i.event.bind(i.scrollbarYRail,"mousedown",function(a){var t=a.pageY-window.pageYOffset-i.scrollbarYRail.getBoundingClientRect().top,n=t>i.scrollbarYTop?1:-1;i.element.scrollTop+=n*i.containerHeight,mi(i),a.stopPropagation()}),i.event.bind(i.scrollbarX,"mousedown",function(a){return a.stopPropagation()}),i.event.bind(i.scrollbarXRail,"mousedown",function(a){var t=a.pageX-window.pageXOffset-i.scrollbarXRail.getBoundingClientRect().left,n=t>i.scrollbarXLeft?1:-1;i.element.scrollLeft+=n*i.containerWidth,mi(i),a.stopPropagation()})}function k1(i){Rm(i,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Rm(i,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function Rm(i,e){var a=e[0],t=e[1],n=e[2],o=e[3],r=e[4],s=e[5],l=e[6],c=e[7],d=e[8],g=i.element,x=null,y=null,_=null;function D(q){q.touches&&q.touches[0]&&(q[n]=q.touches[0].pageY),g[l]=x+_*(q[n]-y),jm(i,c),mi(i),q.stopPropagation(),q.type.startsWith("touch")&&q.changedTouches.length>1&&q.preventDefault()}function O(){zm(i,c),i[d].classList.remove(ze.state.clicking),i.event.unbind(i.ownerDocument,"mousemove",D)}function S(q,j){x=g[l],j&&q.touches&&(q[n]=q.touches[0].pageY),y=q[n],_=(i[t]-i[a])/(i[o]-i[s]),j?i.event.bind(i.ownerDocument,"touchmove",D):(i.event.bind(i.ownerDocument,"mousemove",D),i.event.once(i.ownerDocument,"mouseup",O),q.preventDefault()),i[d].classList.add(ze.state.clicking),q.stopPropagation()}i.event.bind(i[r],"mousedown",function(q){S(q)}),i.event.bind(i[r],"touchstart",function(q){S(q,!0)})}function T1(i){var e=i.element,a=function(){return Ni(e,":hover")},t=function(){return Ni(i.scrollbarX,":focus")||Ni(i.scrollbarY,":focus")};function n(o,r){var s=Math.floor(e.scrollTop);if(o===0){if(!i.scrollbarYActive)return!1;if(s===0&&r>0||s>=i.contentHeight-i.containerHeight&&r<0)return!i.settings.wheelPropagation}var l=e.scrollLeft;if(r===0){if(!i.scrollbarXActive)return!1;if(l===0&&o<0||l>=i.contentWidth-i.containerWidth&&o>0)return!i.settings.wheelPropagation}return!0}i.event.bind(i.ownerDocument,"keydown",function(o){if(!(o.isDefaultPrevented&&o.isDefaultPrevented()||o.defaultPrevented)&&!(!a()&&!t())){var r=document.activeElement?document.activeElement:i.ownerDocument.activeElement;if(r){if(r.tagName==="IFRAME")r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(x1(r))return}var s=0,l=0;switch(o.which){case 37:o.metaKey?s=-i.contentWidth:o.altKey?s=-i.containerWidth:s=-30;break;case 38:o.metaKey?l=i.contentHeight:o.altKey?l=i.containerHeight:l=30;break;case 39:o.metaKey?s=i.contentWidth:o.altKey?s=i.containerWidth:s=30;break;case 40:o.metaKey?l=-i.contentHeight:o.altKey?l=-i.containerHeight:l=-30;break;case 32:o.shiftKey?l=i.containerHeight:l=-i.containerHeight;break;case 33:l=i.containerHeight;break;case 34:l=-i.containerHeight;break;case 36:l=i.contentHeight;break;case 35:l=-i.contentHeight;break;default:return}i.settings.suppressScrollX&&s!==0||i.settings.suppressScrollY&&l!==0||(e.scrollTop-=l,e.scrollLeft+=s,mi(i),n(s,l)&&o.preventDefault())}})}function q1(i){var e=i.element;function a(r,s){var l=Math.floor(e.scrollTop),c=e.scrollTop===0,d=l+e.offsetHeight===e.scrollHeight,g=e.scrollLeft===0,x=e.scrollLeft+e.offsetWidth===e.scrollWidth,y;return Math.abs(s)>Math.abs(r)?y=c||d:y=g||x,y?!i.settings.wheelPropagation:!0}function t(r){var s=r.deltaX,l=-1*r.deltaY;return(typeof s>"u"||typeof l>"u")&&(s=-1*r.wheelDeltaX/6,l=r.wheelDeltaY/6),r.deltaMode&&r.deltaMode===1&&(s*=10,l*=10),s!==s&&l!==l&&(s=0,l=r.wheelDelta),r.shiftKey?[-l,-s]:[s,l]}function n(r,s,l){if(!Ba.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(r))return!1;for(var c=r;c&&c!==e;){if(c.classList.contains(ze.element.consuming))return!0;var d=ei(c);if(l&&d.overflowY.match(/(scroll|auto)/)){var g=c.scrollHeight-c.clientHeight;if(g>0&&(c.scrollTop>0&&l<0||c.scrollTop0))return!0}if(s&&d.overflowX.match(/(scroll|auto)/)){var x=c.scrollWidth-c.clientWidth;if(x>0&&(c.scrollLeft>0&&s<0||c.scrollLeft0))return!0}c=c.parentNode}return!1}function o(r){var s=t(r),l=s[0],c=s[1];if(!n(r.target,l,c)){var d=!1;i.settings.useBothWheelAxes?i.scrollbarYActive&&!i.scrollbarXActive?(c?e.scrollTop-=c*i.settings.wheelSpeed:e.scrollTop+=l*i.settings.wheelSpeed,d=!0):i.scrollbarXActive&&!i.scrollbarYActive&&(l?e.scrollLeft+=l*i.settings.wheelSpeed:e.scrollLeft-=c*i.settings.wheelSpeed,d=!0):(e.scrollTop-=c*i.settings.wheelSpeed,e.scrollLeft+=l*i.settings.wheelSpeed),mi(i),d=d||a(l,c),d&&!r.ctrlKey&&(r.stopPropagation(),r.preventDefault())}}typeof window.onwheel<"u"?i.event.bind(e,"wheel",o):typeof window.onmousewheel<"u"&&i.event.bind(e,"mousewheel",o)}function D1(i){if(!Ba.supportsTouch&&!Ba.supportsIePointer)return;var e=i.element;function a(_,D){var O=Math.floor(e.scrollTop),S=e.scrollLeft,q=Math.abs(_),j=Math.abs(D);if(j>q){if(D<0&&O===i.contentHeight-i.containerHeight||D>0&&O===0)return window.scrollY===0&&D>0&&Ba.isChrome}else if(q>j&&(_<0&&S===i.contentWidth-i.containerWidth||_>0&&S===0))return!0;return!0}function t(_,D){e.scrollTop-=D,e.scrollLeft-=_,mi(i)}var n={},o=0,r={},s=null;function l(_){return _.targetTouches?_.targetTouches[0]:_}function c(_){return _.pointerType&&_.pointerType==="pen"&&_.buttons===0?!1:!!(_.targetTouches&&_.targetTouches.length===1||_.pointerType&&_.pointerType!=="mouse"&&_.pointerType!==_.MSPOINTER_TYPE_MOUSE)}function d(_){if(c(_)){var D=l(_);n.pageX=D.pageX,n.pageY=D.pageY,o=new Date().getTime(),s!==null&&clearInterval(s)}}function g(_,D,O){if(!e.contains(_))return!1;for(var S=_;S&&S!==e;){if(S.classList.contains(ze.element.consuming))return!0;var q=ei(S);if(O&&q.overflowY.match(/(scroll|auto)/)){var j=S.scrollHeight-S.clientHeight;if(j>0&&(S.scrollTop>0&&O<0||S.scrollTop0))return!0}if(D&&q.overflowX.match(/(scroll|auto)/)){var B=S.scrollWidth-S.clientWidth;if(B>0&&(S.scrollLeft>0&&D<0||S.scrollLeft0))return!0}S=S.parentNode}return!1}function x(_){if(c(_)){var D=l(_),O={pageX:D.pageX,pageY:D.pageY},S=O.pageX-n.pageX,q=O.pageY-n.pageY;if(g(_.target,S,q))return;t(S,q),n=O;var j=new Date().getTime(),B=j-o;B>0&&(r.x=S/B,r.y=q/B,o=j),a(S,q)&&_.preventDefault()}}function y(){i.settings.swipeEasing&&(clearInterval(s),s=setInterval(function(){if(i.isInitialized){clearInterval(s);return}if(!r.x&&!r.y){clearInterval(s);return}if(Math.abs(r.x)<.01&&Math.abs(r.y)<.01){clearInterval(s);return}if(!i.element){clearInterval(s);return}t(r.x*30,r.y*30),r.x*=.8,r.y*=.8},10))}Ba.supportsTouch?(i.event.bind(e,"touchstart",d),i.event.bind(e,"touchmove",x),i.event.bind(e,"touchend",y)):Ba.supportsIePointer&&(window.PointerEvent?(i.event.bind(e,"pointerdown",d),i.event.bind(e,"pointermove",x),i.event.bind(e,"pointerup",y)):window.MSPointerEvent&&(i.event.bind(e,"MSPointerDown",d),i.event.bind(e,"MSPointerMove",x),i.event.bind(e,"MSPointerUp",y)))}var A1=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},I1={"click-rail":C1,"drag-thumb":k1,keyboard:T1,wheel:q1,touch:D1},Kn=function(e,a){var t=this;if(a===void 0&&(a={}),typeof e=="string"&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=e,e.classList.add(ze.main),this.settings=A1();for(var n in a)this.settings[n]=a[n];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var o=function(){return e.classList.add(ze.state.focus)},r=function(){return e.classList.remove(ze.state.focus)};this.isRtl=ei(e).direction==="rtl",this.isRtl===!0&&e.classList.add(ze.rtl),this.isNegativeScroll=function(){var c=e.scrollLeft,d=null;return e.scrollLeft=-1,d=e.scrollLeft<0,e.scrollLeft=c,d}(),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new Ja,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=Mr(ze.element.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=Mr(ze.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",o),this.event.bind(this.scrollbarX,"blur",r),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var s=ei(this.scrollbarXRail);this.scrollbarXBottom=parseInt(s.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Ie(s.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Ie(s.borderLeftWidth)+Ie(s.borderRightWidth),pt(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Ie(s.marginLeft)+Ie(s.marginRight),pt(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Mr(ze.element.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=Mr(ze.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",o),this.event.bind(this.scrollbarY,"blur",r),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var l=ei(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Ie(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?w1(this.scrollbarY):null,this.railBorderYWidth=Ie(l.borderTopWidth)+Ie(l.borderBottomWidth),pt(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Ie(l.marginTop)+Ie(l.marginBottom),pt(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(c){return I1[c](t)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(c){return t.onScroll(c)}),mi(this)};Kn.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,pt(this.scrollbarXRail,{display:"block"}),pt(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Ie(ei(this.scrollbarXRail).marginLeft)+Ie(ei(this.scrollbarXRail).marginRight),this.railYMarginHeight=Ie(ei(this.scrollbarYRail).marginTop)+Ie(ei(this.scrollbarYRail).marginBottom),pt(this.scrollbarXRail,{display:"none"}),pt(this.scrollbarYRail,{display:"none"}),mi(this),Or(this,"top",0,!1,!0),Or(this,"left",0,!1,!0),pt(this.scrollbarXRail,{display:""}),pt(this.scrollbarYRail,{display:""}))};Kn.prototype.onScroll=function(e){this.isAlive&&(mi(this),Or(this,"top",this.element.scrollTop-this.lastScrollTop),Or(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)};Kn.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),Va(this.scrollbarX),Va(this.scrollbarY),Va(this.scrollbarXRail),Va(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)};Kn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")};var Vm=Kn;var Qn=(()=>{let e=class e{constructor(){this._elementRef=I(Be),this._platform=I(vi),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new V}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(t){"angorScrollbar"in t&&(this.angorScrollbar=_i(t.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in t&&(this._options=To({},this._options,t.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){oa(window,"resize").pipe(U(this._unsubscribeAll),oo(150)).subscribe(()=>this.update())}ngOnDestroy(){this._destroyScrollbar(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}isEnabled(){return this.angorScrollbar}update(){this._ps?.update()}destroy(){this.ngOnDestroy()}geometry(t="scroll"){return new Ir(this._elementRef.nativeElement[`${t}Left`],this._elementRef.nativeElement[`${t}Top`],this._elementRef.nativeElement[`${t}Width`],this._elementRef.nativeElement[`${t}Height`])}position(t=!1){return!t&&this._ps?new Zn(this._ps.reach.x||0,this._ps.reach.y||0):new Zn(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(t,n,o){n==null&&o==null?this.animateScrolling("scrollTop",t,o):(t!=null&&this.scrollToX(t,o),n!=null&&this.scrollToY(n,o))}scrollToX(t,n){this.animateScrolling("scrollLeft",t,n)}scrollToY(t,n){this.animateScrolling("scrollTop",t,n)}scrollToTop(t=0,n){this.animateScrolling("scrollTop",t,n)}scrollToBottom(t=0,n){let o=this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight;this.animateScrolling("scrollTop",o-t,n)}scrollToLeft(t=0,n){this.animateScrolling("scrollLeft",t,n)}scrollToRight(t=0,n){let o=this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth;this.animateScrolling("scrollLeft",o-t,n)}scrollToElement(t,n=0,o=!1,r){let s=this._elementRef.nativeElement.querySelector(t);if(!s)return;let l=s.getBoundingClientRect(),c=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(l.left,c.left,"scrollLeft",n,o,r),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(l.top,c.top,"scrollTop",n,o,r)}animateScrolling(t,n,o){this._animation&&window.cancelAnimationFrame(this._animation),!o||typeof window>"u"?this._elementRef.nativeElement[t]=n:n!==this._elementRef.nativeElement[t]&&this._smoothScroll(t,n,o)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new Vm(this._elementRef.nativeElement,M({},this._options)))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(t,n,o,r,s,l){if(s&&t<=n-Math.abs(r))return;let c=this._elementRef.nativeElement[o],d=t-n+c;this.animateScrolling(o,d+r,l)}_smoothScroll(t,n,o){let r=0,s=this._elementRef.nativeElement[t],l=(s-n)/2,c=performance.now(),d=g=>{r+=Math.PI/(o/(g-c));let x=Math.round(n+l+l*Math.cos(r));this._elementRef.nativeElement[t]===s&&(r>=Math.PI?this.animateScrolling(t,n,0):(this._elementRef.nativeElement[t]=x,s=this._elementRef.nativeElement[t],c=g,this._animation=window.requestAnimationFrame(d)))};window.requestAnimationFrame(d)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Ri({type:e,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],standalone:!0,features:[Ye]});let i=e;return i})();var M1=["navigationContent"],E1=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],O1=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],L1=i=>({wheelPropagation:i,suppressScrollX:!0}),N1=()=>({wheelPropagation:!1,suppressScrollX:!0});function P1(i,e){if(i&1){let a=le();b(0,"angor-vertical-navigation-aside-item",10),$("click",function(){Q(a);let n=h(2).$implicit,o=h();return X(o.toggleAside(n))}),v()}if(i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("activeItemId",t.activeAsideItemId)("autoCollapse",t.autoCollapse)("skipChildren",!0)}}function F1(i,e){if(i&1&&C(0,"angor-vertical-navigation-basic-item",8),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function R1(i,e){if(i&1&&C(0,"angor-vertical-navigation-collapsable-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function H1(i,e){if(i&1&&C(0,"angor-vertical-navigation-divider-item",8),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function j1(i,e){if(i&1&&C(0,"angor-vertical-navigation-group-item",9),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function z1(i,e){if(i&1&&C(0,"angor-vertical-navigation-spacer-item",8),i&2){let a=h(2).$implicit,t=h();f("item",a)("name",t.name)}}function B1(i,e){if(i&1&&k(0,P1,1,5,"angor-vertical-navigation-aside-item",7)(1,F1,1,2,"angor-vertical-navigation-basic-item",8)(2,R1,1,3,"angor-vertical-navigation-collapsable-item",9)(3,H1,1,2,"angor-vertical-navigation-divider-item",8)(4,j1,1,3,"angor-vertical-navigation-group-item",9)(5,z1,1,2,"angor-vertical-navigation-spacer-item",8),i&2){let a=h().$implicit;w(a.type==="aside"?0:-1),m(),w(a.type==="basic"?1:-1),m(),w(a.type==="collapsable"?2:-1),m(),w(a.type==="divider"?3:-1),m(),w(a.type==="group"?4:-1),m(),w(a.type==="spacer"?5:-1)}}function V1(i,e){if(i&1&&k(0,B1,6,6),i&2){let a=e.$implicit;w(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function J1(i,e){if(i&1&&C(0,"angor-vertical-navigation-aside-item",9),i&2){let a=h(2).$implicit,t=h(2);f("item",a)("name",t.name)("autoCollapse",t.autoCollapse)}}function W1(i,e){if(i&1&&k(0,J1,1,3,"angor-vertical-navigation-aside-item",9),i&2){let a=h().$implicit,t=h(2);w(a.type==="aside"&&a.id===t.activeAsideItemId?0:-1)}}function U1(i,e){if(i&1&&k(0,W1,1,1),i&2){let a=e.$implicit;w(a.hidden&&!a.hidden(a)||!a.hidden?0:-1)}}function G1(i,e){if(i&1&&(b(0,"div",6),Te(1,U1,1,1,null,null,st().trackByFn,!0),v()),i&2){let a=h();f("angorScrollbarOptions",lo(5,N1))("@fadeInLeft",a.position==="left")("@fadeInRight",a.position==="right")("@fadeOutLeft",a.position==="left")("@fadeOutRight",a.position==="right"),m(),qe(a.navigation)}}var Lr=(()=>{let e=class e{constructor(){this._animationBuilder=I(Lc),this._changeDetectorRef=I(oe),this._document=I(Ue),this._elementRef=I(Be),this._renderer2=I(si),this._router=I(Ge),this._scrollStrategyOptions=I(xo),this._angorNavigationService=I(fe),this._angorUtilsService=I(Ot),this.appearance="default",this.autoCollapse=!0,this.inner=!1,this.mode="side",this.name=this._angorUtilsService.randomId(),this.opened=!0,this.position="left",this.transparentOverlay=!1,this.appearanceChanged=new Ke,this.modeChanged=new Ke,this.openedChanged=new Ke,this.positionChanged=new Ke,this.activeAsideItemId=null,this.onCollapsableItemCollapsed=new Wt(1),this.onCollapsableItemExpanded=new Wt(1),this.onRefreshed=new Wt(1),this._animationsEnabled=!1,this._hovered=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new V,this._handleAsideOverlayClick=()=>{this.closeAside()},this._handleOverlayClick=()=>{this.close()}}get classList(){return{"angor-vertical-navigation-animations-enabled":this._animationsEnabled,[`angor-vertical-navigation-appearance-${this.appearance}`]:!0,"angor-vertical-navigation-hover":this._hovered,"angor-vertical-navigation-inner":this.inner,"angor-vertical-navigation-mode-over":this.mode==="over","angor-vertical-navigation-mode-side":this.mode==="side","angor-vertical-navigation-opened":this.opened,"angor-vertical-navigation-position-left":this.position==="left","angor-vertical-navigation-position-right":this.position==="right"}}get styleList(){return{visibility:this.opened?"visible":"hidden"}}set angorScrollbarDirectives(t){this._angorScrollbarDirectives=t,t.length!==0&&(this._angorScrollbarDirectivesSubscription&&this._angorScrollbarDirectivesSubscription.unsubscribe(),this._angorScrollbarDirectivesSubscription=oi(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe(U(this._unsubscribeAll),ra(250)).subscribe(()=>{t.forEach(n=>{n.update()})}))}_onMouseenter(){this._enableAnimations(),this._hovered=!0}_onMouseleave(){this._enableAnimations(),this._hovered=!1}ngOnChanges(t){if("appearance"in t&&this.appearanceChanged.next(t.appearance.currentValue),"inner"in t&&(this.inner=_i(t.inner.currentValue)),"mode"in t){let n=t.mode.currentValue,o=t.mode.previousValue;this._disableAnimations(),o==="over"&&n==="side"&&this._hideOverlay(),o==="side"&&n==="over"&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(n),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in t&&this._changeDetectorRef.markForCheck(),"opened"in t&&(this.opened=_i(t.opened.currentValue),this._toggleOpened(this.opened)),"position"in t&&this.positionChanged.next(t.position.currentValue),"transparentOverlay"in t&&(this.transparentOverlay=_i(t.transparentOverlay.currentValue))}ngOnInit(){this.name===""&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe(Ne(t=>t instanceof Yt),U(this._unsubscribeAll)).subscribe(()=>{this.mode==="over"&&this.opened&&this.close(),this.mode==="side"&&this.activeAsideItemId&&this.closeAside()})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(t=>{t.forEach(n=>{let o=n.target;if(n.attributeName==="class")if(o.classList.contains("cdk-global-scrollblock")){let r=parseInt(o.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(r)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]}),setTimeout(()=>{if(this._navigationContentEl)if(this._navigationContentEl.nativeElement.classList.contains("ps"))this._angorScrollbarDirectives.forEach(t=>{t.isEnabled()&&t.scrollToElement(".angor-vertical-navigation-item-active",-120,!0)});else{let t=this._navigationContentEl.nativeElement.querySelector(".angor-vertical-navigation-item-active");t&&t.scrollIntoView()}})}ngOnDestroy(){this._mutationObserver.disconnect(),this.close(),this.closeAside(),this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&(this.closeAside(),this._toggleOpened(!1))}toggle(){this.opened?this.close():this.open()}openAside(t){t.disabled||!t.id||(this.activeAsideItemId=t.id,this._showAsideOverlay(),this._changeDetectorRef.markForCheck())}closeAside(){this.activeAsideItemId=null,this._hideAsideOverlay(),this._changeDetectorRef.markForCheck()}toggleAside(t){this.activeAsideItemId===t.id?this.closeAside():this.openAside(t)}trackByFn(t,n){return n.id||t}_enableAnimations(){this._animationsEnabled||(this._animationsEnabled=!0)}_disableAnimations(){this._animationsEnabled&&(this._animationsEnabled=!1)}_showOverlay(){this._asideOverlay||(this._overlay=this._renderer2.createElement("div"),this._overlay.classList.add("angor-vertical-navigation-overlay"),this.transparentOverlay&&this._overlay.classList.add("angor-vertical-navigation-overlay-transparent"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._player=this._animationBuilder.build([li("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ht({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([li("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ht({opacity:0}))]).create(this._overlay),this._player.play(),this._player.onDone(()=>{this._overlay&&(this._overlay.removeEventListener("click",this._handleOverlayClick),this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable()}))}_showAsideOverlay(){this._asideOverlay||(this._asideOverlay=this._renderer2.createElement("div"),this._asideOverlay.classList.add("angor-vertical-navigation-aside-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._asideOverlay),this._player=this._animationBuilder.build([li("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ht({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([li("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",ht({opacity:0}))]).create(this._asideOverlay),this._player.play(),this._player.onDone(()=>{this._asideOverlay&&(this._asideOverlay.removeEventListener("click",this._handleAsideOverlayClick),this._asideOverlay.parentNode.removeChild(this._asideOverlay),this._asideOverlay=null)}))}_toggleOpened(t){this.opened=t,this._enableAnimations(),this.mode==="over"&&(this.opened?this._showOverlay():this._hideOverlay()),this.openedChanged.next(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=J({type:e,selectors:[["angor-vertical-navigation"]],viewQuery:function(n,o){if(n&1&&(We(M1,5),We(Qn,5)),n&2){let r;Re(r=He())&&(o._navigationContentEl=r.first),Re(r=He())&&(o.angorScrollbarDirectives=r)}},hostVars:4,hostBindings:function(n,o){n&1&&$("mouseenter",function(){return o._onMouseenter()})("mouseleave",function(){return o._onMouseleave()}),n&2&&(nc(o.styleList),kt(o.classList))},inputs:{appearance:"appearance",autoCollapse:"autoCollapse",inner:"inner",mode:"mode",name:"name",navigation:"navigation",opened:"opened",position:"position",transparentOverlay:"transparentOverlay"},outputs:{appearanceChanged:"appearanceChanged",modeChanged:"modeChanged",openedChanged:"openedChanged",positionChanged:"positionChanged"},exportAs:["angorVerticalNavigation"],standalone:!0,features:[Ye,W],ngContentSelectors:O1,decls:12,vars:4,consts:[["navigationContent",""],[1,"angor-vertical-navigation-wrapper"],[1,"angor-vertical-navigation-header"],["angorScrollbar","",1,"angor-vertical-navigation-content",3,"angorScrollbarOptions"],[1,"angor-vertical-navigation-content-header"],[1,"angor-vertical-navigation-footer"],["angorScrollbar","",1,"angor-vertical-navigation-aside-wrapper",3,"angorScrollbarOptions"],[3,"item","name","activeItemId","autoCollapse","skipChildren"],[3,"item","name"],[3,"item","name","autoCollapse"],[3,"click","item","name","activeItemId","autoCollapse","skipChildren"]],template:function(n,o){n&1&&(so(E1),b(0,"div",1)(1,"div",2),ua(2),v(),b(3,"div",3,0)(5,"div",4),ua(6,1),v(),Te(7,V1,1,1,null,null,o.trackByFn,!0),v(),b(9,"div",5),ua(10,2),v()(),k(11,G1,3,6,"div",6)),n&2&&(m(3),f("angorScrollbarOptions",de(2,L1,o.inner)),m(4),qe(o.navigation),m(4),w(o.activeAsideItemId?11:-1))},dependencies:[Qn,Lm,Ei,za,Oi,ja,Li],styles:[`:root{--angor-vertical-navigation-width: 280px}angor-vertical-navigation{position:sticky;display:flex;flex-direction:column;flex:1 0 auto;top:0;width:var(--angor-vertical-navigation-width);min-width:var(--angor-vertical-navigation-width);max-width:var(--angor-vertical-navigation-width);height:100vh;min-height:100vh;max-height:100vh;z-index:200}angor-vertical-navigation.angor-vertical-navigation-animations-enabled{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:visibility,margin-left,margin-right,transform,width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-animations-enabled .angor-vertical-navigation-wrapper{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-mode-over{position:fixed;top:0;bottom:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over{left:0;transform:translate3d(-100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-left .angor-vertical-navigation-wrapper{left:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over{right:0;transform:translate3d(100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-wrapper{right:0}angor-vertical-navigation.angor-vertical-navigation-inner{position:relative;width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-shadow:none}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper{position:relative;overflow:visible;height:auto}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{overflow:visible!important}angor-vertical-navigation .angor-vertical-navigation-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;width:100%;height:100%;overflow:hidden;z-index:10;background:inherit;box-shadow:inset -1px 0 0 var(--angor-border)}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-divider-item{margin:24px 0}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item{margin-top:24px}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;left:var(--angor-vertical-navigation-width);width:var(--angor-vertical-navigation-width);height:100%;z-index:5;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.4s;transition-property:left,right;transition-timing-function:cubic-bezier(.25,.8,.25,1);background:inherit}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item{padding:24px 0}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper{display:none!important}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item,angor-vertical-navigation angor-vertical-navigation-divider-item,angor-vertical-navigation angor-vertical-navigation-group-item,angor-vertical-navigation angor-vertical-navigation-spacer-item{display:flex;flex-direction:column;flex:1 0 auto;-webkit-user-select:none;user-select:none}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding:10px 16px;font-size:13px;font-weight:500;line-height:20px;text-decoration:none;border-radius:6px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled{cursor:default;opacity:.4}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:16px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{font-size:11px;line-height:1.5}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{margin-left:auto}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}angor-vertical-navigation angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{margin:0 12px}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item{margin-bottom:4px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item{cursor:pointer}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge+.angor-vertical-navigation-item-arrow{margin-left:8px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{height:20px;line-height:20px;margin-left:auto;transition:transform .3s cubic-bezier(.25,.8,.25,1),color 375ms cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{transform:rotate(90deg)}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:first-child{margin-top:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:0}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{overflow:hidden}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:56px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:72px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:88px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:104px}angor-vertical-navigation angor-vertical-navigation-divider-item{margin:12px 0}angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper{height:1px;box-shadow:0 1px}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{display:none!important}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}angor-vertical-navigation angor-vertical-navigation-spacer-item{margin:6px 0}.angor-vertical-navigation-overlay{position:absolute;inset:0;z-index:170;opacity:0;background-color:#0009}.angor-vertical-navigation-overlay+.angor-vertical-navigation-aside-overlay{background-color:transparent}.angor-vertical-navigation-aside-overlay{position:absolute;inset:0;z-index:169;opacity:0;background-color:#0000004d}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{color:currentColor}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{color:currentColor;opacity:.6}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{color:currentColor;opacity:.8}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{color:currentColor;opacity:.5}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{--tw-text-opacity: 1;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity));opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title:is(.dark *){--tw-text-opacity: 1;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))}:root{--angor-vertical-navigation-compact-width: 112px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact{width:var(--angor-vertical-navigation-compact-width);min-width:var(--angor-vertical-navigation-compact-width);max-width:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{margin:4px 8px 0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{flex-direction:column;justify-content:center;padding:12px;border-radius:6px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{margin-top:8px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:500;text-align:center;line-height:16px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{display:none!important}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{position:absolute;top:12px;left:64px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-collapsable-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-compact-width)}:root{--angor-vertical-navigation-width: 280px;--angor-vertical-navigation-dense-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over){width:var(--angor-vertical-navigation-dense-width);min-width:var(--angor-vertical-navigation-dense-width);max-width:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-dense-width) - 24px);min-width:calc(var(--angor-vertical-navigation-dense-width) - 24px);max-width:calc(var(--angor-vertical-navigation-dense-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{transition:opacity .4s cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item:first-of-type{margin-top:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;opacity:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:before{content:"";position:absolute;top:20px;width:23px;border-top-width:2px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper{width:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-width) - 24px);min-width:calc(var(--angor-vertical-navigation-width) - 24px);max-width:calc(var(--angor-vertical-navigation-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;animation:removeWhiteSpaceNoWrap 1ms linear .35s;animation-fill-mode:forwards}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-width)}@keyframes removeWhiteSpaceNoWrap{0%{white-space:nowrap}99%{white-space:nowrap}to{white-space:normal}}:root{--angor-vertical-navigation-thin-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin{width:var(--angor-vertical-navigation-thin-width);min-width:var(--angor-vertical-navigation-thin-width);max-width:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item{flex-direction:column;justify-content:center;height:64px;min-height:64px;max-height:64px;padding:0 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{display:flex;align-items:center;justify-content:center}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{justify-content:center;padding:12px;border-radius:4px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-thin-width)} `],encapsulation:2,data:{animation:Si},changeDetection:0});let i=e;return i})();var $1=["notificationsOrigin"],Z1=["notificationsPanel"],Y1=i=>({unread:i}),K1=(i,e)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":i,"bg-primary":e});function Q1(i,e){if(i&1&&(b(0,"span",4)(1,"span",6),z(2),v()()),i&2){let a=h();m(2),te(" ",a.unreadCount," ")}}function X1(i,e){i&1&&se(0)}function ey(i,e){if(i&1&&(b(0,"a",23),k(1,X1,1,0,"ng-container",25),v()),i&2){let a=h(2).$implicit,t=K(9);f("href",a.link,nt),m(),f("ngTemplateOutlet",t)}}function ty(i,e){i&1&&se(0)}function iy(i,e){if(i&1&&(b(0,"a",24),k(1,ty,1,0,"ng-container",25),v()),i&2){let a=h(2).$implicit,t=K(9);f("routerLink",a.link),m(),f("ngTemplateOutlet",t)}}function ay(i,e){if(i&1&&k(0,ey,2,2,"a",23)(1,iy,2,2,"a",24),i&2){let a=h().$implicit;w(a.useRouter?-1:0),m(),w(a.useRouter?1:-1)}}function ny(i,e){i&1&&se(0)}function oy(i,e){if(i&1&&(b(0,"div",17),k(1,ny,1,0,"ng-container",25),v()),i&2){h();let a=K(9);m(),f("ngTemplateOutlet",a)}}function ry(i,e){if(i&1&&(b(0,"div",26),C(1,"mat-icon",32),v()),i&2){let a=h(2).$implicit;m(),f("svgIcon",a.icon)}}function sy(i,e){if(i&1&&C(0,"img",27),i&2){let a=h(2).$implicit;f("src",a.image,nt)("alt","Notification image")}}function ly(i,e){if(i&1&&C(0,"div",29),i&2){let a=h(2).$implicit;f("innerHTML",a.title,ft)}}function cy(i,e){if(i&1&&C(0,"div",30),i&2){let a=h(2).$implicit;f("innerHTML",a.description,ft)}}function uy(i,e){if(i&1&&(k(0,ry,2,1,"div",26)(1,sy,1,2,"img",27),b(2,"div",28),k(3,ly,1,1,"div",29)(4,cy,1,1,"div",30),b(5,"div",31),z(6),ji(7,"date"),v()()),i&2){let a=h().$implicit;w(a.icon&&!a.image?0:-1),m(),w(a.image?1:-1),m(2),w(a.title?3:-1),m(),w(a.description?4:-1),m(2),te(" ",zi(7,5,a.time,"MMM dd, h:mm a")," ")}}function dy(i,e){if(i&1){let a=le();b(0,"div",16),k(1,ay,2,2)(2,oy,2,1,"div",17),b(3,"div",18)(4,"button",19),$("click",function(){let n=Q(a).$implicit,o=h(2);return X(o.toggleRead(n))}),C(5,"span",20),v(),b(6,"button",21),$("click",function(){let n=Q(a).$implicit,o=h(2);return X(o.delete(n))}),C(7,"mat-icon",22),v()()(),k(8,uy,8,8,"ng-template",null,2,Ve)}if(i&2){let a=e.$implicit;f("ngClass",de(7,Y1,!a.read)),m(),w(a.link?1:-1),m(),w(a.link?-1:2),m(2),f("matTooltip",a.read?"Mark as unread":"Mark as read"),m(),f("ngClass",Et(9,K1,a.read,!a.read)),m(),f("matTooltip","Remove"),m(),f("svgIcon","heroicons_solid:x-mark")}}function my(i,e){i&1&&(b(0,"div",15)(1,"div",33),C(2,"mat-icon",34),v(),b(3,"div",35),z(4," No notifications "),v(),b(5,"div",36),z(6," When you have notifications, they will appear here. "),v()()),i&2&&(m(2),f("svgIcon","heroicons_outline:bell"))}function py(i,e){if(i&1){let a=le();b(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),$("click",function(){Q(a);let n=h();return X(n.closePanel())}),C(4,"mat-icon",10),v()(),b(5,"div",11),z(6,"Notifications"),v(),b(7,"div",12)(8,"button",13),$("click",function(){Q(a);let n=h();return X(n.markAllAsRead())}),C(9,"mat-icon",10),v()()(),b(10,"div",14),Te(11,dy,10,12,null,null,st().trackByFn,!0),k(13,my,7,1,"div",15),v()()}if(i&2){let a=h();m(4),f("svgIcon","heroicons_solid:x-mark"),m(4),f("matTooltip","Mark all as read")("disabled",a.unreadCount===0),m(),f("svgIcon","heroicons_solid:envelope-open"),m(2),qe(a.notifications),m(2),w(!a.notifications||!a.notifications.length?13:-1)}}var Nr=(()=>{let e=class e{constructor(t,n,o,r){this._changeDetectorRef=t,this._notificationsService=n,this._overlay=o,this._viewContainerRef=r,this.unreadCount=0,this._unsubscribeAll=new V}ngOnInit(){this._notificationsService.notifications$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.notifications=t,this._calculateUnreadCount(),this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete(),this._overlayRef&&this._overlayRef.dispose()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new pa(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef.detach()}markAllAsRead(){this._notificationsService.markAllAsRead().subscribe()}toggleRead(t){t.read=!t.read,this._notificationsService.update(t.id,t).subscribe()}delete(t){this._notificationsService.delete(t.id).subscribe()}trackByFn(t,n){return n.id||t}_createOverlay(){this._overlayRef=this._overlay.create({hasBackdrop:!0,backdropClass:"angor-backdrop-on-mobile",scrollStrategy:this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement).withLockedPosition(!0).withPush(!0).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}),this._overlayRef.backdropClick().subscribe(()=>{this._overlayRef.detach()})}_calculateUnreadCount(){let t=0;this.notifications&&this.notifications.length&&(t=this.notifications.filter(n=>!n.read).length),this.unreadCount=t}};e.\u0275fac=function(n){return new(n||e)(E(oe),E(Sr),E(Qe),E(Qa))},e.\u0275cmp=J({type:e,selectors:[["notifications"]],viewQuery:function(n,o){if(n&1&&(We($1,5),We(Z1,5)),n&2){let r;Re(r=He())&&(o._notificationsOrigin=r.first),Re(r=He())&&(o._notificationsPanel=r.first)}},exportAs:["notifications"],standalone:!0,features:[W],decls:6,vars:2,consts:[["notificationsOrigin",""],["notificationsPanel",""],["notificationContent",""],["mat-icon-button","",3,"click"],[1,"absolute","left-0","right-0","top-0","flex","h-3","items-center","justify-center"],[3,"svgIcon"],[1,"ml-4","mt-2.5","flex","h-4","min-w-4","shrink-0","items-center","justify-center","rounded-full","bg-teal-600","px-1","text-xs","font-medium","text-indigo-50"],[1,"fixed","inset-0","flex","flex-col","overflow-hidden","shadow-lg","sm:static","sm:inset-auto","sm:w-90","sm:min-w-90","sm:rounded-2xl"],[1,"flex","shrink-0","items-center","bg-primary","py-4","pl-6","pr-4","text-on-primary"],[1,"-ml-1","mr-3","sm:hidden"],[1,"text-current","icon-size-5",3,"svgIcon"],[1,"text-lg","font-medium","leading-10"],[1,"ml-auto"],["mat-icon-button","",1,"dark:text-white",3,"click","matTooltip","disabled"],[1,"bg-card","relative","flex","flex-auto","flex-col","divide-y","overflow-y-auto","sm:max-h-120"],[1,"flex","flex-auto","flex-col","items-center","justify-center","px-8","py-12","sm:justify-start"],[1,"group","flex","hover:bg-gray-50","dark:hover:bg-black","dark:hover:bg-opacity-5",3,"ngClass"],[1,"flex","flex-auto","py-5","pl-6"],[1,"relative","my-5","ml-2","mr-6","flex","flex-col"],["mat-icon-button","",1,"h-6","min-h-6","w-6",3,"click","matTooltip"],[1,"h-2","w-2","rounded-full",3,"ngClass"],["mat-icon-button","",1,"h-6","min-h-6","w-6","sm:opacity-0","sm:group-hover:opacity-100",3,"click","matTooltip"],[1,"icon-size-4",3,"svgIcon"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"href"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"mr-4","flex","h-8","w-8","shrink-0","items-center","justify-center","rounded-full","bg-gray-100","dark:bg-gray-700"],[1,"mr-4","h-8","w-8","shrink-0","overflow-hidden","rounded-full","object-cover","object-center",3,"src","alt"],[1,"flex","flex-auto","flex-col"],[1,"line-clamp-1","font-semibold",3,"innerHTML"],[1,"line-clamp-2",3,"innerHTML"],[1,"text-secondary","mt-2","text-sm","leading-none"],[1,"icon-size-5",3,"svgIcon"],[1,"flex","h-14","w-14","flex-0","items-center","justify-center","rounded-full","bg-primary-100","dark:bg-primary-600"],[1,"text-primary-700","dark:text-primary-50",3,"svgIcon"],[1,"mt-5","text-2xl","font-semibold","tracking-tight"],[1,"text-secondary","mt-1","w-full","max-w-60","text-center","text-md"]],template:function(n,o){if(n&1){let r=le();b(0,"button",3,0),$("click",function(){return Q(r),X(o.openPanel())}),k(2,Q1,3,1,"span",4),C(3,"mat-icon",5),v(),k(4,py,14,5,"ng-template",null,1,Ve)}n&2&&(m(2),w(o.unreadCount>0?2:-1),m(),f("svgIcon","heroicons_outline:bell"))},dependencies:[rt,ot,xe,_e,mt,dt,ye,ut,bi,co],encapsulation:2,changeDetection:0});let i=e;return i})();var hy=["messageInput"],by=(i,e)=>({"-translate-x-full shadow sm:-translate-x-96 lg:-translate-x-80":i,"translate-x-0":e}),vy=()=>({wheelPropagation:!1}),yy=(i,e)=>({"dark:hover:bg-hover hover:bg-gray-100":i,"bg-primary-50 dark:bg-hover":e}),_y=(i,e,a,t)=>({"items-end":i,"items-start":e,"mt-0.5":a,"mt-3":t}),xy=(i,e)=>({"bg-blue-500 text-blue-50":i,"bg-gray-500 text-gray-50":e}),wy=(i,e)=>({"-right-1 -mr-px mb-px text-blue-500":i,"-left-1 -ml-px mb-px -scale-x-1 text-gray-500":e}),Sy=(i,e)=>({"mr-3":i,"ml-3":e});function Cy(i,e){i&1&&(b(0,"div",5)(1,"div",13),C(2,"mat-icon",14),v(),b(3,"div",15),z(4," Team Chat "),v(),b(5,"button",16),C(6,"mat-icon",17),v()()),i&2&&(m(2),f("svgIcon","heroicons_outline:chat-bubble-left-right"),m(4),f("svgIcon","heroicons_outline:x-mark"))}function ky(i,e){if(i&1&&C(0,"img",19),i&2){let a=h(2);f("src",a.chat.contact.avatar,nt)}}function Ty(i,e){if(i&1&&(b(0,"div",20),z(1),v()),i&2){let a=h(2);m(),te(" ",a.chat.contact.name.charAt(0)," ")}}function qy(i,e){if(i&1&&(b(0,"div",6)(1,"div",18),k(2,ky,1,1,"img",19)(3,Ty,2,1,"div",20),v(),b(4,"div",21),z(5),v(),b(6,"button",16),C(7,"mat-icon",17),v()()),i&2){let a=h();m(2),w(a.chat.contact.avatar?2:-1),m(),w(a.chat.contact.avatar?-1:3),m(2),te(" ",a.chat.contact.name," "),m(2),f("svgIcon","heroicons_outline:x-mark")}}function Dy(i,e){if(i&1&&C(0,"div",25),i&2){let a=h().$implicit,t=h();Fe("ring-primary-50",t.selectedChat&&t.selectedChat.id===a.id)}}function Ay(i,e){if(i&1&&C(0,"img",19),i&2){let a=h().$implicit;f("src",a.contact.avatar,nt)}}function Iy(i,e){if(i&1&&(b(0,"div",20),z(1),v()),i&2){let a=h().$implicit;m(),te(" ",a.contact.name.charAt(0)," ")}}function My(i,e){if(i&1){let a=le();b(0,"div",22),$("click",function(){let n=Q(a).$implicit,o=h();return X(o.selectChat(n.id))}),b(1,"div",23),k(2,Dy,1,2,"div",24)(3,Ay,1,1,"img",19)(4,Iy,2,1,"div",20),v()()}if(i&2){let a=e.$implicit,t=h();f("ngClass",Et(4,yy,!t.selectedChat||t.selectedChat.id!==a.id,t.selectedChat&&t.selectedChat.id===a.id)),m(2),w(a.unreadCount>0?2:-1),m(),w(a.contact.avatar?3:-1),m(),w(a.contact.avatar?-1:4)}}function Ey(i,e){if(i&1&&(b(0,"div",34),C(1,"div",39),b(2,"div",40),z(3),ji(4,"date"),v(),C(5,"div",39),v()),i&2){let a=h().$implicit;m(3),te(" ",zi(4,1,a.createdAt,"longDate")," ")}}function Oy(i,e){i&1&&se(0)}function Ly(i,e){if(i&1&&(b(0,"div",36),k(1,Oy,1,0,"ng-container",41),v()),i&2){let a=h().$implicit;h(2);let t=K(14);f("ngClass",Et(2,wy,a.isMine,!a.isMine)),m(),f("ngTemplateOutlet",t)}}function Ny(i,e){if(i&1&&(b(0,"div",38),z(1),ji(2,"date"),v()),i&2){let a=h().$implicit;f("ngClass",Et(5,Sy,a.isMine,!a.isMine)),m(),te(" ",zi(2,2,a.createdAt,"HH:mm")," ")}}function Py(i,e){if(i&1&&(k(0,Ey,6,4,"div",34),ji(1,"date"),ji(2,"date"),b(3,"div",28)(4,"div",35),k(5,Ly,2,5,"div",36),C(6,"div",37),v(),k(7,Ny,3,8,"div",38),v()),i&2){let a=e.$implicit,t=e.$index,n=e.$count,o=h(2);w(t===0||zi(1,6,o.chat.messages[t-1].createdAt,"d")!==zi(2,9,a.createdAt,"d")?0:-1),m(3),f("ngClass",sc(12,_y,a.isMine,!a.isMine,t>0&&o.chat.messages[t-1].isMine===a.isMine,t>0&&o.chat.messages[t-1].isMine!==a.isMine)),m(),f("ngClass",Et(17,xy,a.isMine,!a.isMine)),m(),w(t===n-1||o.chat.messages[t+1].isMine!==a.isMine?5:-1),m(),f("innerHTML",a.value,ft),m(),w(t===0||t===n-1||o.chat.messages[t+1].isMine!==a.isMine||o.chat.messages[t+1].createdAt!==a.createdAt?7:-1)}}function Fy(i,e){if(i&1&&(b(0,"div",26)(1,"div",27),Te(2,Py,8,20,"div",28,st().trackByFn,!0),v()(),b(4,"div",29)(5,"mat-form-field",30),C(6,"textarea",31,1),v(),b(8,"div",32)(9,"button",33),C(10,"mat-icon",17),v()()()),i&2){let a=h();m(2),qe(a.chat.messages),m(3),f("subscriptSizing","dynamic"),m(5),f("svgIcon","heroicons_outline:paper-airplane")}}function Ry(i,e){i&1&&(b(0,"div",12),C(1,"mat-icon",42),b(2,"div",43),z(3," Select a conversation "),v()()),i&2&&(m(),f("svgIcon","heroicons_outline:chat-bubble-bottom-center-text"))}function Hy(i,e){i&1&&(ec(),b(0,"svg",44)(1,"g",45),C(2,"path",46),v()())}var Pr=(()=>{let e=class e{constructor(t,n,o,r,s,l){this._document=t,this._elementRef=n,this._renderer2=o,this._ngZone=r,this._quickChatService=s,this._scrollStrategyOptions=l,this.opened=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new V}get classList(){return{"quick-chat-opened":this.opened}}_resizeMessageInput(){this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.messageInput.nativeElement.style.height="auto",this.messageInput.nativeElement.style.height=`${this.messageInput.nativeElement.scrollHeight}px`})})}ngOnInit(){this._quickChatService.chat$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.chat=t}),this._quickChatService.chats$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.chats=t}),this._quickChatService.chat$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.selectedChat=t})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(t=>{t.forEach(n=>{let o=n.target;if(n.attributeName==="class")if(o.classList.contains("cdk-global-scrollblock")){let r=parseInt(o.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(r)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]})}ngOnDestroy(){this._mutationObserver.disconnect(),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&this._toggleOpened(!1)}toggle(){this.opened?this.close():this.open()}selectChat(t){this._toggleOpened(!0),this._quickChatService.getChatById(t).subscribe()}trackByFn(t,n){return n.id||t}_showOverlay(){this._hideOverlay(),this._overlay=this._renderer2.createElement("div"),this._overlay&&(this._overlay.classList.add("quick-chat-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._overlay.addEventListener("click",()=>{this.close()}))}_hideOverlay(){this._overlay&&(this._overlay&&(this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable())}_toggleOpened(t){this.opened=t,t?this._showOverlay():this._hideOverlay()}};e.\u0275fac=function(n){return new(n||e)(E(Ue),E(Be),E(si),E(Ct),E(Cr),E(xo))},e.\u0275cmp=J({type:e,selectors:[["quick-chat"]],viewQuery:function(n,o){if(n&1&&We(hy,5),n&2){let r;Re(r=He())&&(o.messageInput=r.first)}},hostVars:2,hostBindings:function(n,o){n&1&&$("input",function(){return o._resizeMessageInput()})("ngModelChange",function(){return o._resizeMessageInput()}),n&2&&kt(o.classList)},exportAs:["quickChat"],standalone:!0,features:[W],decls:15,vars:9,consts:[["speechBubbleExtension",""],["messageInput",""],[1,"fixed","bottom-0","top-0","w-full","sm:w-96","lg:sticky","lg:left-full","lg:h-screen","lg:w-16","lg:shadow"],[1,"bg-card","flex","h-full","w-full","flex-col","transition-transform","duration-400","ease-drawer","sm:w-96",3,"ngClass"],[1,"quick-chat-header","flex","flex-0","cursor-pointer","items-center","justify-start",3,"click"],[1,"flex","flex-auto","items-center","justify-center"],[1,"ml-3","flex","flex-auto","items-center"],[1,"flex","flex-auto","overflow-hidden","border-t"],["angorScrollbar","",1,"h-full","border-l","w-16","flex-0","overflow-y-hidden","overscroll-y-contain","sm:overflow-hidden","sm:overscroll-hidden",3,"angorScrollbarOptions"],[1,"flex-auto"],[1,"flex","cursor-pointer","items-center","px-4","py-3",3,"ngClass"],[1,"flex","flex-auto","flex-col","overflow-hidden","border-l","bg-gray-50","dark:bg-transparent"],[1,"flex","h-full","w-full","flex-auto","flex-col","items-center","justify-center","p-4"],[1,"flex","w-16","flex-0","items-center","justify-center"],[1,"icon-size-6",3,"svgIcon"],[1,"text-secondary","text-lg","font-medium"],["mat-icon-button","",1,"ml-auto","mr-4"],[3,"svgIcon"],[1,"relative","flex","h-10","w-10","flex-0","items-center","justify-center"],["alt","Contact avatar",1,"h-full","w-full","rounded-full","object-cover",3,"src"],[1,"flex","h-full","w-full","items-center","justify-center","rounded-full","bg-gray-200","text-lg","uppercase","text-gray-600","dark:bg-gray-700","dark:text-gray-200"],[1,"ml-4","truncate","text-lg","font-medium","leading-5"],[1,"flex","cursor-pointer","items-center","px-4","py-3",3,"click","ngClass"],[1,"relative","flex","h-8","w-8","flex-0","items-center","justify-center"],[1,"ring-bg-card","absolute","bottom-0","right-0","-ml-0.5","h-2","w-2","flex-0","rounded-full","bg-primary","text-on-primary","ring-2","dark:bg-primary-500","dark:ring-gray-900",3,"ring-primary-50"],[1,"ring-bg-card","absolute","bottom-0","right-0","-ml-0.5","h-2","w-2","flex-0","rounded-full","bg-primary","text-on-primary","ring-2","dark:bg-primary-500","dark:ring-gray-900"],[1,"flex","flex-col-reverse","overflow-y-auto","overscroll-y-contain"],[1,"flex","flex-auto","shrink","flex-col","p-6"],[1,"flex","flex-col",3,"ngClass"],[1,"flex","items-end","border-t","bg-gray-50","p-4","dark:bg-transparent"],[1,"angor-mat-dense","angor-mat-rounded","angor-mat-bold","w-full",3,"subscriptSizing"],["matInput","","cdkTextareaAutosize",""],[1,"my-px","ml-4","flex","h-11","items-center"],["mat-icon-button",""],[1,"-mx-6","my-3","flex","items-center","justify-center"],[1,"relative","max-w-3/4","rounded-lg","px-3","py-2",3,"ngClass"],[1,"absolute","bottom-0","w-3",3,"ngClass"],[1,"min-w-4","leading-5",3,"innerHTML"],[1,"text-secondary","my-0.5","text-sm","font-medium",3,"ngClass"],[1,"flex-auto","border-b"],[1,"text-secondary","mx-4","flex-0","text-sm","font-medium","leading-5"],[4,"ngTemplateOutlet"],[1,"icon-size-24",3,"svgIcon"],[1,"text-secondary","mt-4","text-center","text-xl","font-medium","tracking-tight"],["width","100%","height","100%","viewBox","0 0 66 66","xmlns","http://www.w3.org/2000/svg"],["id","Page-1","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["d","M1.01522827,0.516204834 C-8.83532715,54.3062744 61.7609863,70.5215302 64.8009949,64.3061218 C68.8074951,54.8859711 30.1663208,52.9997559 37.5036011,0.516204834 L1.01522827,0.516204834 Z","fill","currentColor","fill-rule","nonzero"]],template:function(n,o){if(n&1){let r=le();b(0,"div",2)(1,"div",3)(2,"div",4),$("click",function(){return Q(r),X(o.toggle())}),k(3,Cy,7,2,"div",5)(4,qy,8,4,"div",6),v(),b(5,"div",7)(6,"div",8)(7,"div",9),Te(8,My,5,7,"div",10,o.trackByFn,!0),v()(),b(10,"div",11),k(11,Fy,11,2)(12,Ry,4,1,"div",12),v()()()(),k(13,Hy,3,0,"ng-template",null,0,Ve)}n&2&&(m(),f("ngClass",Et(5,by,o.opened,!o.opened)),m(2),w(!o.opened||o.opened&&!o.selectedChat?3:-1),m(),w(o.opened&&o.selectedChat?4:-1),m(2),f("angorScrollbarOptions",lo(8,vy)),m(2),qe(o.chats),m(3),w(o.chat?11:12))},dependencies:[ye,xe,_e,rt,ot,Qn,ut,ko,Co,Io,Ao,Uc,Gc,co],styles:[`quick-chat{z-index:399}quick-chat>div{overflow:hidden}quick-chat.quick-chat-opened>div{overflow:visible}quick-chat:not(.quick-chat-opened)>div{overflow:visible;animation:addOverflowHidden 1ms linear .4s;animation-fill-mode:forwards}.quick-chat-header{height:64px}enterprise-layout .quick-chat-header,modern-layout .quick-chat-header{height:80px!important}.quick-chat-overlay{position:fixed;inset:0;z-index:299;opacity:1;background-color:transparent}@keyframes addOverflowHidden{0%{overflow:visible}99%{overflow:visible}to{overflow:hidden}} `],encapsulation:2});let i=e;return i})();var Vy=["panel"],Jy=["*"];function Wy(i,e){if(i&1){let a=le();b(0,"div",1,0),$("@panelAnimation.done",function(n){Q(a);let o=h();return X(o._animationDone.next(n))}),ua(2),v()}if(i&2){let a=e.id,t=h();kt(t._classList),Fe("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),f("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),$t("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(a))}}var Uy=Ic("panelAnimation",[Oc("void, hidden",ht({opacity:0,transform:"scaleY(0.8)"})),ls(":enter, hidden => visible",[Mc([li("0.03s linear",ht({opacity:1})),li("0.12s cubic-bezier(0, 0, 0.2, 1)",ht({transform:"scaleY(1)"}))])]),ls(":leave, visible => hidden",[li("0.075s linear",ht({opacity:0}))])]),Gy=0,Rl=class{constructor(e,a){this.source=e,this.option=a}},Wm=new be("mat-autocomplete-default-options",{providedIn:"root",factory:$y});function $y(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Um=(()=>{let e=class e{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}constructor(t,n,o,r){this._changeDetectorRef=t,this._elementRef=n,this._defaults=o,this._activeOptionChanges=Xr.EMPTY,this._animationDone=new Ke,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new Ke,this.opened=new Ke,this.closed=new Ke,this.optionActivated=new Ke,this.id=`mat-autocomplete-${Gy++}`,this.inertGroups=r?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new _c(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){let n=new Rl(this,t);this.optionSelected.emit(n)}_getPanelAriaLabelledby(t){if(this.ariaLabel)return null;let n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_skipPredicate(){return!1}};e.\u0275fac=function(n){return new(n||e)(E(oe),E(Be),E(Wm),E(vi))},e.\u0275cmp=J({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(n,o,r){if(n&1&&(ts(r,yo,5),ts(r,kc,5)),n&2){let s;Re(s=He())&&(o.options=s),Re(s=He())&&(o.optionGroups=s)}},viewQuery:function(n,o){if(n&1&&(We(Ka,7),We(Vy,5)),n&2){let r;Re(r=He())&&(o.template=r.first),Re(r=He())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",Bi],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Bi],requireSelection:[2,"requireSelection","requireSelection",Bi],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Bi],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Bi]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[tn([{provide:Cc,useExisting:e}]),Xa,W],ngContentSelectors:Jy,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,o){n&1&&(so(),k(0,Wy,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Uy]},changeDetection:0});let i=e;return i})();var Zy={provide:$c,useExisting:Ql(()=>Hl),multi:!0};var Fr=new be("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=I(Qe);return()=>i.scrollStrategies.reposition()}});function Yy(i){return()=>i.scrollStrategies.reposition()}var Ky={provide:Fr,deps:[Qe],useFactory:Yy},Hl=(()=>{let e=class e{constructor(t,n,o,r,s,l,c,d,g,x,y){this._element=t,this._overlay=n,this._viewContainerRef=o,this._zone=r,this._changeDetectorRef=s,this._dir=c,this._formField=d,this._document=g,this._viewportRuler=x,this._defaults=y,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Xr.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new V,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new V,this._injector=I(Gt),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=na(()=>{let _=this.autocomplete?this.autocomplete.options:null;return _?_.changes.pipe(sa(_),Ze(()=>oi(..._.map(D=>D.onSelectionChange)))):this._initialized.pipe(Ze(()=>this.optionSelections))}),this._handlePanelKeydown=_=>{(_.keyCode===27&&!yi(_)||_.keyCode===38&&yi(_,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),_.stopPropagation(),_.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&go(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return oi(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ne(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ne(()=>this._overlayAttached)):ct()).pipe(Le(t=>t instanceof qc?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return oi(oa(this._document,"click"),oa(this._document,"auxclick"),oa(this._document,"touchend")).pipe(Ne(t=>{let n=yc(t),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(n))&&(!r||!r.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){let n=t.keyCode,o=yi(t);if(n===27&&!o&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&n===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let r=this.autocomplete._keyManager.activeItem,s=n===38||n===40;n===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let n=t.target,o=n.value;if(n.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(s=>s.selected);if(r){let s=this._getDisplayValue(r.value);o!==s&&r.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===t.target){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(t=!1){this._formField&&this._formField.floatLabel==="auto"&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let t=new io(o=>{ac(()=>{o.next()},{injector:this._injector})}),n=this.autocomplete.options.changes.pipe(Ut(()=>this._positionStrategy.reapplyLastPosition()),ra(0));return oi(t,n).pipe(Ze(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Pe(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(t):t}_assignOptionValue(t){let n=this._getDisplayValue(t);t==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){let n=this.autocomplete,o=t?t.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),n._emitSelectEvent(o),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),n._animationDone?n._animationDone.pipe(Pe(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,n){this.autocomplete?.options?.forEach(o=>{o!==t&&o.selected&&o.deselect(n)})}_openPanelInternal(t=this._element.nativeElement.value){if(this._attachOverlay(t),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;rs(this._trackedModal,"aria-owns",n)}}_attachOverlay(t){this.autocomplete;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new pa(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new wo({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=r:this.position==="below"?s=n:s=[...n,...r],t.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let t=this.autocomplete;if(t.autoActiveFirstOption){let n=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=this.autocomplete.id;this._trackedModal&&go(this._trackedModal,"aria-owns",n),rs(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(this._trackedModal){let t=this.autocomplete.id;go(this._trackedModal,"aria-owns",t),this._trackedModal=null}}};e.\u0275fac=function(n){return new(n||e)(E(Be),E(Qe),E(Qa),E(Ct),E(oe),E(Fr),E(on,8),E(Hc,9),E(Ue,8),E(Nc),E(Wm,8))},e.\u0275dir=Ri({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,o){n&1&&$("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),n&2&&$t("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",Bi]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[tn([Zy]),Xa,Ye]});let i=e;return i})(),Gm=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=It({providers:[Ky],imports:[fa,rn,xi,uo,Pc,rn,xi]});let i=e;return i})();var Xy=["barSearchInput"],e4=["matAutocomplete"],Wa=i=>({$implicit:i}),t4=i=>({"text-hint line-through":i});function i4(i,e){if(i&1){let a=le();b(0,"button",8),$("click",function(){Q(a);let n=h(2);return X(n.open())}),C(1,"mat-icon",9),v()}i&2&&(m(),f("svgIcon","heroicons_outline:magnifying-glass"))}function a4(i,e){i&1&&(b(0,"mat-option",13),z(1," No results found! "),v())}function n4(i,e){i&1&&se(0)}function o4(i,e){if(i&1&&k(0,n4,1,0,"ng-container",18),i&2){let a=h().$implicit;h(4);let t=K(3);f("ngTemplateOutlet",t)("ngTemplateOutletContext",de(2,Wa,a))}}function r4(i,e){i&1&&se(0)}function s4(i,e){if(i&1&&k(0,r4,1,0,"ng-container",18),i&2){let a=h().$implicit;h(4);let t=K(5);f("ngTemplateOutlet",t)("ngTemplateOutletContext",de(2,Wa,a))}}function l4(i,e){i&1&&se(0)}function c4(i,e){if(i&1&&k(0,l4,1,0,"ng-container",18),i&2){let a=h().$implicit;h(4);let t=K(7);f("ngTemplateOutlet",t)("ngTemplateOutletContext",de(2,Wa,a))}}function u4(i,e){if(i&1&&(b(0,"mat-option",17),k(1,o4,1,4,"ng-container")(2,s4,1,4,"ng-container")(3,c4,1,4,"ng-container"),v()),i&2){let a=e.$implicit,t=h().$implicit;f("routerLink",a.link)("value",a.value),m(),w(t.id==="contacts"?1:-1),m(),w(t.id==="pages"?2:-1),m(),w(t.id==="tasks"?3:-1)}}function d4(i,e){if(i&1&&(b(0,"mat-optgroup",15)(1,"span",16),z(2),v()(),Te(3,u4,4,5,"mat-option",17,st().trackByFn,!0)),i&2){let a=e.$implicit;m(2),en(a.label.toUpperCase()),m(),qe(a.results)}}function m4(i,e){if(i&1){let a=le();b(0,"div",7),C(1,"mat-icon",10),b(2,"input",11,3),$("keydown",function(n){Q(a);let o=h(2);return X(o.onKeydown(n))}),v(),b(4,"mat-autocomplete",12,4),k(6,a4,2,0,"mat-option",13),Te(7,d4,5,1,null,null,st().trackByFn,!0),v(),b(9,"button",14),$("click",function(){Q(a);let n=h(2);return X(n.close())}),C(10,"mat-icon",9),v()()}if(i&2){let a=K(5),t=h(2);f("@slideInTop",void 0)("@slideOutTop",void 0),m(),f("svgIcon","heroicons_outline:magnifying-glass"),m(),f("formControl",t.searchControl)("matAutocomplete",a)("placeholder","Search..."),m(2),f("autoSelectActiveOption",!0)("disableRipple",!0),m(2),w(t.resultSets&&!t.resultSets.length?6:-1),m(),qe(t.resultSets),m(3),f("svgIcon","heroicons_outline:x-mark")}}function p4(i,e){if(i&1&&k(0,i4,2,1,"button",6)(1,m4,11,10,"div",7),i&2){let a=h();w(a.opened?-1:0),m(),w(a.opened?1:-1)}}function g4(i,e){i&1&&(b(0,"mat-option",13),z(1," No results found! "),v())}function f4(i,e){i&1&&se(0)}function h4(i,e){if(i&1&&k(0,f4,1,0,"ng-container",18),i&2){let a=h().$implicit;h(3);let t=K(3);f("ngTemplateOutlet",t)("ngTemplateOutletContext",de(2,Wa,a))}}function b4(i,e){i&1&&se(0)}function v4(i,e){if(i&1&&k(0,b4,1,0,"ng-container",18),i&2){let a=h().$implicit;h(3);let t=K(5);f("ngTemplateOutlet",t)("ngTemplateOutletContext",de(2,Wa,a))}}function y4(i,e){i&1&&se(0)}function _4(i,e){if(i&1&&k(0,y4,1,0,"ng-container",18),i&2){let a=h().$implicit;h(3);let t=K(7);f("ngTemplateOutlet",t)("ngTemplateOutletContext",de(2,Wa,a))}}function x4(i,e){if(i&1&&(b(0,"mat-option",17),k(1,h4,1,4,"ng-container")(2,v4,1,4,"ng-container")(3,_4,1,4,"ng-container"),v()),i&2){let a=e.$implicit,t=h().$implicit;f("routerLink",a.link)("value",a.value),m(),w(t.id==="contacts"?1:-1),m(),w(t.id==="pages"?2:-1),m(),w(t.id==="tasks"?3:-1)}}function w4(i,e){if(i&1&&(b(0,"mat-optgroup",15)(1,"span",16),z(2),v()(),Te(3,x4,4,5,"mat-option",17,st().trackByFn,!0)),i&2){let a=e.$implicit;m(2),en(a.label.toUpperCase()),m(),qe(a.results)}}function S4(i,e){if(i&1){let a=le();b(0,"div",5)(1,"mat-form-field",19),C(2,"mat-icon",20),b(3,"input",21),$("keydown",function(n){Q(a);let o=h();return X(o.onKeydown(n))}),v()(),b(4,"mat-autocomplete",22,4),k(6,g4,2,0,"mat-option",13),Te(7,w4,5,1,null,null,st().trackByFn,!0),v()()}if(i&2){let a=K(5),t=h();m(),f("subscriptSizing","dynamic"),m(),f("svgIcon","heroicons_outline:magnifying-glass"),m(),f("formControl",t.searchControl)("matAutocomplete",a)("placeholder","Search..."),m(),f("autoSelectActiveOption",!0)("disableRipple",!0),m(2),w(t.resultSets&&!t.resultSets.length?6:-1),m(),qe(t.resultSets)}}function C4(i,e){if(i&1&&C(0,"img",25),i&2){let a=h().$implicit;f("src",a.avatar,nt)}}function k4(i,e){i&1&&C(0,"mat-icon",26),i&2&&f("svgIcon","heroicons_outline:user-circle")}function T4(i,e){if(i&1&&(b(0,"div",23)(1,"div",24),k(2,C4,1,1,"img",25)(3,k4,1,1,"mat-icon",26),v(),b(4,"div",27),C(5,"span",28),v()()),i&2){let a=e.$implicit;m(2),w(a.avatar?2:-1),m(),w(a.avatar?-1:3),m(2),f("innerHTML",a.name,ft)}}function q4(i,e){if(i&1&&(b(0,"div",29),C(1,"div",30),b(2,"div",31),z(3),v()()),i&2){let a=e.$implicit;m(),f("innerHTML",a.title,ft),m(2),te(" ",a.link," ")}}function D4(i,e){i&1&&C(0,"mat-icon",32),i&2&&f("svgIcon","heroicons_outline:check-circle")}function A4(i,e){i&1&&C(0,"mat-icon",33),i&2&&f("svgIcon","heroicons_outline:check-circle")}function I4(i,e){if(i&1&&(b(0,"div",23),k(1,D4,1,1,"mat-icon",32)(2,A4,1,1,"mat-icon",33),C(3,"div",34),v()),i&2){let a=e.$implicit;m(),w(a.completed?1:-1),m(),w(a.completed?-1:2),m(),f("ngClass",de(4,t4,a.completed))("innerHTML",a.title,ft)}}var Rr=(()=>{let e=class e{constructor(t,n,o){this._elementRef=t,this._httpClient=n,this._renderer2=o,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new Ke,this.opened=!1,this.searchControl=new Kc,this._unsubscribeAll=new V}get classList(){return{"search-appearance-bar":this.appearance==="bar","search-appearance-basic":this.appearance==="basic","search-opened":this.opened}}set barSearchInput(t){t&&setTimeout(()=>{t.nativeElement.focus()})}set matAutocomplete(t){this._matAutocomplete=t}ngOnChanges(t){"appearance"in t&&this.close()}ngOnInit(){this.searchControl.valueChanges.pipe(oo(this.debounce),U(this._unsubscribeAll),Le(t=>((!t||t.lengtht&&t.length>=this.minLength)).subscribe(t=>{this._httpClient.post("api/common/search",{query:t}).subscribe(n=>{this.resultSets=n,this.search.next(n)})})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}onKeydown(t){t.code==="Escape"&&this.appearance==="bar"&&!this._matAutocomplete.isOpen&&this.close()}open(){this.opened||(this.opened=!0)}close(){this.opened&&(this.searchControl.setValue(""),this.opened=!1)}trackByFn(t,n){return n.id||t}};e.\u0275fac=function(n){return new(n||e)(E(Be),E(Zt),E(si))},e.\u0275cmp=J({type:e,selectors:[["search"]],viewQuery:function(n,o){if(n&1&&(We(Xy,5),We(e4,5)),n&2){let r;Re(r=He())&&(o.barSearchInput=r.first),Re(r=He())&&(o.matAutocomplete=r.first)}},hostVars:2,hostBindings:function(n,o){n&2&&kt(o.classList)},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],standalone:!0,features:[tn([{provide:Fr,useFactory:()=>{let t=I(Qe);return()=>t.scrollStrategies.block()}}]),Ye,W],decls:8,vars:2,consts:[["contactResult",""],["pageResult",""],["taskResult",""],["barSearchInput",""],["matAutocomplete","matAutocomplete"],[1,"w-full","sm:min-w-80"],["mat-icon-button",""],[1,"bg-card","absolute","inset-0","z-99","flex","shrink-0","items-center"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"absolute","ml-6","sm:ml-8",3,"svgIcon"],[1,"h-full","w-full","px-16","sm:px-18",3,"keydown","formControl","matAutocomplete","placeholder"],[1,"max-h-128","rounded-b","border-t","shadow-md","sm:px-2",3,"autoSelectActiveOption","disableRipple"],[1,"text-secondary","pointer-events-none","bg-transparent","px-6","py-0","text-md"],["mat-icon-button","",1,"absolute","right-5","top-1/2","-mt-5","h-10","w-10","shrink-0","sm:right-7",3,"click"],[1,"mt-2","flex","items-center","px-2"],[1,"text-secondary","text-sm","font-semibold","tracking-wider"],[1,"group","relative","mb-1","rounded-md","px-6","py-0","text-md","dark:hover:bg-hover","hover:bg-gray-100",3,"routerLink","value"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"w-full",3,"subscriptSizing"],["matPrefix","",3,"svgIcon"],["matInput","",3,"keydown","formControl","matAutocomplete","placeholder"],[1,"mt-1","max-h-128","rounded",3,"autoSelectActiveOption","disableRipple"],[1,"flex","items-center"],[1,"flex","h-8","w-8","shrink-0","items-center","justify-center","overflow-hidden","rounded-full","bg-primary-100","dark:bg-primary-800"],[3,"src"],[1,"m-0","text-primary","icon-size-5","dark:text-primary-400",3,"svgIcon"],[1,"ml-3","truncate"],[3,"innerHTML"],[1,"flex","flex-col"],[1,"truncate","leading-normal",3,"innerHTML"],[1,"text-secondary","truncate","text-sm","leading-normal"],[1,"mr-0","text-primary","dark:text-primary-400",3,"svgIcon"],[1,"text-hint","mr-0",3,"svgIcon"],[1,"ml-3","truncate","leading-normal",3,"ngClass","innerHTML"]],template:function(n,o){n&1&&k(0,p4,2,2)(1,S4,9,8,"div",5)(2,T4,6,3,"ng-template",null,0,Ve)(4,q4,4,2,"ng-template",null,1,Ve)(6,I4,4,6,"ng-template",null,2,Ve),n&2&&(w(o.appearance==="bar"?0:-1),m(),w(o.appearance==="basic"?1:-1))},dependencies:[rt,ot,xe,_e,Xc,Zc,Yc,Gm,Um,yo,Tc,Hl,eu,Qc,rn,bi,ut,ko,Co,Rc,Io,Ao,ye],encapsulation:2,data:{animation:Si}});let i=e;return i})();function M4(i,e){if(i&1&&(la(0),C(1,"img",14),ca()),i&2){let a=h();m(),f("src",a.metadata==null?null:a.metadata.picture,nt)}}function E4(i,e){i&1&&C(0,"mat-icon",12),i&2&&f("svgIcon","heroicons_outline:user-circle")}var Hr=(()=>{let e=class e{constructor(t,n,o,r,s){this._changeDetectorRef=t,this._router=n,this._angorConfigService=o,this._metadataService=r,this._signerService=s,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new V}ngOnInit(){this.loadUserProfile(),this._angorConfigService.config$.pipe(U(this._unsubscribeAll)).subscribe(t=>{localStorage.setItem("angorConfig",JSON.stringify(t)),this.config=t})}loadUserProfile(){return Wl(this,null,function*(){this.isLoading=!0,this.errorMessage=null;let t=this._signerService.getPublicKey();if(!t){this.errorMessage="No public key found. Please log in again.",this.isLoading=!1;return}try{let n=yield this._metadataService.fetchMetadataWithCache(t);this.metadata=n,this._changeDetectorRef.markForCheck(),this._metadataService.getMetadataStream().pipe(U(this._unsubscribeAll)).subscribe(o=>{this.metadata=o,this._changeDetectorRef.markForCheck()})}catch(n){console.error("Failed to load profile data:",n),this.errorMessage="Failed to load profile data. Please try again later."}finally{this.isLoading=!1,this._changeDetectorRef.markForCheck()}})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}logout(){this._router.navigate(["/logout"])}profile(){this._router.navigate(["/profile"])}setLayout(t){this._angorConfigService.config={layout:t}}setScheme(t){this._angorConfigService.config={scheme:t}}setTheme(t){this._angorConfigService.config={theme:t}}};e.\u0275fac=function(n){return new(n||e)(E(oe),E(Ge),E(cn),E(au),E(Mo))},e.\u0275cmp=J({type:e,selectors:[["user"]],standalone:!0,features:[W],decls:48,vars:12,consts:[["defaultAvatar",""],["userActions","matMenu"],["settingsMenu","matMenu"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"relative"],[4,"ngIf","ngIfElse"],[3,"xPosition"],["mat-menu-item",""],[1,"flex","flex-col","leading-none"],[1,"mt-1.5","text-md","font-medium"],[1,"my-2"],["mat-menu-item","",3,"click"],[3,"svgIcon"],["mat-menu-item","",3,"matMenuTriggerFor"],["alt","User Avatar",1,"h-7","w-7","rounded-full",3,"src"]],template:function(n,o){if(n&1){let r=le();b(0,"button",3)(1,"span",4),k(2,M4,2,1,"ng-container",5)(3,E4,1,1,"ng-template",null,0,Ve),v()(),b(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),z(10,"Logged in as"),v(),b(11,"span",9),z(12),v()()(),C(13,"mat-divider",10),b(14,"button",11),$("click",function(){return Q(r),X(o.profile())}),C(15,"mat-icon",12),b(16,"span"),z(17,"Profile"),v()(),b(18,"button",13),C(19,"mat-icon",12),b(20,"span"),z(21,"Settings"),v()(),C(22,"mat-divider",10),b(23,"button",11),$("click",function(){return Q(r),X(o.logout())}),C(24,"mat-icon",12),b(25,"span"),z(26,"logout"),v()()(),b(27,"mat-menu",null,2)(29,"button",11),$("click",function(){return Q(r),X(o.setScheme("auto"))}),C(30,"mat-icon",12),b(31,"span"),z(32,"Auto Theme"),v()(),b(33,"button",11),$("click",function(){return Q(r),X(o.setScheme("light"))}),C(34,"mat-icon",12),b(35,"span"),z(36,"Light Theme"),v()(),b(37,"button",11),$("click",function(){return Q(r),X(o.setScheme("dark"))}),C(38,"mat-icon",12),b(39,"span"),z(40,"Dark Theme"),v()(),C(41,"mat-divider"),b(42,"button",11),$("click",function(){return Q(r),X(o.setLayout("classic"))}),b(43,"span"),z(44,"Classic Layout"),v()(),b(45,"button",11),$("click",function(){return Q(r),X(o.setLayout("modern"))}),b(46,"span"),z(47,"Modern Layout"),v()()()}if(n&2){let r=K(4),s=K(6),l=K(28);f("matMenuTriggerFor",s),m(2),f("ngIf",o.metadata==null?null:o.metadata.picture)("ngIfElse",r),m(3),f("xPosition","before"),m(7),en((o.metadata==null?null:o.metadata.display_name)||(o.metadata==null?null:o.metadata.name)||"Unknown User"),m(3),f("svgIcon","heroicons_outline:user-circle"),m(3),f("matMenuTriggerFor",l),m(),f("svgIcon","heroicons_outline:cog-8-tooth"),m(5),f("svgIcon","heroicons_outline:arrow-right-on-rectangle"),m(6),f("svgIcon","heroicons_solid:bolt"),m(4),f("svgIcon","heroicons_solid:sun"),m(4),f("svgIcon","heroicons_solid:moon")}},dependencies:[rt,ot,ba,qo,ha,Do,xe,_e,iu,tu,uo,uc],encapsulation:2,changeDetection:0});let i=e;return i})();function O4(i,e){if(i&1&&(b(0,"angor-vertical-navigation",1),la(1,13),b(2,"div",14),C(3,"img",15),v(),ca(),v()),i&2){let a=h();f("mode","over")("name","mainNavigation")("navigation",a.navigation.default)("opened",!1)}}function L4(i,e){if(i&1&&(b(0,"div",16)(1,"div",17),C(2,"img",18)(3,"img",19),v(),C(4,"img",20),v(),C(5,"angor-horizontal-navigation",21)),i&2){let a=h();m(5),f("name","mainNavigation")("navigation",a.navigation.horizontal)}}function N4(i,e){if(i&1){let a=le();b(0,"button",22),$("click",function(){Q(a);let n=h();return X(n.toggleNavigation("mainNavigation"))}),C(1,"mat-icon",9),v()}i&2&&(m(),f("svgIcon","heroicons_outline:bars-3"))}function P4(i,e){i&1&&C(0,"router-outlet")}var Zm=(()=>{let e=class e{constructor(t,n,o,r,s){this._activatedRoute=t,this._router=n,this._navigationService=o,this._angorMediaWatcherService=r,this._angorNavigationService=s,this._unsubscribeAll=new V}get currentYear(){return new Date().getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.navigation=t}),this._angorMediaWatcherService.onMediaChange$.pipe(U(this._unsubscribeAll)).subscribe(({matchingAliases:t})=>{this.isScreenSmall=!t.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(t){let n=this._angorNavigationService.getComponent(t);n&&n.toggle()}};e.\u0275fac=function(n){return new(n||e)(E(da),E(Ge),E(Fa),E(wi),E(fe))},e.\u0275cmp=J({type:e,selectors:[["modern-layout"]],standalone:!0,features:[W],decls:20,vars:7,consts:[["quickChat","quickChat"],[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","sm:h-20","md:px-6","print:hidden"],["mat-icon-button",""],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],["mat-icon-button","",1,"lg:hidden",3,"click"],[3,"svgIcon"],[1,"flex","w-full","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","border-t","px-4","dark:bg-transparent","sm:h-20","md:px-6","print:hidden"],[1,"text-secondary","font-medium"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","px-8","pt-6"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"w-24","h-10"],[1,"mx-2","flex","items-center","lg:mr-8"],[1,"hidden","lg:flex"],["src","images/logo/logo-text.svg",1,"w-24","h-10","dark:hidden"],["src","images/logo/logo-text-on-dark.svg",1,"hidden","w-24","h-10","dark:flex"],["src","images/logo/logo.svg",1,"flex","w-8","lg:hidden"],[1,"mr-2",3,"name","navigation"],["mat-icon-button","",3,"click"]],template:function(n,o){if(n&1){let r=le();C(0,"angor-loading-bar"),k(1,O4,4,4,"angor-vertical-navigation",1),b(2,"div",2)(3,"div",3),k(4,L4,6,2)(5,N4,2,1,"button",4),b(6,"div",5),C(7,"angor-fullscreen",6)(8,"search",7)(9,"notifications"),b(10,"button",8),$("click",function(){Q(r);let l=K(19);return X(l.toggle())}),C(11,"mat-icon",9),v(),C(12,"user"),v()(),b(13,"div",10),k(14,P4,1,0,"router-outlet"),v(),b(15,"div",11)(16,"span",12),z(17),v()()(),C(18,"quick-chat",null,0)}n&2&&(m(),w(o.isScreenSmall?1:-1),m(3),w(o.isScreenSmall?-1:4),m(),w(o.isScreenSmall?5:-1),m(3),f("appearance","bar"),m(3),f("svgIcon","heroicons_outline:chat-bubble-left-right"),m(3),w(14),m(3),te("Angor \xA9 ",o.currentYear,""))},dependencies:[Ra,Lr,Em,rt,ot,xe,_e,Tr,Rr,Nr,Hr,hi,Pr],encapsulation:2});let i=e;return i})();function F4(i,e){i&1&&C(0,"router-outlet")}var Ym=(()=>{let e=class e{constructor(t,n,o,r,s){this._activatedRoute=t,this._router=n,this._navigationService=o,this._angorMediaWatcherService=r,this._angorNavigationService=s,this._unsubscribeAll=new V}get currentYear(){return new Date().getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.navigation=t}),this._angorMediaWatcherService.onMediaChange$.pipe(U(this._unsubscribeAll)).subscribe(({matchingAliases:t})=>{this.isScreenSmall=!t.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(t){let n=this._angorNavigationService.getComponent(t);n&&n.toggle()}};e.\u0275fac=function(n){return new(n||e)(E(da),E(Ge),E(Fa),E(wi),E(fe))},e.\u0275cmp=J({type:e,selectors:[["classic-layout"]],standalone:!0,features:[W],decls:24,vars:9,consts:[["quickChat","quickChat"],[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","p-6"],["src","images/logo/logo-text.svg","alt","Angor Hub",1,"w-30","dark:hidden"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"hidden","w-30","dark:flex"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","md:px-6","print:hidden"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],["mat-icon-button","",1,"lg:hidden",3,"click"],[1,"flex","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","justify-start","border-t","px-4","dark:bg-transparent","md:px-6","print:hidden"],[1,"text-secondary","font-medium"]],template:function(n,o){if(n&1){let r=le();C(0,"angor-loading-bar"),b(1,"angor-vertical-navigation",1),la(2,2),b(3,"div",3),C(4,"img",4)(5,"img",5),v(),ca(),v(),b(6,"div",6)(7,"div",7)(8,"button",8),$("click",function(){return Q(r),X(o.toggleNavigation("mainNavigation"))}),C(9,"mat-icon",9),v(),b(10,"div",10),C(11,"angor-fullscreen",11)(12,"search",12)(13,"notifications"),b(14,"button",13),$("click",function(){Q(r);let l=K(23);return X(l.toggle())}),C(15,"mat-icon",9),v(),C(16,"user"),v()(),b(17,"div",14),k(18,F4,1,0,"router-outlet"),v(),b(19,"div",15)(20,"span",16),z(21),v()()(),C(22,"quick-chat",null,0)}n&2&&(m(),f("mode",o.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",o.navigation.default)("opened",!o.isScreenSmall),m(8),f("svgIcon","heroicons_outline:bars-3"),m(3),f("appearance","bar"),m(3),f("svgIcon","heroicons_outline:chat-bubble-left-right"),m(3),w(18),m(3),te("Angor \xA9 ",o.currentYear,""))},dependencies:[Ra,Lr,rt,ot,xe,_e,Tr,Rr,Nr,Hr,hi,Pr],encapsulation:2});let i=e;return i})();function R4(i,e){i&1&&C(0,"empty-layout")}function H4(i,e){i&1&&C(0,"modern-layout")}function j4(i,e){i&1&&C(0,"classic-layout")}var jr=(()=>{let e=class e{constructor(t,n,o,r,s,l,c){this._activatedRoute=t,this._document=n,this._renderer2=o,this._router=r,this._angorConfigService=s,this._angorMediaWatcherService=l,this._angorPlatformService=c,this._unsubscribeAll=new V}ngOnInit(){ao([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe(U(this._unsubscribeAll),Le(([t,n])=>{let o={scheme:t.scheme,theme:t.theme};return t.scheme==="auto"&&(o.scheme=n.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),o})).subscribe(t=>{this.scheme=t.scheme,this.theme=t.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe(U(this._unsubscribeAll)).subscribe(t=>{this.config=t,this._updateLayout()}),this._router.events.pipe(Ne(t=>t instanceof Yt),U(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",_m),this._renderer2.addClass(this._document.body,this._angorPlatformService.osName)}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}_updateLayout(){let t=this._activatedRoute;for(;t.firstChild;)t=t.firstChild;this.layout=this.config.layout;let n=t.snapshot.queryParamMap.get("layout");n&&(this.layout=n,this.config&&(this.config.layout=n)),t.pathFromRoot.forEach(r=>{r.routeConfig&&r.routeConfig.data&&r.routeConfig.data.layout&&(this.layout=r.routeConfig.data.layout)})}_updateScheme(){this._document.body.classList.remove("light","dark"),this._document.body.classList.add(this.scheme)}_updateTheme(){this._document.body.classList.forEach(t=>{t.startsWith("theme-")&&this._document.body.classList.remove(t,t.split("-")[1])}),this._document.body.classList.add(this.theme)}};e.\u0275fac=function(n){return new(n||e)(E(da),E(Ue),E(si),E(Ge),E(cn),E(wi),E(_r))},e.\u0275cmp=J({type:e,selectors:[["layout"]],standalone:!0,features:[W],decls:3,vars:3,template:function(n,o){n&1&&k(0,R4,1,0,"empty-layout")(1,H4,1,0,"modern-layout")(2,j4,1,0,"classic-layout"),n&2&&(w(o.layout==="empty"?0:-1),m(),w(o.layout==="modern"?1:-1),m(),w(o.layout==="classic"?2:-1))},dependencies:[km,Zm,Ym],styles:[`layout{display:flex;flex:1 1 auto;width:100%;max-width:100%;min-width:0}layout>*{position:relative;display:flex;flex:1 1 auto;width:100%}layout router-outlet+*{position:relative;display:flex;flex:1 1 auto;width:100%} -`],encapsulation:2});let i=e;return i})();var Xn=()=>{let i=I(Mo),e=I(Ge);return i.getPublicKey()!==""?!0:e.parseUrl("/login")};var Km=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:jr,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>import("./chunk-7EZ2ORPU.js")},{path:"register",loadChildren:()=>import("./chunk-IXKV7OA6.js")}]},{path:"",canActivate:[Xn],canActivateChild:[Xn],component:jr,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>import("./chunk-4W4NSRYC.js")}]},{path:"",canActivate:[Xn],canActivateChild:[Xn],component:jr,resolve:{initialData:ym},children:[{path:"home",loadChildren:()=>import("./chunk-F5YE7SX2.js")},{path:"explore",loadChildren:()=>import("./chunk-QSHKE5EJ.js")},{path:"profile",loadChildren:()=>import("./chunk-7GO2RSJL.js")},{path:"settings",loadChildren:()=>import("./chunk-3TK3JPZP.js")},{path:"chat",loadChildren:()=>import("./chunk-2F7OXXMB.js")},{path:"404-not-found",pathMatch:"full",loadChildren:()=>import("./chunk-DONMUS7J.js")},{path:"**",redirectTo:"404-not-found"}]}];var Qm=(()=>{let e=class e{constructor(){let t=I(gc),n=I(Wc);n.addSvgIconSet(t.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),n.addSvgIconSetInNamespace("mat_outline",t.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),n.addSvgIconSetInNamespace("mat_solid",t.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),n.addSvgIconSetInNamespace("feather",t.bypassSecurityTrustResourceUrl("icons/feather.svg")),n.addSvgIconSetInNamespace("heroicons_outline",t.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),n.addSvgIconSetInNamespace("heroicons_solid",t.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),n.addSvgIconSetInNamespace("heroicons_mini",t.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Xm=()=>[{provide:ri,useValue:()=>I(Qm),multi:!0}];var ep=[{id:"9a67dff7-3c38-4052-a335-0cef93438ff6",title:"Web",slug:"web"},{id:"a89672f5-e00d-4be4-9194-cb9d29f82165",title:"Firebase",slug:"firebase"},{id:"02f42092-bb23-4552-9ddb-cfdcc235d48f",title:"Cloud",slug:"cloud"},{id:"5648a630-979f-4403-8c41-fc9790dea8cd",title:"Android",slug:"android"}],tp=[{id:"694e4e5f-f25f-470b-bd0e-26b1d4f64028",title:"Basics of Angular",slug:"basics-of-angular",description:"Introductory course for Angular and framework basics",category:"web",duration:30,totalSteps:11,updatedAt:"Jun 28, 2021",featured:!0,progress:{currentStep:3,completed:2}},{id:"f924007a-2ee9-470b-a316-8d21ed78277f",title:"Basics of TypeScript",slug:"basics-of-typeScript",description:"Beginner course for Typescript and its basics",category:"web",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!0,progress:{currentStep:5,completed:3}},{id:"0c06e980-abb5-4ba7-ab65-99a228cab36b",title:"Android N: Quick Settings",slug:"android-n-quick-settings",description:"Step by step guide for Android N: Quick Settings",category:"android",duration:120,totalSteps:11,updatedAt:"May 08, 2021",featured:!1,progress:{currentStep:10,completed:1}},{id:"1b9a9acc-9a36-403e-a1e7-b11780179e38",title:"Build an App for the Google Assistant with Firebase",slug:"build-an-app-for-the-google-assistant-with-firebase",description:"Dive deep into Google Assistant apps using Firebase",category:"firebase",duration:30,totalSteps:11,updatedAt:"Jan 09, 2021",featured:!1,progress:{currentStep:4,completed:3}},{id:"55eb415f-3f4e-4853-a22b-f0ae91331169",title:"Keep Sensitive Data Safe and Private",slug:"keep-sensitive-data-safe-and-private",description:"Learn how to keep your important data safe and private",category:"android",duration:45,totalSteps:11,updatedAt:"Jan 14, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"fad2ab23-1011-4028-9a54-e52179ac4a50",title:"Manage Your Pivotal Cloud Foundry App's Using Apigee Edge",slug:"manage-your-pivotal-cloud-foundry-apps-using-apigee-Edge",description:"Introductory course for Pivotal Cloud Foundry App",category:"cloud",duration:90,totalSteps:11,updatedAt:"Jun 24, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"c4bc107b-edc4-47a7-a7a8-4fb09732e794",title:"Build a PWA Using Workbox",slug:"build-a-pwa-using-workbox",description:"Step by step guide for building a PWA using Workbox",category:"web",duration:120,totalSteps:11,updatedAt:"Nov 19, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"1449f945-d032-460d-98e3-406565a22293",title:"Cloud Functions for Firebase",slug:"cloud-functions-for-firebase",description:"Beginners guide of Firebase Cloud Functions",category:"firebase",duration:45,totalSteps:11,updatedAt:"Jul 11, 2021",featured:!1,progress:{currentStep:3,completed:1}},{id:"f05e08ab-f3e3-4597-a032-6a4b69816f24",title:"Building a gRPC Service with Java",slug:"building-a-grpc-service-with-java",description:"Learn more about building a gRPC Service with Java",category:"cloud",duration:30,totalSteps:11,updatedAt:"Mar 13, 2021",featured:!1,progress:{currentStep:0,completed:1}},{id:"181728f4-87c8-45c5-b9cc-92265bcd2f4d",title:"Looking at Campaign Finance with BigQuery",slug:"looking-at-campaign-finance-with-bigquery",description:"Dive deep into BigQuery: Campaign Finance",category:"cloud",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"fcbfedbf-6187-4b3b-89d3-1a7cb4e11616",title:"Personalize Your iOS App with Firebase User Management",slug:"personalize-your-ios-app-with-firebase-user-management",description:"Dive deep into User Management on iOS apps using Firebase",category:"firebase",duration:90,totalSteps:11,updatedAt:"Aug 08, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"5213f6a1-1dd7-4b1d-b6e9-ffb7af534f28",title:"Customize Network Topology with Subnetworks",slug:"customize-network-topology-with-subnetworks",description:"Dive deep into Network Topology with Subnetworks",category:"web",duration:45,totalSteps:11,updatedAt:"May 12, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"02992ac9-d1a3-4167-b70e-8a1d5b5ba253",title:"Building Beautiful UIs with Flutter",slug:"building-beautiful-uis-with-flutter",description:"Dive deep into Flutter's hidden secrets for creating beautiful UIs",category:"web",duration:90,totalSteps:11,updatedAt:"Sep 18, 2021",featured:!1,progress:{currentStep:8,completed:2}},{id:"2139512f-41fb-4a4a-841a-0b4ac034f9b4",title:"Firebase Android",slug:"firebase-android",description:"Beginners guide of Firebase for Android",category:"android",duration:45,totalSteps:11,updatedAt:"Apr 24, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"65e0a0e0-d8c0-4117-a3cb-eb74f8e28809",title:"Simulating a Thread Network Using OpenThread",slug:"simulating-a-thread-network-using-openthread",description:"Introductory course for OpenThread and Simulating a Thread Network",category:"web",duration:45,totalSteps:11,updatedAt:"Jun 05, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c202ebc9-9be3-433a-9d38-7003b3ed7b7a",title:"Your First Progressive Web App",slug:"your-first-progressive-web-app",description:"Step by step guide for creating a PWA from scratch",category:"web",duration:30,totalSteps:11,updatedAt:"Oct 14, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"980ae7da-9f77-4e30-aa98-1b1ea594e775",title:"Launch Cloud Datalab",slug:"launch-cloud-datalab",description:"From start to finish: Launch Cloud Datalab",category:"cloud",duration:60,totalSteps:11,updatedAt:"Dec 16, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c9748ea9-4117-492c-bdb2-55085b515978",title:"Cloud Firestore",slug:"cloud-firestore",description:"Step by step guide for setting up Cloud Firestore",category:"firebase",duration:90,totalSteps:11,updatedAt:"Apr 04, 2021",featured:!1,progress:{currentStep:2,completed:0}}],zt=` +`],encapsulation:2});let i=e;return i})();var Xn=()=>{let i=I(Mo),e=I(Ge);return i.getPublicKey()!==""?!0:e.parseUrl("/login")};var Km=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:jr,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>import("./chunk-7EZ2ORPU.js")},{path:"register",loadChildren:()=>import("./chunk-IXKV7OA6.js")}]},{path:"",canActivate:[Xn],canActivateChild:[Xn],component:jr,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>import("./chunk-4W4NSRYC.js")}]},{path:"",canActivate:[Xn],canActivateChild:[Xn],component:jr,resolve:{initialData:ym},children:[{path:"home",loadChildren:()=>import("./chunk-F5YE7SX2.js")},{path:"explore",loadChildren:()=>import("./chunk-QSHKE5EJ.js")},{path:"profile",loadChildren:()=>import("./chunk-BO54DQNO.js")},{path:"settings",loadChildren:()=>import("./chunk-3TK3JPZP.js")},{path:"chat",loadChildren:()=>import("./chunk-2F7OXXMB.js")},{path:"404-not-found",pathMatch:"full",loadChildren:()=>import("./chunk-DONMUS7J.js")},{path:"**",redirectTo:"404-not-found"}]}];var Qm=(()=>{let e=class e{constructor(){let t=I(gc),n=I(Wc);n.addSvgIconSet(t.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),n.addSvgIconSetInNamespace("mat_outline",t.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),n.addSvgIconSetInNamespace("mat_solid",t.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),n.addSvgIconSetInNamespace("feather",t.bypassSecurityTrustResourceUrl("icons/feather.svg")),n.addSvgIconSetInNamespace("heroicons_outline",t.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),n.addSvgIconSetInNamespace("heroicons_solid",t.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),n.addSvgIconSetInNamespace("heroicons_mini",t.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Xm=()=>[{provide:ri,useValue:()=>I(Qm),multi:!0}];var ep=[{id:"9a67dff7-3c38-4052-a335-0cef93438ff6",title:"Web",slug:"web"},{id:"a89672f5-e00d-4be4-9194-cb9d29f82165",title:"Firebase",slug:"firebase"},{id:"02f42092-bb23-4552-9ddb-cfdcc235d48f",title:"Cloud",slug:"cloud"},{id:"5648a630-979f-4403-8c41-fc9790dea8cd",title:"Android",slug:"android"}],tp=[{id:"694e4e5f-f25f-470b-bd0e-26b1d4f64028",title:"Basics of Angular",slug:"basics-of-angular",description:"Introductory course for Angular and framework basics",category:"web",duration:30,totalSteps:11,updatedAt:"Jun 28, 2021",featured:!0,progress:{currentStep:3,completed:2}},{id:"f924007a-2ee9-470b-a316-8d21ed78277f",title:"Basics of TypeScript",slug:"basics-of-typeScript",description:"Beginner course for Typescript and its basics",category:"web",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!0,progress:{currentStep:5,completed:3}},{id:"0c06e980-abb5-4ba7-ab65-99a228cab36b",title:"Android N: Quick Settings",slug:"android-n-quick-settings",description:"Step by step guide for Android N: Quick Settings",category:"android",duration:120,totalSteps:11,updatedAt:"May 08, 2021",featured:!1,progress:{currentStep:10,completed:1}},{id:"1b9a9acc-9a36-403e-a1e7-b11780179e38",title:"Build an App for the Google Assistant with Firebase",slug:"build-an-app-for-the-google-assistant-with-firebase",description:"Dive deep into Google Assistant apps using Firebase",category:"firebase",duration:30,totalSteps:11,updatedAt:"Jan 09, 2021",featured:!1,progress:{currentStep:4,completed:3}},{id:"55eb415f-3f4e-4853-a22b-f0ae91331169",title:"Keep Sensitive Data Safe and Private",slug:"keep-sensitive-data-safe-and-private",description:"Learn how to keep your important data safe and private",category:"android",duration:45,totalSteps:11,updatedAt:"Jan 14, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"fad2ab23-1011-4028-9a54-e52179ac4a50",title:"Manage Your Pivotal Cloud Foundry App's Using Apigee Edge",slug:"manage-your-pivotal-cloud-foundry-apps-using-apigee-Edge",description:"Introductory course for Pivotal Cloud Foundry App",category:"cloud",duration:90,totalSteps:11,updatedAt:"Jun 24, 2021",featured:!1,progress:{currentStep:6,completed:0}},{id:"c4bc107b-edc4-47a7-a7a8-4fb09732e794",title:"Build a PWA Using Workbox",slug:"build-a-pwa-using-workbox",description:"Step by step guide for building a PWA using Workbox",category:"web",duration:120,totalSteps:11,updatedAt:"Nov 19, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"1449f945-d032-460d-98e3-406565a22293",title:"Cloud Functions for Firebase",slug:"cloud-functions-for-firebase",description:"Beginners guide of Firebase Cloud Functions",category:"firebase",duration:45,totalSteps:11,updatedAt:"Jul 11, 2021",featured:!1,progress:{currentStep:3,completed:1}},{id:"f05e08ab-f3e3-4597-a032-6a4b69816f24",title:"Building a gRPC Service with Java",slug:"building-a-grpc-service-with-java",description:"Learn more about building a gRPC Service with Java",category:"cloud",duration:30,totalSteps:11,updatedAt:"Mar 13, 2021",featured:!1,progress:{currentStep:0,completed:1}},{id:"181728f4-87c8-45c5-b9cc-92265bcd2f4d",title:"Looking at Campaign Finance with BigQuery",slug:"looking-at-campaign-finance-with-bigquery",description:"Dive deep into BigQuery: Campaign Finance",category:"cloud",duration:60,totalSteps:11,updatedAt:"Nov 01, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"fcbfedbf-6187-4b3b-89d3-1a7cb4e11616",title:"Personalize Your iOS App with Firebase User Management",slug:"personalize-your-ios-app-with-firebase-user-management",description:"Dive deep into User Management on iOS apps using Firebase",category:"firebase",duration:90,totalSteps:11,updatedAt:"Aug 08, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"5213f6a1-1dd7-4b1d-b6e9-ffb7af534f28",title:"Customize Network Topology with Subnetworks",slug:"customize-network-topology-with-subnetworks",description:"Dive deep into Network Topology with Subnetworks",category:"web",duration:45,totalSteps:11,updatedAt:"May 12, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"02992ac9-d1a3-4167-b70e-8a1d5b5ba253",title:"Building Beautiful UIs with Flutter",slug:"building-beautiful-uis-with-flutter",description:"Dive deep into Flutter's hidden secrets for creating beautiful UIs",category:"web",duration:90,totalSteps:11,updatedAt:"Sep 18, 2021",featured:!1,progress:{currentStep:8,completed:2}},{id:"2139512f-41fb-4a4a-841a-0b4ac034f9b4",title:"Firebase Android",slug:"firebase-android",description:"Beginners guide of Firebase for Android",category:"android",duration:45,totalSteps:11,updatedAt:"Apr 24, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"65e0a0e0-d8c0-4117-a3cb-eb74f8e28809",title:"Simulating a Thread Network Using OpenThread",slug:"simulating-a-thread-network-using-openthread",description:"Introductory course for OpenThread and Simulating a Thread Network",category:"web",duration:45,totalSteps:11,updatedAt:"Jun 05, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c202ebc9-9be3-433a-9d38-7003b3ed7b7a",title:"Your First Progressive Web App",slug:"your-first-progressive-web-app",description:"Step by step guide for creating a PWA from scratch",category:"web",duration:30,totalSteps:11,updatedAt:"Oct 14, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"980ae7da-9f77-4e30-aa98-1b1ea594e775",title:"Launch Cloud Datalab",slug:"launch-cloud-datalab",description:"From start to finish: Launch Cloud Datalab",category:"cloud",duration:60,totalSteps:11,updatedAt:"Dec 16, 2021",featured:!1,progress:{currentStep:0,completed:0}},{id:"c9748ea9-4117-492c-bdb2-55085b515978",title:"Cloud Firestore",slug:"cloud-firestore",description:"Step by step guide for setting up Cloud Firestore",category:"firebase",duration:90,totalSteps:11,updatedAt:"Apr 04, 2021",featured:!1,progress:{currentStep:2,completed:0}}],zt=`

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aperiam lab et fugiat id magnam minus nemo quam voluptatem. Culpa deleniti explica nisi quod soluta.