From 9ef1357e25bc6d7d5b310aca6f3a4fff9c84008f Mon Sep 17 00:00:00 2001 From: Char2s Date: Mon, 15 Jan 2024 18:34:06 +0800 Subject: [PATCH] Auto-generated commit [ci skip] --- 3rdpartylicenses.txt | 32 ----- 404.html | 4 +- CNAME | 1 - ...ule-3TIUYX5T.js => auth.module-2VAZSUEG.js | 2 +- chunk-3J24ZBPC.js | 1 - chunk-MVUL6ZIM.js => chunk-3UZNBURP.js | 2 +- chunk-2SKRDM35.js => chunk-5RPBRSJY.js | 2 +- chunk-IJYCWCJA.js => chunk-5S2TY6JK.js | 2 +- chunk-LJ7UDTCX.js => chunk-5SE4VJ2X.js | 2 +- chunk-JWYHAYBW.js => chunk-6Q7PW4SA.js | 2 +- chunk-BQG6VIZI.js => chunk-75RAGE5M.js | 2 +- chunk-CW6XQTGJ.js | 1 + chunk-EFASKN6N.js => chunk-E7R3WNTA.js | 2 +- chunk-GQLKKIYV.js => chunk-ESQOXLFI.js | 2 +- chunk-C6VMUQFT.js => chunk-FB6BMVSR.js | 2 +- chunk-IKTP4ODH.js | 1 - chunk-V5CHA6ZC.js => chunk-ITNV32XJ.js | 2 +- chunk-HDMEYBD3.js => chunk-JYLXIIJ3.js | 2 +- chunk-CQOBEFKW.js => chunk-MOR4BE3D.js | 2 +- chunk-3XARSZJN.js => chunk-MXV4FMBH.js | 2 +- chunk-KJC4PF6B.js => chunk-N7M2F6P2.js | 2 +- chunk-OROYKVKJ.js | 1 + chunk-3QW2KPOP.js => chunk-QWRHMAON.js | 2 +- chunk-RTHH4LAA.js | 1 + chunk-SCW2PD66.js | 1 - chunk-T3VJN7I3.js | 1 + chunk-KBDKS3MK.js => chunk-VGXZBCX5.js | 18 +-- ...-7PAFICHY.js => compose.module-WI5XLJWY.js | 2 +- index.html | 4 +- ...le-76TMCKA4.js => mails.module-BAAX3Y6N.js | 2 +- main.3SDPOVGH.js | 40 +++++++ main.PQEVK7QX.js | 5 - ...ule-QRANZ4NP.js => main.module-VRBQ7ISX.js | 2 +- ngsw.json | 110 +++++++++--------- ...fills.VAAX2LDZ.js => polyfills.QPH5AWSP.js | 2 +- search.module-MXQRT6GI.js | 1 + search.module-S5S4BHKT.js | 1 - 37 files changed, 134 insertions(+), 129 deletions(-) delete mode 100644 CNAME rename auth.module-3TIUYX5T.js => auth.module-2VAZSUEG.js (97%) delete mode 100644 chunk-3J24ZBPC.js rename chunk-MVUL6ZIM.js => chunk-3UZNBURP.js (73%) rename chunk-2SKRDM35.js => chunk-5RPBRSJY.js (92%) rename chunk-IJYCWCJA.js => chunk-5S2TY6JK.js (98%) rename chunk-LJ7UDTCX.js => chunk-5SE4VJ2X.js (94%) rename chunk-JWYHAYBW.js => chunk-6Q7PW4SA.js (91%) rename chunk-BQG6VIZI.js => chunk-75RAGE5M.js (98%) create mode 100644 chunk-CW6XQTGJ.js rename chunk-EFASKN6N.js => chunk-E7R3WNTA.js (96%) rename chunk-GQLKKIYV.js => chunk-ESQOXLFI.js (85%) rename chunk-C6VMUQFT.js => chunk-FB6BMVSR.js (51%) delete mode 100644 chunk-IKTP4ODH.js rename chunk-V5CHA6ZC.js => chunk-ITNV32XJ.js (96%) rename chunk-HDMEYBD3.js => chunk-JYLXIIJ3.js (98%) rename chunk-CQOBEFKW.js => chunk-MOR4BE3D.js (81%) rename chunk-3XARSZJN.js => chunk-MXV4FMBH.js (98%) rename chunk-KJC4PF6B.js => chunk-N7M2F6P2.js (97%) create mode 100644 chunk-OROYKVKJ.js rename chunk-3QW2KPOP.js => chunk-QWRHMAON.js (86%) create mode 100644 chunk-RTHH4LAA.js delete mode 100644 chunk-SCW2PD66.js create mode 100644 chunk-T3VJN7I3.js rename chunk-KBDKS3MK.js => chunk-VGXZBCX5.js (72%) rename compose.module-7PAFICHY.js => compose.module-WI5XLJWY.js (97%) rename mails.module-76TMCKA4.js => mails.module-BAAX3Y6N.js (54%) create mode 100644 main.3SDPOVGH.js delete mode 100644 main.PQEVK7QX.js rename main.module-QRANZ4NP.js => main.module-VRBQ7ISX.js (95%) rename polyfills.VAAX2LDZ.js => polyfills.QPH5AWSP.js (99%) create mode 100644 search.module-MXQRT6GI.js delete mode 100644 search.module-S5S4BHKT.js diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index b71de68..0e9d5d9 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -25,38 +25,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: base-64 -License: undefined - - --------------------------------------------------------------------------------- -Package: gmail-api-parse-message -License: "MIT" - -The MIT License (MIT) - -Copyright (c) 2016 EmilTholin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -------------------------------------------------------------------------------- Package: dayjs License: "MIT" diff --git a/404.html b/404.html index dea8857..4e5a3ee 100644 --- a/404.html +++ b/404.html @@ -8,11 +8,11 @@ - + - + diff --git a/CNAME b/CNAME deleted file mode 100644 index 3bd7310..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -reply.char2s.dev \ No newline at end of file diff --git a/auth.module-3TIUYX5T.js b/auth.module-2VAZSUEG.js similarity index 97% rename from auth.module-3TIUYX5T.js rename to auth.module-2VAZSUEG.js index 9d56bff..4f0dc98 100644 --- a/auth.module-3TIUYX5T.js +++ b/auth.module-2VAZSUEG.js @@ -1,4 +1,4 @@ -import{b as Q}from"./chunk-CQOBEFKW.js";import{a as Ze,b as $}from"./chunk-2SKRDM35.js";import"./chunk-JWYHAYBW.js";import{a as H}from"./chunk-3QW2KPOP.js";import{a as q,b as A}from"./chunk-V5CHA6ZC.js";import{a as Ye,b as qe,d as $e,e as He,f as Qe,g as Ke}from"./chunk-IJYCWCJA.js";import{a as D}from"./chunk-C6VMUQFT.js";import{i as Ge}from"./chunk-IKTP4ODH.js";import{$ as E,$a as F,Ab as U,Bc as Se,Ca as s,Cb as X,D as he,Ea as p,Ec as Ie,Fb as Ce,Fc as J,Ga as z,Gc as Fe,Gd as _,Hc as ee,Ia as v,Ic as Re,Ja as g,Jb as Me,Jc as De,Ka as S,Kb as W,La as m,Lb as Oe,Ma as a,Mb as we,N as be,Na as c,Nc as te,Oa as l,Pa as K,Pb as Pe,Qa as Z,Qb as G,Qc as oe,Sa as _e,Sc as P,Td as Xe,Ua as y,Uc as Le,Wa as I,Wd as We,Xb as Ae,Yd as ie,Zc as Ne,_ as T,_b as Te,a as me,ab as V,cb as d,da as h,db as ve,dd as ze,eb as ye,ec as Y,fa as x,ga as b,ha as k,ic as Ee,ka as L,md as Ve,na as ke,nb as j,nd as je,oa as xe,ob as B,od as Be,p as O,pa as w,q as le,qb as R,qd as Ue,sd as re,ta as ge,w as pe,wa as ue,xa as fe,z as f,za as N}from"./chunk-KBDKS3MK.js";import"./chunk-3J24ZBPC.js";var ne=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=k({type:e})})(),(()=>{e.\u0275inj=h({})})(),o})();var Je=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=k({type:e})})(),(()=>{e.\u0275inj=h({imports:[ze,P,Ee,ne,P,ne]})})(),o})();var et=new ge("mat-progress-spinner-default-options",{providedIn:"root",factory:kt});function kt(){return{diameter:xt}}var xt=100;function gt(o,e){if(o&1&&(w(),l(0,"circle",4)),o&2){let i=I(),t=S(1);F("animation-name","mat-progress-spinner-stroke-rotate-"+i._spinnerAnimationLabel)("stroke-dashoffset",i._getStrokeDashOffset(),"px")("stroke-dasharray",i._getStrokeCircumference(),"px")("stroke-width",i._getCircleStrokeWidth(),"%")("transform-origin",i._getCircleTransformOrigin(t)),v("r",i._getCircleRadius())}}function ut(o,e){if(o&1&&(w(),l(0,"circle",4)),o&2){let i=I(),t=S(1);F("stroke-dashoffset",i._getStrokeDashOffset(),"px")("stroke-dasharray",i._getStrokeCircumference(),"px")("stroke-width",i._getCircleStrokeWidth(),"%")("transform-origin",i._getCircleTransformOrigin(t)),v("r",i._getCircleRadius())}}var tt=100,ft=10,_t=Le(class{constructor(o){this._elementRef=o}},"primary"),vt=` +import{b as Q}from"./chunk-MOR4BE3D.js";import{a as Ze,b as $}from"./chunk-5RPBRSJY.js";import"./chunk-6Q7PW4SA.js";import{a as H}from"./chunk-QWRHMAON.js";import{a as q,b as A}from"./chunk-ITNV32XJ.js";import{a as Ye,b as qe,d as $e,e as He,f as Qe,g as Ke}from"./chunk-5S2TY6JK.js";import{a as D}from"./chunk-FB6BMVSR.js";import{i as Ge}from"./chunk-RTHH4LAA.js";import{$a as V,Ac as Se,Ba as s,Bb as X,C as he,Da as p,Dc as Ie,Eb as Ce,Ec as J,Fa as z,Fc as Fe,Fd as _,Gc as ee,Ha as v,Hc as Re,Ia as g,Ib as Me,Ic as De,Ja as S,Jb as W,Ka as m,Kb as Oe,La as a,Lb as we,M as be,Ma as c,Mc as te,Na as l,Oa as K,Ob as Pe,Pa as Z,Pb as G,Pc as oe,Ra as _e,Rc as P,Sd as Xe,Ta as y,Tc as Le,Va as I,Vd as We,Wb as Ae,Xd as ie,Yc as Ne,Z as T,Zb as Te,_ as E,_a as F,a as me,bb as d,ca as h,cb as ve,cd as ze,db as ye,dc as Y,ea as x,fa as b,ga as k,hc as Ee,ja as L,ld as Ve,ma as ke,mb as j,md as je,na as xe,nb as B,nd as Be,oa as w,p as O,pb as R,pd as Ue,q as le,rd as re,sa as ge,va as ue,w as pe,wa as fe,ya as N,z as f,zb as U}from"./chunk-VGXZBCX5.js";import"./chunk-OROYKVKJ.js";var ne=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=k({type:e})})(),(()=>{e.\u0275inj=h({})})(),o})();var Je=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=k({type:e})})(),(()=>{e.\u0275inj=h({imports:[ze,P,Ee,ne,P,ne]})})(),o})();var et=new ge("mat-progress-spinner-default-options",{providedIn:"root",factory:kt});function kt(){return{diameter:xt}}var xt=100;function gt(o,e){if(o&1&&(w(),l(0,"circle",4)),o&2){let i=I(),t=S(1);F("animation-name","mat-progress-spinner-stroke-rotate-"+i._spinnerAnimationLabel)("stroke-dashoffset",i._getStrokeDashOffset(),"px")("stroke-dasharray",i._getStrokeCircumference(),"px")("stroke-width",i._getCircleStrokeWidth(),"%")("transform-origin",i._getCircleTransformOrigin(t)),v("r",i._getCircleRadius())}}function ut(o,e){if(o&1&&(w(),l(0,"circle",4)),o&2){let i=I(),t=S(1);F("stroke-dashoffset",i._getStrokeDashOffset(),"px")("stroke-dasharray",i._getStrokeCircumference(),"px")("stroke-width",i._getCircleStrokeWidth(),"%")("transform-origin",i._getCircleTransformOrigin(t)),v("r",i._getCircleRadius())}}var tt=100,ft=10,_t=Le(class{constructor(o){this._elementRef=o}},"primary"),vt=` @keyframes mat-progress-spinner-stroke-rotate-DIAMETER { 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); } 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); } diff --git a/chunk-3J24ZBPC.js b/chunk-3J24ZBPC.js deleted file mode 100644 index 3e3a3f8..0000000 --- a/chunk-3J24ZBPC.js +++ /dev/null @@ -1 +0,0 @@ -var q=Object.create;var k=Object.defineProperty,r=Object.defineProperties,s=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var j=(a,b,c)=>b in a?k(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,x=(a,b)=>{for(var c in b||={})l.call(b,c)&&j(a,c,b[c]);if(g)for(var c of g(b))m.call(b,c)&&j(a,c,b[c]);return a},y=(a,b)=>r(a,t(b));var z=(a,b)=>{var c={};for(var d in a)l.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&g)for(var d of g(a))b.indexOf(d)<0&&m.call(a,d)&&(c[d]=a[d]);return c};var A=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var w=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of u(b))!l.call(a,e)&&e!==c&&k(a,e,{get:()=>b[e],enumerable:!(d=s(b,e))||d.enumerable});return a};var B=(a,b,c)=>(c=a!=null?q(v(a)):{},w(b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c,a));var C=(a,b,c)=>(j(a,typeof b!="symbol"?b+"":b,c),c),n=(a,b,c)=>{if(!b.has(a))throw TypeError("Cannot "+c)};var D=(a,b,c)=>(n(a,b,"read from private field"),c?c.call(a):b.get(a)),E=(a,b,c)=>{if(b.has(a))throw TypeError("Cannot add the same private member more than once");b instanceof WeakSet?b.add(a):b.set(a,c)},F=(a,b,c,d)=>(n(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c);var G=(a,b,c)=>new Promise((d,e)=>{var o=f=>{try{h(c.next(f))}catch(i){e(i)}},p=f=>{try{h(c.throw(f))}catch(i){e(i)}},h=f=>f.done?d(f.value):Promise.resolve(f.value).then(o,p);h((c=c.apply(a,b)).next())});export{x as a,y as b,z as c,A as d,B as e,C as f,D as g,E as h,F as i,G as j}; diff --git a/chunk-MVUL6ZIM.js b/chunk-3UZNBURP.js similarity index 73% rename from chunk-MVUL6ZIM.js rename to chunk-3UZNBURP.js index a0d423c..6fcfbd2 100644 --- a/chunk-MVUL6ZIM.js +++ b/chunk-3UZNBURP.js @@ -1 +1 @@ -import{J as u,Qd as x,U as f,W as l,Wd as g,ca as m,e as c,fa as v,p,x as d,z as h}from"./chunk-KBDKS3MK.js";import{g as s,h as r,i as a}from"./chunk-3J24ZBPC.js";var D=(()=>{var e,i;let t=class{constructor(){r(this,e,void 0);r(this,i,void 0);this.router=v(g),a(this,e,new c(null)),this.actions$=s(this,e).pipe(),a(this,i,new c("expanded")),this.status$=d(s(this,i),this.router.events.pipe(h(n=>n instanceof x),p(()=>"expanded"))).pipe(l("expanded"),u(),f(1))}useActions(n){s(this,e).next(n)}setStatus(n){s(this,i).next(n)}},o=t;return e=new WeakMap,i=new WeakMap,(()=>{t.\u0275fac=function(j){return new(j||t)}})(),(()=>{t.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})})(),o})();export{D as a}; +import{I as u,Pd as x,T as f,V as l,Vd as g,ba as m,e as c,ea as v,p,x as d,z as h}from"./chunk-VGXZBCX5.js";import{f as s,g as r,h as a}from"./chunk-OROYKVKJ.js";var D=(()=>{var e,i;let t=class{constructor(){r(this,e,void 0);r(this,i,void 0);this.router=v(g),a(this,e,new c(null)),this.actions$=s(this,e).pipe(),a(this,i,new c("expanded")),this.status$=d(s(this,i),this.router.events.pipe(h(n=>n instanceof x),p(()=>"expanded"))).pipe(l("expanded"),u(),f(1))}useActions(n){s(this,e).next(n)}setStatus(n){s(this,i).next(n)}},o=t;return e=new WeakMap,i=new WeakMap,(()=>{t.\u0275fac=function(j){return new(j||t)}})(),(()=>{t.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})})(),o})();export{D as a}; diff --git a/chunk-2SKRDM35.js b/chunk-5RPBRSJY.js similarity index 92% rename from chunk-2SKRDM35.js rename to chunk-5RPBRSJY.js index 8a87577..985d989 100644 --- a/chunk-2SKRDM35.js +++ b/chunk-5RPBRSJY.js @@ -1 +1 @@ -import{b as i,c as y}from"./chunk-JWYHAYBW.js";import{Ha as v,Qb as D,Xa as d,Ya as b,fa as g,ga as p,ja as h,jb as x}from"./chunk-KBDKS3MK.js";var _=["second","minute","hour","day","week","month","year"];function w(e,t){if(t===0)return["just now","right now"];var o=_[Math.floor(t/2)];return e>1&&(o+="s"),[e+" "+o+" ago","in "+e+" "+o]}var T=["\u79D2","\u5206\u949F","\u5C0F\u65F6","\u5929","\u5468","\u4E2A\u6708","\u5E74"];function M(e,t){if(t===0)return["\u521A\u521A","\u7247\u523B\u540E"];var o=T[~~(t/2)];return[e+" "+o+"\u524D",e+" "+o+"\u540E"]}var s={},a=function(e,t){s[e]=t},c=function(e){return s[e]||s.en_US};var l=[60,60,24,7,4.345238095238096,12];function S(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(parseInt(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(e))}function m(e,t){var o=e<0?1:0;e=Math.abs(e);for(var n=e,r=0;e>=l[r]&&r(r===0?9:1)&&(r+=1),t(e,r,n)[o].replace("%s",e.toString())}function u(e,t){var o=t?S(t):new Date;return(+o-+S(e))/1e3}var f=function(e,t,o){var n=u(e,o&&o.relativeDate);return m(n,c(t))};a("en_US",w);a("zh_CN",M);var C="en_US_abbr";a(C,(e,t)=>[["just now","right now"],["%s secs ago","in %s secs"],["1 min ago","in 1 min"],["%s mins ago","in %s mins"],["1 hr ago","in 1 hr"],["%s hrs ago","in %s hrs"],["1 day ago","in 1 day"],["%s days ago","in %s days"],["1 week ago","in 1 week"],["%s weeks ago","in %s weeks"],["1 month ago","in 1 month"],["%s months ago","in %s months"],["1 year ago","in 1 year"],["%s years ago","in %s years"]][t]);var te=(()=>{let t=class{transform(n){return f(n,C)}},e=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275pipe=h({name:"dateDistance",type:t,pure:!0,standalone:!0})})(),e})();var A=["*"],le=(()=>{let t=class{constructor(){let n=g(i);n.className="scrolling"}},e=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275cmp=p({type:t,selectors:[["rpl-scrollable-area"]],standalone:!0,features:[x,v([i])],ngContentSelectors:A,decls:1,vars:0,template:function(r,O){r&1&&(d(),b(0))},dependencies:[D,y],styles:["[_nghost-%COMP%]{display:block;overflow-y:auto}@supports (overflow: overlay){[_nghost-%COMP%]{overflow-y:overlay}}[_nghost-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_nghost-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.scrolling[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:#0000001f}[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#0006}"],changeDetection:0})})(),e})();export{te as a,le as b}; +import{b as i,c as y}from"./chunk-6Q7PW4SA.js";import{Ga as v,Pb as D,Wa as d,Xa as b,ea as g,fa as p,ia as h,ib as x}from"./chunk-VGXZBCX5.js";var _=["second","minute","hour","day","week","month","year"];function w(e,t){if(t===0)return["just now","right now"];var o=_[Math.floor(t/2)];return e>1&&(o+="s"),[e+" "+o+" ago","in "+e+" "+o]}var T=["\u79D2","\u5206\u949F","\u5C0F\u65F6","\u5929","\u5468","\u4E2A\u6708","\u5E74"];function M(e,t){if(t===0)return["\u521A\u521A","\u7247\u523B\u540E"];var o=T[~~(t/2)];return[e+" "+o+"\u524D",e+" "+o+"\u540E"]}var s={},a=function(e,t){s[e]=t},c=function(e){return s[e]||s.en_US};var l=[60,60,24,7,4.345238095238096,12];function S(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(parseInt(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(e))}function m(e,t){var o=e<0?1:0;e=Math.abs(e);for(var n=e,r=0;e>=l[r]&&r(r===0?9:1)&&(r+=1),t(e,r,n)[o].replace("%s",e.toString())}function u(e,t){var o=t?S(t):new Date;return(+o-+S(e))/1e3}var f=function(e,t,o){var n=u(e,o&&o.relativeDate);return m(n,c(t))};a("en_US",w);a("zh_CN",M);var C="en_US_abbr";a(C,(e,t)=>[["just now","right now"],["%s secs ago","in %s secs"],["1 min ago","in 1 min"],["%s mins ago","in %s mins"],["1 hr ago","in 1 hr"],["%s hrs ago","in %s hrs"],["1 day ago","in 1 day"],["%s days ago","in %s days"],["1 week ago","in 1 week"],["%s weeks ago","in %s weeks"],["1 month ago","in 1 month"],["%s months ago","in %s months"],["1 year ago","in 1 year"],["%s years ago","in %s years"]][t]);var te=(()=>{let t=class{transform(n){return f(n,C)}},e=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275pipe=h({name:"dateDistance",type:t,pure:!0,standalone:!0})})(),e})();var A=["*"],le=(()=>{let t=class{constructor(){let n=g(i);n.className="scrolling"}},e=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275cmp=p({type:t,selectors:[["rpl-scrollable-area"]],standalone:!0,features:[x,v([i])],ngContentSelectors:A,decls:1,vars:0,template:function(r,O){r&1&&(d(),b(0))},dependencies:[D,y],styles:["[_nghost-%COMP%]{display:block;overflow-y:auto}@supports (overflow: overlay){[_nghost-%COMP%]{overflow-y:overlay}}[_nghost-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_nghost-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.scrolling[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:#0000001f}[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#0006}"],changeDetection:0})})(),e})();export{te as a,le as b}; diff --git a/chunk-IJYCWCJA.js b/chunk-5S2TY6JK.js similarity index 98% rename from chunk-IJYCWCJA.js rename to chunk-5S2TY6JK.js index 410b5e3..bcfe7d3 100644 --- a/chunk-IJYCWCJA.js +++ b/chunk-5S2TY6JK.js @@ -1 +1 @@ -import{$c as O,Ca as R,Cb as N,Ea as m,Ga as b,Ia as C,La as j,Ma as I,Na as L,Oa as P,Qb as Q,Sc as o,Tc as B,Vc as A,Xa as _,Y as T,Ya as c,Zc as V,_c as H,ab as x,cd as W,d as h,da as p,dc as r,dd as q,fd as M,ga as s,ha as g,ia as f,ib as z,ma as k,qa as S,ta as y,ub as u,wb as v,xb as w,za as F}from"./chunk-KBDKS3MK.js";var lt=(()=>{let t=class{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=r(e)}get inset(){return this._inset}set inset(e){this._inset=r(e)}},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,l){a&2&&(C("aria-orientation",l.vertical?"vertical":"horizontal"),x("mat-divider-vertical",l.vertical)("mat-divider-horizontal",!l.vertical)("mat-divider-inset",l.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(a,l){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.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})})(),i})(),U=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[o,o]})})(),i})();var D=new y("MatList");var E=new y("MatNavList");var K=["*"],Z='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}',X=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],$=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];var Y=B(A(class{})),J=A(class{}),jt=(()=>{let t=class extends Y{constructor(){super(...arguments),this._stateChanges=new h}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(){let e;return function(l){return(e||(e=S(t)))(l||t)}}()})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[z([{provide:E,useExisting:t}]),b,k],ngContentSelectors:K,decls:1,vars:0,template:function(a,l){a&1&&(_(),c(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0})})(),i})(),Pt=(()=>{let t=class extends Y{constructor(e){super(),this._elementRef=e,this._stateChanges=new h,this._getListType()==="action-list"&&(e.nativeElement.classList.add("mat-action-list"),e.nativeElement.setAttribute("role","group"))}_getListType(){let e=this._elementRef.nativeElement.nodeName.toLowerCase();return e==="mat-list"?"list":e==="mat-action-list"?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)(m(F))}})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[z([{provide:D,useExisting:t}]),b,k],ngContentSelectors:K,decls:1,vars:0,template:function(a,l){a&1&&(_(),c(0))},styles:[Z],encapsulation:2,changeDetection:0})})(),i})(),tt=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275dir=f({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]})})(),i})(),it=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275dir=f({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]})})(),i})();var Nt=(()=>{let t=class extends J{constructor(e,a,l,d){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new h,this._disabled=!1,this._isInteractiveList=!!(l||d&&d._getListType()==="action-list"),this._list=l||d;let n=this._getHostElement();n.nodeName.toLowerCase()==="button"&&!n.hasAttribute("type")&&n.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(T(this._destroyed)).subscribe(()=>{a.markForCheck()})}get disabled(){return this._disabled||!!(this._list&&this._list.disabled)}set disabled(e){this._disabled=r(e)}ngAfterContentInit(){H(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!!(this._list&&this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)(m(F),m(N),m(E,8),m(D,8))}})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(a,l,d){if(a&1&&(v(d,tt,5),v(d,it,5),v(d,V,5)),a&2){let n;u(n=w())&&(l._avatar=n.first),u(n=w())&&(l._icon=n.first),u(n=w())&&(l._lines=n)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(a,l){a&2&&x("mat-list-item-disabled",l.disabled)("mat-list-item-with-avatar",l._avatar||l._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[b],ngContentSelectors:$,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(a,l){a&1&&(_(X),I(0,"span",0),P(1,"span",1),c(2),I(3,"span",2),c(4,1),L(),c(5,2),L()),a&2&&(R(1),j("matRippleTrigger",l._getHostElement())("matRippleDisabled",l._isRippleDisabled()))},dependencies:[W],encapsulation:2,changeDetection:0})})(),i})();var Qt=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[O,q,o,M,Q,O,o,M,U]})})(),i})();export{lt as a,U as b,jt as c,Pt as d,it as e,Nt as f,Qt as g}; +import{$a as x,Ba as R,Bb as N,Da as m,Fa as b,Ha as C,Ka as j,La as I,Ma as L,Na as P,Pb as Q,Rc as o,Sc as B,Uc as A,Wa as _,X as T,Xa as c,Yc as V,Zc as H,_c as O,bd as W,ca as p,cc as r,cd as q,d as h,ed as M,fa as s,ga as g,ha as f,hb as z,la as k,pa as S,sa as y,tb as u,vb as v,wb as w,ya as F}from"./chunk-VGXZBCX5.js";var lt=(()=>{let t=class{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=r(e)}get inset(){return this._inset}set inset(e){this._inset=r(e)}},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,l){a&2&&(C("aria-orientation",l.vertical?"vertical":"horizontal"),x("mat-divider-vertical",l.vertical)("mat-divider-horizontal",!l.vertical)("mat-divider-inset",l.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(a,l){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.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})})(),i})(),U=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[o,o]})})(),i})();var D=new y("MatList");var E=new y("MatNavList");var K=["*"],Z='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}',X=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],$=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];var Y=B(A(class{})),J=A(class{}),jt=(()=>{let t=class extends Y{constructor(){super(...arguments),this._stateChanges=new h}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(){let e;return function(l){return(e||(e=S(t)))(l||t)}}()})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[z([{provide:E,useExisting:t}]),b,k],ngContentSelectors:K,decls:1,vars:0,template:function(a,l){a&1&&(_(),c(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0})})(),i})(),Pt=(()=>{let t=class extends Y{constructor(e){super(),this._elementRef=e,this._stateChanges=new h,this._getListType()==="action-list"&&(e.nativeElement.classList.add("mat-action-list"),e.nativeElement.setAttribute("role","group"))}_getListType(){let e=this._elementRef.nativeElement.nodeName.toLowerCase();return e==="mat-list"?"list":e==="mat-action-list"?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)(m(F))}})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[z([{provide:D,useExisting:t}]),b,k],ngContentSelectors:K,decls:1,vars:0,template:function(a,l){a&1&&(_(),c(0))},styles:[Z],encapsulation:2,changeDetection:0})})(),i})(),tt=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275dir=f({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]})})(),i})(),it=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275dir=f({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]})})(),i})();var Nt=(()=>{let t=class extends J{constructor(e,a,l,d){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new h,this._disabled=!1,this._isInteractiveList=!!(l||d&&d._getListType()==="action-list"),this._list=l||d;let n=this._getHostElement();n.nodeName.toLowerCase()==="button"&&!n.hasAttribute("type")&&n.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(T(this._destroyed)).subscribe(()=>{a.markForCheck()})}get disabled(){return this._disabled||!!(this._list&&this._list.disabled)}set disabled(e){this._disabled=r(e)}ngAfterContentInit(){H(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!!(this._list&&this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)(m(F),m(N),m(E,8),m(D,8))}})(),(()=>{t.\u0275cmp=s({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(a,l,d){if(a&1&&(v(d,tt,5),v(d,it,5),v(d,V,5)),a&2){let n;u(n=w())&&(l._avatar=n.first),u(n=w())&&(l._icon=n.first),u(n=w())&&(l._lines=n)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(a,l){a&2&&x("mat-list-item-disabled",l.disabled)("mat-list-item-with-avatar",l._avatar||l._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[b],ngContentSelectors:$,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(a,l){a&1&&(_(X),I(0,"span",0),P(1,"span",1),c(2),I(3,"span",2),c(4,1),L(),c(5,2),L()),a&2&&(R(1),j("matRippleTrigger",l._getHostElement())("matRippleDisabled",l._isRippleDisabled()))},dependencies:[W],encapsulation:2,changeDetection:0})})(),i})();var Qt=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(a){return new(a||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[O,q,o,M,Q,O,o,M,U]})})(),i})();export{lt as a,U as b,jt as c,Pt as d,it as e,Nt as f,Qt as g}; diff --git a/chunk-LJ7UDTCX.js b/chunk-5SE4VJ2X.js similarity index 94% rename from chunk-LJ7UDTCX.js rename to chunk-5SE4VJ2X.js index bf6bf15..88c2f58 100644 --- a/chunk-LJ7UDTCX.js +++ b/chunk-5SE4VJ2X.js @@ -1,2 +1,2 @@ -import{a as C}from"./chunk-C6VMUQFT.js";import{$d as g,Hd as f,Id as p,Md as o,Nd as u,Zd as i,_d as y,vd as l,wd as d,xd as n}from"./chunk-KBDKS3MK.js";import{a,b as r}from"./chunk-3J24ZBPC.js";var c=d({source:"contact",events:a(a({},i({name:"loadContacts",params:n(),events:{completed:l(),failed:l()}})),i({name:"syncContactChanges",params:n(),events:{completed:l(),failed:l()}}))});function S(e,t){return e.reduce((m,A)=>v(A,m),t)}function v(e,t){try{switch(e.type){case"deletion":return t.delete(e.id);case"creation":return t.insert(e.payload);case"update":return t.update(e.id,e.payload);case"creation-or-update":return t.upsert(e.payload);default:throw new Error(`Unknown sync change +import{a as C}from"./chunk-FB6BMVSR.js";import{Gd as f,Hd as p,Ld as o,Md as u,Yd as i,Zd as y,_d as g,ud as l,vd as d,wd as n}from"./chunk-VGXZBCX5.js";import{a,b as r}from"./chunk-OROYKVKJ.js";var c=d({source:"contact",events:a(a({},i({name:"loadContacts",params:n(),events:{completed:l(),failed:l()}})),i({name:"syncContactChanges",params:n(),events:{completed:l(),failed:l()}}))});function S(e,t){return e.reduce((m,A)=>v(A,m),t)}function v(e,t){try{switch(e.type){case"deletion":return t.delete(e.id);case"creation":return t.insert(e.payload);case"update":return t.update(e.id,e.payload);case"creation-or-update":return t.upsert(e.payload);default:throw new Error(`Unknown sync change ${JSON.stringify(e)}`)}}catch(m){if(m instanceof g)return t;throw m}}var x={currentId:null,contacts:new y(e=>e.id),contactsLoadingStatus:{type:"idle"},syncToken:null},T=u(x,o(C.authenticateCompleted,(e,t)=>r(a({},e),{currentId:t.result.user.id,contacts:e.contacts.upsert(t.result.user)})),o(C.authenticateExpired,e=>r(a({},e),{currentId:null})),o(c.loadContacts,e=>r(a({},e),{contactsLoadingStatus:{type:"pending"}})),o(c.loadContactsCompleted,(e,t)=>r(a({},e),{contacts:e.contacts.upsert(...t.result.results),contactsLoadingStatus:{type:"completed"},syncToken:t.result.syncToken})),o(c.loadContactsFailed,(e,t)=>r(a({},e),{contactsLoadingStatus:{type:"failed",error:t.error}})),o(c.syncContactChangesCompleted,(e,t)=>r(a({},e),{contacts:S(t.result.changes,e.contacts),syncToken:t.result.syncToken})));var J=p({name:"contact",reducer:T,extraSelectors:e=>({selectCurrent:f(e.selectCurrentId,e.selectContacts,(t,m)=>t?m.retrieve(t):null)})});var s=d({source:"mail",events:a(a(a(a(a(a({},i({name:"loadMails",params:n(),events:{completed:l(),failed:l()}})),i({name:"toggleMailStarredStatus",params:l(),events:{completed:l(),failed:l()}})),i({name:"toggleMailReadStatus",params:l(),events:{completed:l(),failed:l()}})),i({name:"moveMailToMailbox",params:l(),events:{completed:l(),failed:l()}})),i({name:"deleteMail",params:l(),events:{completed:n(),failed:l()}})),i({name:"syncMailChanges",params:n(),events:{completed:l(),failed:l()}}))});var I={mails:new y(e=>e.id),mailsLoadingStatus:{type:"idle"},syncToken:null},M=u(I,o(s.loadMails,e=>r(a({},e),{mailsLoadingStatus:{type:"pending"}})),o(s.loadMailsCompleted,(e,t)=>a(r(a({},e),{mails:e.mails.upsert(...t.result.mails),mailsLoadingStatus:{type:"completed"}}),t.result.syncToken?{syncToken:t.result.syncToken}:{})),o(s.loadMailsFailed,(e,t)=>r(a({},e),{mailsLoadingStatus:{type:"failed",error:t.error}})),o(s.toggleMailStarredStatus,(e,t)=>r(a({},e),{mails:e.mails.upsert(r(a({},t.mail),{isStarred:!t.mail.isStarred}))})),o(s.toggleMailStarredStatusCompleted,(e,t)=>r(a({},e),{mails:e.mails.upsert(t.result)})),o(s.toggleMailStarredStatusFailed,(e,t)=>r(a({},e),{mails:e.mails.upsert(t.params.mail)})),o(s.toggleMailReadStatus,(e,t)=>r(a({},e),{mails:e.mails.upsert(r(a({},t.mail),{isRead:!t.mail.isRead}))})),o(s.toggleMailReadStatusCompleted,(e,t)=>r(a({},e),{mails:e.mails.upsert(t.result)})),o(s.toggleMailReadStatusFailed,(e,t)=>r(a({},e),{mails:e.mails.upsert(t.params.mail)})),o(s.moveMailToMailbox,(e,t)=>r(a({},e),{mails:e.mails.upsert(r(a({},t.mail),{mailbox:t.mailbox?.id}))})),o(s.moveMailToMailboxCompleted,(e,t)=>r(a({},e),{mails:e.mails.upsert(t.result)})),o(s.moveMailToMailboxFailed,(e,t)=>r(a({},e),{mails:e.mails.upsert(t.params.mail)})),o(s.deleteMail,(e,t)=>r(a({},e),{mails:e.mails.delete(t.mail.id)})),o(s.deleteMailFailed,(e,t)=>r(a({},e),{mails:e.mails.upsert(t.params.mail)})),o(s.syncMailChangesCompleted,(e,t)=>r(a({},e),{mails:S(t.result.changes,e.mails),syncToken:t.result.syncToken})));var ee=p({name:"mail",reducer:M});export{c as a,J as b,s as c,ee as d}; diff --git a/chunk-JWYHAYBW.js b/chunk-6Q7PW4SA.js similarity index 91% rename from chunk-JWYHAYBW.js rename to chunk-6Q7PW4SA.js index b682787..2dd8316 100644 --- a/chunk-JWYHAYBW.js +++ b/chunk-6Q7PW4SA.js @@ -1 +1 @@ -import{Aa as j,Ea as r,G as v,J as D,K as g,Q as S,U as w,Ua as h,W as a,X as y,ca as b,d as c,da as R,ha as $,ia as d,p,qb as o,w as m,za as f}from"./chunk-KBDKS3MK.js";var x=(()=>{let t=class{constructor(s){this.elementRef=s,this.scrollDown=new o,this.scrollUp=new o,this.scrollTop$=new c,this.scrollTopDiff$=this.scrollTop$.pipe(a(0),S(),p(([e,n])=>n-e)),this.scrollTopDiff$.subscribe(e=>{e>0&&this.scrollDown.emit(),e<0&&this.scrollUp.emit()})}onScroll(){this.scrollTop$.next(this.elementRef.nativeElement.scrollTop)}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(r(f))}})(),(()=>{t.\u0275dir=d({type:t,selectors:[["","scrollUp",""],["","scrollDown",""]],hostBindings:function(e,n){e&1&&h("scroll",function(){return n.onScroll()})},outputs:{scrollDown:"scrollDown",scrollUp:"scrollUp"},standalone:!0})})(),i})(),u=(()=>{let t=class{constructor(){this.scrollStopDelay=500}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),C=(()=>{let t=class{constructor(s,e,n){this.config=s,this.renderer=e,this.elementRef=n,this.scrollStart=new o,this.scrollStop=new o,this.scroll$=new c,this.scrolling$=this.scroll$.pipe(y(()=>m(this.config.scrollStopDelay).pipe(v(),a(!0),g(!1))),D(),w(1)),this.scrolling$.subscribe(l=>{l?this.scrollStart.emit():this.scrollStop.emit()}),this.scrollStart.subscribe(()=>{this.className&&this.renderer.addClass(this.elementRef.nativeElement,this.className)}),this.scrollStop.subscribe(()=>{this.className&&this.renderer.removeClass(this.elementRef.nativeElement,this.className)})}onScroll(){this.scroll$.next(null)}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(r(u),r(j),r(f))}})(),(()=>{t.\u0275dir=d({type:t,selectors:[["","scrolling",""],["","scrollStart",""],["","scrollStop",""]],hostBindings:function(e,n){e&1&&h("scroll",function(){return n.onScroll()})},inputs:{className:["scrolling","className"]},outputs:{scrollStart:"scrollStart",scrollStop:"scrollStop"},standalone:!0})})(),i})();var W=(()=>{let t=class{static forRoot(s=new u){return{ngModule:t,providers:[{provide:u,useValue:s}]}}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275mod=$({type:t})})(),(()=>{t.\u0275inj=R({})})(),i})();export{x as a,C as b,W as c}; +import{Da as r,F as v,I as D,J as g,P as S,T as w,Ta as h,V as a,W as y,ba as b,ca as R,d as c,ga as $,ha as d,p,pb as o,w as m,ya as f,za as j}from"./chunk-VGXZBCX5.js";var x=(()=>{let t=class{constructor(s){this.elementRef=s,this.scrollDown=new o,this.scrollUp=new o,this.scrollTop$=new c,this.scrollTopDiff$=this.scrollTop$.pipe(a(0),S(),p(([e,n])=>n-e)),this.scrollTopDiff$.subscribe(e=>{e>0&&this.scrollDown.emit(),e<0&&this.scrollUp.emit()})}onScroll(){this.scrollTop$.next(this.elementRef.nativeElement.scrollTop)}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(r(f))}})(),(()=>{t.\u0275dir=d({type:t,selectors:[["","scrollUp",""],["","scrollDown",""]],hostBindings:function(e,n){e&1&&h("scroll",function(){return n.onScroll()})},outputs:{scrollDown:"scrollDown",scrollUp:"scrollUp"},standalone:!0})})(),i})(),u=(()=>{let t=class{constructor(){this.scrollStopDelay=500}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),C=(()=>{let t=class{constructor(s,e,n){this.config=s,this.renderer=e,this.elementRef=n,this.scrollStart=new o,this.scrollStop=new o,this.scroll$=new c,this.scrolling$=this.scroll$.pipe(y(()=>m(this.config.scrollStopDelay).pipe(v(),a(!0),g(!1))),D(),w(1)),this.scrolling$.subscribe(l=>{l?this.scrollStart.emit():this.scrollStop.emit()}),this.scrollStart.subscribe(()=>{this.className&&this.renderer.addClass(this.elementRef.nativeElement,this.className)}),this.scrollStop.subscribe(()=>{this.className&&this.renderer.removeClass(this.elementRef.nativeElement,this.className)})}onScroll(){this.scroll$.next(null)}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(r(u),r(j),r(f))}})(),(()=>{t.\u0275dir=d({type:t,selectors:[["","scrolling",""],["","scrollStart",""],["","scrollStop",""]],hostBindings:function(e,n){e&1&&h("scroll",function(){return n.onScroll()})},inputs:{className:["scrolling","className"]},outputs:{scrollStart:"scrollStart",scrollStop:"scrollStop"},standalone:!0})})(),i})();var W=(()=>{let t=class{static forRoot(s=new u){return{ngModule:t,providers:[{provide:u,useValue:s}]}}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275mod=$({type:t})})(),(()=>{t.\u0275inj=R({})})(),i})();export{x as a,C as b,W as c}; diff --git a/chunk-BQG6VIZI.js b/chunk-75RAGE5M.js similarity index 98% rename from chunk-BQG6VIZI.js rename to chunk-75RAGE5M.js index 40d9637..fbcbf52 100644 --- a/chunk-BQG6VIZI.js +++ b/chunk-75RAGE5M.js @@ -1 +1 @@ -import{Ab as z,Ca as m,Cb as Z,Ea as b,Ec as ye,F as me,Fc as we,Ga as fe,Hc as K,Ia as G,Ic as Fe,Ja as u,Jc as Ce,Kb as pe,La as d,Lb as he,Ma as c,Mb as ue,Na as f,Oa as y,Pa as U,Qa as $,Qb as A,Sa as V,Sc as J,Ua as k,Uc as ke,W as I,Wa as x,Xa as M,Xb as ge,Y as O,Ya as g,ab as S,cb as L,d as oe,da as j,db as T,dc as xe,ga as F,ha as Y,hc as _e,ia as C,ib as W,ic as be,jb as se,na as B,oa as H,ta as v,ub as p,v as re,vb as D,wa as ce,wb as _,x as de,xb as h,xc as ve,za as X}from"./chunk-KBDKS3MK.js";var ee=new v("MatError");var te=new v("MatPrefix");var ie=new v("MatSuffix");var ae={transitionMessages:ye("transitionMessages",[Fe("enter",K({opacity:1,transform:"translateY(0%)"})),Ce("void => enter",[K({opacity:0,transform:"translateY(-5px)"}),we("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},P=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i})})(),t})();var ne=new v("MatFormField");var Ie=["connectionContainer"],Oe=["inputContainer"],Te=["label"];function ze(t,i){t&1&&(U(0),c(1,"div",14),y(2,"div",15)(3,"div",16)(4,"div",17),f(),c(5,"div",18),y(6,"div",15)(7,"div",16)(8,"div",17),f(),$())}function Ae(t,i){if(t&1){let l=V();c(0,"div",19),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),g(1,1),f()}if(t&2){let l=x();d("cdkObserveContentDisabled",l.appearance!="outline")}}function Pe(t,i){if(t&1&&(U(0),g(1,2),c(2,"span"),L(3),f(),$()),t&2){let l=x(2);m(3),T(l._control.placeholder)}}function Ne(t,i){t&1&&g(0,3,["*ngSwitchCase","true"])}function qe(t,i){t&1&&(c(0,"span",23),L(1," *"),f())}function Qe(t,i){if(t&1){let l=V();c(0,"label",20,21),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),u(2,Pe,4,1,"ng-container",12),u(3,Ne,1,0,"ng-content",12),u(4,qe,2,0,"span",22),f()}if(t&2){let l=x();S("mat-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-form-field-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-accent",l.color=="accent")("mat-warn",l.color=="warn"),d("cdkObserveContentDisabled",l.appearance!="outline")("id",l._labelId)("ngSwitch",l._hasLabel()),G("for",l._control.id)("aria-owns",l._control.id),m(2),d("ngSwitchCase",!1),m(1),d("ngSwitchCase",!0),m(1),d("ngIf",!l.hideRequiredMarker&&l._control.required&&!l._control.disabled)}}function je(t,i){t&1&&(c(0,"div",24),g(1,4),f())}function Ye(t,i){if(t&1&&(c(0,"div",25),y(1,"span",26),f()),t&2){let l=x();m(1),S("mat-accent",l.color=="accent")("mat-warn",l.color=="warn")}}function Be(t,i){if(t&1&&(c(0,"div"),g(1,5),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState)}}function He(t,i){if(t&1&&(c(0,"div",30),L(1),f()),t&2){let l=x(2);d("id",l._hintLabelId),m(1),T(l.hintLabel)}}function Xe(t,i){if(t&1&&(c(0,"div",27),u(1,He,2,2,"div",28),g(2,6),y(3,"div",29),g(4,7),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState),m(1),d("ngIf",l.hintLabel)}}var Ge=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ue=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];var $e=new v("MatHint");var Se=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-label"]]})})(),t})(),Ve=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-placeholder"]]})})(),t})(),Le=0,We=.75,De=5,Ze=ke(class{constructor(t){this._elementRef=t}},"primary"),Ke=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wt=(()=>{let i=class extends Ze{get appearance(){return this._appearance}set appearance(e){let n=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy",this._appearance==="outline"&&n!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xe(e)}_shouldAlwaysFloat(){return this.floatLabel==="always"&&!this._showAlwaysAnimate}_canLabelFloat(){return this.floatLabel!=="never"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return this.appearance!=="legacy"&&this._floatLabel==="never"?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,a,o,r,E,R){super(e),this._changeDetectorRef=n,this._dir=a,this._defaults=o,this._platform=r,this._ngZone=E,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new oe,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Le++}`,this._labelId=`mat-form-field-label-${Le++}`,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=R!=="NoopAnimations",this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=!!o.hideRequiredMarker,o.color&&(this.color=this.defaultColor=o.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(I(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(O(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(O(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),de(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(I(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(I(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(O(this._destroyed)).subscribe(()=>{typeof requestAnimationFrame=="function"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!(this._labelChildNonStatic||this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return this.appearance==="legacy"&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||this.appearance==="legacy"&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,re(this._label.nativeElement,"transitionend").pipe(me(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){this._control.placeholder&&this._placeholderChild}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,a=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_validateControlChild(){this._control}updateOutlineGap(){let e=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,a=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if(this.appearance!=="outline"||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){let s=n.querySelectorAll(`${a}, ${o}`);for(let w=0;w0?q*We+De*2:0}for(let s=0;s{i.\u0275fac=function(n){return new(n||i)(b(X),b(Z),b(ve,8),b(Ke,8),b(ge),b(z),b(ce,8))}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["mat-form-field"]],contentQueries:function(n,a,o){if(n&1&&(_(o,P,5),_(o,P,7),_(o,Se,5),_(o,Se,7),_(o,Ve,5),_(o,ee,5),_(o,$e,5),_(o,te,5),_(o,ie,5)),n&2){let r;p(r=h())&&(a._controlNonStatic=r.first),p(r=h())&&(a._controlStatic=r.first),p(r=h())&&(a._labelChildNonStatic=r.first),p(r=h())&&(a._labelChildStatic=r.first),p(r=h())&&(a._placeholderChild=r.first),p(r=h())&&(a._errorChildren=r),p(r=h())&&(a._hintChildren=r),p(r=h())&&(a._prefixChildren=r),p(r=h())&&(a._suffixChildren=r)}},viewQuery:function(n,a){if(n&1&&(D(Ie,7),D(Oe,5),D(Te,5)),n&2){let o;p(o=h())&&(a._connectionContainerRef=o.first),p(o=h())&&(a._inputContainerRef=o.first),p(o=h())&&(a._label=o.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(n,a){n&2&&S("mat-form-field-appearance-standard",a.appearance=="standard")("mat-form-field-appearance-fill",a.appearance=="fill")("mat-form-field-appearance-outline",a.appearance=="outline")("mat-form-field-appearance-legacy",a.appearance=="legacy")("mat-form-field-invalid",a._control.errorState)("mat-form-field-can-float",a._canLabelFloat())("mat-form-field-should-float",a._shouldLabelFloat())("mat-form-field-has-label",a._hasFloatingLabel())("mat-form-field-hide-placeholder",a._hideControlPlaceholder())("mat-form-field-disabled",a._control.disabled)("mat-form-field-autofilled",a._control.autofilled)("mat-focused",a._control.focused)("ng-untouched",a._shouldForward("untouched"))("ng-touched",a._shouldForward("touched"))("ng-pristine",a._shouldForward("pristine"))("ng-dirty",a._shouldForward("dirty"))("ng-valid",a._shouldForward("valid"))("ng-invalid",a._shouldForward("invalid"))("ng-pending",a._shouldForward("pending"))("_mat-animation-noopable",!a._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[W([{provide:ne,useExisting:i}]),fe],ngContentSelectors:Ue,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(n,a){n&1&&(M(Ge),c(0,"div",0)(1,"div",1,2),k("click",function(r){return a._control.onContainerClick(r)}),u(3,ze,9,0,"ng-container",3),u(4,Ae,2,1,"div",4),c(5,"div",5,6),g(7),c(8,"span",7),u(9,Qe,5,16,"label",8),f()(),u(10,je,2,0,"div",9),f(),u(11,Ye,2,4,"div",10),c(12,"div",11),u(13,Be,2,1,"div",12),u(14,Xe,5,2,"div",13),f()()),n&2&&(m(3),d("ngIf",a.appearance=="outline"),m(1),d("ngIf",a._prefixChildren.length),m(5),d("ngIf",a._hasFloatingLabel()),m(1),d("ngIf",a._suffixChildren.length),m(1),d("ngIf",a.appearance!="outline"),m(1),d("ngSwitch",a._getDisplayedMessages()),m(1),d("ngSwitchCase","error"),m(1),d("ngSwitchCase","hint"))},dependencies:[pe,he,ue,_e],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[ae.transitionMessages]},changeDetection:0})})(),t})();var Zt=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275mod=Y({type:i})})(),(()=>{i.\u0275inj=j({imports:[A,J,be,J]})})(),t})();var Je=["*"],ii=(()=>{let i=class{constructor(){}ngOnInit(){}},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["rpl-header"]],standalone:!0,features:[se],ngContentSelectors:Je,decls:1,vars:0,template:function(n,a){n&1&&(M(),g(0))},dependencies:[A],styles:["[_nghost-%COMP%]{height:56px;display:flex;justify-content:space-between;align-items:center;padding:0 8px;border-bottom:1px solid rgba(0,0,0,.12)}"],changeDetection:0})})(),t})();export{P as a,ne as b,Wt as c,Zt as d,ii as e}; +import{$a as S,Ba as m,Bb as Z,Da as b,Dc as ye,E as me,Ec as we,Fa as fe,Gc as K,Ha as G,Hc as Fe,Ia as u,Ic as Ce,Jb as pe,Ka as d,Kb as he,La as c,Lb as ue,Ma as f,Na as y,Oa as U,Pa as $,Pb as A,Ra as V,Rc as J,Ta as k,Tc as ke,V as I,Va as x,Wa as M,Wb as ge,X as O,Xa as g,bb as L,ca as j,cb as T,cc as xe,d as oe,fa as F,ga as Y,gc as _e,ha as C,hb as W,hc as be,ib as se,ma as B,na as H,sa as v,tb as p,ub as D,v as re,va as ce,vb as _,wb as h,wc as ve,x as de,ya as X,zb as z}from"./chunk-VGXZBCX5.js";var ee=new v("MatError");var te=new v("MatPrefix");var ie=new v("MatSuffix");var ae={transitionMessages:ye("transitionMessages",[Fe("enter",K({opacity:1,transform:"translateY(0%)"})),Ce("void => enter",[K({opacity:0,transform:"translateY(-5px)"}),we("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},P=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i})})(),t})();var ne=new v("MatFormField");var Ie=["connectionContainer"],Oe=["inputContainer"],Te=["label"];function ze(t,i){t&1&&(U(0),c(1,"div",14),y(2,"div",15)(3,"div",16)(4,"div",17),f(),c(5,"div",18),y(6,"div",15)(7,"div",16)(8,"div",17),f(),$())}function Ae(t,i){if(t&1){let l=V();c(0,"div",19),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),g(1,1),f()}if(t&2){let l=x();d("cdkObserveContentDisabled",l.appearance!="outline")}}function Pe(t,i){if(t&1&&(U(0),g(1,2),c(2,"span"),L(3),f(),$()),t&2){let l=x(2);m(3),T(l._control.placeholder)}}function Ne(t,i){t&1&&g(0,3,["*ngSwitchCase","true"])}function qe(t,i){t&1&&(c(0,"span",23),L(1," *"),f())}function Qe(t,i){if(t&1){let l=V();c(0,"label",20,21),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),u(2,Pe,4,1,"ng-container",12),u(3,Ne,1,0,"ng-content",12),u(4,qe,2,0,"span",22),f()}if(t&2){let l=x();S("mat-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-form-field-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-accent",l.color=="accent")("mat-warn",l.color=="warn"),d("cdkObserveContentDisabled",l.appearance!="outline")("id",l._labelId)("ngSwitch",l._hasLabel()),G("for",l._control.id)("aria-owns",l._control.id),m(2),d("ngSwitchCase",!1),m(1),d("ngSwitchCase",!0),m(1),d("ngIf",!l.hideRequiredMarker&&l._control.required&&!l._control.disabled)}}function je(t,i){t&1&&(c(0,"div",24),g(1,4),f())}function Ye(t,i){if(t&1&&(c(0,"div",25),y(1,"span",26),f()),t&2){let l=x();m(1),S("mat-accent",l.color=="accent")("mat-warn",l.color=="warn")}}function Be(t,i){if(t&1&&(c(0,"div"),g(1,5),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState)}}function He(t,i){if(t&1&&(c(0,"div",30),L(1),f()),t&2){let l=x(2);d("id",l._hintLabelId),m(1),T(l.hintLabel)}}function Xe(t,i){if(t&1&&(c(0,"div",27),u(1,He,2,2,"div",28),g(2,6),y(3,"div",29),g(4,7),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState),m(1),d("ngIf",l.hintLabel)}}var Ge=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ue=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];var $e=new v("MatHint");var Se=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-label"]]})})(),t})(),Ve=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-placeholder"]]})})(),t})(),Le=0,We=.75,De=5,Ze=ke(class{constructor(t){this._elementRef=t}},"primary"),Ke=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wt=(()=>{let i=class extends Ze{get appearance(){return this._appearance}set appearance(e){let n=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy",this._appearance==="outline"&&n!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xe(e)}_shouldAlwaysFloat(){return this.floatLabel==="always"&&!this._showAlwaysAnimate}_canLabelFloat(){return this.floatLabel!=="never"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return this.appearance!=="legacy"&&this._floatLabel==="never"?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,a,o,r,E,R){super(e),this._changeDetectorRef=n,this._dir=a,this._defaults=o,this._platform=r,this._ngZone=E,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new oe,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Le++}`,this._labelId=`mat-form-field-label-${Le++}`,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=R!=="NoopAnimations",this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=!!o.hideRequiredMarker,o.color&&(this.color=this.defaultColor=o.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(I(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(O(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(O(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),de(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(I(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(I(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(O(this._destroyed)).subscribe(()=>{typeof requestAnimationFrame=="function"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!(this._labelChildNonStatic||this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return this.appearance==="legacy"&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||this.appearance==="legacy"&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,re(this._label.nativeElement,"transitionend").pipe(me(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){this._control.placeholder&&this._placeholderChild}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,a=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_validateControlChild(){this._control}updateOutlineGap(){let e=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,a=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if(this.appearance!=="outline"||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){let s=n.querySelectorAll(`${a}, ${o}`);for(let w=0;w0?q*We+De*2:0}for(let s=0;s{i.\u0275fac=function(n){return new(n||i)(b(X),b(Z),b(ve,8),b(Ke,8),b(ge),b(z),b(ce,8))}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["mat-form-field"]],contentQueries:function(n,a,o){if(n&1&&(_(o,P,5),_(o,P,7),_(o,Se,5),_(o,Se,7),_(o,Ve,5),_(o,ee,5),_(o,$e,5),_(o,te,5),_(o,ie,5)),n&2){let r;p(r=h())&&(a._controlNonStatic=r.first),p(r=h())&&(a._controlStatic=r.first),p(r=h())&&(a._labelChildNonStatic=r.first),p(r=h())&&(a._labelChildStatic=r.first),p(r=h())&&(a._placeholderChild=r.first),p(r=h())&&(a._errorChildren=r),p(r=h())&&(a._hintChildren=r),p(r=h())&&(a._prefixChildren=r),p(r=h())&&(a._suffixChildren=r)}},viewQuery:function(n,a){if(n&1&&(D(Ie,7),D(Oe,5),D(Te,5)),n&2){let o;p(o=h())&&(a._connectionContainerRef=o.first),p(o=h())&&(a._inputContainerRef=o.first),p(o=h())&&(a._label=o.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(n,a){n&2&&S("mat-form-field-appearance-standard",a.appearance=="standard")("mat-form-field-appearance-fill",a.appearance=="fill")("mat-form-field-appearance-outline",a.appearance=="outline")("mat-form-field-appearance-legacy",a.appearance=="legacy")("mat-form-field-invalid",a._control.errorState)("mat-form-field-can-float",a._canLabelFloat())("mat-form-field-should-float",a._shouldLabelFloat())("mat-form-field-has-label",a._hasFloatingLabel())("mat-form-field-hide-placeholder",a._hideControlPlaceholder())("mat-form-field-disabled",a._control.disabled)("mat-form-field-autofilled",a._control.autofilled)("mat-focused",a._control.focused)("ng-untouched",a._shouldForward("untouched"))("ng-touched",a._shouldForward("touched"))("ng-pristine",a._shouldForward("pristine"))("ng-dirty",a._shouldForward("dirty"))("ng-valid",a._shouldForward("valid"))("ng-invalid",a._shouldForward("invalid"))("ng-pending",a._shouldForward("pending"))("_mat-animation-noopable",!a._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[W([{provide:ne,useExisting:i}]),fe],ngContentSelectors:Ue,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(n,a){n&1&&(M(Ge),c(0,"div",0)(1,"div",1,2),k("click",function(r){return a._control.onContainerClick(r)}),u(3,ze,9,0,"ng-container",3),u(4,Ae,2,1,"div",4),c(5,"div",5,6),g(7),c(8,"span",7),u(9,Qe,5,16,"label",8),f()(),u(10,je,2,0,"div",9),f(),u(11,Ye,2,4,"div",10),c(12,"div",11),u(13,Be,2,1,"div",12),u(14,Xe,5,2,"div",13),f()()),n&2&&(m(3),d("ngIf",a.appearance=="outline"),m(1),d("ngIf",a._prefixChildren.length),m(5),d("ngIf",a._hasFloatingLabel()),m(1),d("ngIf",a._suffixChildren.length),m(1),d("ngIf",a.appearance!="outline"),m(1),d("ngSwitch",a._getDisplayedMessages()),m(1),d("ngSwitchCase","error"),m(1),d("ngSwitchCase","hint"))},dependencies:[pe,he,ue,_e],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[ae.transitionMessages]},changeDetection:0})})(),t})();var Zt=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275mod=Y({type:i})})(),(()=>{i.\u0275inj=j({imports:[A,J,be,J]})})(),t})();var Je=["*"],ii=(()=>{let i=class{constructor(){}ngOnInit(){}},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["rpl-header"]],standalone:!0,features:[se],ngContentSelectors:Je,decls:1,vars:0,template:function(n,a){n&1&&(M(),g(0))},dependencies:[A],styles:["[_nghost-%COMP%]{height:56px;display:flex;justify-content:space-between;align-items:center;padding:0 8px;border-bottom:1px solid rgba(0,0,0,.12)}"],changeDetection:0})})(),t})();export{P as a,ne as b,Wt as c,Zt as d,ii as e}; diff --git a/chunk-CW6XQTGJ.js b/chunk-CW6XQTGJ.js new file mode 100644 index 0000000..1cc422e --- /dev/null +++ b/chunk-CW6XQTGJ.js @@ -0,0 +1 @@ +import{a as f}from"./chunk-T3VJN7I3.js";import{a as v}from"./chunk-5RPBRSJY.js";import{a}from"./chunk-6Q7PW4SA.js";import{a as y}from"./chunk-3UZNBURP.js";import{b as h}from"./chunk-5SE4VJ2X.js";import{Fd as D,Ga as l,ea as s,ha as d,ia as n,p as c,q as u,qd as m}from"./chunk-VGXZBCX5.js";var P=(()=>{let e=class{constructor(){this.store=s(D)}transform(t){return t instanceof Array?u(t.map(r=>this.transformOne(r))):this.transformOne(t)}transformOne(t){let{email:r}=t;return this.store.select(h.selectContacts).pipe(c(o=>o.queryOne(M=>M.email===r)),c(o=>o??this.generateContact(t)))}generateContact(t){return{id:`generated-${t.email}`,name:t.name,email:t.email}}},i=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275pipe=n({name:"contactFromMailParticipant",type:e,pure:!0,standalone:!0})})(),i})();var Y=(()=>{let e=class{constructor(){this.bottomNavService=s(y),this.scrollDirections=s(a),this.scrollDirections.scrollUp.pipe(m()).subscribe(()=>{this.bottomNavService.setStatus("expanded")}),this.scrollDirections.scrollDown.pipe(m()).subscribe(()=>{this.bottomNavService.setStatus("collapsed")})}},i=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275dir=d({type:e,selectors:[["","rplLayoutContent",""]],standalone:!0,features:[l([a])]})})(),i})();var B=(()=>{let e=class{constructor(){this.dateDistancePipe=new v}transform(t){let r=f(t),o=f();return r.diff(o,"week")>-1?this.dateDistancePipe.transform(t):r.diff(o,"year")>-1?r.format("MMM D"):r.format("MMM D, YYYY")}},i=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275pipe=n({name:"readableDate",type:e,pure:!0,standalone:!0})})(),i})();var H=(()=>{let e=class{transform(t,r){return t instanceof Array?r.query(o=>t.includes(r.identify(o))):r.retrieve(t)}},i=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275pipe=n({name:"resolveRef",type:e,pure:!0,standalone:!0})})(),i})();export{P as a,Y as b,B as c,H as d}; diff --git a/chunk-EFASKN6N.js b/chunk-E7R3WNTA.js similarity index 96% rename from chunk-EFASKN6N.js rename to chunk-E7R3WNTA.js index f501d00..e9fddf7 100644 --- a/chunk-EFASKN6N.js +++ b/chunk-E7R3WNTA.js @@ -1 +1 @@ -import{a as Ot,i as O,l as W,m as u,n as A,p as Dt}from"./chunk-HDMEYBD3.js";import{$a as z,Ab as Z,Ac as It,Ca as j,Cb as w,Cc as wt,Ea as a,F as ot,Fa as rt,Fb as ct,Ga as T,Gd as At,Hb as dt,La as k,Ma as F,Na as V,Pb as pt,Q as st,Qb as ht,Qd as Ct,Sc as K,U as v,Ua as b,W as E,Wd as xt,X as R,Xb as mt,Y as d,Yb as ft,ab as I,ca as nt,cb as G,cc as _t,d as P,da as L,db as H,dc as Q,ec as q,fa as M,ga as S,ha as N,ia as f,jc as ut,kc as gt,l as it,nb as at,nc as vt,ob as lt,p as c,ta as Y,tb as X,ub as U,vb as B,vc as yt,wa as y,wc as Tt,xb as $,xc as bt,z as et,za as _}from"./chunk-KBDKS3MK.js";import{a as h,b as tt}from"./chunk-3J24ZBPC.js";var jt=20;var J=new Y("mat-tooltip-scroll-strategy");function kt(n){return()=>n.scrollStrategies.reposition({scrollThrottle:jt})}var Lt={provide:J,deps:[O],useFactory:kt};function Ft(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Mt=new Y("mat-tooltip-default-options",{providedIn:"root",factory:Ft});var Pt="tooltip-panel",Et=ft({passive:!0}),Vt=500;var St=(()=>{let o=class{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=Q(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Q(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=q(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=q(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,e,s,r,p,m,C,x,g,l,D){this._overlay=t,this._elementRef=i,this._scrollDispatcher=e,this._viewContainerRef=s,this._ngZone=r,this._platform=p,this._ariaDescriber=m,this._focusMonitor=C,this._dir=g,this._defaultOptions=l,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new P,this._scrollStrategy=x,this._document=D,l&&(this._showDelay=l.showDelay,this._hideDelay=l.hideDelay,l.position&&(this.position=l.position),l.positionAtOrigin&&(this.positionAtOrigin=l.positionAtOrigin),l.touchGestures&&(this.touchGestures=l.touchGestures)),g.change.pipe(d(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(d(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,e])=>{t.removeEventListener(i,e,Et)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let e=this._createOverlay(i);this._detach(),this._portal=this._portal||new Ot(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=e.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(d(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof _)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return e.positionChanges.pipe(d(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${Pt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(d(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(d(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(d(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!_t(s)&&(s.preventDefault(),s.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(t){let i=t.getConfig().positionStrategy,e=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(h(h({},e.main),s.main)),this._addOffset(h(h({},e.fallback),s.fallback))])}_addOffset(t){return t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"||i=="below"?e={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={originX:"end",originY:"center"});let{x:s,y:r}=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:s,originY:r}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"?e={overlayX:"center",overlayY:"bottom"}:i=="below"?e={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={overlayX:"start",overlayY:"center"});let{x:s,y:r}=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:s,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(ot(1),d(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:e,originY:s}=t,r;if(i==="center"?this._dir&&this._dir.value==="rtl"?r=e==="end"?"left":"right":r=e==="start"?"left":"right":r=i==="bottom"&&s==="top"?"above":"below",r!==this._currentPosition){let p=this._overlayRef;if(p){let m=`${this._cssClassPrefix}-${Pt}-`;p.removePanelClass(m+this._currentPosition),p.addPanelClass(m+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let i=t.targetTouches?.[0],e=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,e),Vt)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{let e=i.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,e])=>{this._elementRef.nativeElement.addEventListener(i,e,Et)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),e=this._elementRef.nativeElement;i!==e&&!e.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,e=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),(t==="on"||!i.draggable)&&(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent"}}},n=o;return(()=>{o.\u0275fac=function(i){rt()}})(),(()=>{o.\u0275dir=f({type:o,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})})(),n})();var Nt=(()=>{let o=class{constructor(t,i){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new P,this._animationsDisabled=i==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,e=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(t?s:e),i.classList.add(t?e:s),this._isVisible=t,t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let r=getComputedStyle(i);(r.getPropertyValue("animation-duration")==="0s"||r.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)(a(w),a(y,8))}})(),(()=>{o.\u0275dir=f({type:o})})(),n})();var zt=["tooltip"],Ai=(()=>{let o=class extends St{constructor(t,i,e,s,r,p,m,C,x,g,l,D){super(t,i,e,s,r,p,m,C,x,g,l,D),this._tooltipComponent=Gt}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)(a(O),a(_),a(It),a(X),a(Z),a(mt),a(vt),a(yt),a(J),a(bt,8),a(Mt,8),a(ct))}})(),(()=>{o.\u0275dir=f({type:o,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(i,e){i&2&&I("mat-tooltip-disabled",e.disabled)},exportAs:["matTooltip"],features:[T]})})(),n})(),Gt=(()=>{let o=class extends Nt{constructor(t,i,e){super(t,e),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=i.observe(gt.Handset)}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)(a(w),a(ut),a(y,8))}})(),(()=>{o.\u0275cmp=S({type:o,selectors:[["mat-tooltip-component"]],viewQuery:function(i,e){if(i&1&&B(zt,7),i&2){let s;U(s=$())&&(e._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,e){i&1&&b("mouseleave",function(r){return e._handleMouseLeave(r)}),i&2&&z("zoom",e.isVisible()?1:null)},features:[T],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(i,e){if(i&1&&(F(0,"div",0,1),b("animationend",function(r){return e._handleAnimationEnd(r)}),at(2,"async"),G(3),V()),i&2){let s;I("mat-tooltip-handset",(s=lt(2,4,e._isHandset))==null?null:s.matches),k("ngClass",e.tooltipClass),j(3),H(e.message)}},dependencies:[dt,pt],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0})})(),n})(),Ci=(()=>{let o=class{},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)}})(),(()=>{o.\u0275mod=N({type:o})})(),(()=>{o.\u0275inj=L({providers:[Lt],imports:[Tt,ht,W,K,K,wt]})})(),n})();var Ht=[{name:u.Inbox,icon:"inbox"},{name:A.Starred,icon:"star"},{name:A.Sent,icon:"send"},{name:u.Trash,icon:"delete"},{name:u.Spam,icon:"report"},{name:A.Drafts,icon:"drafts"}],Ni=(()=>{let o=class{constructor(){this.store=M(At),this.router=M(xt),this.items$=this.store.select(Dt.selectMailboxes).pipe(c(t=>t.query(i=>!Object.values(u).includes(i.name))),c(t=>t.map(({name:i})=>({name:i}))),c(t=>[...Ht,...t]),c(t=>t.map(i=>tt(h({},i),{url:`/mailboxes/${i.name}/mails`}))),v(1)),this.activeItemIndex$=this.router.events.pipe(et(t=>t instanceof Ct),E(null),R(()=>this.items$),c(t=>this.findActiveItemIndex(t)),v(1)),this.activeItemPair$=this.activeItemIndex$.pipe(R(t=>t===null?it(null):this.items$.pipe(c(i=>i[t]))),E(null),st(),v(1)),this.currActiveItem$=this.activeItemPair$.pipe(c(([,t])=>t)),this.lastActiveItem$=this.activeItemPair$.pipe(c(([t])=>t))}findActiveItemIndex(t){let i=t.findIndex(e=>this.router.isActive(e.url,{paths:"subset",fragment:"ignored",queryParams:"ignored",matrixParams:"ignored"}));return i>=0?i:null}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)}})(),(()=>{o.\u0275prov=nt({token:o,factory:o.\u0275fac,providedIn:"root"})})(),n})();export{Ai as a,Ci as b,Ni as c}; +import{a as Ot,i as O,l as W,m as u,n as A,p as Dt}from"./chunk-JYLXIIJ3.js";import{$a as I,Ba as j,Bb as w,Bc as wt,Da as a,E as ot,Ea as rt,Eb as ct,Fa as T,Fd as At,Gb as dt,Ka as k,La as F,Ma as V,Ob as pt,P as st,Pb as ht,Pd as Ct,Rc as K,T as v,Ta as b,V as E,Vd as xt,W as R,Wb as mt,X as d,Xb as ft,_a as z,ba as nt,bb as G,bc as _t,ca as L,cb as H,cc as Q,d as P,dc as q,ea as M,fa as S,ga as N,ha as f,ic as ut,jc as gt,l as it,mb as at,mc as vt,nb as lt,p as c,sa as Y,sb as X,tb as U,ub as B,uc as yt,va as y,vc as Tt,wb as $,wc as bt,ya as _,z as et,zb as Z,zc as It}from"./chunk-VGXZBCX5.js";import{a as h,b as tt}from"./chunk-OROYKVKJ.js";var jt=20;var J=new Y("mat-tooltip-scroll-strategy");function kt(n){return()=>n.scrollStrategies.reposition({scrollThrottle:jt})}var Lt={provide:J,deps:[O],useFactory:kt};function Ft(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Mt=new Y("mat-tooltip-default-options",{providedIn:"root",factory:Ft});var Pt="tooltip-panel",Et=ft({passive:!0}),Vt=500;var St=(()=>{let o=class{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=Q(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Q(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=q(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=q(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,e,s,r,p,m,C,x,g,l,D){this._overlay=t,this._elementRef=i,this._scrollDispatcher=e,this._viewContainerRef=s,this._ngZone=r,this._platform=p,this._ariaDescriber=m,this._focusMonitor=C,this._dir=g,this._defaultOptions=l,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new P,this._scrollStrategy=x,this._document=D,l&&(this._showDelay=l.showDelay,this._hideDelay=l.hideDelay,l.position&&(this.position=l.position),l.positionAtOrigin&&(this.positionAtOrigin=l.positionAtOrigin),l.touchGestures&&(this.touchGestures=l.touchGestures)),g.change.pipe(d(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(d(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,e])=>{t.removeEventListener(i,e,Et)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let e=this._createOverlay(i);this._detach(),this._portal=this._portal||new Ot(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=e.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(d(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof _)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return e.positionChanges.pipe(d(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${Pt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(d(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(d(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(d(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!_t(s)&&(s.preventDefault(),s.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(t){let i=t.getConfig().positionStrategy,e=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(h(h({},e.main),s.main)),this._addOffset(h(h({},e.fallback),s.fallback))])}_addOffset(t){return t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"||i=="below"?e={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={originX:"end",originY:"center"});let{x:s,y:r}=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:s,originY:r}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"?e={overlayX:"center",overlayY:"bottom"}:i=="below"?e={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={overlayX:"start",overlayY:"center"});let{x:s,y:r}=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:s,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(ot(1),d(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:e,originY:s}=t,r;if(i==="center"?this._dir&&this._dir.value==="rtl"?r=e==="end"?"left":"right":r=e==="start"?"left":"right":r=i==="bottom"&&s==="top"?"above":"below",r!==this._currentPosition){let p=this._overlayRef;if(p){let m=`${this._cssClassPrefix}-${Pt}-`;p.removePanelClass(m+this._currentPosition),p.addPanelClass(m+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let i=t.targetTouches?.[0],e=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,e),Vt)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{let e=i.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,e])=>{this._elementRef.nativeElement.addEventListener(i,e,Et)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),e=this._elementRef.nativeElement;i!==e&&!e.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,e=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),(t==="on"||!i.draggable)&&(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent"}}},n=o;return(()=>{o.\u0275fac=function(i){rt()}})(),(()=>{o.\u0275dir=f({type:o,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})})(),n})();var Nt=(()=>{let o=class{constructor(t,i){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new P,this._animationsDisabled=i==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,e=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(t?s:e),i.classList.add(t?e:s),this._isVisible=t,t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let r=getComputedStyle(i);(r.getPropertyValue("animation-duration")==="0s"||r.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)(a(w),a(y,8))}})(),(()=>{o.\u0275dir=f({type:o})})(),n})();var zt=["tooltip"],Ai=(()=>{let o=class extends St{constructor(t,i,e,s,r,p,m,C,x,g,l,D){super(t,i,e,s,r,p,m,C,x,g,l,D),this._tooltipComponent=Gt}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)(a(O),a(_),a(It),a(X),a(Z),a(mt),a(vt),a(yt),a(J),a(bt,8),a(Mt,8),a(ct))}})(),(()=>{o.\u0275dir=f({type:o,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(i,e){i&2&&I("mat-tooltip-disabled",e.disabled)},exportAs:["matTooltip"],features:[T]})})(),n})(),Gt=(()=>{let o=class extends Nt{constructor(t,i,e){super(t,e),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=i.observe(gt.Handset)}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)(a(w),a(ut),a(y,8))}})(),(()=>{o.\u0275cmp=S({type:o,selectors:[["mat-tooltip-component"]],viewQuery:function(i,e){if(i&1&&B(zt,7),i&2){let s;U(s=$())&&(e._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,e){i&1&&b("mouseleave",function(r){return e._handleMouseLeave(r)}),i&2&&z("zoom",e.isVisible()?1:null)},features:[T],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(i,e){if(i&1&&(F(0,"div",0,1),b("animationend",function(r){return e._handleAnimationEnd(r)}),at(2,"async"),G(3),V()),i&2){let s;I("mat-tooltip-handset",(s=lt(2,4,e._isHandset))==null?null:s.matches),k("ngClass",e.tooltipClass),j(3),H(e.message)}},dependencies:[dt,pt],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0})})(),n})(),Ci=(()=>{let o=class{},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)}})(),(()=>{o.\u0275mod=N({type:o})})(),(()=>{o.\u0275inj=L({providers:[Lt],imports:[Tt,ht,W,K,K,wt]})})(),n})();var Ht=[{name:u.Inbox,icon:"inbox"},{name:A.Starred,icon:"star"},{name:A.Sent,icon:"send"},{name:u.Trash,icon:"delete"},{name:u.Spam,icon:"report"},{name:A.Drafts,icon:"drafts"}],Ni=(()=>{let o=class{constructor(){this.store=M(At),this.router=M(xt),this.items$=this.store.select(Dt.selectMailboxes).pipe(c(t=>t.query(i=>!Object.values(u).includes(i.name))),c(t=>t.map(({name:i})=>({name:i}))),c(t=>[...Ht,...t]),c(t=>t.map(i=>tt(h({},i),{url:`/mailboxes/${i.name}/mails`}))),v(1)),this.activeItemIndex$=this.router.events.pipe(et(t=>t instanceof Ct),E(null),R(()=>this.items$),c(t=>this.findActiveItemIndex(t)),v(1)),this.activeItemPair$=this.activeItemIndex$.pipe(R(t=>t===null?it(null):this.items$.pipe(c(i=>i[t]))),E(null),st(),v(1)),this.currActiveItem$=this.activeItemPair$.pipe(c(([,t])=>t)),this.lastActiveItem$=this.activeItemPair$.pipe(c(([t])=>t))}findActiveItemIndex(t){let i=t.findIndex(e=>this.router.isActive(e.url,{paths:"subset",fragment:"ignored",queryParams:"ignored",matrixParams:"ignored"}));return i>=0?i:null}},n=o;return(()=>{o.\u0275fac=function(i){return new(i||o)}})(),(()=>{o.\u0275prov=nt({token:o,factory:o.\u0275fac,providedIn:"root"})})(),n})();export{Ai as a,Ci as b,Ni as c}; diff --git a/chunk-GQLKKIYV.js b/chunk-ESQOXLFI.js similarity index 85% rename from chunk-GQLKKIYV.js rename to chunk-ESQOXLFI.js index 8298402..3d89c9c 100644 --- a/chunk-GQLKKIYV.js +++ b/chunk-ESQOXLFI.js @@ -1 +1 @@ -import{a as j,b as k}from"./chunk-EFASKN6N.js";import{Ea as d,La as y,Ma as C,Na as w,Oa as s,Xd as T,Yd as L,ca as g,e as h,ga as a,ia as v,jb as c,md as b,nd as x,pd as R,qd as S,sa as M,sb as D,tb as I}from"./chunk-KBDKS3MK.js";import{g as p,h as f,i as m}from"./chunk-3J24ZBPC.js";var F=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275cmp=a({type:t,selectors:[["rpl-avatar"]],inputs:{contact:"contact"},standalone:!0,features:[c],decls:1,vars:1,consts:[["alt","Avatar",3,"src"]],template:function(i,r){if(i&1&&s(0,"img",0),i&2){let l;y("src",(l=r.contact.avatarUrl)!==null&&l!==void 0?l:"assets/avatar.png",M)}},styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px;border-radius:50%}img[_ngcontent-%COMP%]{width:inherit;height:inherit;border-radius:inherit}"],changeDetection:0})})(),e})();var z=(()=>{let t=class{constructor(n,i){this.viewContainer=n,this.templateRef=i,this.initialized=!1}set value(n){if(n!==this.valueCurrent){if(this.valueCurrent=n,!this.initialized){this.viewContainer.createEmbeddedView(this.templateRef),this.initialized=!0;return}this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.templateRef)}}},e=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(d(I),d(D))}})(),(()=>{t.\u0275dir=v({type:t,selectors:[["","rplReattachOnChange",""]],inputs:{value:["rplReattachOnChange","value"]},standalone:!0})})(),e})();var H=(()=>{let t=class{constructor(){}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275cmp=a({type:t,selectors:[["rpl-search-button"]],standalone:!0,features:[c],decls:2,vars:0,consts:[["mat-icon-button","","routerLink","/search","matTooltip","Search"],["fontSet","filled","fontIcon","search"]],template:function(i,r){i&1&&(C(0,"a",0),s(1,"mat-icon",1),w())},dependencies:[L,T,S,R,x,b,k,j],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),e})();var Q=(()=>{var t;let o=class{constructor(){f(this,t,void 0);m(this,t,new h(null)),this.config$=p(this,t).pipe()}useConfig(i){p(this,t).next(i)}},e=o;return t=new WeakMap,(()=>{o.\u0275fac=function(r){return new(r||o)}})(),(()=>{o.\u0275prov=g({token:o,factory:o.\u0275fac,providedIn:"root"})})(),e})();export{F as a,z as b,H as c,Q as d}; +import{a as j,b as k}from"./chunk-E7R3WNTA.js";import{Da as d,Ka as y,La as C,Ma as w,Na as s,Wd as T,Xd as L,ba as g,e as h,fa as a,ha as v,ib as c,ld as b,md as x,od as R,pd as S,ra as M,rb as D,sb as I}from"./chunk-VGXZBCX5.js";import{f as p,g as f,h as m}from"./chunk-OROYKVKJ.js";var F=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275cmp=a({type:t,selectors:[["rpl-avatar"]],inputs:{contact:"contact"},standalone:!0,features:[c],decls:1,vars:1,consts:[["alt","Avatar",3,"src"]],template:function(i,r){if(i&1&&s(0,"img",0),i&2){let l;y("src",(l=r.contact.avatarUrl)!==null&&l!==void 0?l:"assets/avatar.png",M)}},styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px;border-radius:50%}img[_ngcontent-%COMP%]{width:inherit;height:inherit;border-radius:inherit}"],changeDetection:0})})(),e})();var z=(()=>{let t=class{constructor(n,i){this.viewContainer=n,this.templateRef=i,this.initialized=!1}set value(n){if(n!==this.valueCurrent){if(this.valueCurrent=n,!this.initialized){this.viewContainer.createEmbeddedView(this.templateRef),this.initialized=!0;return}this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.templateRef)}}},e=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(d(I),d(D))}})(),(()=>{t.\u0275dir=v({type:t,selectors:[["","rplReattachOnChange",""]],inputs:{value:["rplReattachOnChange","value"]},standalone:!0})})(),e})();var H=(()=>{let t=class{constructor(){}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275cmp=a({type:t,selectors:[["rpl-search-button"]],standalone:!0,features:[c],decls:2,vars:0,consts:[["mat-icon-button","","routerLink","/search","matTooltip","Search"],["fontSet","filled","fontIcon","search"]],template:function(i,r){i&1&&(C(0,"a",0),s(1,"mat-icon",1),w())},dependencies:[L,T,S,R,x,b,k,j],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),e})();var Q=(()=>{var t;let o=class{constructor(){f(this,t,void 0);m(this,t,new h(null)),this.config$=p(this,t).pipe()}useConfig(i){p(this,t).next(i)}},e=o;return t=new WeakMap,(()=>{o.\u0275fac=function(r){return new(r||o)}})(),(()=>{o.\u0275prov=g({token:o,factory:o.\u0275fac,providedIn:"root"})})(),e})();export{F as a,z as b,H as c,Q as d}; diff --git a/chunk-C6VMUQFT.js b/chunk-FB6BMVSR.js similarity index 51% rename from chunk-C6VMUQFT.js rename to chunk-FB6BMVSR.js index 5c470c8..6211e91 100644 --- a/chunk-C6VMUQFT.js +++ b/chunk-FB6BMVSR.js @@ -1 +1 @@ -import{Zd as n,vd as e,wd as r,xd as t}from"./chunk-KBDKS3MK.js";import{a as o}from"./chunk-3J24ZBPC.js";var c=r({source:"authentication",events:o({},n({name:"authenticate",params:e(),events:{completed:e(),cancelled:t(),failed:e(),expired:t()}}))});export{c as a}; +import{Yd as n,ud as e,vd as r,wd as t}from"./chunk-VGXZBCX5.js";import{a as o}from"./chunk-OROYKVKJ.js";var c=r({source:"authentication",events:o({},n({name:"authenticate",params:e(),events:{completed:e(),cancelled:t(),failed:e(),expired:t()}}))});export{c as a}; diff --git a/chunk-IKTP4ODH.js b/chunk-IKTP4ODH.js deleted file mode 100644 index 54c1558..0000000 --- a/chunk-IKTP4ODH.js +++ /dev/null @@ -1 +0,0 @@ -import{Aa as R,Cb as ie,Db as ne,Ea as o,Eb as L,Ga as d,Ta as te,Ua as F,aa as v,ab as H,ba as A,da as M,ha as E,ia as u,ib as _,k as J,ma as B,p as K,qa as ee,qb as m,ta as g,u as Q,za as U}from"./chunk-KBDKS3MK.js";import{a as c,b as p}from"./chunk-3J24ZBPC.js";var he=(()=>{let e=class{constructor(i,r){this._renderer=i,this._elementRef=r,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(i,r){this._renderer.setProperty(this._elementRef.nativeElement,i,r)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U))}})(),(()=>{e.\u0275dir=u({type:e})})(),t})(),Pe=(()=>{let e=class extends he{},t=e;return(()=>{e.\u0275fac=function(){let i;return function(s){return(i||(i=ee(e)))(s||e)}}()})(),(()=>{e.\u0275dir=u({type:e,features:[d]})})(),t})(),fe=new g("NgValueAccessor");var xe={provide:fe,useExisting:v(()=>pe),multi:!0};function ke(){let t=L()?L().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Ge=new g("CompositionEventMode"),pe=(()=>{let e=class extends he{constructor(i,r,s){super(i,r),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!ke())}writeValue(i){let r=i??"";this.setProperty("value",r)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U),o(Ge,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,s){r&1&&F("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[_([xe]),d]})})(),t})();function h(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function ge(t){return t!=null&&typeof t.length=="number"}var $=new g("NgValidators"),q=new g("NgAsyncValidators"),Te=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,re=class{static min(e){return je(e)}static max(e){return Be(e)}static required(e){return Ue(e)}static requiredTrue(e){return Re(e)}static email(e){return He(e)}static minLength(e){return Le(e)}static maxLength(e){return We(e)}static pattern(e){return $e(e)}static nullValidator(e){return me(e)}static compose(e){return De(e)}static composeAsync(e){return be(e)}};function je(t){return e=>{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Ue(t){return h(t.value)?{required:!0}:null}function Re(t){return t.value===!0?null:{required:!0}}function He(t){return h(t.value)||Te.test(t.value)?null:{email:!0}}function Le(t){return e=>h(e.value)||!ge(e.value)?null:e.value.lengthge(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function $e(t){if(!t)return me;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),i=>{if(h(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function me(t){return null}function ye(t){return t!=null}function ve(t){return te(t)?J(t):t}function _e(t){let e={};return t.forEach(n=>{e=n!=null?c(c({},e),n):e}),Object.keys(e).length===0?null:e}function Ce(t,e){return e.map(n=>n(t))}function qe(t){return!t.validate}function Ve(t){return t.map(e=>qe(e)?e:n=>e.validate(n))}function De(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){return _e(Ce(n,e))}}function z(t){return t!=null?De(Ve(t)):null}function be(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){let i=Ce(n,e).map(ve);return Q(i).pipe(K(_e))}}function Z(t){return t!=null?be(Ve(t)):null}function se(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Ae(t){return t._rawValidators}function Me(t){return t._rawAsyncValidators}function W(t){return t?Array.isArray(t)?t:[t]:[]}function I(t,e){return Array.isArray(t)?t.includes(e):t===e}function oe(t,e){let n=W(e);return W(t).forEach(r=>{I(n,r)||n.push(r)}),n}function ae(t,e){return W(e).filter(n=>!I(t,n))}var S=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=z(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},f=class extends S{get formDirective(){return null}get path(){return null}},b=class extends S{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},O=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ze={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},jt=p(c({},ze),{"[class.ng-submitted]":"isSubmitted"}),Bt=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(b,2))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]})})(),t})(),Ut=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,10))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]})})(),t})();var C="VALID",w="INVALID",y="PENDING",V="DISABLED";function Ee(t){return(T(t)?t.validators:t)||null}function Ze(t){return Array.isArray(t)?z(t):t||null}function Fe(t,e){return(T(e)?e.asyncValidators:t)||null}function Xe(t){return Array.isArray(t)?Z(t):t||null}function T(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Ye(t,e,n){let i=t.controls;if(!(e?Object.keys(i):i).length)throw new A(1e3,"");if(!i[n])throw new A(1001,"")}function Je(t,e,n){t._forEachChild((i,r)=>{if(n[r]===void 0)throw new A(1002,"")})}var N=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===C}get invalid(){return this.status===w}get pending(){return this.status==y}get disabled(){return this.status===V}get enabled(){return this.status!==V}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(oe(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(oe(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ae(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ae(e,this._rawAsyncValidators))}hasValidator(e){return I(this._rawValidators,e)}hasAsyncValidator(e){return I(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=y,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=V,this.errors=null,this._forEachChild(i=>{i.disable(p(c({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=C,this._forEachChild(i=>{i.enable(p(c({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===C||this.status===y)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?V:C}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=y,this._hasOwnPendingAsyncValidator=!0;let n=ve(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(e,n){let i=n?this.get(n):this;return i&&i.errors?i.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new m,this.statusChanges=new m}_calculateStatus(){return this._allControlsDisabled()?V:this.errors?w:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(y)?y:this._anyControlsHaveStatus(w)?w:C}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){T(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Ze(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Xe(this._rawAsyncValidators)}},P=class extends N{constructor(e,n,i){super(Ee(n),Fe(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,i={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Je(this,!0,e),Object.keys(e).forEach(i=>{Ye(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,i)=>(e[i]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&e(i,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(e,n){let i=e;return this._forEachChild((r,s)=>{i=n(i,r,s)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var j=new g("CallSetDisabledState",{providedIn:"root",factory:()=>X}),X="always";function Ke(t,e){return[...e.path,t]}function x(t,e,n=X){Y(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),et(t,e),it(t,e),tt(t,e),Qe(t,e)}function le(t,e,n=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),G(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function k(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Qe(t,e){if(e.valueAccessor.setDisabledState){let n=i=>{e.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Y(t,e){let n=Ae(t);e.validator!==null?t.setValidators(se(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let i=Me(t);e.asyncValidator!==null?t.setAsyncValidators(se(i,e.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();k(e._rawValidators,r),k(e._rawAsyncValidators,r)}function G(t,e){let n=!1;if(t!==null){if(e.validator!==null){let r=Ae(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.validator);s.length!==r.length&&(n=!0,t.setValidators(s))}}if(e.asyncValidator!==null){let r=Me(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.asyncValidator);s.length!==r.length&&(n=!0,t.setAsyncValidators(s))}}}let i=()=>{};return k(e._rawValidators,i),k(e._rawAsyncValidators,i),n}function et(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&we(t,e)})}function tt(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&we(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function we(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function it(t,e){let n=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Ie(t,e){t==null,Y(t,e)}function nt(t,e){return G(t,e)}function rt(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function st(t){return Object.getPrototypeOf(t.constructor)===Pe}function Se(t,e){t._syncPendingControls(),e.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function ot(t,e){if(!e)return null;Array.isArray(e);let n,i,r;return e.forEach(s=>{s.constructor===pe?n=s:st(s)?i=s:r=s}),r||i||n||null}function at(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var lt={provide:f,useExisting:v(()=>ut)},D=(()=>Promise.resolve())(),ut=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new m,this.form=new P({},z(i),Z(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){D.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),x(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){D.then(()=>{let r=this._findContainer(i.path),s=new P({});Ie(s,i),r.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){D.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,Se(this.form,this._directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([lt]),d]})})(),t})();function ue(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function ce(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Oe=class extends N{constructor(e=null,n,i){super(Ee(n),Fe(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),T(n)&&(n.nonNullable||n.initialValueIsDefault)&&(ce(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ue(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ue(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){ce(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ct=t=>t instanceof Oe;var dt={provide:b,useExisting:v(()=>ht)},de=(()=>Promise.resolve())(),ht=(()=>{let e=class extends b{constructor(i,r,s,a,l,Ne){super(),this._changeDetectorRef=l,this.callSetDisabledState=Ne,this.control=new Oe,this._registered=!1,this.name="",this.update=new m,this._parent=i,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=ot(this,a)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){let r=i.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),rt(i,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){x(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(i){de.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){let r=i.isDisabled.currentValue,s=r!==0&&ne(r);de.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?Ke(i,this._parent):[i]}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,9),o($,10),o(q,10),o(fe,10),o(ie,8),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_([dt]),d,B]})})(),t})();var ft=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({})})(),t})();var pt={provide:f,useExisting:v(()=>gt)},gt=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new m,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(G(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return x(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){le(i.control||null,i,!1),at(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){return this.submitted=!0,Se(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,s=this.form.get(i.path);r!==s&&(le(r||null,i),ct(s)&&(x(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);Ie(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&nt(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&G(this._oldForm,this)}_checkFormPresent(){this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([pt]),d,B]})})(),t})();var mt=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[ft]})})(),t})();var Ht=(()=>{let e=class{static withConfig(i){return{ngModule:e,providers:[{provide:j,useValue:i.callSetDisabledState??X}]}}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[mt]})})(),t})();export{pe as a,re as b,b as c,Bt as d,Ut as e,ut as f,ht as g,gt as h,Ht as i}; diff --git a/chunk-V5CHA6ZC.js b/chunk-ITNV32XJ.js similarity index 96% rename from chunk-V5CHA6ZC.js rename to chunk-ITNV32XJ.js index 5f49179..5d380df 100644 --- a/chunk-V5CHA6ZC.js +++ b/chunk-ITNV32XJ.js @@ -1 +1 @@ -import{a as l}from"./chunk-C6VMUQFT.js";import{Hd as M,Id as s,Ma as c,Md as o,Na as u,Nd as Z,Oa as p,Qb as h,ga as a,jb as d,nd as f,pa as i}from"./chunk-KBDKS3MK.js";import{a as e,b as r}from"./chunk-3J24ZBPC.js";var x=(()=>{let C=class{},t=C;return(()=>{C.\u0275fac=function(n){return new(n||C)}})(),(()=>{C.\u0275cmp=a({type:C,selectors:[["rpl-logo"]],standalone:!0,features:[d],decls:34,vars:0,consts:[["width","192","height","192","viewBox","0 0 192 192","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M25 146C26.1046 146 27 145.105 27 144C27 142.895 26.1046 142 25 142C23.8954 142 23 142.895 23 144C23 145.105 23.8954 146 25 146Z","fill","currentColor"],["d","M37 146C38.1046 146 39 145.105 39 144C39 142.895 38.1046 142 37 142C35.8954 142 35 142.895 35 144C35 145.105 35.8954 146 37 146Z","fill","currentColor"],["d","M49 146C50.1046 146 51 145.105 51 144C51 142.895 50.1046 142 49 142C47.8954 142 47 142.895 47 144C47 145.105 47.8954 146 49 146Z","fill","currentColor"],["d","M61 146C62.1046 146 63 145.105 63 144C63 142.895 62.1046 142 61 142C59.8954 142 59 142.895 59 144C59 145.105 59.8954 146 61 146Z","fill","currentColor"],["d","M73 146C74.1046 146 75 145.105 75 144C75 142.895 74.1046 142 73 142C71.8954 142 71 142.895 71 144C71 145.105 71.8954 146 73 146Z","fill","currentColor"],["d","M85 146C86.1046 146 87 145.105 87 144C87 142.895 86.1046 142 85 142C83.8954 142 83 142.895 83 144C83 145.105 83.8954 146 85 146Z","fill","currentColor"],["d","M97 146C98.1046 146 99 145.105 99 144C99 142.895 98.1046 142 97 142C95.8954 142 95 142.895 95 144C95 145.105 95.8954 146 97 146Z","fill","currentColor"],["d","M31 154C32.1046 154 33 153.105 33 152C33 150.895 32.1046 150 31 150C29.8954 150 29 150.895 29 152C29 153.105 29.8954 154 31 154Z","fill","currentColor"],["d","M43 154C44.1046 154 45 153.105 45 152C45 150.895 44.1046 150 43 150C41.8954 150 41 150.895 41 152C41 153.105 41.8954 154 43 154Z","fill","currentColor"],["d","M55 154C56.1046 154 57 153.105 57 152C57 150.895 56.1046 150 55 150C53.8954 150 53 150.895 53 152C53 153.105 53.8954 154 55 154Z","fill","currentColor"],["d","M67 154C68.1046 154 69 153.105 69 152C69 150.895 68.1046 150 67 150C65.8954 150 65 150.895 65 152C65 153.105 65.8954 154 67 154Z","fill","currentColor"],["d","M79 154C80.1046 154 81 153.105 81 152C81 150.895 80.1046 150 79 150C77.8954 150 77 150.895 77 152C77 153.105 77.8954 154 79 154Z","fill","currentColor"],["d","M91 154C92.1046 154 93 153.105 93 152C93 150.895 92.1046 150 91 150C89.8954 150 89 150.895 89 152C89 153.105 89.8954 154 91 154Z","fill","currentColor"],["d","M37 162C38.1046 162 39 161.105 39 160C39 158.895 38.1046 158 37 158C35.8954 158 35 158.895 35 160C35 161.105 35.8954 162 37 162Z","fill","currentColor"],["d","M49 162C50.1046 162 51 161.105 51 160C51 158.895 50.1046 158 49 158C47.8954 158 47 158.895 47 160C47 161.105 47.8954 162 49 162Z","fill","currentColor"],["d","M61 162C62.1046 162 63 161.105 63 160C63 158.895 62.1046 158 61 158C59.8954 158 59 158.895 59 160C59 161.105 59.8954 162 61 162Z","fill","currentColor"],["d","M73 162C74.1046 162 75 161.105 75 160C75 158.895 74.1046 158 73 158C71.8954 158 71 158.895 71 160C71 161.105 71.8954 162 73 162Z","fill","currentColor"],["d","M85 162C86.1046 162 87 161.105 87 160C87 158.895 86.1046 158 85 158C83.8954 158 83 158.895 83 160C83 161.105 83.8954 162 85 162Z","fill","currentColor"],["d","M97 162C98.1046 162 99 161.105 99 160C99 158.895 98.1046 158 97 158C95.8954 158 95 158.895 95 160C95 161.105 95.8954 162 97 162Z","fill","currentColor"],["d","M43 170C44.1046 170 45 169.105 45 168C45 166.895 44.1046 166 43 166C41.8954 166 41 166.895 41 168C41 169.105 41.8954 170 43 170Z","fill","currentColor"],["d","M55 170C56.1046 170 57 169.105 57 168C57 166.895 56.1046 166 55 166C53.8954 166 53 166.895 53 168C53 169.105 53.8954 170 55 170Z","fill","currentColor"],["d","M67 170C68.1046 170 69 169.105 69 168C69 166.895 68.1046 166 67 166C65.8954 166 65 166.895 65 168C65 169.105 65.8954 170 67 170Z","fill","currentColor"],["d","M79 170C80.1046 170 81 169.105 81 168C81 166.895 80.1046 166 79 166C77.8954 166 77 166.895 77 168C77 169.105 77.8954 170 79 170Z","fill","currentColor"],["d","M91 170C92.1046 170 93 169.105 93 168C93 166.895 92.1046 166 91 166C89.8954 166 89 166.895 89 168C89 169.105 89.8954 170 91 170Z","fill","currentColor"],["d","M103 170C104.105 170 105 169.105 105 168C105 166.895 104.105 166 103 166C101.895 166 101 166.895 101 168C101 169.105 101.895 170 103 170Z","fill","currentColor"],["d","M162 26C163.105 26 164 25.1046 164 24C164 22.8954 163.105 22 162 22C160.895 22 160 22.8954 160 24C160 25.1046 160.895 26 162 26Z","fill","currentColor"],["d","M156 34C157.105 34 158 33.1046 158 32C158 30.8954 157.105 30 156 30C154.895 30 154 30.8954 154 32C154 33.1046 154.895 34 156 34Z","fill","currentColor"],["d","M168 34C169.105 34 170 33.1046 170 32C170 30.8954 169.105 30 168 30C166.895 30 166 30.8954 166 32C166 33.1046 166.895 34 168 34Z","fill","currentColor"],["d","M162 42C163.105 42 164 41.1046 164 40C164 38.8954 163.105 38 162 38C160.895 38 160 38.8954 160 40C160 41.1046 160.895 42 162 42Z","fill","currentColor"],["d","M156 50C157.105 50 158 49.1046 158 48C158 46.8954 157.105 46 156 46C154.895 46 154 46.8954 154 48C154 49.1046 154.895 50 156 50Z","fill","currentColor"],["d","M168 50C169.105 50 170 49.1046 170 48C170 46.8954 169.105 46 168 46C166.895 46 166 46.8954 166 48C166 49.1046 166.895 50 168 50Z","fill","currentColor"],["d","M162 22C156.5 22 154 25 154 30.5V50M162 22C167.5 22 170 25 170 30.5V50H154M162 22H105L44.5 22C39 22 36 25 36 30.5L36.5 142M36.5 142H22C22 153 30 170 45 170H127.5M36.5 142H100C100 153 107.5 170 127.5 170M127.5 170C142.5 170 154 153 154 142V50","stroke","currentColor","stroke-width","4"],["d","M96.636 48.72C104.268 48.72 110.316 50.628 114.78 54.444C119.316 58.26 121.584 63.408 121.584 69.888C121.584 76.584 119.316 81.768 114.78 85.44C110.316 89.04 104.268 90.84 96.636 90.84L95.556 91.488H79.032V120H67.584V48.72H96.636ZM95.772 81.876C100.452 81.876 103.908 80.94 106.14 79.068C108.444 77.124 109.596 74.172 109.596 70.212C109.596 66.324 108.444 63.408 106.14 61.464C103.908 59.52 100.452 58.548 95.772 58.548H79.032V81.876H95.772ZM102.576 84.252L125.796 120H112.512L92.64 88.788L102.576 84.252Z","fill","currentColor"]],template:function(n,y){n&1&&(i(),c(0,"svg",0),p(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33),u())},dependencies:[h,f],styles:["[_nghost-%COMP%]{display:inline-block;aspect-ratio:1/1}svg[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),t})();var g={authorization:null,authenticationStatus:{type:"idle"}},m=Z(g,o(l.authenticate,t=>r(e({},t),{authenticationStatus:{type:"pending"}})),o(l.authenticateCompleted,(t,C)=>r(e({},t),{authorization:C.result.authorization,authenticationStatus:{type:"completed"}})),o(l.authenticateCancelled,t=>r(e({},t),{authenticationStatus:{type:"idle"}})),o(l.authenticateFailed,(t,C)=>r(e({},t),{authenticationStatus:{type:"failed",error:C.error}})),o(l.authenticateExpired,t=>r(e({},t),{authorization:null,authenticationStatus:{type:"idle"}})));var z=s({name:"core",reducer:m,extraSelectors:t=>({selectAuthenticated:M(t.selectAuthenticationStatus,C=>C.type==="completed")})});export{x as a,z as b}; +import{a as l}from"./chunk-FB6BMVSR.js";import{Gd as M,Hd as s,La as c,Ld as o,Ma as u,Md as Z,Na as p,Pb as h,fa as a,ib as d,md as f,oa as i}from"./chunk-VGXZBCX5.js";import{a as e,b as r}from"./chunk-OROYKVKJ.js";var x=(()=>{let C=class{},t=C;return(()=>{C.\u0275fac=function(n){return new(n||C)}})(),(()=>{C.\u0275cmp=a({type:C,selectors:[["rpl-logo"]],standalone:!0,features:[d],decls:34,vars:0,consts:[["width","192","height","192","viewBox","0 0 192 192","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M25 146C26.1046 146 27 145.105 27 144C27 142.895 26.1046 142 25 142C23.8954 142 23 142.895 23 144C23 145.105 23.8954 146 25 146Z","fill","currentColor"],["d","M37 146C38.1046 146 39 145.105 39 144C39 142.895 38.1046 142 37 142C35.8954 142 35 142.895 35 144C35 145.105 35.8954 146 37 146Z","fill","currentColor"],["d","M49 146C50.1046 146 51 145.105 51 144C51 142.895 50.1046 142 49 142C47.8954 142 47 142.895 47 144C47 145.105 47.8954 146 49 146Z","fill","currentColor"],["d","M61 146C62.1046 146 63 145.105 63 144C63 142.895 62.1046 142 61 142C59.8954 142 59 142.895 59 144C59 145.105 59.8954 146 61 146Z","fill","currentColor"],["d","M73 146C74.1046 146 75 145.105 75 144C75 142.895 74.1046 142 73 142C71.8954 142 71 142.895 71 144C71 145.105 71.8954 146 73 146Z","fill","currentColor"],["d","M85 146C86.1046 146 87 145.105 87 144C87 142.895 86.1046 142 85 142C83.8954 142 83 142.895 83 144C83 145.105 83.8954 146 85 146Z","fill","currentColor"],["d","M97 146C98.1046 146 99 145.105 99 144C99 142.895 98.1046 142 97 142C95.8954 142 95 142.895 95 144C95 145.105 95.8954 146 97 146Z","fill","currentColor"],["d","M31 154C32.1046 154 33 153.105 33 152C33 150.895 32.1046 150 31 150C29.8954 150 29 150.895 29 152C29 153.105 29.8954 154 31 154Z","fill","currentColor"],["d","M43 154C44.1046 154 45 153.105 45 152C45 150.895 44.1046 150 43 150C41.8954 150 41 150.895 41 152C41 153.105 41.8954 154 43 154Z","fill","currentColor"],["d","M55 154C56.1046 154 57 153.105 57 152C57 150.895 56.1046 150 55 150C53.8954 150 53 150.895 53 152C53 153.105 53.8954 154 55 154Z","fill","currentColor"],["d","M67 154C68.1046 154 69 153.105 69 152C69 150.895 68.1046 150 67 150C65.8954 150 65 150.895 65 152C65 153.105 65.8954 154 67 154Z","fill","currentColor"],["d","M79 154C80.1046 154 81 153.105 81 152C81 150.895 80.1046 150 79 150C77.8954 150 77 150.895 77 152C77 153.105 77.8954 154 79 154Z","fill","currentColor"],["d","M91 154C92.1046 154 93 153.105 93 152C93 150.895 92.1046 150 91 150C89.8954 150 89 150.895 89 152C89 153.105 89.8954 154 91 154Z","fill","currentColor"],["d","M37 162C38.1046 162 39 161.105 39 160C39 158.895 38.1046 158 37 158C35.8954 158 35 158.895 35 160C35 161.105 35.8954 162 37 162Z","fill","currentColor"],["d","M49 162C50.1046 162 51 161.105 51 160C51 158.895 50.1046 158 49 158C47.8954 158 47 158.895 47 160C47 161.105 47.8954 162 49 162Z","fill","currentColor"],["d","M61 162C62.1046 162 63 161.105 63 160C63 158.895 62.1046 158 61 158C59.8954 158 59 158.895 59 160C59 161.105 59.8954 162 61 162Z","fill","currentColor"],["d","M73 162C74.1046 162 75 161.105 75 160C75 158.895 74.1046 158 73 158C71.8954 158 71 158.895 71 160C71 161.105 71.8954 162 73 162Z","fill","currentColor"],["d","M85 162C86.1046 162 87 161.105 87 160C87 158.895 86.1046 158 85 158C83.8954 158 83 158.895 83 160C83 161.105 83.8954 162 85 162Z","fill","currentColor"],["d","M97 162C98.1046 162 99 161.105 99 160C99 158.895 98.1046 158 97 158C95.8954 158 95 158.895 95 160C95 161.105 95.8954 162 97 162Z","fill","currentColor"],["d","M43 170C44.1046 170 45 169.105 45 168C45 166.895 44.1046 166 43 166C41.8954 166 41 166.895 41 168C41 169.105 41.8954 170 43 170Z","fill","currentColor"],["d","M55 170C56.1046 170 57 169.105 57 168C57 166.895 56.1046 166 55 166C53.8954 166 53 166.895 53 168C53 169.105 53.8954 170 55 170Z","fill","currentColor"],["d","M67 170C68.1046 170 69 169.105 69 168C69 166.895 68.1046 166 67 166C65.8954 166 65 166.895 65 168C65 169.105 65.8954 170 67 170Z","fill","currentColor"],["d","M79 170C80.1046 170 81 169.105 81 168C81 166.895 80.1046 166 79 166C77.8954 166 77 166.895 77 168C77 169.105 77.8954 170 79 170Z","fill","currentColor"],["d","M91 170C92.1046 170 93 169.105 93 168C93 166.895 92.1046 166 91 166C89.8954 166 89 166.895 89 168C89 169.105 89.8954 170 91 170Z","fill","currentColor"],["d","M103 170C104.105 170 105 169.105 105 168C105 166.895 104.105 166 103 166C101.895 166 101 166.895 101 168C101 169.105 101.895 170 103 170Z","fill","currentColor"],["d","M162 26C163.105 26 164 25.1046 164 24C164 22.8954 163.105 22 162 22C160.895 22 160 22.8954 160 24C160 25.1046 160.895 26 162 26Z","fill","currentColor"],["d","M156 34C157.105 34 158 33.1046 158 32C158 30.8954 157.105 30 156 30C154.895 30 154 30.8954 154 32C154 33.1046 154.895 34 156 34Z","fill","currentColor"],["d","M168 34C169.105 34 170 33.1046 170 32C170 30.8954 169.105 30 168 30C166.895 30 166 30.8954 166 32C166 33.1046 166.895 34 168 34Z","fill","currentColor"],["d","M162 42C163.105 42 164 41.1046 164 40C164 38.8954 163.105 38 162 38C160.895 38 160 38.8954 160 40C160 41.1046 160.895 42 162 42Z","fill","currentColor"],["d","M156 50C157.105 50 158 49.1046 158 48C158 46.8954 157.105 46 156 46C154.895 46 154 46.8954 154 48C154 49.1046 154.895 50 156 50Z","fill","currentColor"],["d","M168 50C169.105 50 170 49.1046 170 48C170 46.8954 169.105 46 168 46C166.895 46 166 46.8954 166 48C166 49.1046 166.895 50 168 50Z","fill","currentColor"],["d","M162 22C156.5 22 154 25 154 30.5V50M162 22C167.5 22 170 25 170 30.5V50H154M162 22H105L44.5 22C39 22 36 25 36 30.5L36.5 142M36.5 142H22C22 153 30 170 45 170H127.5M36.5 142H100C100 153 107.5 170 127.5 170M127.5 170C142.5 170 154 153 154 142V50","stroke","currentColor","stroke-width","4"],["d","M96.636 48.72C104.268 48.72 110.316 50.628 114.78 54.444C119.316 58.26 121.584 63.408 121.584 69.888C121.584 76.584 119.316 81.768 114.78 85.44C110.316 89.04 104.268 90.84 96.636 90.84L95.556 91.488H79.032V120H67.584V48.72H96.636ZM95.772 81.876C100.452 81.876 103.908 80.94 106.14 79.068C108.444 77.124 109.596 74.172 109.596 70.212C109.596 66.324 108.444 63.408 106.14 61.464C103.908 59.52 100.452 58.548 95.772 58.548H79.032V81.876H95.772ZM102.576 84.252L125.796 120H112.512L92.64 88.788L102.576 84.252Z","fill","currentColor"]],template:function(n,y){n&1&&(i(),c(0,"svg",0),p(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33),u())},dependencies:[h,f],styles:["[_nghost-%COMP%]{display:inline-block;aspect-ratio:1/1}svg[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),t})();var g={authorization:null,authenticationStatus:{type:"idle"}},m=Z(g,o(l.authenticate,t=>r(e({},t),{authenticationStatus:{type:"pending"}})),o(l.authenticateCompleted,(t,C)=>r(e({},t),{authorization:C.result.authorization,authenticationStatus:{type:"completed"}})),o(l.authenticateCancelled,t=>r(e({},t),{authenticationStatus:{type:"idle"}})),o(l.authenticateFailed,(t,C)=>r(e({},t),{authenticationStatus:{type:"failed",error:C.error}})),o(l.authenticateExpired,t=>r(e({},t),{authorization:null,authenticationStatus:{type:"idle"}})));var z=s({name:"core",reducer:m,extraSelectors:t=>({selectAuthenticated:M(t.selectAuthenticationStatus,C=>C.type==="completed")})});export{x as a,z as b}; diff --git a/chunk-HDMEYBD3.js b/chunk-JYLXIIJ3.js similarity index 98% rename from chunk-HDMEYBD3.js rename to chunk-JYLXIIJ3.js index 0552b77..d92defe 100644 --- a/chunk-HDMEYBD3.js +++ b/chunk-JYLXIIJ3.js @@ -1 +1 @@ -import{Ab as A,Ac as Pt,Bb as Et,Bc as J,Da as Y,Dc as Q,Ea as m,F as _t,Fb as b,Ga as wt,Gb as Ct,Hd as Dt,Id as Mt,Md as X,Nd as At,Xb as N,Y as gt,Z as mt,Zb as xt,Zd as Bt,_d as Ft,a as x,ac as U,bc as K,ca as C,cc as St,d as S,da as L,dc as R,ea as f,fc as q,gc as p,ha as I,ia as M,ma as vt,qb as w,sb as $,ta as yt,tb as T,vd as tt,wa as bt,wd as Ot,x as pt,xc as G,xd as Rt,ya as j,yc as kt,z as ut,za as O}from"./chunk-KBDKS3MK.js";import{a as y,b as P}from"./chunk-3J24ZBPC.js";var B=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},et=class extends B{constructor(t,s,e,i,o){super(),this.component=t,this.viewContainerRef=s,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},F=class extends B{constructor(t,s,e,i){super(),this.templateRef=t,this.viewContainerRef=s,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,s=this.context){return this.context=s,super.attach(t)}detach(){return this.context=void 0,super.detach()}},it=class extends B{constructor(t){super(),this.element=t instanceof O?t.nativeElement:t}},H=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof et)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof F)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof it)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var V=class extends H{constructor(t,s,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=s,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");a.parentNode.insertBefore(h,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||Y.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let s=t.viewContainerRef,e=s.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=s.indexOf(e);i!==-1&&s.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var pe=(()=>{let t=class extends H{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new w,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(h,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(m(j),m(T),m(b))}})(),(()=>{t.\u0275dir=M({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[wt]})})(),n})();var Lt=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=I({type:t})})(),(()=>{t.\u0275inj=L({})})(),n})();var It=xt(),st=class{constructor(t,s){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=p(-this._previousScrollPosition.left),t.style.top=p(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,s=this._document.body,e=t.style,i=s.style,o=e.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),It&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),It&&(e.scrollBehavior=o,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,e=this._viewportRuler.getViewportSize();return s.scrollHeight>e.height||s.scrollWidth>e.width}};var ot=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._ngZone=s,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(ut(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},W=class{enable(){}disable(){}attach(){}};function nt(n,t){return t.some(s=>{let e=n.bottoms.bottom,o=n.rights.right;return e||i||o||r})}function jt(n,t){return t.some(s=>{let e=n.tops.bottom,o=n.lefts.right;return e||i||o||r})}var rt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._viewportRuler=s,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();nt(s,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Ut=(()=>{let t=class{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new W,this.close=a=>new ot(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new st(this._viewportRuler,this._document),this.reposition=a=>new rt(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(Pt),f(J),f(A),f(b))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),z=class{constructor(t){if(this.scrollStrategy=new W,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let s=Object.keys(t);for(let e of s)t[e]!==void 0&&(this[e]=t[e])}}};var at=class{constructor(t,s){this.connectionPair=t,this.scrollableViewProperties=s}};var Ht=(()=>{let t=class{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(b))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Kt=(()=>{let t=class extends Ht{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){let h=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(b),f(A,8))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),qt=(()=>{let t=class extends Ht{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=U(r)},this._clickListener=r=>{let a=U(r),h=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(h))break;let g=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(r)):g.next(r)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(b),f(N),f(A,8))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Vt=(()=>{let t=class{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||K()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{t.\u0275fac=function(i){return new(i||t)(f(b),f(N))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),ht=class{constructor(t,s,e,i,o,r,a,h,c,l=!1){this._portalOutlet=t,this._host=s,this._pane=e,this._config=i,this._ngZone=o,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=c,this._animationsDisabled=l,this._backdropElement=null,this._backdropClick=new S,this._attachments=new S,this._detachments=new S,this._locationChanges=x.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new S,this._outsidePointerEvents=new S,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(_t(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=y(y({},this._config),t),this._updateElementSize()}setDirection(t){this._config=P(y({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=p(this._config.width),t.height=p(this._config.height),t.minWidth=p(this._config.minWidth),t.minHeight=p(this._config.minHeight),t.maxWidth=p(this._config.maxWidth),t.maxHeight=p(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,s,e){let i=q(s||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(gt(pt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Yt="cdk-overlay-connected-position-bounding-box",Gt=/([A-Za-z%]+)$/,lt=class{get positions(){return this._preferredPositions}constructor(t,s,e,i,o){this._viewportRuler=s,this._document=e,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new S,this._resizeSubscription=x.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Yt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,s=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(t,i,a),c=this._getOverlayPoint(h,s,a),l=this._getOverlayFit(c,s,e,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,c,e)){o.push({position:a,origin:h,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=l,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&k(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Yt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,s)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,s,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let r=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?r:a}s.left<0&&(i-=s.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,s.top<0&&(o-=s.top),{x:i,y:o}}_getOverlayPoint(t,s,e){let i;e.overlayX=="center"?i=-s.width/2:e.overlayX==="start"?i=this._isRtl()?-s.width:0:i=this._isRtl()?0:-s.width;let o;return e.overlayY=="center"?o=-s.height/2:o=e.overlayY=="top"?0:-s.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,s,e,i){let o=Nt(s),{x:r,y:a}=t,h=this._getOffset(i,"x"),c=this._getOffset(i,"y");h&&(r+=h),c&&(a+=c);let l=0-r,d=r+o.width-e.width,g=0-a,_=a+o.height-e.height,u=this._subtractOverflows(o.width,l,d),v=this._subtractOverflows(o.height,g,_),ft=u*v;return{visibleArea:ft,isCompletelyWithinViewport:o.width*o.height===ft,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:u==o.width}}_canFitWithFlexibleDimensions(t,s,e){if(this._hasFlexibleDimensions){let i=e.bottom-s.y,o=e.right-s.x,r=Tt(this._overlayRef.getConfig().minHeight),a=Tt(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportVertically||r!=null&&r<=i,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return h&&c}return!1}_pushOverlayOnScreen(t,s,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Nt(s),o=this._viewportRect,r=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),h=Math.max(o.top-e.top-t.y,0),c=Math.max(o.left-e.left-t.x,0),l=0,d=0;return i.width<=o.width?l=c||-r:l=t.xu&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-u/2)}let h=s.overlayX==="start"&&!i||s.overlayX==="end"&&i,c=s.overlayX==="end"&&!i||s.overlayX==="start"&&i,l,d,g;if(c)g=e.width-t.x+this._viewportMargin,l=t.x-this._viewportMargin;else if(h)d=t.x,l=e.right-t.x;else{let _=Math.min(e.right-t.x+e.left,t.x),u=this._lastBoundingBoxSize.width;l=_*2,d=t.x-_,l>u&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-u/2)}return{top:r,left:d,bottom:a,right:g,width:l,height:o}}_setBoundingBoxStyles(t,s){let e=this._calculateBoundingBoxRect(t,s);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=p(e.height),i.top=p(e.top),i.bottom=p(e.bottom),i.width=p(e.width),i.left=p(e.left),i.right=p(e.right),s.overlayX==="center"?i.alignItems="center":i.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?i.justifyContent="center":i.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=p(o)),r&&(i.maxWidth=p(r))}this._lastBoundingBoxSize=e,k(this._boundingBox.style,i)}_resetBoundingBoxStyles(){k(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){k(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,s){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let l=this._viewportRuler.getViewportScrollPosition();k(e,this._getExactOverlayY(s,t,l)),k(e,this._getExactOverlayX(s,t,l))}else e.position="static";let a="",h=this._getOffset(s,"x"),c=this._getOffset(s,"y");h&&(a+=`translateX(${h}px) `),c&&(a+=`translateY(${c}px)`),e.transform=a.trim(),r.maxHeight&&(i?e.maxHeight=p(r.maxHeight):o&&(e.maxHeight="")),r.maxWidth&&(i?e.maxWidth=p(r.maxWidth):o&&(e.maxWidth="")),k(this._pane.style,e)}_getExactOverlayY(t,s,e){let i={top:"",bottom:""},o=this._getOverlayPoint(s,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(o.y+this._overlayRect.height)}px`}else i.top=p(o.y);return i}_getExactOverlayX(t,s,e){let i={left:"",right:""},o=this._getOverlayPoint(s,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=p(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),s=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:jt(t,e),isOriginOutsideView:nt(t,e),isOverlayClipped:jt(s,e),isOverlayOutsideView:nt(s,e)}}_subtractOverflows(t,...s){return s.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+s-this._viewportMargin,width:t-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,s){return s==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&q(t).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof O)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let s=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+s,height:e,width:s}}};function k(n,t){for(let s in t)t.hasOwnProperty(s)&&(n[s]=t[s]);return n}function Tt(n){if(typeof n!="number"&&n!=null){let[t,s]=n.split(Gt);return!s||s==="px"?parseFloat(t):null}return n||null}function Nt(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}var Xt="cdk-global-overlay-wrapper",ct=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let s=t.getConfig();this._overlayRef=t,this._width&&!s.width&&t.updateSize({width:this._width}),this._height&&!s.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Xt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:r,maxHeight:a}=e,h=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,d=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",_="",u="",v="";h?v="flex-start":l==="center"?(v="center",g?u=d:_=d):g?l==="left"||l==="end"?(v="flex-end",_=d):(l==="right"||l==="start")&&(v="flex-start",u=d):l==="left"||l==="start"?(v="flex-start",_=d):(l==="right"||l==="end")&&(v="flex-end",u=d),t.position=this._cssPosition,t.marginLeft=h?"0":_,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":u,s.justifyContent=v,s.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,e=s.style;s.classList.remove(Xt),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Jt=(()=>{let t=class{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new ct}flexibleConnectedTo(e){return new lt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(J),f(b),f(N),f(Vt))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Qt=0,dt=(()=>{let t=class{constructor(e,i,o,r,a,h,c,l,d,g,_,u){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=h,this._ngZone=c,this._document=l,this._directionality=d,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=u}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),a=new z(e);return a.direction=a.direction||this._directionality.value,new ht(r,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Qt++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Et)),new V(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(Ut),f(Vt),f(j),f(Jt),f(Kt),f(Y),f(A),f(b),f(G),f(Ct),f(qt),f(bt,8))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),te=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Wt=new yt("cdk-connected-overlay-scroll-strategy"),ee=(()=>{let t=class{constructor(e){this.elementRef=e}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(m(O))}})(),(()=>{t.\u0275dir=M({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})})(),n})(),Ie=(()=>{let t=class{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=R(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=R(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=R(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=R(e)}get push(){return this._push}set push(e){this._push=R(e)}constructor(e,i,o,r,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=x.EMPTY,this._attachSubscription=x.EMPTY,this._detachSubscription=x.EMPTY,this._positionSubscription=x.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new w,this.positionChange=new w,this.attach=new w,this.detach=new w,this.overlayKeydown=new w,this.overlayOutsideClick=new w,this._templatePortal=new F(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=te);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!St(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new z({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ee?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(mt(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(m(dt),m($),m(T),m(Wt),m(G,8))}})(),(()=>{t.\u0275dir=M({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[vt]})})(),n})();function ie(n){return()=>n.scrollStrategies.reposition()}var se={provide:Wt,deps:[dt],useFactory:ie},je=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=I({type:t})})(),(()=>{t.\u0275inj=L({providers:[dt,se],imports:[kt,Lt,Q,Q]})})(),n})();var E=(()=>(E=E||{},E.Inbox="Inbox",E.Trash="Trash",E.Spam="Spam",E))(),D=(()=>(D=D||{},D.Starred="Starred",D.Sent="Sent",D.Drafts="Drafts",D))();var Z=Ot({source:"mailbox",events:y({},Bt({name:"loadMailboxes",params:Rt(),events:{completed:tt(),failed:tt()}}))});var oe={mailboxes:new Ft(n=>n.id),mailboxesLoadingStatus:{type:"idle"}},zt=At(oe,X(Z.loadMailboxes,n=>P(y({},n),{mailboxesLoadingStatus:{type:"pending"}})),X(Z.loadMailboxesCompleted,(n,t)=>P(y({},n),{mailboxes:n.mailboxes.upsert(...t.result),mailboxesLoadingStatus:{type:"completed"}})),X(Z.loadMailboxesFailed,(n,t)=>P(y({},n),{mailboxesLoadingStatus:{type:"failed",error:t.error}})));var Qe=Mt({name:"mailbox",reducer:zt,extraSelectors:n=>({selectSystemMailboxesIndexedByName:Dt(n.selectMailboxes,t=>{let s=Object.values(E),e=t.query(o=>s.includes(o.name)),i={};for(let o of Object.values(E)){let r=e.find(a=>a.name===o);if(!r)throw new Error(`Missing mailbox "${o}"`);i[o]=r}return i})})});export{et as a,F as b,H as c,pe as d,Lt as e,z as f,Vt as g,ht as h,dt as i,ee as j,Ie as k,je as l,E as m,D as n,Z as o,Qe as p}; +import{$b as U,Ab as Et,Ac as J,Ca as Y,Cc as Q,Da as m,E as _t,Eb as b,Fa as wt,Fb as Ct,Gd as Dt,Hd as Mt,Ld as X,Md as At,Wb as N,X as gt,Y as mt,Yb as xt,Yd as Bt,Zd as Ft,a as x,ac as K,ba as C,bc as St,ca as L,cc as R,d as S,da as f,ec as q,fc as p,ga as I,ha as M,la as vt,pb as w,rb as $,sa as yt,sb as T,ud as tt,va as bt,vd as Ot,wc as G,wd as Rt,x as pt,xa as j,xc as kt,ya as O,z as ut,zb as A,zc as Pt}from"./chunk-VGXZBCX5.js";import{a as y,b as P}from"./chunk-OROYKVKJ.js";var B=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},et=class extends B{constructor(t,s,e,i,o){super(),this.component=t,this.viewContainerRef=s,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},F=class extends B{constructor(t,s,e,i){super(),this.templateRef=t,this.viewContainerRef=s,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,s=this.context){return this.context=s,super.attach(t)}detach(){return this.context=void 0,super.detach()}},it=class extends B{constructor(t){super(),this.element=t instanceof O?t.nativeElement:t}},H=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof et)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof F)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof it)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var V=class extends H{constructor(t,s,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=s,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");a.parentNode.insertBefore(h,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||Y.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let s=t.viewContainerRef,e=s.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=s.indexOf(e);i!==-1&&s.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var pe=(()=>{let t=class extends H{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new w,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(h,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(m(j),m(T),m(b))}})(),(()=>{t.\u0275dir=M({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[wt]})})(),n})();var Lt=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=I({type:t})})(),(()=>{t.\u0275inj=L({})})(),n})();var It=xt(),st=class{constructor(t,s){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=p(-this._previousScrollPosition.left),t.style.top=p(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,s=this._document.body,e=t.style,i=s.style,o=e.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),It&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),It&&(e.scrollBehavior=o,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,e=this._viewportRuler.getViewportSize();return s.scrollHeight>e.height||s.scrollWidth>e.width}};var ot=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._ngZone=s,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(ut(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},W=class{enable(){}disable(){}attach(){}};function nt(n,t){return t.some(s=>{let e=n.bottoms.bottom,o=n.rights.right;return e||i||o||r})}function jt(n,t){return t.some(s=>{let e=n.tops.bottom,o=n.lefts.right;return e||i||o||r})}var rt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._viewportRuler=s,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();nt(s,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Ut=(()=>{let t=class{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new W,this.close=a=>new ot(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new st(this._viewportRuler,this._document),this.reposition=a=>new rt(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(Pt),f(J),f(A),f(b))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),z=class{constructor(t){if(this.scrollStrategy=new W,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let s=Object.keys(t);for(let e of s)t[e]!==void 0&&(this[e]=t[e])}}};var at=class{constructor(t,s){this.connectionPair=t,this.scrollableViewProperties=s}};var Ht=(()=>{let t=class{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(b))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Kt=(()=>{let t=class extends Ht{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){let h=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(b),f(A,8))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),qt=(()=>{let t=class extends Ht{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=U(r)},this._clickListener=r=>{let a=U(r),h=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(h))break;let g=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(r)):g.next(r)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(b),f(N),f(A,8))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Vt=(()=>{let t=class{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||K()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{t.\u0275fac=function(i){return new(i||t)(f(b),f(N))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),ht=class{constructor(t,s,e,i,o,r,a,h,c,l=!1){this._portalOutlet=t,this._host=s,this._pane=e,this._config=i,this._ngZone=o,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=c,this._animationsDisabled=l,this._backdropElement=null,this._backdropClick=new S,this._attachments=new S,this._detachments=new S,this._locationChanges=x.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new S,this._outsidePointerEvents=new S,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(_t(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=y(y({},this._config),t),this._updateElementSize()}setDirection(t){this._config=P(y({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=p(this._config.width),t.height=p(this._config.height),t.minWidth=p(this._config.minWidth),t.minHeight=p(this._config.minHeight),t.maxWidth=p(this._config.maxWidth),t.maxHeight=p(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,s,e){let i=q(s||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(gt(pt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Yt="cdk-overlay-connected-position-bounding-box",Gt=/([A-Za-z%]+)$/,lt=class{get positions(){return this._preferredPositions}constructor(t,s,e,i,o){this._viewportRuler=s,this._document=e,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new S,this._resizeSubscription=x.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Yt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,s=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(t,i,a),c=this._getOverlayPoint(h,s,a),l=this._getOverlayFit(c,s,e,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,c,e)){o.push({position:a,origin:h,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=l,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&k(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Yt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,s)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,s,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let r=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?r:a}s.left<0&&(i-=s.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,s.top<0&&(o-=s.top),{x:i,y:o}}_getOverlayPoint(t,s,e){let i;e.overlayX=="center"?i=-s.width/2:e.overlayX==="start"?i=this._isRtl()?-s.width:0:i=this._isRtl()?0:-s.width;let o;return e.overlayY=="center"?o=-s.height/2:o=e.overlayY=="top"?0:-s.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,s,e,i){let o=Nt(s),{x:r,y:a}=t,h=this._getOffset(i,"x"),c=this._getOffset(i,"y");h&&(r+=h),c&&(a+=c);let l=0-r,d=r+o.width-e.width,g=0-a,_=a+o.height-e.height,u=this._subtractOverflows(o.width,l,d),v=this._subtractOverflows(o.height,g,_),ft=u*v;return{visibleArea:ft,isCompletelyWithinViewport:o.width*o.height===ft,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:u==o.width}}_canFitWithFlexibleDimensions(t,s,e){if(this._hasFlexibleDimensions){let i=e.bottom-s.y,o=e.right-s.x,r=Tt(this._overlayRef.getConfig().minHeight),a=Tt(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportVertically||r!=null&&r<=i,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return h&&c}return!1}_pushOverlayOnScreen(t,s,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Nt(s),o=this._viewportRect,r=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),h=Math.max(o.top-e.top-t.y,0),c=Math.max(o.left-e.left-t.x,0),l=0,d=0;return i.width<=o.width?l=c||-r:l=t.xu&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-u/2)}let h=s.overlayX==="start"&&!i||s.overlayX==="end"&&i,c=s.overlayX==="end"&&!i||s.overlayX==="start"&&i,l,d,g;if(c)g=e.width-t.x+this._viewportMargin,l=t.x-this._viewportMargin;else if(h)d=t.x,l=e.right-t.x;else{let _=Math.min(e.right-t.x+e.left,t.x),u=this._lastBoundingBoxSize.width;l=_*2,d=t.x-_,l>u&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-u/2)}return{top:r,left:d,bottom:a,right:g,width:l,height:o}}_setBoundingBoxStyles(t,s){let e=this._calculateBoundingBoxRect(t,s);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=p(e.height),i.top=p(e.top),i.bottom=p(e.bottom),i.width=p(e.width),i.left=p(e.left),i.right=p(e.right),s.overlayX==="center"?i.alignItems="center":i.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?i.justifyContent="center":i.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=p(o)),r&&(i.maxWidth=p(r))}this._lastBoundingBoxSize=e,k(this._boundingBox.style,i)}_resetBoundingBoxStyles(){k(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){k(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,s){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let l=this._viewportRuler.getViewportScrollPosition();k(e,this._getExactOverlayY(s,t,l)),k(e,this._getExactOverlayX(s,t,l))}else e.position="static";let a="",h=this._getOffset(s,"x"),c=this._getOffset(s,"y");h&&(a+=`translateX(${h}px) `),c&&(a+=`translateY(${c}px)`),e.transform=a.trim(),r.maxHeight&&(i?e.maxHeight=p(r.maxHeight):o&&(e.maxHeight="")),r.maxWidth&&(i?e.maxWidth=p(r.maxWidth):o&&(e.maxWidth="")),k(this._pane.style,e)}_getExactOverlayY(t,s,e){let i={top:"",bottom:""},o=this._getOverlayPoint(s,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(o.y+this._overlayRect.height)}px`}else i.top=p(o.y);return i}_getExactOverlayX(t,s,e){let i={left:"",right:""},o=this._getOverlayPoint(s,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=p(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),s=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:jt(t,e),isOriginOutsideView:nt(t,e),isOverlayClipped:jt(s,e),isOverlayOutsideView:nt(s,e)}}_subtractOverflows(t,...s){return s.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+s-this._viewportMargin,width:t-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,s){return s==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&q(t).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof O)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let s=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+s,height:e,width:s}}};function k(n,t){for(let s in t)t.hasOwnProperty(s)&&(n[s]=t[s]);return n}function Tt(n){if(typeof n!="number"&&n!=null){let[t,s]=n.split(Gt);return!s||s==="px"?parseFloat(t):null}return n||null}function Nt(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}var Xt="cdk-global-overlay-wrapper",ct=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let s=t.getConfig();this._overlayRef=t,this._width&&!s.width&&t.updateSize({width:this._width}),this._height&&!s.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Xt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:r,maxHeight:a}=e,h=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,d=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",_="",u="",v="";h?v="flex-start":l==="center"?(v="center",g?u=d:_=d):g?l==="left"||l==="end"?(v="flex-end",_=d):(l==="right"||l==="start")&&(v="flex-start",u=d):l==="left"||l==="start"?(v="flex-start",_=d):(l==="right"||l==="end")&&(v="flex-end",u=d),t.position=this._cssPosition,t.marginLeft=h?"0":_,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":u,s.justifyContent=v,s.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,e=s.style;s.classList.remove(Xt),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Jt=(()=>{let t=class{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new ct}flexibleConnectedTo(e){return new lt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(J),f(b),f(N),f(Vt))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Qt=0,dt=(()=>{let t=class{constructor(e,i,o,r,a,h,c,l,d,g,_,u){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=h,this._ngZone=c,this._document=l,this._directionality=d,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=u}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),a=new z(e);return a.direction=a.direction||this._directionality.value,new ht(r,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Qt++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Et)),new V(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(f(Ut),f(Vt),f(j),f(Jt),f(Kt),f(Y),f(A),f(b),f(G),f(Ct),f(qt),f(bt,8))}})(),(()=>{t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),te=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Wt=new yt("cdk-connected-overlay-scroll-strategy"),ee=(()=>{let t=class{constructor(e){this.elementRef=e}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(m(O))}})(),(()=>{t.\u0275dir=M({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})})(),n})(),Ie=(()=>{let t=class{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=R(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=R(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=R(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=R(e)}get push(){return this._push}set push(e){this._push=R(e)}constructor(e,i,o,r,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=x.EMPTY,this._attachSubscription=x.EMPTY,this._detachSubscription=x.EMPTY,this._positionSubscription=x.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new w,this.positionChange=new w,this.attach=new w,this.detach=new w,this.overlayKeydown=new w,this.overlayOutsideClick=new w,this._templatePortal=new F(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=te);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!St(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new z({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ee?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(mt(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(m(dt),m($),m(T),m(Wt),m(G,8))}})(),(()=>{t.\u0275dir=M({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[vt]})})(),n})();function ie(n){return()=>n.scrollStrategies.reposition()}var se={provide:Wt,deps:[dt],useFactory:ie},je=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=I({type:t})})(),(()=>{t.\u0275inj=L({providers:[dt,se],imports:[kt,Lt,Q,Q]})})(),n})();var E=(()=>(E=E||{},E.Inbox="Inbox",E.Trash="Trash",E.Spam="Spam",E))(),D=(()=>(D=D||{},D.Starred="Starred",D.Sent="Sent",D.Drafts="Drafts",D))();var Z=Ot({source:"mailbox",events:y({},Bt({name:"loadMailboxes",params:Rt(),events:{completed:tt(),failed:tt()}}))});var oe={mailboxes:new Ft(n=>n.id),mailboxesLoadingStatus:{type:"idle"}},zt=At(oe,X(Z.loadMailboxes,n=>P(y({},n),{mailboxesLoadingStatus:{type:"pending"}})),X(Z.loadMailboxesCompleted,(n,t)=>P(y({},n),{mailboxes:n.mailboxes.upsert(...t.result),mailboxesLoadingStatus:{type:"completed"}})),X(Z.loadMailboxesFailed,(n,t)=>P(y({},n),{mailboxesLoadingStatus:{type:"failed",error:t.error}})));var Qe=Mt({name:"mailbox",reducer:zt,extraSelectors:n=>({selectSystemMailboxesIndexedByName:Dt(n.selectMailboxes,t=>{let s=Object.values(E),e=t.query(o=>s.includes(o.name)),i={};for(let o of Object.values(E)){let r=e.find(a=>a.name===o);if(!r)throw new Error(`Missing mailbox "${o}"`);i[o]=r}return i})})});export{et as a,F as b,H as c,pe as d,Lt as e,z as f,Vt as g,ht as h,dt as i,ee as j,Ie as k,je as l,E as m,D as n,Z as o,Qe as p}; diff --git a/chunk-CQOBEFKW.js b/chunk-MOR4BE3D.js similarity index 81% rename from chunk-CQOBEFKW.js rename to chunk-MOR4BE3D.js index c3f2682..9d983d6 100644 --- a/chunk-CQOBEFKW.js +++ b/chunk-MOR4BE3D.js @@ -1 +1 @@ -import{a as u}from"./chunk-C6VMUQFT.js";import{Hd as l,Id as p,Md as r,Nd as d,Zd as m,_d as A,vd as a,wd as s,xd as i}from"./chunk-KBDKS3MK.js";import{a as o,b as c}from"./chunk-3J24ZBPC.js";var n=s({source:"account",events:o({},m({name:"loadAccounts",params:i(),events:{completed:a(),failed:a()}}))});var f={currentId:null,accounts:new A(t=>t.id),accountsLoadingStatus:{type:"idle"}},C=d(f,r(u.authenticateCompleted,(t,e)=>c(o({},t),{currentId:e.result.account.id,accounts:t.accounts.upsert(e.result.account)})),r(u.authenticateExpired,t=>c(o({},t),{currentId:null})),r(n.loadAccounts,t=>c(o({},t),{accountsLoadingStatus:{type:"pending"}})),r(n.loadAccountsCompleted,(t,e)=>c(o({},t),{accounts:t.accounts.upsert(...e.result),accountsLoadingStatus:{type:"completed"}})),r(n.loadAccountsFailed,(t,e)=>c(o({},t),{accountsLoadingStatus:{type:"failed",error:e.error}})));var R=p({name:"account",reducer:C,extraSelectors:t=>({selectCurrent:l(t.selectCurrentId,t.selectAccounts,(e,S)=>e?S.retrieve(e):null)})});export{n as a,R as b}; +import{a as u}from"./chunk-FB6BMVSR.js";import{Gd as l,Hd as p,Ld as r,Md as d,Yd as m,Zd as A,ud as a,vd as s,wd as i}from"./chunk-VGXZBCX5.js";import{a as o,b as c}from"./chunk-OROYKVKJ.js";var n=s({source:"account",events:o({},m({name:"loadAccounts",params:i(),events:{completed:a(),failed:a()}}))});var f={currentId:null,accounts:new A(t=>t.id),accountsLoadingStatus:{type:"idle"}},C=d(f,r(u.authenticateCompleted,(t,e)=>c(o({},t),{currentId:e.result.account.id,accounts:t.accounts.upsert(e.result.account)})),r(u.authenticateExpired,t=>c(o({},t),{currentId:null})),r(n.loadAccounts,t=>c(o({},t),{accountsLoadingStatus:{type:"pending"}})),r(n.loadAccountsCompleted,(t,e)=>c(o({},t),{accounts:t.accounts.upsert(...e.result),accountsLoadingStatus:{type:"completed"}})),r(n.loadAccountsFailed,(t,e)=>c(o({},t),{accountsLoadingStatus:{type:"failed",error:e.error}})));var R=p({name:"account",reducer:C,extraSelectors:t=>({selectCurrent:l(t.selectCurrentId,t.selectAccounts,(e,S)=>e?S.retrieve(e):null)})});export{n as a,R as b}; diff --git a/chunk-3XARSZJN.js b/chunk-MXV4FMBH.js similarity index 98% rename from chunk-3XARSZJN.js rename to chunk-MXV4FMBH.js index ca668ed..950031e 100644 --- a/chunk-3XARSZJN.js +++ b/chunk-MXV4FMBH.js @@ -1 +1 @@ -import{Da as ke,Ea as g,Fc as $,Ga as Kt,Gc as Qt,Hc as v,Kc as lt,M as De,Mc as Xt,N as Ce,Nc as A,Qc as z,Rd as qe,U as _e,V as Ae,W as Ne,X as jt,_ as St,b as Me,c as Ee,ca as at,da as Be,e as Ot,ea as ct,fa as j,ha as Pe,i as Re,ia as P,ib as Jt,jc as ze,l as Gt,p as It,qb as Zt,sb as Ve,ta as Tt,tb as Ue,td as He,z as Fe,za as $e}from"./chunk-KBDKS3MK.js";import{a as D,b as it,f as c,g as wt,h as Se,i as Te}from"./chunk-3J24ZBPC.js";function Mt(t,e){var o={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(t);nMath.min(Math.max(o,t),e);var te=.001,$r=.01,Le=10,kr=.05,Vr=1;function Ye({duration:t=800,bounce:e=.25,velocity:o=0,mass:r=1}){let n,s;Et(t<=Le*1e3,"Spring duration must be 10 seconds or less");let i=1-e;i=pt(kr,Vr,i),t=pt($r,Le,t/1e3),i<1?(n=p=>{let f=p*i,u=f*t,O=f-o,M=Rt(p,i),F=Math.exp(-u);return te-O/M*F},s=p=>{let u=p*i*t,O=u*o+o,M=Math.pow(i,2)*Math.pow(p,2)*t,F=Math.exp(-u),_=Rt(Math.pow(p,2),i);return(-n(p)+te>0?-1:1)*((O-M)*F)/_}):(n=p=>{let f=Math.exp(-p*t),u=(p-o)*t+1;return-te+f*u},s=p=>{let f=Math.exp(-p*t),u=(o-p)*(t*t);return f*u});let a=5/t,l=zr(n,s,a);if(t=t*1e3,isNaN(l))return{stiffness:100,damping:10,duration:t};{let p=Math.pow(l,2)*r;return{stiffness:p,damping:i*2*Math.sqrt(r*p),duration:t}}}var Ur=12;function zr(t,e,o){let r=o;for(let n=1;nt[o]!==void 0)}function Lr(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!We(t,qr)&&We(t,Hr)){let o=Ye(t);e=Object.assign(Object.assign(Object.assign({},e),o),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function Ft(t){var{from:e=0,to:o=1,restSpeed:r=2,restDelta:n}=t,s=Mt(t,["from","to","restSpeed","restDelta"]);let i={done:!1,value:e},{stiffness:a,damping:l,mass:p,velocity:f,duration:u,isResolvedFromDuration:O}=Lr(s),M=Ge,F=Ge;function _(){let b=f?-(f/1e3):0,x=o-e,h=l/(2*Math.sqrt(a*p)),d=Math.sqrt(a/p)/1e3;if(n===void 0&&(n=Math.min(Math.abs(o-e)/100,.4)),h<1){let m=Rt(d,h);M=y=>{let I=Math.exp(-h*d*y);return o-I*((b+h*d*x)/m*Math.sin(m*y)+x*Math.cos(m*y))},F=y=>{let I=Math.exp(-h*d*y);return h*d*I*(Math.sin(m*y)*(b+h*d*x)/m+x*Math.cos(m*y))-I*(Math.cos(m*y)*(b+h*d*x)-m*x*Math.sin(m*y))}}else if(h===1)M=m=>o-Math.exp(-d*m)*(x+(b+d*x)*m);else{let m=d*Math.sqrt(h*h-1);M=y=>{let I=Math.exp(-h*d*y),G=Math.min(m*y,300);return o-I*((b+h*d*x)*Math.sinh(G)+m*x*Math.cosh(G))/m}}}return _(),{next:b=>{let x=M(b);if(O)i.done=b>=u;else{let h=F(b)*1e3,d=Math.abs(h)<=r,m=Math.abs(o-x)<=n;i.done=d&&m}return i.value=i.done?o:x,i},flipTarget:()=>{f=-f,[e,o]=[o,e],_()}}}Ft.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";var Ge=t=>0;var ee=(t,e,o)=>{let r=e-t;return r===0?1:(o-t)/r};var w=(t,e,o)=>-o*t+o*e+t;var Dt=(t,e)=>o=>Math.max(Math.min(o,e),t),k=t=>t%1?Number(t.toFixed(5)):t,J=/(-)?([\d]*\.?[\d])+/g,Ct=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Ke=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function N(t){return typeof t=="string"}var Z={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},_t=Object.assign(Object.assign({},Z),{transform:Dt(0,1)}),Kn=Object.assign(Object.assign({},Z),{default:1});var ft=t=>({test:e=>N(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Qn=ft("deg"),Q=ft("%"),Xn=ft("px"),to=ft("vh"),eo=ft("vw"),ro=Object.assign(Object.assign({},Q),{parse:t=>Q.parse(t)/100,transform:t=>Q.transform(t*100)});var X=(t,e)=>o=>!!(N(o)&&Ke.test(o)&&o.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(o,e)),At=(t,e,o)=>r=>{if(!N(r))return r;let[n,s,i,a]=r.match(J);return{[t]:parseFloat(n),[e]:parseFloat(s),[o]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}};var C={test:X("hsl","hue"),parse:At("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:o,alpha:r=1})=>"hsla("+Math.round(t)+", "+Q.transform(k(e))+", "+Q.transform(k(o))+", "+k(_t.transform(r))+")"};var Yr=Dt(0,255),Nt=Object.assign(Object.assign({},Z),{transform:t=>Math.round(Yr(t))}),S={test:X("rgb","red"),parse:At("red","green","blue"),transform:({red:t,green:e,blue:o,alpha:r=1})=>"rgba("+Nt.transform(t)+", "+Nt.transform(e)+", "+Nt.transform(o)+", "+k(_t.transform(r))+")"};function Wr(t){let e="",o="",r="",n="";return t.length>5?(e=t.substr(1,2),o=t.substr(3,2),r=t.substr(5,2),n=t.substr(7,2)):(e=t.substr(1,1),o=t.substr(2,1),r=t.substr(3,1),n=t.substr(4,1),e+=e,o+=o,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var tt={test:X("#"),parse:Wr,transform:S.transform};var V={test:t=>S.test(t)||tt.test(t)||C.test(t),parse:t=>S.test(t)?S.parse(t):C.test(t)?C.parse(t):tt.parse(t),transform:t=>N(t)?t:t.hasOwnProperty("red")?S.transform(t):C.transform(t)};var Je="${c}",Ze="${n}";function Gr(t){var e,o,r,n;return isNaN(t)&&N(t)&&((o=(e=t.match(J))===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:0)+((n=(r=t.match(Ct))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0)>0}function Qe(t){typeof t=="number"&&(t=`${t}`);let e=[],o=0,r=t.match(Ct);r&&(o=r.length,t=t.replace(Ct,Je),e.push(...r.map(V.parse)));let n=t.match(J);return n&&(t=t.replace(J,Ze),e.push(...n.map(Z.parse))),{values:e,numColors:o,tokenised:t}}function Xe(t){return Qe(t).values}function tr(t){let{values:e,numColors:o,tokenised:r}=Qe(t),n=e.length;return s=>{let i=r;for(let a=0;atypeof t=="number"?0:t;function Jr(t){let e=Xe(t);return tr(t)(e.map(Kr))}var Bt={test:Gr,parse:Xe,createTransformer:tr,getAnimatableNone:Jr};function re(t,e,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(e-t)*6*o:o<1/2?e:o<2/3?t+(e-t)*(2/3-o)*6:t}function ne({hue:t,saturation:e,lightness:o,alpha:r}){t/=360,e/=100,o/=100;let n=0,s=0,i=0;if(!e)n=s=i=o;else{let a=o<.5?o*(1+e):o+e-o*e,l=2*o-a;n=re(l,a,t+1/3),s=re(l,a,t),i=re(l,a,t-1/3)}return{red:Math.round(n*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}var Zr=(t,e,o)=>{let r=t*t,n=e*e;return Math.sqrt(Math.max(0,o*(n-r)+r))},Qr=[tt,S,C],er=t=>Qr.find(e=>e.test(t)),rr=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,Pt=(t,e)=>{let o=er(t),r=er(e);K(!!o,rr(t)),K(!!r,rr(e));let n=o.parse(t),s=r.parse(e);o===C&&(n=ne(n),o=S),r===C&&(s=ne(s),r=S);let i=Object.assign({},n);return a=>{for(let l in i)l!=="alpha"&&(i[l]=Zr(n[l],s[l],a));return i.alpha=w(n.alpha,s.alpha,a),o.transform(i)}};var nr=t=>typeof t=="number";var Xr=(t,e)=>o=>e(t(o)),$t=(...t)=>t.reduce(Xr);function sr(t,e){return nr(t)?o=>w(t,e,o):V.test(t)?Pt(t,e):se(t,e)}var oe=(t,e)=>{let o=[...t],r=o.length,n=t.map((s,i)=>sr(s,e[i]));return s=>{for(let i=0;i{let o=Object.assign(Object.assign({},t),e),r={};for(let n in o)t[n]!==void 0&&e[n]!==void 0&&(r[n]=sr(t[n],e[n]));return n=>{for(let s in r)o[s]=r[s](n);return o}};function or(t){let e=Bt.parse(t),o=e.length,r=0,n=0,s=0;for(let i=0;i{let o=Bt.createTransformer(e),r=or(t),n=or(e);return r.numHSL===n.numHSL&&r.numRGB===n.numRGB&&r.numNumbers>=n.numNumbers?$t(oe(r.parsed,n.parsed),o):(Et(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?e:t}`)};var tn=(t,e)=>o=>w(t,e,o);function en(t){if(typeof t=="number")return tn;if(typeof t=="string")return V.test(t)?Pt:se;if(Array.isArray(t))return oe;if(typeof t=="object")return ir}function rn(t,e,o){let r=[],n=o||en(t[0]),s=t.length-1;for(let i=0;io(ee(t,e,r))}function on(t,e){let o=t.length,r=o-1;return n=>{let s=0,i=!1;if(n<=t[0]?i=!0:n>=t[r]&&(s=r-1,i=!0),!i){let l=1;for(;ln||l===r);l++);s=l-1}let a=ee(t[s],t[s+1],n);return e[s](a)}}function kt(t,e,{clamp:o=!0,ease:r,mixer:n}={}){let s=t.length;K(s===e.length,"Both input and output ranges must be the same length"),K(!r||!Array.isArray(r)||r.length===s-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[s-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let i=rn(e,r,n),a=s===2?nn(t,i):on(t,i);return o?l=>a(pt(t[0],t[s-1],l)):a}var ut=t=>e=>1-t(1-e),Vt=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ar=t=>e=>Math.pow(e,t),ie=t=>e=>e*e*((t+1)*e-t),cr=t=>{let e=ie(t);return o=>(o*=2)<1?.5*e(o):.5*(2-Math.pow(2,-10*(o-1)))};var lr=1.525,sn=4/11,an=8/11,cn=9/10,mt=t=>t,dt=ar(2),ae=ut(dt),H=Vt(dt),pr=t=>1-Math.sin(Math.acos(t)),fr=ut(pr),ln=Vt(fr),ce=ie(lr),pn=ut(ce),fn=Vt(ce),un=cr(lr),mn=4356/361,dn=35442/1805,hn=16061/1805,ur=t=>{if(t===1||t===0)return t;let e=t*t;return te||H).splice(0,t.length-1)}function yn(t){let e=t.length;return t.map((o,r)=>r!==0?r/(e-1):0)}function bn(t,e){return t.map(o=>o*e)}function ht({from:t=0,to:e=1,ease:o,offset:r,duration:n=300}){let s={done:!1,value:t},i=Array.isArray(e)?e:[t,e],a=bn(r&&r.length===i.length?r:yn(i),n);function l(){return kt(a,i,{ease:Array.isArray(o)?o:xn(i,o)})}let p=l();return{next:f=>(s.value=p(f),s.done=f>=n,s),flipTarget:()=>{i.reverse(),p=l()}}}function mr({velocity:t=0,from:e=0,power:o=.8,timeConstant:r=350,restDelta:n=.5,modifyTarget:s}){let i={done:!1,value:e},a=o*t,l=e+a,p=s===void 0?l:s(l);return p!==l&&(a=p-e),{next:f=>{let u=-a*Math.exp(-f/r);return i.done=!(u>n||u<-n),i.value=i.done?p:p+u,i},flipTarget:()=>{}}}var dr={keyframes:ht,spring:Ft,decay:mr};function hr(t){if(Array.isArray(t.to))return ht;if(dr[t.type])return dr[t.type];let e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?ht:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?Ft:ht}var le=16.666666666666668,vn=typeof performance<"u"?()=>performance.now():()=>Date.now(),pe=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(vn()),le);function gr(t){let e=[],o=[],r=0,n=!1,s=!1,i=new WeakSet,a={schedule:(l,p=!1,f=!1)=>{let u=f&&n,O=u?e:o;return p&&i.add(l),O.indexOf(l)===-1&&(O.push(l),u&&n&&(r=e.length)),l},cancel:l=>{let p=o.indexOf(l);p!==-1&&o.splice(p,1),i.delete(l)},process:l=>{if(n){s=!0;return}if(n=!0,[e,o]=[o,e],o.length=0,r=e.length,r)for(let p=0;p(t[e]=gr(()=>xt=!0),t),{}),On=yt.reduce((t,e)=>{let o=Ut[e];return t[e]=(r,n=!1,s=!1)=>(xt||jn(),o.schedule(r,n,s)),t},{}),xr=yt.reduce((t,e)=>(t[e]=Ut[e].cancel,t),{}),bs=yt.reduce((t,e)=>(t[e]=()=>Ut[e].process(gt),t),{}),In=t=>Ut[t].process(gt),yr=t=>{xt=!1,gt.delta=fe?le:Math.max(Math.min(t-gt.timestamp,wn),1),gt.timestamp=t,ue=!0,yt.forEach(In),ue=!1,xt&&(fe=!1,pe(yr))},jn=()=>{xt=!0,fe=!0,ue||pe(yr)};var br=On;function me(t,e,o=0){return t-e-o}function vr(t,e,o=0,r=!0){return r?me(e+-t,e,o):e-(t-e)+o}function wr(t,e,o,r){return r?t>=e+o:t<=-o}var Sn=t=>{let e=({delta:o})=>t(o);return{start:()=>br.update(e,!0),stop:()=>xr.update(e)}};function de(t){var e,o,{from:r,autoplay:n=!0,driver:s=Sn,elapsed:i=0,repeat:a=0,repeatType:l="loop",repeatDelay:p=0,onPlay:f,onStop:u,onComplete:O,onRepeat:M,onUpdate:F}=t,_=Mt(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=_,x,h=0,d=_.duration,m,y=!1,I=!0,G,Oe=hr(_);!((o=(e=Oe).needsInterpolation)===null||o===void 0)&&o.call(e,r,b)&&(G=kt([0,100],[r,b],{clamp:!1}),r=0,b=100);let Ie=Oe(Object.assign(Object.assign({},_),{from:r,to:b}));function Ar(){h++,l==="reverse"?(I=h%2===0,i=vr(i,d,p,I)):(i=me(i,d,p),l==="mirror"&&Ie.flipTarget()),y=!1,M&&M()}function Nr(){x.stop(),O&&O()}function Br(Wt){if(I||(Wt=-Wt),i+=Wt,!y){let je=Ie.next(Math.max(0,i));m=je.value,G&&(m=G(m)),y=I?je.done:i<=0}F?.(m),y&&(h===0&&(d??(d=i)),h{u?.(),x.stop()}}}var Or=(t,e)=>1-3*e+3*t,Ir=(t,e)=>3*e-6*t,jr=t=>3*t,qt=(t,e,o)=>((Or(e,o)*t+Ir(e,o))*t+jr(e))*t,Sr=(t,e,o)=>3*Or(e,o)*t*t+2*Ir(e,o)*t+jr(e),Tn=1e-7,Mn=10;function En(t,e,o,r,n){let s,i,a=0;do i=e+(o-e)/2,s=qt(i,r,n)-t,s>0?o=i:e=i;while(Math.abs(s)>Tn&&++a=Fn?Dn(i,u,t,o):O===0?u:En(i,a,a+zt,t,o)}return i=>i===0||i===1?i:qt(s(i),e,r)}var bt=class{constructor(e,o){c(this,"promise");c(this,"stopper");this.promise=e,this.stopper=o}then(e,o){return this.promise.then(e,o)}stop(){this.stopper()}},et=class extends bt{constructor(e){let o=Promise.all(e).then(n=>n.every(s=>s===E.Completed)?E.Completed:E.Stopped),r=()=>e.forEach(n=>n.stop());super(o,r)}},E;(function(t){t.Completed="completed",t.Stopped="stopped"})(E=E||(E={}));var R=class{constructor(e){c(this,"top");c(this,"left");c(this,"right");c(this,"bottom");this.top=e.top,this.left=e.left,this.right=e.right,this.bottom=e.bottom}static from(e){return new R(e.getBoundingClientRect())}width(){return this.right-this.left}height(){return this.bottom-this.top}midpoint(){return{x:w(this.left,this.right,.5),y:w(this.top,this.bottom,.5)}}},vt=class{constructor(e){c(this,"origin");c(this,"scale");c(this,"translate");this.origin=e.origin,this.scale=e.scale,this.translate=e.translate}apply(e){let o=e-this.origin;return this.origin+o*this.scale+this.translate}};var q=class{snapshot(e){if(!e.measured())throw new Error(`Node "${e.id}" not measured`);let o=D({},e);return o.children=new Set(e.children),o}snapshotTree(e,o={}){let r=new T,n=new Set;return e.traverse(s=>{if(!(o.filter&&!o.filter(s))){if(n.has(s.id))throw new Error(`Node ID conflict: "${s.id}"`);n.add(s.id),o.measure&&s.measure(),r.set(s.id,this.snapshot(s))}},{includeSelf:!0}),r}},T=class extends Map{merge(e){for(let[o,r]of e)this.set(o,r)}};var L=class{constructor(e,o,r){c(this,"engine");c(this,"easingParser");c(this,"planners");this.engine=e,this.easingParser=o,this.planners=r}animate(e){let{root:o,from:r,estimation:n=!1}=e;typeof e.easing=="string"&&(e.easing=this.easingParser.parse(e.easing));let{duration:s=225,easing:i=H}=e;this.initialize(o);let a=this.getAnimationPlans(o,r,n),l=this.engine.animate(o,{duration:s,easing:i,plans:a});return l.then(p=>{p===E.Completed&&o.traverse(f=>f.reset(),{includeSelf:!0})}),l}initialize(e){e.traverse(o=>o.reset(),{includeSelf:!0}),e.traverse(o=>o.measure(),{includeSelf:!0})}getAnimationPlans(e,o,r){let n=new Map;return e.traverse(s=>{if(!s.measured())throw new Error("Unknown node");let i=o.get(s.id);if(n.has(s.id)&&s.element===i?.element)return;let a={root:e,node:s,snapshots:o,snapshot:i},l=it(D({},this.planners.reduce((p,f)=>D(D({},p),f.buildPlan(a)),{})),{boundingBox:this.getBoundingBoxRoute(a,r)});n.set(s.id,l)},{includeSelf:!0}),n}getBoundingBoxRoute(e,o){let{root:r,node:n,snapshot:s,snapshots:i}=e,a=s?.boundingBox||o&&this.estimateBoundingBoxRouteStart(r,n,i)||n.boundingBox,l=n.boundingBox;return{from:a,to:l}}estimateBoundingBoxRouteStart(e,o,r){if(!o.measured())throw new Error("Unknown node");let n=o,s;for(;(s=r.get(n.id))===void 0;){if(n===e||!n.parent)return;n=n.parent}if(!n.measured())throw new Error("Unknown ancestor");let a=n.calculateTransform(s.boundingBox).x.scale;return new R({top:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.top)*a,left:s.boundingBox.left-(n.boundingBox.left-o.boundingBox.left)*a,right:s.boundingBox.right-(n.boundingBox.right-o.boundingBox.right)*a,bottom:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.bottom)*a})}},B=class{constructor(e){c(this,"node");c(this,"snapshots");c(this,"animator");c(this,"snapper");c(this,"animationConfig");this.node=e.node,this.snapshots=e.storage??new T,[this.animator,this.snapper]=e.deps,this.animationConfig=e.animation??{}}snapshot(e){let o=this.snapper.snapshotTree(this.node,e);this.snapshots.merge(o)}animate(e){return this.animator.animate(it(D(D({},this.animationConfig),e),{root:this.node,from:this.snapshots}))}},rt=class{parse(e){if(e==="linear")return mt;if(e==="ease")return H;if(e==="ease-in")return dt;if(e==="ease-out")return ae;if(e==="ease-in-out")return H;if(e.startsWith("cubic-bezier")){let[o,r,n,s]=e.replace("cubic-bezier(","").replace(")","").split(",").map(i=>parseFloat(i));return he(o,r,n,s)}throw new Error(`Unsupported easing string: ${e}`)}};var nt=class{constructor(e){c(this,"handlers");c(this,"records",new WeakMap);this.handlers=e}animate(e,o){this.records.get(e)?.stop();let r,n=new Promise(i=>{let{duration:a,easing:l,plan:p}=o,f=u=>this.handleFrame(e,p,u);f(0),r=de({from:0,to:1,duration:a,ease:l,onUpdate:f,onComplete:()=>i(E.Completed),onStop:()=>i(E.Stopped)}).stop}),s=new ge(e,n,()=>r());return this.records.set(e,s),s}handleFrame(e,o,r){let n=this.calcFrameBoundingBox(o.boundingBox,r);this.handlers.forEach(s=>s.handleFrame(e,r,o)),e.project(n)}calcFrameBoundingBox(e,o){let{from:r,to:n}=e;return new R({top:w(r.top,n.top,o),left:w(r.left,n.left,o),right:w(r.right,n.right,o),bottom:w(r.bottom,n.bottom,o)})}},ge=class extends bt{constructor(o,r,n){super(r,n);c(this,"node");this.node=o}},ot=class{constructor(e){c(this,"engine");c(this,"records",new WeakMap);this.engine=e}animate(e,o){this.records.get(e)?.stop();let{duration:r,easing:n,plans:s}=o,i=[];e.traverse(l=>{let p=s.get(l.id);if(!p)throw new Error("Unknown node");let f={duration:r,easing:n,plan:p},u=this.engine.animate(l,f);i.push(u)},{includeSelf:!0});let a=new xe(e,i);return this.records.set(e,a),a}},xe=class extends et{constructor(o,r){super(r);c(this,"root");this.root=o}};var U=(()=>{let e=class{constructor(r,n){c(this,"element");c(this,"components");c(this,"id",`anonymous-${e.idNext++}`);c(this,"activated",!0);c(this,"parent");c(this,"children",new Set);c(this,"boundingBox");c(this,"transform");c(this,"identified",!1);this.element=r,this.components=n}identifyAs(r){if(this.identified)throw new Error(`Node "${this.id}" already identified`);this.id=r,this.identified=!0}activate(){this.activated=!0}deactivate(){this.activated=!1}attach(r){this.parent=r,r.children.add(this)}detach(){if(!this.parent)throw new Error("Missing parent");this.parent.children.delete(this),this.parent=void 0}traverse(r,n={}){n.includeSelf??=!1,n.includeDeactivated??=!1,n.includeSelf&&r(this),this.children.forEach(s=>{!n.includeDeactivated&&!s.activated||s.traverse(r,it(D({},n),{includeSelf:!0}))})}track(){let r=[],n=this.parent;for(;n;)r.unshift(n),n=n.parent;return r}reset(){this.transform=void 0,this.element.style.transform="",this.element.style.borderRadius=""}measure(){let r=R.from(this.element);this.boundingBox=r,this.components.forEach(n=>Object.assign(this,n.measureProperties(this.element,r)))}measured(){return!!this.boundingBox}project(r){if(!this.measured())throw new Error("Node not measured");this.transform=this.calculateTransform(r);let n={x:1,y:1},s=this.track();for(let f of s)f.transform&&(n.x*=f.transform.x.scale,n.y*=f.transform.y.scale);let i=this.transform,a=i.x.translate/n.x,l=i.y.translate/n.y;this.element.style.transform=[`translate3d(${a}px, ${l}px, 0)`,`scale(${i.x.scale}, ${i.y.scale})`].join(" ");let p={scaleX:n.x*this.transform.x.scale,scaleY:n.y*this.transform.y.scale};this.components.forEach(f=>{f.cancelDistortion(this.element,this,p)})}calculateTransform(r){let n=this.calculateTransformedBoundingBox(),s=n.midpoint(),i=r.midpoint(),a={x:new vt({origin:s.x,scale:r.width()/n.width(),translate:i.x-s.x}),y:new vt({origin:s.y,scale:r.height()/n.height(),translate:i.y-s.y})};return isNaN(a.x.scale)&&(a.x.scale=1),isNaN(a.y.scale)&&(a.y.scale=1),a}calculateTransformedBoundingBox(){if(!this.measured())throw new Error("Node not measured");let r=this.boundingBox;for(let n of this.track()){if(!n.boundingBox||!n.transform)continue;let s=n.transform;r=new R({top:s.y.apply(r.top),left:s.x.apply(r.left),right:s.x.apply(r.right),bottom:s.y.apply(r.bottom)})}return r}},t=e;return c(t,"idNext",1),t})();var ye=class{constructor(e,o){c(this,"map");c(this,"secondsBeforeDeletion");c(this,"timeouts",new Map);this.map=e,this.secondsBeforeDeletion=o}stale(e){let o=setTimeout(()=>this.performDeletion(e),this.secondsBeforeDeletion*1e3);this.timeouts.set(e,o)}refresh(e){let o=this.timeouts.get(e);clearTimeout(o),this.timeouts.delete(e)}performDeletion(e){this.map.delete(e),this.timeouts.delete(e)}},Y=class extends Set{},W=class extends Set{},Tr=(()=>{let e=class{constructor(r,n,s){c(this,"nodeRegistry");c(this,"entryRegistry");c(this,"snapshots");this.nodeRegistry=r,this.entryRegistry=n,this.snapshots=s}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(ct(Y),ct(W),ct(T))}),c(t,"\u0275prov",at({token:e,factory:e.\u0275fac})),t})(),Mr=(()=>{let e=class extends ye{constructor(r){super(r,10)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(ct(T))}),c(t,"\u0275prov",at({token:e,factory:e.\u0275fac})),t})(),wi=(()=>{let e=class extends B{constructor(n,s,i,a,l){super({node:n,deps:[s,i],storage:a});c(this,"nodeRegistry");c(this,"animationConfig",{});this.nodeRegistry=l}set lpjAnimation(n){typeof n!="string"&&(this.animationConfig=n)}snapshot(n){if(this.nodeRegistry&&n?.filter){let i=n.filter,a=this.nodeRegistry;n.filter=l=>a.has(l)&&i(l)}let s=this.snapper.snapshotTree(this.node,n);this.snapshots.merge(s)}},t=e;return c(t,"\u0275fac",function(s){return new(s||e)(g(U,2),g(L),g(q),g(T,8),g(Y,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode","","lpjAnimation",""]],inputs:{lpjAnimation:"lpjAnimation"},exportAs:["lpjAnimation"],standalone:!0,features:[Jt([{provide:B,useExisting:e}]),Kt]})),t})(),Oi=(()=>{let e=class{constructor(r,n){c(this,"templateRef");c(this,"viewContainer");c(this,"source");c(this,"current");this.templateRef=r,this.viewContainer=n}set lpjAnimationScope(r){r!==""&&(this.source=r)}ngOnInit(){let r=this.createInjector();this.current=r.get(Tr),this.viewContainer.createEmbeddedView(this.templateRef,{$implicit:this.current},{injector:r})}createInjector(){let{nodeRegistry:r=new Y,entryRegistry:n=new W,snapshots:s=new T}=this.source??{};return ke.create({providers:[{provide:Tr},{provide:Y,useValue:r},{provide:W,useValue:n},{provide:T,useValue:s},{provide:Mr}]})}static ngTemplateContextGuard(r,n){return!0}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(Ve),g(Ue))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationScope",""]],inputs:{lpjAnimationScope:"lpjAnimationScope"},standalone:!0})),t})(),Ii=(()=>{let e=class{constructor(r,n,s){c(this,"node");c(this,"registry");c(this,"snapshots");this.node=r,this.registry=n,this.snapshots=s}ngOnInit(){this.registry?.add(this.node),this.snapshots?.refresh(this.node.id)}ngOnDestroy(){this.registry?.delete(this.node),this.snapshots?.stale(this.node.id)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(U,2),g(Y,8),g(Mr,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],standalone:!0})),t})(),ji=(()=>{let e=class{constructor(r,n){c(this,"entry");c(this,"registry");this.entry=r,this.registry=n}ngOnInit(){this.registry?.add(this.entry)}ngOnDestroy(){this.registry?.delete(this.entry)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(W,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation",""]],standalone:!0})),t})(),An=(()=>{let e=class{constructor(r){c(this,"entryRegistry");c(this,"trigger$",new Ot(Re));c(this,"targets",[]);c(this,"animationTrigger",new Zt);c(this,"animationSettle",new Zt);this.entryRegistry=r}set lpjAnimationTrigger(r){let n=r instanceof Me?r.pipe(Ne(Gt(r))):Gt(r);this.trigger$.next(n)}set lpjAnimationTriggerFor(r){this.targets=Array.isArray(r)?r:[r]}ngOnInit(){this.trigger$.pipe(De(),Ae(1),St(()=>this.animationTrigger.emit()),St(()=>this.snapshot()),jt(()=>Ee().pipe(Ce())),It(()=>this.animate()),St(r=>r.then(()=>this.animationSettle.emit()))).subscribe()}snapshot(){this.resolveTargets().forEach(r=>r.snapshot({measure:!0}))}animate(){let r=this.resolveTargets().map(n=>n.animate());return new et(r)}resolveTargets(){return this.targets.map(r=>this.resolveTarget(r))}resolveTarget(r){if(r instanceof B)return r;this.entryRegistry||this.resolveFailed(r,"no context provided");let n=Array.from(this.entryRegistry),s=r instanceof U?r.id:r,i=n.find(a=>a.node.id===s);return i||this.resolveFailed(r,"not found"),i}resolveFailed(r,n){throw new Error(`Failed to resolve target ${r}: ${n}`)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(W,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationTrigger",""]],inputs:{lpjAnimationTrigger:"lpjAnimationTrigger",lpjAnimationTriggerFor:"lpjAnimationTriggerFor"},outputs:{animationTrigger:"animationTrigger",animationSettle:"animationSettle"},standalone:!0})),t})(),Si=(()=>{let e=class{constructor(r,n){n.lpjAnimationTriggerFor=r}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(An,2))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation","","lpjAnimationTrigger",""]],standalone:!0})),t})(),Ti=(()=>{let e=class extends U{set lpjNode(r){typeof r=="string"?(r&&this.identifyAs(r),this.activate()):this.deactivate()}constructor(r,n,s){super(r.nativeElement,n),s&&this.attach(s)}ngOnDestroy(){this.parent&&this.detach()}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g($e),g(Er),g(U,12))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],inputs:{lpjNode:"lpjNode"},exportAs:["lpjNode"],standalone:!0,features:[Jt([{provide:U,useExisting:e}]),Kt]})),t})(),Er=new Tt("PROJECTION_COMPONENTS",{factory:()=>[]}),Rr=new Tt("ANIMATION_HANDLERS",{factory:()=>[]}),Fr=new Tt("ANIMATION_PLANNERS",{factory:()=>[]});var Nn=[{provide:L,useFactory:()=>new L(j(ot),j(rt),j(Fr))},{provide:nt,useFactory:()=>new nt(j(Rr))},{provide:ot,useFactory:()=>new ot(j(nt))},{provide:rt,useFactory:()=>new rt},{provide:q,useFactory:()=>new q}],Mi=(()=>{let e=class{static forRoot(r={}){let n=(s,i)=>i.map(a=>({provide:s,useClass:a,multi:!0}));return{ngModule:e,providers:[Nn,n(Er,r.components??[]),n(Rr,r.animationHandlers??[]),n(Fr,r.animationPlanners??[])]}}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)}),c(t,"\u0275mod",Pe({type:e})),c(t,"\u0275inj",Be({})),t})();function Ai(){let t=j(qe);return()=>t.getContext("primary")?.route?.snapshot?.data?.animationId??"none"}var st=class{static apply(...e){return Xt(this.content)}},be=class extends st{},Lt=be;(()=>{be.content=lt([A("mat-drawer",v({transform:"none"}),{optional:!0})])})();var ve=class extends st{},Yt=ve;(()=>{ve.content=lt([A("router-outlet ~ *",[$("1ms",v({}))],{optional:!0})])})();var we=class extends st{},Dr=we;(()=>{we.content=lt([Lt.apply(),Qt([A(":leave",[v({position:"absolute"}),Yt.apply(),v({opacity:1}),$(`90ms ${z.ACCELERATION_CURVE}`,v({opacity:0}))],{optional:!0}),A(":enter",[v({transform:"scale(92%)",opacity:0}),$(`210ms 90ms ${z.DECELERATION_CURVE}`,v({transform:"scale(1)",opacity:1}))])])])})();var Cr=class extends st{static apply(e,o,r={incoming:":enter",outgoing:":leave"}){let n=e==="x"?{overflowX:"visible",overflowY:"*",transformIncomingFrom:"translateX(30px)",transformIncomingTo:"translateX(0)",transformOutgoingFrom:"translateX(0)",transformOutgoingTo:"translateX(-30px)"}:e==="y"?{overflowX:"*",overflowY:"visible",transformIncomingFrom:"translateY(30px)",transformIncomingTo:"translateY(0)",transformOutgoingFrom:"translateY(0)",transformOutgoingTo:"translateY(-30px)"}:{overflowX:"visible",overflowY:"visible",transformIncomingFrom:"scale(80%)",transformIncomingTo:"scale(100%)",transformOutgoingFrom:"scale(100%)",transformOutgoingTo:"scale(110%)"};return o==="backward"&&([n.transformIncomingFrom,n.transformIncomingTo,n.transformOutgoingFrom,n.transformOutgoingTo]=[n.transformOutgoingTo,n.transformOutgoingFrom,n.transformIncomingTo,n.transformIncomingFrom]),Xt(lt([Lt.apply(),Qt([A(r.outgoing,[v({transform:n.transformOutgoingFrom}),$(`300ms ${z.STANDARD_CURVE}`,v({transform:n.transformOutgoingTo}))]),A(r.incoming,[v({transform:n.transformIncomingFrom}),$(`300ms ${z.STANDARD_CURVE}`,v({transform:n.transformIncomingTo}))]),A(r.outgoing,[Yt.apply(),$(`90ms ${z.ACCELERATION_CURVE}`,v({opacity:0}))]),A(r.incoming,[v({opacity:0}),$(`210ms 90ms ${z.DECELERATION_CURVE}`,v({opacity:1}))])])]))}};var _r=(()=>{var e;let o=class{constructor(){Se(this,e,void 0);this.observer=j(ze),Te(this,e,new Ot(null)),this.config$=wt(this,e).pipe(),this.breakpoints$=wt(this,e).pipe(Fe(Boolean),jt(n=>this.observe(n)),_e(1))}applyConfig(n){wt(this,e).next(n)}observe(n){return this.observer.observe(Object.values(n)).pipe(It(s=>this.parseState(n,s)))}parseState(n,s){let i={};for(let a in n){let l=a,p=n[l];i[l]=s.breakpoints[p]}return i}},t=o;return e=new WeakMap,(()=>{o.\u0275fac=function(s){return new(s||o)}})(),(()=>{o.\u0275prov=at({token:o,factory:o.\u0275fac,providedIn:"root"})})(),t})();function Li(){let t=j(_r).breakpoints$;return He(t,{initialValue:{["tablet-portrait"]:!1,["tablet-landscape"]:!1,laptop:!1,desktop:!1}})}export{q as a,T as b,L as c,U as d,wi as e,Oi as f,Ii as g,ji as h,An as i,Si as j,Ti as k,Mi as l,Ai as m,Dr as n,Cr as o,_r as p,Li as q}; +import{Ca as ke,Da as g,Ec as $,Fa as Kt,Fc as Qt,Gc as v,Jc as lt,L as De,Lc as Xt,M as Ce,Mc as A,Pc as z,Qd as qe,T as _e,U as Ae,V as Ne,W as jt,Z as St,b as Me,ba as at,c as Ee,ca as Be,da as ct,e as Ot,ea as j,ga as Pe,ha as P,hb as Jt,i as Re,ic as ze,l as Gt,p as It,pb as Zt,rb as Ve,sa as Tt,sb as Ue,sd as He,ya as $e,z as Fe}from"./chunk-VGXZBCX5.js";import{a as D,b as it,e as c,f as wt,g as Se,h as Te}from"./chunk-OROYKVKJ.js";function Mt(t,e){var o={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(t);nMath.min(Math.max(o,t),e);var te=.001,$r=.01,Le=10,kr=.05,Vr=1;function Ye({duration:t=800,bounce:e=.25,velocity:o=0,mass:r=1}){let n,s;Et(t<=Le*1e3,"Spring duration must be 10 seconds or less");let i=1-e;i=pt(kr,Vr,i),t=pt($r,Le,t/1e3),i<1?(n=p=>{let f=p*i,u=f*t,O=f-o,M=Rt(p,i),F=Math.exp(-u);return te-O/M*F},s=p=>{let u=p*i*t,O=u*o+o,M=Math.pow(i,2)*Math.pow(p,2)*t,F=Math.exp(-u),_=Rt(Math.pow(p,2),i);return(-n(p)+te>0?-1:1)*((O-M)*F)/_}):(n=p=>{let f=Math.exp(-p*t),u=(p-o)*t+1;return-te+f*u},s=p=>{let f=Math.exp(-p*t),u=(o-p)*(t*t);return f*u});let a=5/t,l=zr(n,s,a);if(t=t*1e3,isNaN(l))return{stiffness:100,damping:10,duration:t};{let p=Math.pow(l,2)*r;return{stiffness:p,damping:i*2*Math.sqrt(r*p),duration:t}}}var Ur=12;function zr(t,e,o){let r=o;for(let n=1;nt[o]!==void 0)}function Lr(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!We(t,qr)&&We(t,Hr)){let o=Ye(t);e=Object.assign(Object.assign(Object.assign({},e),o),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function Ft(t){var{from:e=0,to:o=1,restSpeed:r=2,restDelta:n}=t,s=Mt(t,["from","to","restSpeed","restDelta"]);let i={done:!1,value:e},{stiffness:a,damping:l,mass:p,velocity:f,duration:u,isResolvedFromDuration:O}=Lr(s),M=Ge,F=Ge;function _(){let b=f?-(f/1e3):0,x=o-e,h=l/(2*Math.sqrt(a*p)),d=Math.sqrt(a/p)/1e3;if(n===void 0&&(n=Math.min(Math.abs(o-e)/100,.4)),h<1){let m=Rt(d,h);M=y=>{let I=Math.exp(-h*d*y);return o-I*((b+h*d*x)/m*Math.sin(m*y)+x*Math.cos(m*y))},F=y=>{let I=Math.exp(-h*d*y);return h*d*I*(Math.sin(m*y)*(b+h*d*x)/m+x*Math.cos(m*y))-I*(Math.cos(m*y)*(b+h*d*x)-m*x*Math.sin(m*y))}}else if(h===1)M=m=>o-Math.exp(-d*m)*(x+(b+d*x)*m);else{let m=d*Math.sqrt(h*h-1);M=y=>{let I=Math.exp(-h*d*y),G=Math.min(m*y,300);return o-I*((b+h*d*x)*Math.sinh(G)+m*x*Math.cosh(G))/m}}}return _(),{next:b=>{let x=M(b);if(O)i.done=b>=u;else{let h=F(b)*1e3,d=Math.abs(h)<=r,m=Math.abs(o-x)<=n;i.done=d&&m}return i.value=i.done?o:x,i},flipTarget:()=>{f=-f,[e,o]=[o,e],_()}}}Ft.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";var Ge=t=>0;var ee=(t,e,o)=>{let r=e-t;return r===0?1:(o-t)/r};var w=(t,e,o)=>-o*t+o*e+t;var Dt=(t,e)=>o=>Math.max(Math.min(o,e),t),k=t=>t%1?Number(t.toFixed(5)):t,J=/(-)?([\d]*\.?[\d])+/g,Ct=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Ke=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function N(t){return typeof t=="string"}var Z={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},_t=Object.assign(Object.assign({},Z),{transform:Dt(0,1)}),Kn=Object.assign(Object.assign({},Z),{default:1});var ft=t=>({test:e=>N(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Qn=ft("deg"),Q=ft("%"),Xn=ft("px"),to=ft("vh"),eo=ft("vw"),ro=Object.assign(Object.assign({},Q),{parse:t=>Q.parse(t)/100,transform:t=>Q.transform(t*100)});var X=(t,e)=>o=>!!(N(o)&&Ke.test(o)&&o.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(o,e)),At=(t,e,o)=>r=>{if(!N(r))return r;let[n,s,i,a]=r.match(J);return{[t]:parseFloat(n),[e]:parseFloat(s),[o]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}};var C={test:X("hsl","hue"),parse:At("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:o,alpha:r=1})=>"hsla("+Math.round(t)+", "+Q.transform(k(e))+", "+Q.transform(k(o))+", "+k(_t.transform(r))+")"};var Yr=Dt(0,255),Nt=Object.assign(Object.assign({},Z),{transform:t=>Math.round(Yr(t))}),S={test:X("rgb","red"),parse:At("red","green","blue"),transform:({red:t,green:e,blue:o,alpha:r=1})=>"rgba("+Nt.transform(t)+", "+Nt.transform(e)+", "+Nt.transform(o)+", "+k(_t.transform(r))+")"};function Wr(t){let e="",o="",r="",n="";return t.length>5?(e=t.substr(1,2),o=t.substr(3,2),r=t.substr(5,2),n=t.substr(7,2)):(e=t.substr(1,1),o=t.substr(2,1),r=t.substr(3,1),n=t.substr(4,1),e+=e,o+=o,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var tt={test:X("#"),parse:Wr,transform:S.transform};var V={test:t=>S.test(t)||tt.test(t)||C.test(t),parse:t=>S.test(t)?S.parse(t):C.test(t)?C.parse(t):tt.parse(t),transform:t=>N(t)?t:t.hasOwnProperty("red")?S.transform(t):C.transform(t)};var Je="${c}",Ze="${n}";function Gr(t){var e,o,r,n;return isNaN(t)&&N(t)&&((o=(e=t.match(J))===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:0)+((n=(r=t.match(Ct))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0)>0}function Qe(t){typeof t=="number"&&(t=`${t}`);let e=[],o=0,r=t.match(Ct);r&&(o=r.length,t=t.replace(Ct,Je),e.push(...r.map(V.parse)));let n=t.match(J);return n&&(t=t.replace(J,Ze),e.push(...n.map(Z.parse))),{values:e,numColors:o,tokenised:t}}function Xe(t){return Qe(t).values}function tr(t){let{values:e,numColors:o,tokenised:r}=Qe(t),n=e.length;return s=>{let i=r;for(let a=0;atypeof t=="number"?0:t;function Jr(t){let e=Xe(t);return tr(t)(e.map(Kr))}var Bt={test:Gr,parse:Xe,createTransformer:tr,getAnimatableNone:Jr};function re(t,e,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(e-t)*6*o:o<1/2?e:o<2/3?t+(e-t)*(2/3-o)*6:t}function ne({hue:t,saturation:e,lightness:o,alpha:r}){t/=360,e/=100,o/=100;let n=0,s=0,i=0;if(!e)n=s=i=o;else{let a=o<.5?o*(1+e):o+e-o*e,l=2*o-a;n=re(l,a,t+1/3),s=re(l,a,t),i=re(l,a,t-1/3)}return{red:Math.round(n*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}var Zr=(t,e,o)=>{let r=t*t,n=e*e;return Math.sqrt(Math.max(0,o*(n-r)+r))},Qr=[tt,S,C],er=t=>Qr.find(e=>e.test(t)),rr=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,Pt=(t,e)=>{let o=er(t),r=er(e);K(!!o,rr(t)),K(!!r,rr(e));let n=o.parse(t),s=r.parse(e);o===C&&(n=ne(n),o=S),r===C&&(s=ne(s),r=S);let i=Object.assign({},n);return a=>{for(let l in i)l!=="alpha"&&(i[l]=Zr(n[l],s[l],a));return i.alpha=w(n.alpha,s.alpha,a),o.transform(i)}};var nr=t=>typeof t=="number";var Xr=(t,e)=>o=>e(t(o)),$t=(...t)=>t.reduce(Xr);function sr(t,e){return nr(t)?o=>w(t,e,o):V.test(t)?Pt(t,e):se(t,e)}var oe=(t,e)=>{let o=[...t],r=o.length,n=t.map((s,i)=>sr(s,e[i]));return s=>{for(let i=0;i{let o=Object.assign(Object.assign({},t),e),r={};for(let n in o)t[n]!==void 0&&e[n]!==void 0&&(r[n]=sr(t[n],e[n]));return n=>{for(let s in r)o[s]=r[s](n);return o}};function or(t){let e=Bt.parse(t),o=e.length,r=0,n=0,s=0;for(let i=0;i{let o=Bt.createTransformer(e),r=or(t),n=or(e);return r.numHSL===n.numHSL&&r.numRGB===n.numRGB&&r.numNumbers>=n.numNumbers?$t(oe(r.parsed,n.parsed),o):(Et(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?e:t}`)};var tn=(t,e)=>o=>w(t,e,o);function en(t){if(typeof t=="number")return tn;if(typeof t=="string")return V.test(t)?Pt:se;if(Array.isArray(t))return oe;if(typeof t=="object")return ir}function rn(t,e,o){let r=[],n=o||en(t[0]),s=t.length-1;for(let i=0;io(ee(t,e,r))}function on(t,e){let o=t.length,r=o-1;return n=>{let s=0,i=!1;if(n<=t[0]?i=!0:n>=t[r]&&(s=r-1,i=!0),!i){let l=1;for(;ln||l===r);l++);s=l-1}let a=ee(t[s],t[s+1],n);return e[s](a)}}function kt(t,e,{clamp:o=!0,ease:r,mixer:n}={}){let s=t.length;K(s===e.length,"Both input and output ranges must be the same length"),K(!r||!Array.isArray(r)||r.length===s-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[s-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let i=rn(e,r,n),a=s===2?nn(t,i):on(t,i);return o?l=>a(pt(t[0],t[s-1],l)):a}var ut=t=>e=>1-t(1-e),Vt=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ar=t=>e=>Math.pow(e,t),ie=t=>e=>e*e*((t+1)*e-t),cr=t=>{let e=ie(t);return o=>(o*=2)<1?.5*e(o):.5*(2-Math.pow(2,-10*(o-1)))};var lr=1.525,sn=4/11,an=8/11,cn=9/10,mt=t=>t,dt=ar(2),ae=ut(dt),H=Vt(dt),pr=t=>1-Math.sin(Math.acos(t)),fr=ut(pr),ln=Vt(fr),ce=ie(lr),pn=ut(ce),fn=Vt(ce),un=cr(lr),mn=4356/361,dn=35442/1805,hn=16061/1805,ur=t=>{if(t===1||t===0)return t;let e=t*t;return te||H).splice(0,t.length-1)}function yn(t){let e=t.length;return t.map((o,r)=>r!==0?r/(e-1):0)}function bn(t,e){return t.map(o=>o*e)}function ht({from:t=0,to:e=1,ease:o,offset:r,duration:n=300}){let s={done:!1,value:t},i=Array.isArray(e)?e:[t,e],a=bn(r&&r.length===i.length?r:yn(i),n);function l(){return kt(a,i,{ease:Array.isArray(o)?o:xn(i,o)})}let p=l();return{next:f=>(s.value=p(f),s.done=f>=n,s),flipTarget:()=>{i.reverse(),p=l()}}}function mr({velocity:t=0,from:e=0,power:o=.8,timeConstant:r=350,restDelta:n=.5,modifyTarget:s}){let i={done:!1,value:e},a=o*t,l=e+a,p=s===void 0?l:s(l);return p!==l&&(a=p-e),{next:f=>{let u=-a*Math.exp(-f/r);return i.done=!(u>n||u<-n),i.value=i.done?p:p+u,i},flipTarget:()=>{}}}var dr={keyframes:ht,spring:Ft,decay:mr};function hr(t){if(Array.isArray(t.to))return ht;if(dr[t.type])return dr[t.type];let e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?ht:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?Ft:ht}var le=16.666666666666668,vn=typeof performance<"u"?()=>performance.now():()=>Date.now(),pe=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(vn()),le);function gr(t){let e=[],o=[],r=0,n=!1,s=!1,i=new WeakSet,a={schedule:(l,p=!1,f=!1)=>{let u=f&&n,O=u?e:o;return p&&i.add(l),O.indexOf(l)===-1&&(O.push(l),u&&n&&(r=e.length)),l},cancel:l=>{let p=o.indexOf(l);p!==-1&&o.splice(p,1),i.delete(l)},process:l=>{if(n){s=!0;return}if(n=!0,[e,o]=[o,e],o.length=0,r=e.length,r)for(let p=0;p(t[e]=gr(()=>xt=!0),t),{}),On=yt.reduce((t,e)=>{let o=Ut[e];return t[e]=(r,n=!1,s=!1)=>(xt||jn(),o.schedule(r,n,s)),t},{}),xr=yt.reduce((t,e)=>(t[e]=Ut[e].cancel,t),{}),bs=yt.reduce((t,e)=>(t[e]=()=>Ut[e].process(gt),t),{}),In=t=>Ut[t].process(gt),yr=t=>{xt=!1,gt.delta=fe?le:Math.max(Math.min(t-gt.timestamp,wn),1),gt.timestamp=t,ue=!0,yt.forEach(In),ue=!1,xt&&(fe=!1,pe(yr))},jn=()=>{xt=!0,fe=!0,ue||pe(yr)};var br=On;function me(t,e,o=0){return t-e-o}function vr(t,e,o=0,r=!0){return r?me(e+-t,e,o):e-(t-e)+o}function wr(t,e,o,r){return r?t>=e+o:t<=-o}var Sn=t=>{let e=({delta:o})=>t(o);return{start:()=>br.update(e,!0),stop:()=>xr.update(e)}};function de(t){var e,o,{from:r,autoplay:n=!0,driver:s=Sn,elapsed:i=0,repeat:a=0,repeatType:l="loop",repeatDelay:p=0,onPlay:f,onStop:u,onComplete:O,onRepeat:M,onUpdate:F}=t,_=Mt(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=_,x,h=0,d=_.duration,m,y=!1,I=!0,G,Oe=hr(_);!((o=(e=Oe).needsInterpolation)===null||o===void 0)&&o.call(e,r,b)&&(G=kt([0,100],[r,b],{clamp:!1}),r=0,b=100);let Ie=Oe(Object.assign(Object.assign({},_),{from:r,to:b}));function Ar(){h++,l==="reverse"?(I=h%2===0,i=vr(i,d,p,I)):(i=me(i,d,p),l==="mirror"&&Ie.flipTarget()),y=!1,M&&M()}function Nr(){x.stop(),O&&O()}function Br(Wt){if(I||(Wt=-Wt),i+=Wt,!y){let je=Ie.next(Math.max(0,i));m=je.value,G&&(m=G(m)),y=I?je.done:i<=0}F?.(m),y&&(h===0&&(d??(d=i)),h{u?.(),x.stop()}}}var Or=(t,e)=>1-3*e+3*t,Ir=(t,e)=>3*e-6*t,jr=t=>3*t,qt=(t,e,o)=>((Or(e,o)*t+Ir(e,o))*t+jr(e))*t,Sr=(t,e,o)=>3*Or(e,o)*t*t+2*Ir(e,o)*t+jr(e),Tn=1e-7,Mn=10;function En(t,e,o,r,n){let s,i,a=0;do i=e+(o-e)/2,s=qt(i,r,n)-t,s>0?o=i:e=i;while(Math.abs(s)>Tn&&++a=Fn?Dn(i,u,t,o):O===0?u:En(i,a,a+zt,t,o)}return i=>i===0||i===1?i:qt(s(i),e,r)}var bt=class{constructor(e,o){c(this,"promise");c(this,"stopper");this.promise=e,this.stopper=o}then(e,o){return this.promise.then(e,o)}stop(){this.stopper()}},et=class extends bt{constructor(e){let o=Promise.all(e).then(n=>n.every(s=>s===E.Completed)?E.Completed:E.Stopped),r=()=>e.forEach(n=>n.stop());super(o,r)}},E;(function(t){t.Completed="completed",t.Stopped="stopped"})(E=E||(E={}));var R=class{constructor(e){c(this,"top");c(this,"left");c(this,"right");c(this,"bottom");this.top=e.top,this.left=e.left,this.right=e.right,this.bottom=e.bottom}static from(e){return new R(e.getBoundingClientRect())}width(){return this.right-this.left}height(){return this.bottom-this.top}midpoint(){return{x:w(this.left,this.right,.5),y:w(this.top,this.bottom,.5)}}},vt=class{constructor(e){c(this,"origin");c(this,"scale");c(this,"translate");this.origin=e.origin,this.scale=e.scale,this.translate=e.translate}apply(e){let o=e-this.origin;return this.origin+o*this.scale+this.translate}};var q=class{snapshot(e){if(!e.measured())throw new Error(`Node "${e.id}" not measured`);let o=D({},e);return o.children=new Set(e.children),o}snapshotTree(e,o={}){let r=new T,n=new Set;return e.traverse(s=>{if(!(o.filter&&!o.filter(s))){if(n.has(s.id))throw new Error(`Node ID conflict: "${s.id}"`);n.add(s.id),o.measure&&s.measure(),r.set(s.id,this.snapshot(s))}},{includeSelf:!0}),r}},T=class extends Map{merge(e){for(let[o,r]of e)this.set(o,r)}};var L=class{constructor(e,o,r){c(this,"engine");c(this,"easingParser");c(this,"planners");this.engine=e,this.easingParser=o,this.planners=r}animate(e){let{root:o,from:r,estimation:n=!1}=e;typeof e.easing=="string"&&(e.easing=this.easingParser.parse(e.easing));let{duration:s=225,easing:i=H}=e;this.initialize(o);let a=this.getAnimationPlans(o,r,n),l=this.engine.animate(o,{duration:s,easing:i,plans:a});return l.then(p=>{p===E.Completed&&o.traverse(f=>f.reset(),{includeSelf:!0})}),l}initialize(e){e.traverse(o=>o.reset(),{includeSelf:!0}),e.traverse(o=>o.measure(),{includeSelf:!0})}getAnimationPlans(e,o,r){let n=new Map;return e.traverse(s=>{if(!s.measured())throw new Error("Unknown node");let i=o.get(s.id);if(n.has(s.id)&&s.element===i?.element)return;let a={root:e,node:s,snapshots:o,snapshot:i},l=it(D({},this.planners.reduce((p,f)=>D(D({},p),f.buildPlan(a)),{})),{boundingBox:this.getBoundingBoxRoute(a,r)});n.set(s.id,l)},{includeSelf:!0}),n}getBoundingBoxRoute(e,o){let{root:r,node:n,snapshot:s,snapshots:i}=e,a=s?.boundingBox||o&&this.estimateBoundingBoxRouteStart(r,n,i)||n.boundingBox,l=n.boundingBox;return{from:a,to:l}}estimateBoundingBoxRouteStart(e,o,r){if(!o.measured())throw new Error("Unknown node");let n=o,s;for(;(s=r.get(n.id))===void 0;){if(n===e||!n.parent)return;n=n.parent}if(!n.measured())throw new Error("Unknown ancestor");let a=n.calculateTransform(s.boundingBox).x.scale;return new R({top:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.top)*a,left:s.boundingBox.left-(n.boundingBox.left-o.boundingBox.left)*a,right:s.boundingBox.right-(n.boundingBox.right-o.boundingBox.right)*a,bottom:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.bottom)*a})}},B=class{constructor(e){c(this,"node");c(this,"snapshots");c(this,"animator");c(this,"snapper");c(this,"animationConfig");this.node=e.node,this.snapshots=e.storage??new T,[this.animator,this.snapper]=e.deps,this.animationConfig=e.animation??{}}snapshot(e){let o=this.snapper.snapshotTree(this.node,e);this.snapshots.merge(o)}animate(e){return this.animator.animate(it(D(D({},this.animationConfig),e),{root:this.node,from:this.snapshots}))}},rt=class{parse(e){if(e==="linear")return mt;if(e==="ease")return H;if(e==="ease-in")return dt;if(e==="ease-out")return ae;if(e==="ease-in-out")return H;if(e.startsWith("cubic-bezier")){let[o,r,n,s]=e.replace("cubic-bezier(","").replace(")","").split(",").map(i=>parseFloat(i));return he(o,r,n,s)}throw new Error(`Unsupported easing string: ${e}`)}};var nt=class{constructor(e){c(this,"handlers");c(this,"records",new WeakMap);this.handlers=e}animate(e,o){this.records.get(e)?.stop();let r,n=new Promise(i=>{let{duration:a,easing:l,plan:p}=o,f=u=>this.handleFrame(e,p,u);f(0),r=de({from:0,to:1,duration:a,ease:l,onUpdate:f,onComplete:()=>i(E.Completed),onStop:()=>i(E.Stopped)}).stop}),s=new ge(e,n,()=>r());return this.records.set(e,s),s}handleFrame(e,o,r){let n=this.calcFrameBoundingBox(o.boundingBox,r);this.handlers.forEach(s=>s.handleFrame(e,r,o)),e.project(n)}calcFrameBoundingBox(e,o){let{from:r,to:n}=e;return new R({top:w(r.top,n.top,o),left:w(r.left,n.left,o),right:w(r.right,n.right,o),bottom:w(r.bottom,n.bottom,o)})}},ge=class extends bt{constructor(o,r,n){super(r,n);c(this,"node");this.node=o}},ot=class{constructor(e){c(this,"engine");c(this,"records",new WeakMap);this.engine=e}animate(e,o){this.records.get(e)?.stop();let{duration:r,easing:n,plans:s}=o,i=[];e.traverse(l=>{let p=s.get(l.id);if(!p)throw new Error("Unknown node");let f={duration:r,easing:n,plan:p},u=this.engine.animate(l,f);i.push(u)},{includeSelf:!0});let a=new xe(e,i);return this.records.set(e,a),a}},xe=class extends et{constructor(o,r){super(r);c(this,"root");this.root=o}};var U=(()=>{let e=class{constructor(r,n){c(this,"element");c(this,"components");c(this,"id",`anonymous-${e.idNext++}`);c(this,"activated",!0);c(this,"parent");c(this,"children",new Set);c(this,"boundingBox");c(this,"transform");c(this,"identified",!1);this.element=r,this.components=n}identifyAs(r){if(this.identified)throw new Error(`Node "${this.id}" already identified`);this.id=r,this.identified=!0}activate(){this.activated=!0}deactivate(){this.activated=!1}attach(r){this.parent=r,r.children.add(this)}detach(){if(!this.parent)throw new Error("Missing parent");this.parent.children.delete(this),this.parent=void 0}traverse(r,n={}){n.includeSelf??=!1,n.includeDeactivated??=!1,n.includeSelf&&r(this),this.children.forEach(s=>{!n.includeDeactivated&&!s.activated||s.traverse(r,it(D({},n),{includeSelf:!0}))})}track(){let r=[],n=this.parent;for(;n;)r.unshift(n),n=n.parent;return r}reset(){this.transform=void 0,this.element.style.transform="",this.element.style.borderRadius=""}measure(){let r=R.from(this.element);this.boundingBox=r,this.components.forEach(n=>Object.assign(this,n.measureProperties(this.element,r)))}measured(){return!!this.boundingBox}project(r){if(!this.measured())throw new Error("Node not measured");this.transform=this.calculateTransform(r);let n={x:1,y:1},s=this.track();for(let f of s)f.transform&&(n.x*=f.transform.x.scale,n.y*=f.transform.y.scale);let i=this.transform,a=i.x.translate/n.x,l=i.y.translate/n.y;this.element.style.transform=[`translate3d(${a}px, ${l}px, 0)`,`scale(${i.x.scale}, ${i.y.scale})`].join(" ");let p={scaleX:n.x*this.transform.x.scale,scaleY:n.y*this.transform.y.scale};this.components.forEach(f=>{f.cancelDistortion(this.element,this,p)})}calculateTransform(r){let n=this.calculateTransformedBoundingBox(),s=n.midpoint(),i=r.midpoint(),a={x:new vt({origin:s.x,scale:r.width()/n.width(),translate:i.x-s.x}),y:new vt({origin:s.y,scale:r.height()/n.height(),translate:i.y-s.y})};return isNaN(a.x.scale)&&(a.x.scale=1),isNaN(a.y.scale)&&(a.y.scale=1),a}calculateTransformedBoundingBox(){if(!this.measured())throw new Error("Node not measured");let r=this.boundingBox;for(let n of this.track()){if(!n.boundingBox||!n.transform)continue;let s=n.transform;r=new R({top:s.y.apply(r.top),left:s.x.apply(r.left),right:s.x.apply(r.right),bottom:s.y.apply(r.bottom)})}return r}},t=e;return c(t,"idNext",1),t})();var ye=class{constructor(e,o){c(this,"map");c(this,"secondsBeforeDeletion");c(this,"timeouts",new Map);this.map=e,this.secondsBeforeDeletion=o}stale(e){let o=setTimeout(()=>this.performDeletion(e),this.secondsBeforeDeletion*1e3);this.timeouts.set(e,o)}refresh(e){let o=this.timeouts.get(e);clearTimeout(o),this.timeouts.delete(e)}performDeletion(e){this.map.delete(e),this.timeouts.delete(e)}},Y=class extends Set{},W=class extends Set{},Tr=(()=>{let e=class{constructor(r,n,s){c(this,"nodeRegistry");c(this,"entryRegistry");c(this,"snapshots");this.nodeRegistry=r,this.entryRegistry=n,this.snapshots=s}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(ct(Y),ct(W),ct(T))}),c(t,"\u0275prov",at({token:e,factory:e.\u0275fac})),t})(),Mr=(()=>{let e=class extends ye{constructor(r){super(r,10)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(ct(T))}),c(t,"\u0275prov",at({token:e,factory:e.\u0275fac})),t})(),wi=(()=>{let e=class extends B{constructor(n,s,i,a,l){super({node:n,deps:[s,i],storage:a});c(this,"nodeRegistry");c(this,"animationConfig",{});this.nodeRegistry=l}set lpjAnimation(n){typeof n!="string"&&(this.animationConfig=n)}snapshot(n){if(this.nodeRegistry&&n?.filter){let i=n.filter,a=this.nodeRegistry;n.filter=l=>a.has(l)&&i(l)}let s=this.snapper.snapshotTree(this.node,n);this.snapshots.merge(s)}},t=e;return c(t,"\u0275fac",function(s){return new(s||e)(g(U,2),g(L),g(q),g(T,8),g(Y,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode","","lpjAnimation",""]],inputs:{lpjAnimation:"lpjAnimation"},exportAs:["lpjAnimation"],standalone:!0,features:[Jt([{provide:B,useExisting:e}]),Kt]})),t})(),Oi=(()=>{let e=class{constructor(r,n){c(this,"templateRef");c(this,"viewContainer");c(this,"source");c(this,"current");this.templateRef=r,this.viewContainer=n}set lpjAnimationScope(r){r!==""&&(this.source=r)}ngOnInit(){let r=this.createInjector();this.current=r.get(Tr),this.viewContainer.createEmbeddedView(this.templateRef,{$implicit:this.current},{injector:r})}createInjector(){let{nodeRegistry:r=new Y,entryRegistry:n=new W,snapshots:s=new T}=this.source??{};return ke.create({providers:[{provide:Tr},{provide:Y,useValue:r},{provide:W,useValue:n},{provide:T,useValue:s},{provide:Mr}]})}static ngTemplateContextGuard(r,n){return!0}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(Ve),g(Ue))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationScope",""]],inputs:{lpjAnimationScope:"lpjAnimationScope"},standalone:!0})),t})(),Ii=(()=>{let e=class{constructor(r,n,s){c(this,"node");c(this,"registry");c(this,"snapshots");this.node=r,this.registry=n,this.snapshots=s}ngOnInit(){this.registry?.add(this.node),this.snapshots?.refresh(this.node.id)}ngOnDestroy(){this.registry?.delete(this.node),this.snapshots?.stale(this.node.id)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(U,2),g(Y,8),g(Mr,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],standalone:!0})),t})(),ji=(()=>{let e=class{constructor(r,n){c(this,"entry");c(this,"registry");this.entry=r,this.registry=n}ngOnInit(){this.registry?.add(this.entry)}ngOnDestroy(){this.registry?.delete(this.entry)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(W,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation",""]],standalone:!0})),t})(),An=(()=>{let e=class{constructor(r){c(this,"entryRegistry");c(this,"trigger$",new Ot(Re));c(this,"targets",[]);c(this,"animationTrigger",new Zt);c(this,"animationSettle",new Zt);this.entryRegistry=r}set lpjAnimationTrigger(r){let n=r instanceof Me?r.pipe(Ne(Gt(r))):Gt(r);this.trigger$.next(n)}set lpjAnimationTriggerFor(r){this.targets=Array.isArray(r)?r:[r]}ngOnInit(){this.trigger$.pipe(De(),Ae(1),St(()=>this.animationTrigger.emit()),St(()=>this.snapshot()),jt(()=>Ee().pipe(Ce())),It(()=>this.animate()),St(r=>r.then(()=>this.animationSettle.emit()))).subscribe()}snapshot(){this.resolveTargets().forEach(r=>r.snapshot({measure:!0}))}animate(){let r=this.resolveTargets().map(n=>n.animate());return new et(r)}resolveTargets(){return this.targets.map(r=>this.resolveTarget(r))}resolveTarget(r){if(r instanceof B)return r;this.entryRegistry||this.resolveFailed(r,"no context provided");let n=Array.from(this.entryRegistry),s=r instanceof U?r.id:r,i=n.find(a=>a.node.id===s);return i||this.resolveFailed(r,"not found"),i}resolveFailed(r,n){throw new Error(`Failed to resolve target ${r}: ${n}`)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(W,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationTrigger",""]],inputs:{lpjAnimationTrigger:"lpjAnimationTrigger",lpjAnimationTriggerFor:"lpjAnimationTriggerFor"},outputs:{animationTrigger:"animationTrigger",animationSettle:"animationSettle"},standalone:!0})),t})(),Si=(()=>{let e=class{constructor(r,n){n.lpjAnimationTriggerFor=r}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(An,2))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation","","lpjAnimationTrigger",""]],standalone:!0})),t})(),Ti=(()=>{let e=class extends U{set lpjNode(r){typeof r=="string"?(r&&this.identifyAs(r),this.activate()):this.deactivate()}constructor(r,n,s){super(r.nativeElement,n),s&&this.attach(s)}ngOnDestroy(){this.parent&&this.detach()}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g($e),g(Er),g(U,12))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],inputs:{lpjNode:"lpjNode"},exportAs:["lpjNode"],standalone:!0,features:[Jt([{provide:U,useExisting:e}]),Kt]})),t})(),Er=new Tt("PROJECTION_COMPONENTS",{factory:()=>[]}),Rr=new Tt("ANIMATION_HANDLERS",{factory:()=>[]}),Fr=new Tt("ANIMATION_PLANNERS",{factory:()=>[]});var Nn=[{provide:L,useFactory:()=>new L(j(ot),j(rt),j(Fr))},{provide:nt,useFactory:()=>new nt(j(Rr))},{provide:ot,useFactory:()=>new ot(j(nt))},{provide:rt,useFactory:()=>new rt},{provide:q,useFactory:()=>new q}],Mi=(()=>{let e=class{static forRoot(r={}){let n=(s,i)=>i.map(a=>({provide:s,useClass:a,multi:!0}));return{ngModule:e,providers:[Nn,n(Er,r.components??[]),n(Rr,r.animationHandlers??[]),n(Fr,r.animationPlanners??[])]}}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)}),c(t,"\u0275mod",Pe({type:e})),c(t,"\u0275inj",Be({})),t})();function Ai(){let t=j(qe);return()=>t.getContext("primary")?.route?.snapshot?.data?.animationId??"none"}var st=class{static apply(...e){return Xt(this.content)}},be=class extends st{},Lt=be;(()=>{be.content=lt([A("mat-drawer",v({transform:"none"}),{optional:!0})])})();var ve=class extends st{},Yt=ve;(()=>{ve.content=lt([A("router-outlet ~ *",[$("1ms",v({}))],{optional:!0})])})();var we=class extends st{},Dr=we;(()=>{we.content=lt([Lt.apply(),Qt([A(":leave",[v({position:"absolute"}),Yt.apply(),v({opacity:1}),$(`90ms ${z.ACCELERATION_CURVE}`,v({opacity:0}))],{optional:!0}),A(":enter",[v({transform:"scale(92%)",opacity:0}),$(`210ms 90ms ${z.DECELERATION_CURVE}`,v({transform:"scale(1)",opacity:1}))])])])})();var Cr=class extends st{static apply(e,o,r={incoming:":enter",outgoing:":leave"}){let n=e==="x"?{overflowX:"visible",overflowY:"*",transformIncomingFrom:"translateX(30px)",transformIncomingTo:"translateX(0)",transformOutgoingFrom:"translateX(0)",transformOutgoingTo:"translateX(-30px)"}:e==="y"?{overflowX:"*",overflowY:"visible",transformIncomingFrom:"translateY(30px)",transformIncomingTo:"translateY(0)",transformOutgoingFrom:"translateY(0)",transformOutgoingTo:"translateY(-30px)"}:{overflowX:"visible",overflowY:"visible",transformIncomingFrom:"scale(80%)",transformIncomingTo:"scale(100%)",transformOutgoingFrom:"scale(100%)",transformOutgoingTo:"scale(110%)"};return o==="backward"&&([n.transformIncomingFrom,n.transformIncomingTo,n.transformOutgoingFrom,n.transformOutgoingTo]=[n.transformOutgoingTo,n.transformOutgoingFrom,n.transformIncomingTo,n.transformIncomingFrom]),Xt(lt([Lt.apply(),Qt([A(r.outgoing,[v({transform:n.transformOutgoingFrom}),$(`300ms ${z.STANDARD_CURVE}`,v({transform:n.transformOutgoingTo}))]),A(r.incoming,[v({transform:n.transformIncomingFrom}),$(`300ms ${z.STANDARD_CURVE}`,v({transform:n.transformIncomingTo}))]),A(r.outgoing,[Yt.apply(),$(`90ms ${z.ACCELERATION_CURVE}`,v({opacity:0}))]),A(r.incoming,[v({opacity:0}),$(`210ms 90ms ${z.DECELERATION_CURVE}`,v({opacity:1}))])])]))}};var _r=(()=>{var e;let o=class{constructor(){Se(this,e,void 0);this.observer=j(ze),Te(this,e,new Ot(null)),this.config$=wt(this,e).pipe(),this.breakpoints$=wt(this,e).pipe(Fe(Boolean),jt(n=>this.observe(n)),_e(1))}applyConfig(n){wt(this,e).next(n)}observe(n){return this.observer.observe(Object.values(n)).pipe(It(s=>this.parseState(n,s)))}parseState(n,s){let i={};for(let a in n){let l=a,p=n[l];i[l]=s.breakpoints[p]}return i}},t=o;return e=new WeakMap,(()=>{o.\u0275fac=function(s){return new(s||o)}})(),(()=>{o.\u0275prov=at({token:o,factory:o.\u0275fac,providedIn:"root"})})(),t})();function Li(){let t=j(_r).breakpoints$;return He(t,{initialValue:{["tablet-portrait"]:!1,["tablet-landscape"]:!1,laptop:!1,desktop:!1}})}export{q as a,T as b,L as c,U as d,wi as e,Oi as f,Ii as g,ji as h,An as i,Si as j,Ti as k,Mi as l,Ai as m,Dr as n,Cr as o,_r as p,Li as q}; diff --git a/chunk-KJC4PF6B.js b/chunk-N7M2F6P2.js similarity index 97% rename from chunk-KJC4PF6B.js rename to chunk-N7M2F6P2.js index 7bda525..3971cbd 100644 --- a/chunk-KJC4PF6B.js +++ b/chunk-N7M2F6P2.js @@ -1 +1 @@ -import{a as wt,b as ne,c as ae,d as M,e as V,f as se,g as Q,h as x,i as y,l as gt}from"./chunk-HDMEYBD3.js";import{$ as qt,$b as ut,Ab as w,Ba as Zt,C as Ht,Cb as ft,D as zt,Da as C,Ea as d,Ec as pt,Ed as ce,F as D,Fa as Xt,Fb as R,Fc as z,G as $t,Ga as T,Gb as ee,Gc as $,Gd as _t,Hc as k,I as Yt,Ia as P,Ic as Y,Ja as B,Jc as U,Jd as jt,Kd as Ft,L as Ut,Lc as W,Nc as q,O as Et,P as Wt,Qc as Rt,Rc as St,Sc as Z,Va as dt,W as ct,b as Gt,ca as _,cc as H,d as p,da as v,ea as l,fa as lt,ga as I,gb as Ot,ha as b,hb as mt,jc as ie,kc as N,l as st,p as rt,qb as ht,qc as S,r as At,rc as j,sb as Kt,t as K,ta as h,ub as Qt,ud as re,vb as Jt,vc as F,wa as It,wc as oe,x as L,xb as te,xc as Tt,z as g,za as O}from"./chunk-KBDKS3MK.js";import{a as u,b as X}from"./chunk-3J24ZBPC.js";var Re={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},bt="__@ngrx/effects_create__";function Pi(o,e={}){let s=e.functional?o:o(),t=u(u({},Re),e);return Object.defineProperty(s,bt,{value:t}),s}function Se(o){return Object.getOwnPropertyNames(o).filter(t=>o[t]&&o[t].hasOwnProperty(bt)?o[t][bt].hasOwnProperty("dispatch"):!1).map(t=>{let i=o[t][bt];return u({propertyName:t},i)})}function je(o){return Se(o)}function he(o){return Object.getPrototypeOf(o)}function Fe(o){return o.constructor.name!=="Object"&&o.constructor.name!=="Function"}function fe(o){return typeof o=="function"}function le(o){return o.filter(fe)}function Me(o){return o instanceof h||fe(o)}function ke(o,e,s){let t=he(o).constructor.name,i=je(o).map(({propertyName:n,dispatch:a,useEffectsErrorHandler:r})=>{let c=typeof o[n]=="function"?o[n]():o[n],m=r?s(c,e):c;return a===!1?m.pipe($t()):m.pipe(Wt()).pipe(rt(A=>({effect:o[n],notification:A,propertyName:n,sourceName:t,sourceInstance:o})))});return L(...i)}var Le=10;function ue(o,e,s=Le){return o.pipe(Ht(t=>(e&&e.handleError(t),s<=1?o:ue(o,e,s-1))))}var Bi=(()=>{let e=class extends Gt{constructor(t){super(),t&&(this.source=t)}lift(t){let i=new e;return i.source=this,i.operator=t,i}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(ce))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})})(),o})();function Ni(...o){return g(e=>o.some(s=>typeof s=="string"?s===e.type:s.type===e.type))}var ge=new h("@ngrx/effects Internal Root Guard"),vt=new h("@ngrx/effects User Provided Effects"),Mt=new h("@ngrx/effects Internal Root Effects"),pe=new h("@ngrx/effects Internal Root Effects Instances"),de=new h("@ngrx/effects Internal Feature Effects"),_e=new h("@ngrx/effects Internal Feature Effects Instance Groups"),Pe=new h("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>ue}),ve="@ngrx/effects/init",Vi=re(ve);function Be(o,e){if(o.notification.kind==="N"){let s=o.notification.value;!Ne(s)&&e.handleError(new Error(`Effect ${Ve(o)} dispatched an invalid action: ${Ge(s)}`))}}function Ne(o){return typeof o!="function"&&o&&o.type&&typeof o.type=="string"}function Ve({propertyName:o,sourceInstance:e,sourceName:s}){let t=typeof e[o]=="function";return`"${s}.${String(o)}${t?"()":""}"`}function Ge(o){try{return JSON.stringify(o)}catch{return o}}var He="ngrxOnIdentifyEffects";function ze(o){return kt(o,He)}var $e="ngrxOnRunEffects";function Ye(o){return kt(o,$e)}var Ue="ngrxOnInitEffects";function We(o){return kt(o,Ue)}function kt(o,e){return o&&e in o&&typeof o[e]=="function"}var be=(()=>{let e=class extends p{constructor(t,i){super(),this.errorHandler=t,this.effectsErrorHandler=i}addEffects(t){this.next(t)}toActions(){return this.pipe(Et(t=>Fe(t)?he(t):t),At(t=>t.pipe(Et(qe))),At(t=>{let i=t.pipe(Ut(a=>Ze(this.errorHandler,this.effectsErrorHandler)(a)),rt(a=>(Be(a,this.errorHandler),a.notification)),g(a=>a.kind==="N"&&a.value!=null),Yt()),n=t.pipe(D(1),g(We),rt(a=>a.ngrxOnInitEffects()));return L(i,n)}))}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(Zt),l(Pe))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})})(),o})();function qe(o){return ze(o)?o.ngrxOnIdentifyEffects():""}function Ze(o,e){return s=>{let t=ke(s,o,e);return Ye(s)?s.ngrxOnRunEffects(t):t}}var ye=(()=>{let e=class{get isStarted(){return!!this.effectsSubscription}constructor(t,i){this.effectSources=t,this.store=i,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(be),l(_t))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})})(),o})(),De=(()=>{let e=class{constructor(t,i,n,a,r,c,m){this.sources=t,i.start();for(let f of a)t.addEffects(f);n.dispatch({type:ve})}addEffects(t){this.sources.addEffects(t)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(be),l(ye),l(_t),l(pe),l(jt,8),l(Ft,8),l(ge,8))}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({})})(),o})(),Xe=(()=>{let e=class{constructor(t,i,n,a){let r=i.flat();for(let c of r)t.addEffects(c)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(De),l(_e),l(jt,8),l(Ft,8))}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({})})(),o})(),Gi=(()=>{let e=class{static forFeature(...t){let i=t.flat(),n=le(i);return{ngModule:Xe,providers:[n,{provide:de,multi:!0,useValue:i},{provide:vt,multi:!0,useValue:[]},{provide:_e,multi:!0,useFactory:me,deps:[de,vt]}]}}static forRoot(...t){let i=t.flat(),n=le(i);return{ngModule:De,providers:[n,{provide:Mt,useValue:[i]},{provide:ge,useFactory:Ke},{provide:vt,multi:!0,useValue:[]},{provide:pe,useFactory:me,deps:[Mt,vt]}]}}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({})})(),o})();function me(o,e){let s=[];for(let t of o)s.push(...t);for(let t of e)s.push(...t);return s.map(t=>Me(t)?lt(t):t)}function Ke(){let o=lt(ye,{optional:!0,skipSelf:!0}),e=lt(Mt,{self:!0});if(!(e.length===1&&e[0].length===0)&&o)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}function Hi(o){return zt(e=>{let s=o(e),t=Array.isArray(s)?s:[s];return st(e).pipe(qt(...t))})}function Qe(o,e){}var E=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 et=(()=>{let e=class extends ae{constructor(t,i,n,a,r,c,m,f){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=r,this._ngZone=c,this._overlayRef=m,this._focusMonitor=f,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=A=>{this._portalOutlet.hasAttached();let at=this._portalOutlet.attachDomPortal(A);return this._contentAttached(),at},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=n}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{t.removeEventListener("blur",n),t.removeEventListener("mousedown",n),t.removeAttribute("tabindex")};t.addEventListener("blur",n),t.addEventListener("mousedown",n)})),t.focus(i)}_focusByCssSelector(t,i){let n=this._elementRef.nativeElement.querySelector(t);n&&this._forceFocus(n,i)}_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(i=>{i||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,i=null;if(typeof t=="string"?i=this._document.querySelector(t):typeof t=="boolean"?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&typeof i.focus=="function"){let n=ut(),a=this._elementRef.nativeElement;(!n||n===this._document.body||n===a||a.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,i=ut();return t===i||t.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ut())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(E),d(S),d(w),d(x),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,n){if(i&1&&Jt(M,7),i&2){let a;Qt(a=te())&&(n._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,n){i&2&&P("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&B(0,Qe,0,0,"ng-template",0)},dependencies:[M],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})})(),o})(),J=class{constructor(e,s){this.overlayRef=e,this.config=s,this.closed=new p,this.disableClose=s.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=s.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!H(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(()=>{s.closeOnOverlayDetachments!==!1&&this.close()})}close(e,s){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=s?.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="",s=""){return this.overlayRef.updateSize({width:e,height:s}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},xe=new h("DialogScrollStrategy"),Je=new h("DialogData"),ti=new h("DefaultDialogConfig");function ei(o){return()=>o.scrollStrategies.block()}var ii={provide:xe,deps:[y],useFactory:ei},oi=0,it=(()=>{let e=class{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,n,a,r,c){this._overlay=t,this._injector=i,this._defaultOptions=n,this._parentDialog=a,this._overlayContainer=r,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._ariaHiddenElements=new Map,this.afterAllClosed=K(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ct(void 0))),this._scrollStrategy=c}open(t,i){let n=this._defaultOptions||new E;i=u(u({},n),i),i.id=i.id||`cdk-dialog-${oi++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),r=this._overlay.create(a),c=new J(r,i),m=this._attachContainer(r,c,i);return c.containerInstance=m,this._attachDialogContent(t,c,m,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){Lt(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Lt(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Lt(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let i=new se({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&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,n){let a=n.injector||n.viewContainerRef?.injector,r=[{provide:E,useValue:n},{provide:J,useValue:i},{provide:x,useValue:t}],c;n.container?typeof n.container=="function"?c=n.container:(c=n.container.type,r.push(...n.container.providers(n))):c=et;let m=new wt(c,n.viewContainerRef,C.create({parent:a||this._injector,providers:r}),n.componentFactoryResolver);return t.attach(m).instance}_attachDialogContent(t,i,n,a){if(t instanceof Kt){let r=this._createInjector(a,i,n,void 0),c={$implicit:a.data,dialogRef:i};a.templateContext&&(c=u(u({},c),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),n.attachTemplatePortal(new ne(t,null,c,r))}else{let r=this._createInjector(a,i,n,this._injector),c=n.attachComponentPortal(new wt(t,a.viewContainerRef,r,a.componentFactoryResolver));i.componentInstance=c.instance}}_createInjector(t,i,n,a){let r=t.injector||t.viewContainerRef?.injector,c=[{provide:Je,useValue:t.data},{provide:J,useValue:i}];return t.providers&&(typeof t.providers=="function"?c.push(...t.providers(i,t,n)):c.push(...t.providers)),t.direction&&(!r||!r.get(Tt,null,{optional:!0}))&&c.push({provide:Tt,useValue:{value:t.direction,change:st()}}),C.create({parent:r||a,providers:c})}_removeOpenDialog(t,i){let n=this.openDialogs.indexOf(t);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,r)=>{a?r.setAttribute("aria-hidden",a):r.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let i=t.parentElement.children;for(let n=i.length-1;n>-1;n--){let a=i[n];a!==t&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(y),l(C),l(ti,8),l(e,12),l(Q),l(xe))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac})})(),o})();function Lt(o,e){let s=o.length;for(;s--;)e(o[s])}var ot=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({providers:[it,ii],imports:[gt,V,oe,V]})})(),o})();function ai(o,e){}var si={bottomSheetState:pt("state",[Y("void, hidden",k({transform:"translateY(100%)"})),Y("visible",k({transform:"translateY(0%)"})),U("visible => void, visible => hidden",$([z(`${St.COMPLEX} ${Rt.ACCELERATION_CURVE}`),q("@*",W(),{optional:!0})])),U("void => visible",$([z(`${St.EXITING} ${Rt.DECELERATION_CURVE}`),q("@*",W(),{optional:!0})]))])},ri=(()=>{let e=class extends et{constructor(t,i,n,a,r,c,m,f,A,at){super(t,i,n,a,r,c,m,at),this._changeDetectorRef=A,this._animationState="void",this._animationStateChanged=new ht,this._breakpointSubscription=f.observe([N.Medium,N.Large,N.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",f.isMatched(N.Medium)),this._toggleClass("mat-bottom-sheet-container-large",f.isMatched(N.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",f.isMatched(N.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){t.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}_toggleClass(t,i){this._elementRef.nativeElement.classList.toggle(t,i)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(E),d(S),d(w),d(x),d(ie),d(ft),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(i,n){i&1&&dt("@state.start",function(r){return n._onAnimationStart(r)})("@state.done",function(r){return n._onAnimationDone(r)}),i&2&&(P("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),mt("@state",n._animationState))},features:[T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&B(0,ai,0,0,"ng-template",0)},dependencies:[M],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[si.bottomSheetState]}})})(),o})(),ci=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({imports:[ot,Z,V,Z]})})(),o})(),li=new h("MatBottomSheetData"),Nt=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},Dt=class{get instance(){return this._ref.componentInstance}constructor(e,s,t){this._ref=e,this._afterOpened=new p,this.containerInstance=t,this.disableClose=s.disableClose,t._animationStateChanged.pipe(g(i=>i.phaseName==="done"&&i.toState==="visible"),D(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(g(i=>i.phaseName==="done"&&i.toState==="hidden"),D(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),e.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),L(this.backdropClick(),this.keydownEvents().pipe(g(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!H(i))&&(i.preventDefault(),this.dismiss())})}dismiss(e){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(g(s=>s.phaseName==="start"),D(1)).subscribe(s=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},s.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=e,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},di=new h("mat-bottom-sheet-default-options"),So=(()=>{let e=class{get _openedBottomSheetRef(){let t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,i,n,a){this._overlay=t,this._parentBottomSheet=n,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=i.get(it)}open(t,i){let n=u(u({},this._defaultOptions||new Nt),i),a;return this._dialog.open(t,X(u({},n),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:ri,scrollStrategy:n.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(r,c,m)=>(a=new Dt(r,n,m),[{provide:Dt,useValue:a},{provide:li,useValue:n.data}])})),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(y),l(C),l(e,12),l(di,8))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:ci})})(),o})();var G=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",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}};var Ae=(()=>{let e=class extends et{constructor(t,i,n,a,r,c,m,f){super(t,i,n,a,r,c,m,f),this._animationStateChanged=new ht}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(G),d(S),d(w),d(x),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["ng-component"]],features:[T],decls:0,vars:0,template:function(i,n){},encapsulation:2})})(),o})();var Ct=class{constructor(e,s,t){this._ref=e,this._containerInstance=t,this._afterOpened=new p,this._beforeClosed=new p,this._state=0,this.disableClose=s.disableClose,this.id=e.id,t._animationStateChanged.pipe(g(i=>i.state==="opened"),D(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(g(i=>i.state==="closed"),D(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),L(this.backdropClick(),this.keydownEvents().pipe(g(i=>i.keyCode===27&&!this.disableClose&&!H(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Ee(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(g(s=>s.state==="closing"),D(1)).subscribe(s=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),s.totalTime+100)}),this._state=1,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 s=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?s.left(e.left):s.right(e.right):s.centerHorizontally(),e&&(e.top||e.bottom)?e.top?s.top(e.top):s.bottom(e.bottom):s.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",s=""){return this._ref.updateSize(e,s),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Ee(o,e,s){return o._closeInteractionType=e,o.close(s)}var gi=0,Ie=(()=>{let e=class{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,i,n,a,r,c,m,f,A,at){this._overlay=t,this._defaultOptions=n,this._parentDialog=a,this._dialogRefConstructor=m,this._dialogContainerType=f,this._dialogDataToken=A,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._idPrefix="mat-dialog-",this.dialogConfigClass=G,this.afterAllClosed=K(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ct(void 0))),this._scrollStrategy=c,this._dialog=i.get(it)}open(t,i){let n;i=u(u({},this._defaultOptions||new G),i),i.id=i.id||`${this._idPrefix}${gi++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(t,X(u({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:E,useValue:i}]},templateContext:()=>({dialogRef:n}),providers:(r,c,m)=>(n=new this._dialogRefConstructor(r,i,m),n.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:m},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentInstance=a.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let r=this.openDialogs.indexOf(n);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}},o=e;return(()=>{e.\u0275fac=function(i){Xt()}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac})})(),o})();var nt={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Oe={dialogContainer:pt("dialogContainer",[Y("void, exit",k({opacity:0,transform:"scale(0.7)"})),Y("enter",k({transform:"none"})),U("* => enter",$([z("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",k({transform:"none",opacity:1})),q("@*",W(),{optional:!0})]),nt),U("* => void, * => exit",$([z("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",k({opacity:0})),q("@*",W(),{optional:!0})]),nt)])};function pi(o,e){}var Te={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},xt=class extends G{constructor(){super(...arguments),this.enterAnimationDuration=nt.params.enterAnimationDuration,this.exitAnimationDuration=nt.params.exitAnimationDuration}},_i=(()=>{let e=class extends Ae{_onAnimationDone({toState:t,totalTime:i}){t==="enter"?this._openAnimationDone(i):t==="exit"&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:t,totalTime:i}){t==="enter"?this._animationStateChanged.next({state:"opening",totalTime:i}):(t==="exit"||t==="void")&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(t,i,n,a,r,c,m,f,A){super(t,i,n,a,r,c,m,A),this._changeDetectorRef=f,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Te.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Te.params.exitAnimationDuration}}}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(xt),d(S),d(w),d(x),d(ft),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(i,n){i&1&&dt("@dialogContainer.start",function(r){return n._onAnimationStart(r)})("@dialogContainer.done",function(r){return n._onAnimationDone(r)}),i&2&&(Ot("id",n._config.id),P("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),mt("@dialogContainer",n._getAnimationState()))},features:[T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&B(0,pi,0,0,"ng-template",0)},dependencies:[M],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Oe.dialogContainer]}})})(),o})(),Vt=class extends Ct{},vi=new h("MatDialogData"),bi=new h("mat-dialog-default-options"),we=new h("mat-dialog-scroll-strategy");function yi(o){return()=>o.scrollStrategies.block()}var Di={provide:we,deps:[y],useFactory:yi},Ci=(()=>{let e=class extends Ie{constructor(t,i,n,a,r,c,m,f){super(t,i,a,c,m,r,Vt,_i,vi,f),this.dialogConfigClass=xt}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(y),l(C),l(ee,8),l(bi,8),l(we),l(e,12),l(Q),l(It,8))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac})})(),o})();var Dn=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({providers:[Ci,Di],imports:[ot,gt,V,Z,Z]})})(),o})();export{ci as a,li as b,Dt as c,So as d,Vt as e,vi as f,Ci as g,Dn as h,Pi as i,Bi as j,Ni as k,Gi as l,Hi as m}; +import{a as wt,b as ne,c as ae,d as M,e as V,f as se,g as Q,h as x,i as y,l as gt}from"./chunk-JYLXIIJ3.js";import{Aa as Zt,B as Ht,Bb as ft,C as zt,Ca as C,Da as d,Dc as pt,Dd as ce,E as D,Ea as Xt,Eb as R,Ec as z,F as $t,Fa as T,Fb as ee,Fc as $,Fd as _t,Gc as k,H as Yt,Ha as P,Hc as Y,Ia as B,Ic as U,Id as jt,Jd as Ft,K as Ut,Kc as W,Mc as q,N as Et,O as Wt,Pc as Rt,Qc as St,Rc as Z,Ua as dt,V as ct,_ as qt,_b as ut,b as Gt,ba as _,bc as H,ca as v,d as p,da as l,ea as lt,fa as I,fb as Ot,ga as b,gb as mt,ic as ie,jc as N,l as st,p as rt,pb as ht,pc as S,qc as j,r as At,rb as Kt,sa as h,t as K,tb as Qt,td as re,ub as Jt,uc as F,va as It,vc as oe,wb as te,wc as Tt,x as L,ya as O,z as g,zb as w}from"./chunk-VGXZBCX5.js";import{a as u,b as X}from"./chunk-OROYKVKJ.js";var Re={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},bt="__@ngrx/effects_create__";function Pi(o,e={}){let s=e.functional?o:o(),t=u(u({},Re),e);return Object.defineProperty(s,bt,{value:t}),s}function Se(o){return Object.getOwnPropertyNames(o).filter(t=>o[t]&&o[t].hasOwnProperty(bt)?o[t][bt].hasOwnProperty("dispatch"):!1).map(t=>{let i=o[t][bt];return u({propertyName:t},i)})}function je(o){return Se(o)}function he(o){return Object.getPrototypeOf(o)}function Fe(o){return o.constructor.name!=="Object"&&o.constructor.name!=="Function"}function fe(o){return typeof o=="function"}function le(o){return o.filter(fe)}function Me(o){return o instanceof h||fe(o)}function ke(o,e,s){let t=he(o).constructor.name,i=je(o).map(({propertyName:n,dispatch:a,useEffectsErrorHandler:r})=>{let c=typeof o[n]=="function"?o[n]():o[n],m=r?s(c,e):c;return a===!1?m.pipe($t()):m.pipe(Wt()).pipe(rt(A=>({effect:o[n],notification:A,propertyName:n,sourceName:t,sourceInstance:o})))});return L(...i)}var Le=10;function ue(o,e,s=Le){return o.pipe(Ht(t=>(e&&e.handleError(t),s<=1?o:ue(o,e,s-1))))}var Bi=(()=>{let e=class extends Gt{constructor(t){super(),t&&(this.source=t)}lift(t){let i=new e;return i.source=this,i.operator=t,i}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(ce))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})})(),o})();function Ni(...o){return g(e=>o.some(s=>typeof s=="string"?s===e.type:s.type===e.type))}var ge=new h("@ngrx/effects Internal Root Guard"),vt=new h("@ngrx/effects User Provided Effects"),Mt=new h("@ngrx/effects Internal Root Effects"),pe=new h("@ngrx/effects Internal Root Effects Instances"),de=new h("@ngrx/effects Internal Feature Effects"),_e=new h("@ngrx/effects Internal Feature Effects Instance Groups"),Pe=new h("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>ue}),ve="@ngrx/effects/init",Vi=re(ve);function Be(o,e){if(o.notification.kind==="N"){let s=o.notification.value;!Ne(s)&&e.handleError(new Error(`Effect ${Ve(o)} dispatched an invalid action: ${Ge(s)}`))}}function Ne(o){return typeof o!="function"&&o&&o.type&&typeof o.type=="string"}function Ve({propertyName:o,sourceInstance:e,sourceName:s}){let t=typeof e[o]=="function";return`"${s}.${String(o)}${t?"()":""}"`}function Ge(o){try{return JSON.stringify(o)}catch{return o}}var He="ngrxOnIdentifyEffects";function ze(o){return kt(o,He)}var $e="ngrxOnRunEffects";function Ye(o){return kt(o,$e)}var Ue="ngrxOnInitEffects";function We(o){return kt(o,Ue)}function kt(o,e){return o&&e in o&&typeof o[e]=="function"}var be=(()=>{let e=class extends p{constructor(t,i){super(),this.errorHandler=t,this.effectsErrorHandler=i}addEffects(t){this.next(t)}toActions(){return this.pipe(Et(t=>Fe(t)?he(t):t),At(t=>t.pipe(Et(qe))),At(t=>{let i=t.pipe(Ut(a=>Ze(this.errorHandler,this.effectsErrorHandler)(a)),rt(a=>(Be(a,this.errorHandler),a.notification)),g(a=>a.kind==="N"&&a.value!=null),Yt()),n=t.pipe(D(1),g(We),rt(a=>a.ngrxOnInitEffects()));return L(i,n)}))}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(Zt),l(Pe))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})})(),o})();function qe(o){return ze(o)?o.ngrxOnIdentifyEffects():""}function Ze(o,e){return s=>{let t=ke(s,o,e);return Ye(s)?s.ngrxOnRunEffects(t):t}}var ye=(()=>{let e=class{get isStarted(){return!!this.effectsSubscription}constructor(t,i){this.effectSources=t,this.store=i,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(be),l(_t))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})})(),o})(),De=(()=>{let e=class{constructor(t,i,n,a,r,c,m){this.sources=t,i.start();for(let f of a)t.addEffects(f);n.dispatch({type:ve})}addEffects(t){this.sources.addEffects(t)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(be),l(ye),l(_t),l(pe),l(jt,8),l(Ft,8),l(ge,8))}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({})})(),o})(),Xe=(()=>{let e=class{constructor(t,i,n,a){let r=i.flat();for(let c of r)t.addEffects(c)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(De),l(_e),l(jt,8),l(Ft,8))}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({})})(),o})(),Gi=(()=>{let e=class{static forFeature(...t){let i=t.flat(),n=le(i);return{ngModule:Xe,providers:[n,{provide:de,multi:!0,useValue:i},{provide:vt,multi:!0,useValue:[]},{provide:_e,multi:!0,useFactory:me,deps:[de,vt]}]}}static forRoot(...t){let i=t.flat(),n=le(i);return{ngModule:De,providers:[n,{provide:Mt,useValue:[i]},{provide:ge,useFactory:Ke},{provide:vt,multi:!0,useValue:[]},{provide:pe,useFactory:me,deps:[Mt,vt]}]}}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({})})(),o})();function me(o,e){let s=[];for(let t of o)s.push(...t);for(let t of e)s.push(...t);return s.map(t=>Me(t)?lt(t):t)}function Ke(){let o=lt(ye,{optional:!0,skipSelf:!0}),e=lt(Mt,{self:!0});if(!(e.length===1&&e[0].length===0)&&o)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}function Hi(o){return zt(e=>{let s=o(e),t=Array.isArray(s)?s:[s];return st(e).pipe(qt(...t))})}function Qe(o,e){}var E=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 et=(()=>{let e=class extends ae{constructor(t,i,n,a,r,c,m,f){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=r,this._ngZone=c,this._overlayRef=m,this._focusMonitor=f,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=A=>{this._portalOutlet.hasAttached();let at=this._portalOutlet.attachDomPortal(A);return this._contentAttached(),at},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=n}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{t.removeEventListener("blur",n),t.removeEventListener("mousedown",n),t.removeAttribute("tabindex")};t.addEventListener("blur",n),t.addEventListener("mousedown",n)})),t.focus(i)}_focusByCssSelector(t,i){let n=this._elementRef.nativeElement.querySelector(t);n&&this._forceFocus(n,i)}_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(i=>{i||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,i=null;if(typeof t=="string"?i=this._document.querySelector(t):typeof t=="boolean"?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&typeof i.focus=="function"){let n=ut(),a=this._elementRef.nativeElement;(!n||n===this._document.body||n===a||a.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,i=ut();return t===i||t.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ut())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(E),d(S),d(w),d(x),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,n){if(i&1&&Jt(M,7),i&2){let a;Qt(a=te())&&(n._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,n){i&2&&P("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&B(0,Qe,0,0,"ng-template",0)},dependencies:[M],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})})(),o})(),J=class{constructor(e,s){this.overlayRef=e,this.config=s,this.closed=new p,this.disableClose=s.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=s.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!H(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(()=>{s.closeOnOverlayDetachments!==!1&&this.close()})}close(e,s){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=s?.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="",s=""){return this.overlayRef.updateSize({width:e,height:s}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},xe=new h("DialogScrollStrategy"),Je=new h("DialogData"),ti=new h("DefaultDialogConfig");function ei(o){return()=>o.scrollStrategies.block()}var ii={provide:xe,deps:[y],useFactory:ei},oi=0,it=(()=>{let e=class{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,n,a,r,c){this._overlay=t,this._injector=i,this._defaultOptions=n,this._parentDialog=a,this._overlayContainer=r,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._ariaHiddenElements=new Map,this.afterAllClosed=K(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ct(void 0))),this._scrollStrategy=c}open(t,i){let n=this._defaultOptions||new E;i=u(u({},n),i),i.id=i.id||`cdk-dialog-${oi++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),r=this._overlay.create(a),c=new J(r,i),m=this._attachContainer(r,c,i);return c.containerInstance=m,this._attachDialogContent(t,c,m,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){Lt(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Lt(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Lt(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let i=new se({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&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,n){let a=n.injector||n.viewContainerRef?.injector,r=[{provide:E,useValue:n},{provide:J,useValue:i},{provide:x,useValue:t}],c;n.container?typeof n.container=="function"?c=n.container:(c=n.container.type,r.push(...n.container.providers(n))):c=et;let m=new wt(c,n.viewContainerRef,C.create({parent:a||this._injector,providers:r}),n.componentFactoryResolver);return t.attach(m).instance}_attachDialogContent(t,i,n,a){if(t instanceof Kt){let r=this._createInjector(a,i,n,void 0),c={$implicit:a.data,dialogRef:i};a.templateContext&&(c=u(u({},c),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),n.attachTemplatePortal(new ne(t,null,c,r))}else{let r=this._createInjector(a,i,n,this._injector),c=n.attachComponentPortal(new wt(t,a.viewContainerRef,r,a.componentFactoryResolver));i.componentInstance=c.instance}}_createInjector(t,i,n,a){let r=t.injector||t.viewContainerRef?.injector,c=[{provide:Je,useValue:t.data},{provide:J,useValue:i}];return t.providers&&(typeof t.providers=="function"?c.push(...t.providers(i,t,n)):c.push(...t.providers)),t.direction&&(!r||!r.get(Tt,null,{optional:!0}))&&c.push({provide:Tt,useValue:{value:t.direction,change:st()}}),C.create({parent:r||a,providers:c})}_removeOpenDialog(t,i){let n=this.openDialogs.indexOf(t);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,r)=>{a?r.setAttribute("aria-hidden",a):r.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let i=t.parentElement.children;for(let n=i.length-1;n>-1;n--){let a=i[n];a!==t&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(y),l(C),l(ti,8),l(e,12),l(Q),l(xe))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac})})(),o})();function Lt(o,e){let s=o.length;for(;s--;)e(o[s])}var ot=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({providers:[it,ii],imports:[gt,V,oe,V]})})(),o})();function ai(o,e){}var si={bottomSheetState:pt("state",[Y("void, hidden",k({transform:"translateY(100%)"})),Y("visible",k({transform:"translateY(0%)"})),U("visible => void, visible => hidden",$([z(`${St.COMPLEX} ${Rt.ACCELERATION_CURVE}`),q("@*",W(),{optional:!0})])),U("void => visible",$([z(`${St.EXITING} ${Rt.DECELERATION_CURVE}`),q("@*",W(),{optional:!0})]))])},ri=(()=>{let e=class extends et{constructor(t,i,n,a,r,c,m,f,A,at){super(t,i,n,a,r,c,m,at),this._changeDetectorRef=A,this._animationState="void",this._animationStateChanged=new ht,this._breakpointSubscription=f.observe([N.Medium,N.Large,N.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",f.isMatched(N.Medium)),this._toggleClass("mat-bottom-sheet-container-large",f.isMatched(N.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",f.isMatched(N.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){t.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}_toggleClass(t,i){this._elementRef.nativeElement.classList.toggle(t,i)}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(E),d(S),d(w),d(x),d(ie),d(ft),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(i,n){i&1&&dt("@state.start",function(r){return n._onAnimationStart(r)})("@state.done",function(r){return n._onAnimationDone(r)}),i&2&&(P("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),mt("@state",n._animationState))},features:[T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&B(0,ai,0,0,"ng-template",0)},dependencies:[M],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[si.bottomSheetState]}})})(),o})(),ci=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({imports:[ot,Z,V,Z]})})(),o})(),li=new h("MatBottomSheetData"),Nt=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},Dt=class{get instance(){return this._ref.componentInstance}constructor(e,s,t){this._ref=e,this._afterOpened=new p,this.containerInstance=t,this.disableClose=s.disableClose,t._animationStateChanged.pipe(g(i=>i.phaseName==="done"&&i.toState==="visible"),D(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(g(i=>i.phaseName==="done"&&i.toState==="hidden"),D(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),e.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),L(this.backdropClick(),this.keydownEvents().pipe(g(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!H(i))&&(i.preventDefault(),this.dismiss())})}dismiss(e){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(g(s=>s.phaseName==="start"),D(1)).subscribe(s=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},s.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=e,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},di=new h("mat-bottom-sheet-default-options"),So=(()=>{let e=class{get _openedBottomSheetRef(){let t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,i,n,a){this._overlay=t,this._parentBottomSheet=n,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=i.get(it)}open(t,i){let n=u(u({},this._defaultOptions||new Nt),i),a;return this._dialog.open(t,X(u({},n),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:ri,scrollStrategy:n.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(r,c,m)=>(a=new Dt(r,n,m),[{provide:Dt,useValue:a},{provide:li,useValue:n.data}])})),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(y),l(C),l(e,12),l(di,8))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:ci})})(),o})();var G=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",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}};var Ae=(()=>{let e=class extends et{constructor(t,i,n,a,r,c,m,f){super(t,i,n,a,r,c,m,f),this._animationStateChanged=new ht}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(G),d(S),d(w),d(x),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["ng-component"]],features:[T],decls:0,vars:0,template:function(i,n){},encapsulation:2})})(),o})();var Ct=class{constructor(e,s,t){this._ref=e,this._containerInstance=t,this._afterOpened=new p,this._beforeClosed=new p,this._state=0,this.disableClose=s.disableClose,this.id=e.id,t._animationStateChanged.pipe(g(i=>i.state==="opened"),D(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(g(i=>i.state==="closed"),D(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),L(this.backdropClick(),this.keydownEvents().pipe(g(i=>i.keyCode===27&&!this.disableClose&&!H(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Ee(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(g(s=>s.state==="closing"),D(1)).subscribe(s=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),s.totalTime+100)}),this._state=1,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 s=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?s.left(e.left):s.right(e.right):s.centerHorizontally(),e&&(e.top||e.bottom)?e.top?s.top(e.top):s.bottom(e.bottom):s.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",s=""){return this._ref.updateSize(e,s),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Ee(o,e,s){return o._closeInteractionType=e,o.close(s)}var gi=0,Ie=(()=>{let e=class{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,i,n,a,r,c,m,f,A,at){this._overlay=t,this._defaultOptions=n,this._parentDialog=a,this._dialogRefConstructor=m,this._dialogContainerType=f,this._dialogDataToken=A,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._idPrefix="mat-dialog-",this.dialogConfigClass=G,this.afterAllClosed=K(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ct(void 0))),this._scrollStrategy=c,this._dialog=i.get(it)}open(t,i){let n;i=u(u({},this._defaultOptions||new G),i),i.id=i.id||`${this._idPrefix}${gi++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(t,X(u({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:E,useValue:i}]},templateContext:()=>({dialogRef:n}),providers:(r,c,m)=>(n=new this._dialogRefConstructor(r,i,m),n.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:m},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentInstance=a.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let r=this.openDialogs.indexOf(n);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}},o=e;return(()=>{e.\u0275fac=function(i){Xt()}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac})})(),o})();var nt={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Oe={dialogContainer:pt("dialogContainer",[Y("void, exit",k({opacity:0,transform:"scale(0.7)"})),Y("enter",k({transform:"none"})),U("* => enter",$([z("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",k({transform:"none",opacity:1})),q("@*",W(),{optional:!0})]),nt),U("* => void, * => exit",$([z("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",k({opacity:0})),q("@*",W(),{optional:!0})]),nt)])};function pi(o,e){}var Te={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},xt=class extends G{constructor(){super(...arguments),this.enterAnimationDuration=nt.params.enterAnimationDuration,this.exitAnimationDuration=nt.params.exitAnimationDuration}},_i=(()=>{let e=class extends Ae{_onAnimationDone({toState:t,totalTime:i}){t==="enter"?this._openAnimationDone(i):t==="exit"&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:t,totalTime:i}){t==="enter"?this._animationStateChanged.next({state:"opening",totalTime:i}):(t==="exit"||t==="void")&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(t,i,n,a,r,c,m,f,A){super(t,i,n,a,r,c,m,A),this._changeDetectorRef=f,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Te.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Te.params.exitAnimationDuration}}}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(d(O),d(j),d(R,8),d(xt),d(S),d(w),d(x),d(ft),d(F))}})(),(()=>{e.\u0275cmp=I({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(i,n){i&1&&dt("@dialogContainer.start",function(r){return n._onAnimationStart(r)})("@dialogContainer.done",function(r){return n._onAnimationDone(r)}),i&2&&(Ot("id",n._config.id),P("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),mt("@dialogContainer",n._getAnimationState()))},features:[T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&B(0,pi,0,0,"ng-template",0)},dependencies:[M],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Oe.dialogContainer]}})})(),o})(),Vt=class extends Ct{},vi=new h("MatDialogData"),bi=new h("mat-dialog-default-options"),we=new h("mat-dialog-scroll-strategy");function yi(o){return()=>o.scrollStrategies.block()}var Di={provide:we,deps:[y],useFactory:yi},Ci=(()=>{let e=class extends Ie{constructor(t,i,n,a,r,c,m,f){super(t,i,a,c,m,r,Vt,_i,vi,f),this.dialogConfigClass=xt}},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(l(y),l(C),l(ee,8),l(bi,8),l(we),l(e,12),l(Q),l(It,8))}})(),(()=>{e.\u0275prov=_({token:e,factory:e.\u0275fac})})(),o})();var Dn=(()=>{let e=class{},o=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=b({type:e})})(),(()=>{e.\u0275inj=v({providers:[Ci,Di],imports:[ot,gt,V,Z,Z]})})(),o})();export{ci as a,li as b,Dt as c,So as d,Vt as e,vi as f,Ci as g,Dn as h,Pi as i,Bi as j,Ni as k,Gi as l,Hi as m}; diff --git a/chunk-OROYKVKJ.js b/chunk-OROYKVKJ.js new file mode 100644 index 0000000..3e3a932 --- /dev/null +++ b/chunk-OROYKVKJ.js @@ -0,0 +1 @@ +var p=Object.create;var j=Object.defineProperty,q=Object.defineProperties,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertyNames,k=Object.getOwnPropertySymbols,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var i=(b,a,c)=>a in b?j(b,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[a]=c,x=(b,a)=>{for(var c in a||={})l.call(a,c)&&i(b,c,a[c]);if(k)for(var c of k(a))v.call(a,c)&&i(b,c,a[c]);return b},y=(b,a)=>q(b,s(a));var z=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);var w=(b,a,c,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of t(a))!l.call(b,d)&&d!==c&&j(b,d,{get:()=>a[d],enumerable:!(e=r(a,d))||e.enumerable});return b};var A=(b,a,c)=>(c=b!=null?p(u(b)):{},w(a||!b||!b.__esModule?j(c,"default",{value:b,enumerable:!0}):c,b));var B=(b,a,c)=>(i(b,typeof a!="symbol"?a+"":a,c),c),m=(b,a,c)=>{if(!a.has(b))throw TypeError("Cannot "+c)};var C=(b,a,c)=>(m(b,a,"read from private field"),c?c.call(b):a.get(b)),D=(b,a,c)=>{if(a.has(b))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(b):a.set(b,c)},E=(b,a,c,e)=>(m(b,a,"write to private field"),e?e.call(b,c):a.set(b,c),c);var F=(b,a,c)=>new Promise((e,d)=>{var n=f=>{try{g(c.next(f))}catch(h){d(h)}},o=f=>{try{g(c.throw(f))}catch(h){d(h)}},g=f=>f.done?e(f.value):Promise.resolve(f.value).then(n,o);g((c=c.apply(b,a)).next())});export{x as a,y as b,z as c,A as d,B as e,C as f,D as g,E as h,F as i}; diff --git a/chunk-3QW2KPOP.js b/chunk-QWRHMAON.js similarity index 86% rename from chunk-3QW2KPOP.js rename to chunk-QWRHMAON.js index 337a5f4..5992a4c 100644 --- a/chunk-3QW2KPOP.js +++ b/chunk-QWRHMAON.js @@ -1,2 +1,2 @@ -import{Qb as a,cb as i,ga as o,jb as r}from"./chunk-KBDKS3MK.js";var f=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(n){return new(n||e)}})(),(()=>{e.\u0275cmp=o({type:e,selectors:[["rpl-text-logo"]],standalone:!0,features:[r],decls:1,vars:0,template:function(n,p){n&1&&i(0,`Reply +import{Pb as a,bb as i,fa as o,ib as r}from"./chunk-VGXZBCX5.js";var f=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(n){return new(n||e)}})(),(()=>{e.\u0275cmp=o({type:e,selectors:[["rpl-text-logo"]],standalone:!0,features:[r],decls:1,vars:0,template:function(n,p){n&1&&i(0,`Reply `)},dependencies:[a],styles:["[_nghost-%COMP%]{display:inline;font-size:18px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}"],changeDetection:0})})(),t})();export{f as a}; diff --git a/chunk-RTHH4LAA.js b/chunk-RTHH4LAA.js new file mode 100644 index 0000000..b236270 --- /dev/null +++ b/chunk-RTHH4LAA.js @@ -0,0 +1 @@ +import{$ as v,$a as H,Bb as ie,Cb as ne,Da as o,Db as L,Fa as d,Sa as te,Ta as F,aa as A,ca as M,ga as E,ha as u,hb as _,k as J,la as B,p as K,pa as ee,pb as m,sa as g,u as Q,ya as U,za as R}from"./chunk-VGXZBCX5.js";import{a as c,b as p}from"./chunk-OROYKVKJ.js";var he=(()=>{let e=class{constructor(i,r){this._renderer=i,this._elementRef=r,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(i,r){this._renderer.setProperty(this._elementRef.nativeElement,i,r)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U))}})(),(()=>{e.\u0275dir=u({type:e})})(),t})(),Pe=(()=>{let e=class extends he{},t=e;return(()=>{e.\u0275fac=function(){let i;return function(s){return(i||(i=ee(e)))(s||e)}}()})(),(()=>{e.\u0275dir=u({type:e,features:[d]})})(),t})(),fe=new g("NgValueAccessor");var xe={provide:fe,useExisting:v(()=>pe),multi:!0};function ke(){let t=L()?L().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Ge=new g("CompositionEventMode"),pe=(()=>{let e=class extends he{constructor(i,r,s){super(i,r),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!ke())}writeValue(i){let r=i??"";this.setProperty("value",r)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U),o(Ge,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,s){r&1&&F("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[_([xe]),d]})})(),t})();function h(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function ge(t){return t!=null&&typeof t.length=="number"}var $=new g("NgValidators"),q=new g("NgAsyncValidators"),Te=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,re=class{static min(e){return je(e)}static max(e){return Be(e)}static required(e){return Ue(e)}static requiredTrue(e){return Re(e)}static email(e){return He(e)}static minLength(e){return Le(e)}static maxLength(e){return We(e)}static pattern(e){return $e(e)}static nullValidator(e){return me(e)}static compose(e){return De(e)}static composeAsync(e){return be(e)}};function je(t){return e=>{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Ue(t){return h(t.value)?{required:!0}:null}function Re(t){return t.value===!0?null:{required:!0}}function He(t){return h(t.value)||Te.test(t.value)?null:{email:!0}}function Le(t){return e=>h(e.value)||!ge(e.value)?null:e.value.lengthge(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function $e(t){if(!t)return me;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),i=>{if(h(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function me(t){return null}function ye(t){return t!=null}function ve(t){return te(t)?J(t):t}function _e(t){let e={};return t.forEach(n=>{e=n!=null?c(c({},e),n):e}),Object.keys(e).length===0?null:e}function Ce(t,e){return e.map(n=>n(t))}function qe(t){return!t.validate}function Ve(t){return t.map(e=>qe(e)?e:n=>e.validate(n))}function De(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){return _e(Ce(n,e))}}function z(t){return t!=null?De(Ve(t)):null}function be(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){let i=Ce(n,e).map(ve);return Q(i).pipe(K(_e))}}function Z(t){return t!=null?be(Ve(t)):null}function se(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Ae(t){return t._rawValidators}function Me(t){return t._rawAsyncValidators}function W(t){return t?Array.isArray(t)?t:[t]:[]}function I(t,e){return Array.isArray(t)?t.includes(e):t===e}function oe(t,e){let n=W(e);return W(t).forEach(r=>{I(n,r)||n.push(r)}),n}function ae(t,e){return W(e).filter(n=>!I(t,n))}var S=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=z(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},f=class extends S{get formDirective(){return null}get path(){return null}},b=class extends S{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},O=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ze={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},jt=p(c({},ze),{"[class.ng-submitted]":"isSubmitted"}),Bt=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(b,2))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]})})(),t})(),Ut=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,10))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]})})(),t})();var C="VALID",w="INVALID",y="PENDING",V="DISABLED";function Ee(t){return(T(t)?t.validators:t)||null}function Ze(t){return Array.isArray(t)?z(t):t||null}function Fe(t,e){return(T(e)?e.asyncValidators:t)||null}function Xe(t){return Array.isArray(t)?Z(t):t||null}function T(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Ye(t,e,n){let i=t.controls;if(!(e?Object.keys(i):i).length)throw new A(1e3,"");if(!i[n])throw new A(1001,"")}function Je(t,e,n){t._forEachChild((i,r)=>{if(n[r]===void 0)throw new A(1002,"")})}var N=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===C}get invalid(){return this.status===w}get pending(){return this.status==y}get disabled(){return this.status===V}get enabled(){return this.status!==V}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(oe(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(oe(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ae(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ae(e,this._rawAsyncValidators))}hasValidator(e){return I(this._rawValidators,e)}hasAsyncValidator(e){return I(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=y,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=V,this.errors=null,this._forEachChild(i=>{i.disable(p(c({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=C,this._forEachChild(i=>{i.enable(p(c({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===C||this.status===y)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?V:C}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=y,this._hasOwnPendingAsyncValidator=!0;let n=ve(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(e,n){let i=n?this.get(n):this;return i&&i.errors?i.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new m,this.statusChanges=new m}_calculateStatus(){return this._allControlsDisabled()?V:this.errors?w:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(y)?y:this._anyControlsHaveStatus(w)?w:C}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){T(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Ze(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Xe(this._rawAsyncValidators)}},P=class extends N{constructor(e,n,i){super(Ee(n),Fe(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,i={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Je(this,!0,e),Object.keys(e).forEach(i=>{Ye(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,i)=>(e[i]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&e(i,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(e,n){let i=e;return this._forEachChild((r,s)=>{i=n(i,r,s)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var j=new g("CallSetDisabledState",{providedIn:"root",factory:()=>X}),X="always";function Ke(t,e){return[...e.path,t]}function x(t,e,n=X){Y(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),et(t,e),it(t,e),tt(t,e),Qe(t,e)}function le(t,e,n=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),G(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function k(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Qe(t,e){if(e.valueAccessor.setDisabledState){let n=i=>{e.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Y(t,e){let n=Ae(t);e.validator!==null?t.setValidators(se(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let i=Me(t);e.asyncValidator!==null?t.setAsyncValidators(se(i,e.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();k(e._rawValidators,r),k(e._rawAsyncValidators,r)}function G(t,e){let n=!1;if(t!==null){if(e.validator!==null){let r=Ae(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.validator);s.length!==r.length&&(n=!0,t.setValidators(s))}}if(e.asyncValidator!==null){let r=Me(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.asyncValidator);s.length!==r.length&&(n=!0,t.setAsyncValidators(s))}}}let i=()=>{};return k(e._rawValidators,i),k(e._rawAsyncValidators,i),n}function et(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&we(t,e)})}function tt(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&we(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function we(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function it(t,e){let n=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Ie(t,e){t==null,Y(t,e)}function nt(t,e){return G(t,e)}function rt(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function st(t){return Object.getPrototypeOf(t.constructor)===Pe}function Se(t,e){t._syncPendingControls(),e.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function ot(t,e){if(!e)return null;Array.isArray(e);let n,i,r;return e.forEach(s=>{s.constructor===pe?n=s:st(s)?i=s:r=s}),r||i||n||null}function at(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var lt={provide:f,useExisting:v(()=>ut)},D=(()=>Promise.resolve())(),ut=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new m,this.form=new P({},z(i),Z(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){D.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),x(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){D.then(()=>{let r=this._findContainer(i.path),s=new P({});Ie(s,i),r.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){D.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,Se(this.form,this._directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([lt]),d]})})(),t})();function ue(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function ce(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Oe=class extends N{constructor(e=null,n,i){super(Ee(n),Fe(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),T(n)&&(n.nonNullable||n.initialValueIsDefault)&&(ce(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ue(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ue(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){ce(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ct=t=>t instanceof Oe;var dt={provide:b,useExisting:v(()=>ht)},de=(()=>Promise.resolve())(),ht=(()=>{let e=class extends b{constructor(i,r,s,a,l,Ne){super(),this._changeDetectorRef=l,this.callSetDisabledState=Ne,this.control=new Oe,this._registered=!1,this.name="",this.update=new m,this._parent=i,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=ot(this,a)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){let r=i.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),rt(i,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){x(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(i){de.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){let r=i.isDisabled.currentValue,s=r!==0&&ne(r);de.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?Ke(i,this._parent):[i]}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,9),o($,10),o(q,10),o(fe,10),o(ie,8),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_([dt]),d,B]})})(),t})();var ft=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({})})(),t})();var pt={provide:f,useExisting:v(()=>gt)},gt=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new m,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(G(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return x(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){le(i.control||null,i,!1),at(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){return this.submitted=!0,Se(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,s=this.form.get(i.path);r!==s&&(le(r||null,i),ct(s)&&(x(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);Ie(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&nt(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&G(this._oldForm,this)}_checkFormPresent(){this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([pt]),d,B]})})(),t})();var mt=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[ft]})})(),t})();var Ht=(()=>{let e=class{static withConfig(i){return{ngModule:e,providers:[{provide:j,useValue:i.callSetDisabledState??X}]}}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[mt]})})(),t})();export{pe as a,re as b,b as c,Bt as d,Ut as e,ut as f,ht as g,gt as h,Ht as i}; diff --git a/chunk-SCW2PD66.js b/chunk-SCW2PD66.js deleted file mode 100644 index 8123c79..0000000 --- a/chunk-SCW2PD66.js +++ /dev/null @@ -1 +0,0 @@ -import{a as rt}from"./chunk-2SKRDM35.js";import{a as b}from"./chunk-JWYHAYBW.js";import{a as et}from"./chunk-MVUL6ZIM.js";import{b as nt}from"./chunk-LJ7UDTCX.js";import{Gd as tt,Ha as K,fa as w,ia as B,ja as L,p as P,q,rd as G}from"./chunk-KBDKS3MK.js";var Lt=(()=>{let t=class{constructor(){this.store=w(tt)}transform(e){return e instanceof Array?q(e.map(r=>this.transformOne(r))):this.transformOne(e)}transformOne(e){let{email:r}=e;return this.store.select(nt.selectContacts).pipe(P(a=>a.queryOne(s=>s.email===r)),P(a=>a??this.generateContact(e)))}generateContact(e){return{id:`generated-${e.email}`,name:e.name,email:e.email}}},i=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275pipe=L({name:"contactFromMailParticipant",type:t,pure:!0,standalone:!0})})(),i})();var bt=(()=>{let t=class{constructor(){this.bottomNavService=w(et),this.scrollDirections=w(b),this.scrollDirections.scrollUp.pipe(G()).subscribe(()=>{this.bottomNavService.setStatus("expanded")}),this.scrollDirections.scrollDown.pipe(G()).subscribe(()=>{this.bottomNavService.setStatus("collapsed")})}},i=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275dir=B({type:t,selectors:[["","rplLayoutContent",""]],standalone:!0,features:[K([b])]})})(),i})();var at=60,it=at*60,st=it*24,Ct=st*7,I=1e3,k=at*I,Z=it*I,ot=st*I,ut=Ct*I,Y="millisecond",$="second",y="minute",O="hour",M="day",T="week",D="month",W="quarter",p="year",_="date",ct="YYYY-MM-DDTHH:mm:ssZ",z="Invalid Date",ft=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ht=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var vt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var n=["th","st","nd","rd"],e=t%100;return"["+t+(n[(e-20)%10]||n[e]||n[0])+"]"}};var J=function(t,n,e){var r=String(t);return!r||r.length>=n?t:""+Array(n+1-r.length).join(e)+t},St=function(t){var n=-t.utcOffset(),e=Math.abs(n),r=Math.floor(e/60),a=e%60;return(n<=0?"+":"-")+J(r,2,"0")+":"+J(a,2,"0")},Mt=function i(t,n){if(t.date()1)return i(s[0])}else{var u=t.name;A[u]=t,r=u}return!e&&r&&(H=r),r||!e&&H},d=function(t,n){if(Q(t))return t.clone();var e=typeof n=="object"?n:{};return e.date=t,e.args=arguments,new j(e)},Ot=function(t,n){return d(t,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})},o=lt;o.l=R;o.i=Q;o.w=Ot;var _t=function(t){var n=t.date,e=t.utc;if(n===null)return new Date(NaN);if(o.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var r=n.match(ft);if(r){var a=r[2]-1||0,s=(r[7]||"0").substring(0,3);return e?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(n)},j=function(){function i(n){this.$L=R(n.locale,null,!0),this.parse(n)}var t=i.prototype;return t.parse=function(e){this.$d=_t(e),this.$x=e.x||{},this.init()},t.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},t.$utils=function(){return o},t.isValid=function(){return this.$d.toString()!==z},t.isSame=function(e,r){var a=d(e);return this.startOf(r)<=a&&a<=this.endOf(r)},t.isAfter=function(e,r){return d(e){let t=class{constructor(){this.dateDistancePipe=new rt}transform(e){let r=X(e),a=X();return r.diff(a,"week")>-1?this.dateDistancePipe.transform(e):r.diff(a,"year")>-1?r.format("MMM D"):r.format("MMM D, YYYY")}},i=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275pipe=L({name:"readableDate",type:t,pure:!0,standalone:!0})})(),i})();var Qt=(()=>{let t=class{transform(e,r){return e instanceof Array?r.query(a=>e.includes(r.identify(a))):r.retrieve(e)}},i=t;return(()=>{t.\u0275fac=function(r){return new(r||t)}})(),(()=>{t.\u0275pipe=L({name:"resolveRef",type:t,pure:!0,standalone:!0})})(),i})();export{Lt as a,bt as b,X as c,zt as d,Qt as e}; diff --git a/chunk-T3VJN7I3.js b/chunk-T3VJN7I3.js new file mode 100644 index 0000000..43ca980 --- /dev/null +++ b/chunk-T3VJN7I3.js @@ -0,0 +1 @@ +var V=60,Z=V*60,z=Z*24,nt=z*7,y=1e3,U=V*y,k=Z*y,J=z*y,P=nt*y,x="millisecond",p="second",m="minute",O="hour",M="day",g="week",S="month",F="quarter",_="year",I="date",Q="YYYY-MM-DDTHH:mm:ssZ",b="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,K=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var q={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}};var j=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},at=function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),a=n%60;return(e<=0?"+":"-")+j(r,2,"0")+":"+j(a,2,"0")},it=function u(t,e){if(t.date()1)return u(i[0])}else{var o=t.name;A[o]=t,r=o}return!n&&r&&(w=r),r||!n&&w},v=function(t,e){if(G(t))return t.clone();var n=typeof e=="object"?e:{};return n.date=t,n.args=arguments,new R(n)},ct=function(t,e){return v(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})},s=tt;s.l=W;s.i=G;s.w=ct;var ft=function(t){var e=t.date,n=t.utc;if(e===null)return new Date(NaN);if(s.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var r=e.match(X);if(r){var a=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)},R=function(){function u(e){this.$L=W(e.locale,null,!0),this.parse(e)}var t=u.prototype;return t.parse=function(n){this.$d=ft(n),this.$x=n.x||{},this.init()},t.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},t.$utils=function(){return s},t.isValid=function(){return this.$d.toString()!==b},t.isSame=function(n,r){var a=v(n);return this.startOf(r)<=a&&a<=this.endOf(r)},t.isAfter=function(n,r){return v(n){Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var as=fn(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +import{a as _,b as Y}from"./chunk-OROYKVKJ.js";function A(t){return typeof t=="function"}function fn(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var as=fn(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Wt(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var J=class{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(A(n))try{n()}catch(o){e=o instanceof as?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{pp(o)}catch(s){e=e??[],s instanceof as?e=[...e,...s.errors]:e.push(s)}}if(e)throw new as(e)}}add(e){var r;if(e&&e!==this)if(this.closed)pp(e);else{if(e instanceof J){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Wt(r,e)}remove(e){let{_finalizers:r}=this;r&&Wt(r,e),e instanceof J&&e._removeParent(this)}};J.EMPTY=(()=>{let t=new J;return t.closed=!0,t})();var du=J.EMPTY;function cs(t){return t instanceof J||t&&"closed"in t&&A(t.remove)&&A(t.add)&&A(t.unsubscribe)}function pp(t){A(t)?t():t.unsubscribe()}var at={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Er={setTimeout(t,e,...r){let{delegate:n}=Er;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Er;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function us(t){Er.setTimeout(()=>{let{onUnhandledError:e}=at;if(e)e(t);else throw t})}function ct(){}var mp=(()=>fu("C",void 0,void 0))();function gp(t){return fu("E",void 0,t)}function yp(t){return fu("N",t,void 0)}function fu(t,e,r){return{kind:t,value:e,error:r}}var jn=null;function Cr(t){if(at.useDeprecatedSynchronousErrorHandling){let e=!jn;if(e&&(jn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=jn;if(jn=null,r)throw n}}else t()}function vp(t){at.useDeprecatedSynchronousErrorHandling&&jn&&(jn.errorThrown=!0,jn.error=t)}var Vn=class extends J{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,cs(e)&&e.add(this)):this.destination=qw}static create(e,r,n){return new ut(e,r,n)}next(e){this.isStopped?pu(yp(e),this):this._next(e)}error(e){this.isStopped?pu(gp(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?pu(mp,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},zw=Function.prototype.bind;function hu(t,e){return zw.call(t,e)}var mu=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){ls(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){ls(n)}else ls(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ls(r)}}},ut=class extends Vn{constructor(e,r,n){super();let i;if(A(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&at.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&hu(e.next,o),error:e.error&&hu(e.error,o),complete:e.complete&&hu(e.complete,o)}):i=e}this.destination=new mu(i)}};function ls(t){at.useDeprecatedSynchronousErrorHandling?vp(t):us(t)}function Ww(t){throw t}function pu(t,e){let{onStoppedNotification:r}=at;r&&Er.setTimeout(()=>r(t,e))}var qw={closed:!0,next:ct,error:Ww,complete:ct};var Sr=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function ye(t){return t}function gu(...t){return yu(t)}function yu(t){return t.length===0?ye:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var T=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Kw(r)?r:new ut(r,n,i);return Cr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=bp(n),new n((i,o)=>{let s=new ut({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Sr](){return this}pipe(...r){return yu(r)(this)}toPromise(r){return r=bp(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function bp(t){var e;return(e=t??at.Promise)!==null&&e!==void 0?e:Promise}function Gw(t){return t&&A(t.next)&&A(t.error)&&A(t.complete)}function Kw(t){return t&&t instanceof Vn||Gw(t)&&cs(t)}function vu(t){return A(t?.lift)}function I(t){return e=>{if(vu(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(t,e,r,n,i){return new Ii(t,e,r,n,i)}var Ii=class extends Vn{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Ir(){return I((t,e)=>{let r=null;t._refCount++;let n=C(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var qt=class extends T{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,vu(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new J;let r=this.getSubject();e.add(this.source.subscribe(C(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=J.EMPTY)}return e}refCount(){return Ir()(this)}};var bu={now(){return(bu.delegate||performance).now()},delegate:void 0};var Tr={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=Tr;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let i=e(o=>{r=void 0,t(o)});return new J(()=>r?.(i))},requestAnimationFrame(...t){let{delegate:e}=Tr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Tr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};function Zw(t){return t?_p(t):Yw}function _p(t){return new T(e=>{let r=t||bu,n=r.now(),i=0,o=()=>{e.closed||(i=Tr.requestAnimationFrame(s=>{i=0;let a=r.now();e.next({timestamp:t?a:s,elapsed:a-n}),o()}))};return o(),()=>{i&&Tr.cancelAnimationFrame(i)}})}var Yw=_p();var wp=fn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var $=(()=>{class t extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ds(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new wp}next(r){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?du:(this.currentObservers=null,o.push(r),new J(()=>{this.currentObservers=null,Wt(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new T;return r.source=this,r}}return t.create=(e,r)=>new ds(e,r),t})(),ds=class extends ${constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:du}};var ae=class extends ${constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Ti={now(){return(Ti.delegate||Date).now()},delegate:void 0};var Bn=class extends ${constructor(e=1/0,r=1/0,n=Ti){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;sDp(e)&&t()),e},clearImmediate(t){Dp(t)}};var{setImmediate:Xw,clearImmediate:Jw}=Ep,Ai={setImmediate(...t){let{delegate:e}=Ai;return(e?.setImmediate||Xw)(...t)},clearImmediate(t){let{delegate:e}=Ai;return(e?.clearImmediate||Jw)(t)},delegate:void 0};var hs=class extends hn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Ai.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(Ai.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var pn=class{constructor(e,r=pn.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};pn.now=Ti.now;var mn=class extends pn{constructor(e,r=pn.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var ps=class extends mn{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var Cp=new ps(hs);var Gt=new mn(hn),Sp=Gt;var ms=class extends hn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var gs=class extends mn{};var Du=new gs(ms);var Ie=new T(t=>t.complete());function ys(t){return t&&A(t.schedule)}function Eu(t){return t[t.length-1]}function Mr(t){return A(Eu(t))?t.pop():void 0}function Dt(t){return ys(Eu(t))?t.pop():void 0}function Ip(t,e){return typeof Eu(t)=="number"?t.pop():e}function Mp(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Tp(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Un(t){return this instanceof Un?(this.v=t,this):new Un(t)}function Ap(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(p){return new Promise(function(m,g){o.push([f,p,m,g])>1||a(f,p)})})}function a(f,p){try{c(n[f](p))}catch(m){d(o[0][3],m)}}function c(f){f.value instanceof Un?Promise.resolve(f.value.v).then(u,l):d(o[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}function xp(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Tp=="function"?Tp(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a})},s)}}var Ar=t=>t&&typeof t.length=="number"&&typeof t!="function";function vs(t){return A(t?.then)}function bs(t){return A(t[Sr])}function _s(t){return Symbol.asyncIterator&&A(t?.[Symbol.asyncIterator])}function ws(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function eD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ds=eD();function Es(t){return A(t?.[Ds])}function Cs(t){return Ap(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Un(r.read());if(i)return yield Un(void 0);yield yield Un(n)}}finally{r.releaseLock()}})}function Ss(t){return A(t?.getReader)}function L(t){if(t instanceof T)return t;if(t!=null){if(bs(t))return tD(t);if(Ar(t))return nD(t);if(vs(t))return rD(t);if(_s(t))return Rp(t);if(Es(t))return iD(t);if(Ss(t))return oD(t)}throw ws(t)}function tD(t){return new T(e=>{let r=t[Sr]();if(A(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nD(t){return new T(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,us)})}function iD(t){return new T(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Rp(t){return new T(e=>{sD(t,e).catch(r=>e.error(r))})}function oD(t){return Rp(Cs(t))}function sD(t,e){var r,n,i,o;return Mp(this,void 0,void 0,function*(){try{for(r=xp(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Te(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function $n(t,e=0){return I((r,n)=>{r.subscribe(C(n,i=>Te(n,t,()=>n.next(i),e),()=>Te(n,t,()=>n.complete(),e),i=>Te(n,t,()=>n.error(i),e)))})}function Is(t,e=0){return I((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Np(t,e){return L(t).pipe(Is(e),$n(e))}function Op(t,e){return L(t).pipe(Is(e),$n(e))}function Fp(t,e){return new T(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function kp(t,e){return new T(r=>{let n;return Te(r,e,()=>{n=t[Ds](),Te(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>A(n?.return)&&n.return()})}function Ts(t,e){if(!t)throw new Error("Iterable cannot be null");return new T(r=>{Te(r,e,()=>{let n=t[Symbol.asyncIterator]();Te(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Pp(t,e){return Ts(Cs(t),e)}function Lp(t,e){if(t!=null){if(bs(t))return Np(t,e);if(Ar(t))return Fp(t,e);if(vs(t))return Op(t,e);if(_s(t))return Ts(t,e);if(Es(t))return kp(t,e);if(Ss(t))return Pp(t,e)}throw ws(t)}function ie(t,e){return e?Lp(t,e):L(t)}function S(...t){let e=Dt(t);return ie(t,e)}function lt(t,e){let r=A(t)?t:()=>t,n=i=>i.error(r());return new T(e?i=>e.schedule(n,0,i):n)}var Ke=class{constructor(e,r,n){this.kind=e,this.value=r,this.error=n,this.hasValue=e==="N"}observe(e){return Cu(this,e)}do(e,r,n){let{kind:i,value:o,error:s}=this;return i==="N"?e?.(o):i==="E"?r?.(s):n?.()}accept(e,r,n){var i;return A((i=e)===null||i===void 0?void 0:i.next)?this.observe(e):this.do(e,r,n)}toObservable(){let{kind:e,value:r,error:n}=this,i=e==="N"?S(r):e==="E"?lt(()=>n):e==="C"?Ie:0;if(!i)throw new TypeError(`Unexpected notification kind ${e}`);return i}static createNext(e){return new Ke("N",e)}static createError(e){return new Ke("E",void 0,e)}static createComplete(){return Ke.completeNotification}};Ke.completeNotification=new Ke("C");function Cu(t,e){var r,n,i;let{kind:o,value:s,error:a}=t;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(r=e.next)===null||r===void 0||r.call(e,s):o==="E"?(n=e.error)===null||n===void 0||n.call(e,a):(i=e.complete)===null||i===void 0||i.call(e)}function xi(t){return!!t&&(t instanceof T||A(t.lift)&&A(t.subscribe))}var dt=fn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function aD(t,e){let r=typeof e=="object";return new Promise((n,i)=>{let o=new ut({next:s=>{n(s),o.unsubscribe()},error:i,complete:()=>{r?n(e.defaultValue):i(new dt)}});t.subscribe(o)})}function Ms(t){return t instanceof Date&&!isNaN(t)}var cD=fn(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function uD(t,e){let{first:r,each:n,with:i=lD,scheduler:o=e??Gt,meta:s=null}=Ms(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return I((a,c)=>{let u,l,d=null,f=0,p=m=>{l=Te(c,o,()=>{try{u.unsubscribe(),L(i({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(g){c.error(g)}},m)};u=a.subscribe(C(c,m=>{l?.unsubscribe(),f++,c.next(d=m),n>0&&p(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!f&&p(r!=null?typeof r=="number"?r:+r-o.now():n)})}function lD(t){throw new cD(t)}function R(t,e){return I((r,n)=>{let i=0;r.subscribe(C(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:dD}=Array;function fD(t,e){return dD(e)?t(...e):t(e)}function xr(t){return R(e=>fD(t,e))}var{isArray:hD}=Array,{getPrototypeOf:pD,prototype:mD,keys:gD}=Object;function As(t){if(t.length===1){let e=t[0];if(hD(e))return{args:e,keys:null};if(yD(e)){let r=gD(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function yD(t){return t&&typeof t=="object"&&pD(t)===mD}function xs(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function Hn(...t){let e=Dt(t),r=Mr(t),{args:n,keys:i}=As(t);if(n.length===0)return ie([],e);let o=new T(vD(n,e,i?s=>xs(i,s):ye));return r?o.pipe(xr(r)):o}function vD(t,e,r=ye){return n=>{jp(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let u=ie(t[c],e),l=!1;u.subscribe(C(n,d=>{o[c]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function jp(t,e,r){t?Te(r,t,e):e()}function Vp(t,e,r,n,i,o,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},p=g=>u{o&&e.next(g),u++;let w=!1;L(r(g,l++)).subscribe(C(e,D=>{i?.(D),o?p(D):e.next(D)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;c.length&&um(D)):m(D)}f()}catch(D){e.error(D)}}))};return t.subscribe(C(e,p,()=>{d=!0,f()})),()=>{a?.()}}function te(t,e,r=1/0){return A(e)?te((n,i)=>R((o,s)=>e(n,o,i,s))(L(t(n,i))),r):(typeof e=="number"&&(r=e),I((n,i)=>Vp(n,i,t,r)))}function gn(t=1/0){return te(ye,t)}function Bp(){return gn(1)}function Ze(...t){return Bp()(ie(t,Dt(t)))}function Rs(t){return new T(e=>{L(t()).subscribe(e)})}function Su(...t){let e=Mr(t),{args:r,keys:n}=As(t),i=new T(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(n?xs(n,a):a),o.complete())}))}});return e?i.pipe(xr(e)):i}var bD=["addListener","removeListener"],_D=["addEventListener","removeEventListener"],wD=["on","off"];function Ri(t,e,r,n){if(A(r)&&(n=r,r=void 0),n)return Ri(t,e,r).pipe(xr(n));let[i,o]=CD(t)?_D.map(s=>a=>t[s](e,a,r)):DD(t)?bD.map(Up(t,e)):ED(t)?wD.map(Up(t,e)):[];if(!i&&Ar(t))return te(s=>Ri(s,e,r))(L(t));if(!i)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1o(a)})}function Up(t,e){return r=>n=>t[r](e,n)}function DD(t){return A(t.addListener)&&A(t.removeListener)}function ED(t){return A(t.on)&&A(t.off)}function CD(t){return A(t.addEventListener)&&A(t.removeEventListener)}function Ni(t=0,e,r=Sp){let n=-1;return e!=null&&(ys(e)?r=e:n=e),new T(i=>{let o=Ms(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function Iu(...t){let e=Dt(t),r=Ip(t,1/0),n=t;return n.length?n.length===1?L(n[0]):gn(r)(ie(n,e)):Ie}var SD=new T(ct);var{isArray:ID}=Array;function $p(t){return t.length===1&&ID(t[0])?t[0]:t}function he(t,e){return I((r,n)=>{let i=0;r.subscribe(C(n,o=>t.call(e,o,i++)&&n.next(o)))})}function TD(...t){return t=$p(t),t.length===1?L(t[0]):new T(MD(t))}function MD(t){return e=>{let r=[];for(let n=0;r&&!e.closed&&n{if(r){for(let o=0;o{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let u=i;i=null,r.next(u)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe(C(r,u=>{n=!0,i=u,o||L(t(u)).subscribe(o=C(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function Ns(t,e=Gt){return Hp(()=>Ni(t,e))}function AD(t,e=null){return e=e??t,I((r,n)=>{let i=[],o=0;r.subscribe(C(n,s=>{let a=null;o++%e===0&&i.push([]);for(let c of i)c.push(s),t<=c.length&&(a=a??[],a.push(c));if(a)for(let c of a)Wt(i,c),n.next(c)},()=>{for(let s of i)n.next(s);n.complete()},void 0,()=>{i=null}))})}function Ye(t){return I((e,r)=>{let n=null,i=!1,o;n=e.subscribe(C(r,void 0,void 0,s=>{o=L(t(s,Ye(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function zp(t,e,r,n,i){return(o,s)=>{let a=r,c=e,u=0;o.subscribe(C(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function Et(t,e){return A(e)?te(t,e,1):te(t,1)}function Wp(t){return new T(e=>t.subscribe(e))}var xD={connector:()=>new $};function Os(t,e=xD){let{connector:r}=e;return I((n,i)=>{let o=r();L(t(Wp(o))).subscribe(i),i.add(n.subscribe(o))})}function yn(t,e=Gt){return I((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let u=o;o=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l{o=u,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function vn(t){return I((e,r)=>{let n=!1;e.subscribe(C(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function ve(t){return t<=0?()=>Ie:I((e,r)=>{let n=0;e.subscribe(C(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Fs(){return I((t,e)=>{t.subscribe(C(e,ct))})}function Oi(t){return R(()=>t)}function Tu(t,e){return e?r=>Ze(e.pipe(ve(1),Fs()),r.pipe(Tu(t))):te((r,n)=>L(t(r,n)).pipe(ve(1),Oi(r)))}function qp(t,e=Gt){let r=Ni(t,e);return Tu(()=>r)}function RD(){return I((t,e)=>{t.subscribe(C(e,r=>Cu(r,e)))})}function Kt(t,e=ye){return t=t??ND,I((r,n)=>{let i,o=!0;r.subscribe(C(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function ND(t,e){return t===e}function ks(t=OD){return I((e,r)=>{let n=!1;e.subscribe(C(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function OD(){return new dt}function FD(...t){return e=>Ze(e,S(...t))}function Fi(t,e){return e?r=>r.pipe(Fi((n,i)=>L(t(n,i)).pipe(R((o,s)=>e(n,o,i,s))))):I((r,n)=>{let i=0,o=null,s=!1;r.subscribe(C(n,a=>{o||(o=C(n,void 0,()=>{o=null,s&&n.complete()}),L(t(a,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function kD(){return Fi(ye)}function Ct(t){return I((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Qe(t,e){let r=arguments.length>=2;return n=>n.pipe(t?he((i,o)=>t(i,o,n)):ye,ve(1),r?vn(e):ks(()=>new dt))}function PD(t,e,r,n){return I((i,o)=>{let s;!e||typeof e=="function"?s=e:{duration:r,element:s,connector:n}=e;let a=new Map,c=m=>{a.forEach(m),m(o)},u=m=>c(g=>g.error(m)),l=0,d=!1,f=new Ii(o,m=>{try{let g=t(m),w=a.get(g);if(!w){a.set(g,w=n?n():new $);let D=p(g,w);if(o.next(D),r){let O=C(w,()=>{w.complete(),O?.unsubscribe()},void 0,void 0,()=>a.delete(g));f.add(L(r(D)).subscribe(O))}}w.next(s?s(m):m)}catch(g){u(g)}},()=>c(m=>m.complete()),u,()=>a.clear(),()=>(d=!0,l===0));i.subscribe(f);function p(m,g){let w=new T(D=>{l++;let O=g.subscribe(D);return()=>{O.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return w.key=m,w}})}function Rr(t){return t<=0?()=>Ie:I((e,r)=>{let n=[];e.subscribe(C(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Mu(t,e){let r=arguments.length>=2;return n=>n.pipe(t?he((i,o)=>t(i,o,n)):ye,Rr(1),r?vn(e):ks(()=>new dt))}function LD(){return I((t,e)=>{t.subscribe(C(e,r=>{e.next(Ke.createNext(r))},()=>{e.next(Ke.createComplete()),e.complete()},r=>{e.next(Ke.createError(r)),e.complete()}))})}function Gp(t,e){let r=A(t)?t:()=>t;return A(e)?Os(e,{connector:r}):n=>new qt(n,r)}function Kp(){return I((t,e)=>{let r,n=!1;t.subscribe(C(e,i=>{let o=r;r=i,n&&e.next([o,i]),n=!0}))})}function Au(...t){let e=t.length;if(e===0)throw new Error("list of properties cannot be empty.");return R(r=>{let n=r;for(let i=0;iOs(t)(e):e=>Gp(new $)(e)}function ki(t,e){return I(zp(t,e,arguments.length>=2,!0))}function bn(t={}){let{connector:e=()=>new $,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,l=d=!1},m=()=>{let g=s;p(),g?.unsubscribe()};return I((g,w)=>{u++,!d&&!l&&f();let D=c=c??e();w.add(()=>{u--,u===0&&!d&&!l&&(a=xu(m,i))}),D.subscribe(w),!s&&u>0&&(s=new ut({next:O=>D.next(O),error:O=>{d=!0,f(),a=xu(p,r,O),D.error(O)},complete:()=>{l=!0,f(),a=xu(p,n),D.complete()}}),L(g).subscribe(s))})(o)}}function xu(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new ut({next:()=>{n.unsubscribe(),t()}});return L(e(...r)).subscribe(n)}function Zp(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t??1/0,bn({connector:()=>new Bn(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Nr(t){return he((e,r)=>t<=r)}function Zt(...t){let e=Dt(t);return I((r,n)=>{(e?Ze(t,r,e):Ze(t,r)).subscribe(n)})}function De(t,e){return I((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(C(n,c=>{i?.unsubscribe();let u=0,l=o++;L(t(c,l)).subscribe(i=C(n,d=>n.next(e?e(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Yt(t){return I((e,r)=>{L(t).subscribe(C(r,()=>r.complete(),ct)),!r.closed&&e.subscribe(r)})}function VD(t,e=!1){return I((r,n)=>{let i=0;r.subscribe(C(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function ne(t,e,r){let n=A(t)||e||r?{next:t,error:e,complete:r}:t;return n?I((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(C(o,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),o.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):ye}function Ps(...t){let e=Mr(t);return I((r,n)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),a=!1;for(let c=0;c{o[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ye))&&(s=null))},ct));r.subscribe(C(n,c=>{if(a){let u=[c,...o];n.next(e?e(...u):u)}}))})}function ee(t){for(let e in t)if(t[e]===ee)return e;throw Error("Could not find renamed property on target object.")}function Ls(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Me(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Me).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function Gu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var BD=ee({__forward_ref__:ee});function Lm(t){return t.__forward_ref__=Lm,t.toString=function(){return Me(this())},t}function Ee(t){return jm(t)?t():t}function jm(t){return typeof t=="function"&&t.hasOwnProperty(BD)&&t.__forward_ref__===Lm}function Vm(t){return t&&!!t.\u0275providers}var Bm="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Kl(e,r)),this.code=e}};function Kl(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Vr(t){return typeof t=="string"?t:t==null?"":String(t)}function UD(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Vr(t)}function $D(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function Zl(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function HD(t,e){t==null&&zD(e,t,null,"!=")}function zD(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function q(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sa(t){return Yp(t,$m)||Yp(t,Hm)}function Um(t){return Sa(t)!==null}function Yp(t,e){return t.hasOwnProperty(e)?t[e]:null}function WD(t){let e=t&&(t[$m]||t[Hm]);return e||null}function Qp(t){return t&&(t.hasOwnProperty(Xp)||t.hasOwnProperty(qD))?t[Xp]:null}var $m=ee({\u0275prov:ee}),Xp=ee({\u0275inj:ee}),Hm=ee({ngInjectableDef:ee}),qD=ee({ngInjectorDef:ee}),F=(()=>(F=F||{},F[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))(),Ku;function zm(){return Ku}function Xe(t){let e=Ku;return Ku=t,e}function Wm(t,e,r){let n=Sa(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&F.Optional)return null;if(e!==void 0)return e;Zl(Me(t),"Injector")}var Ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var GD={},Vi=GD,Zu="__NG_DI_FLAG__",na="ngTempTokenPath",KD="ngTokenPath",ZD=/\n/gm,YD="\u0275",Jp="__source",Lr;function QD(){return Lr}function Or(t){let e=Lr;return Lr=t,e}function XD(t,e=F.Default){if(Lr===void 0)throw new v(-203,!1);return Lr===null?Wm(t,void 0,e):Lr.get(t,e&F.Optional?null:void 0,e)}function h(t,e=F.Default){return(zm()||XD)(Ee(t),e)}function E(t,e=F.Default){return h(t,Ia(e))}function Ia(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Yu(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Me(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(ZD,` - `)}`}function Qi(t){return{toString:t}.toString()}var _n=(()=>(_n=_n||{},_n[_n.OnPush=0]="OnPush",_n[_n.Default=1]="Default",_n))(),Fe=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Fe||(Fe={})),Fe))(),Qt={},Oe=[],nE=ee({\u0275cmp:ee}),rE=ee({\u0275dir:ee}),iE=ee({\u0275pipe:ee}),oE=ee({\u0275mod:ee}),ra=ee({\u0275fac:ee}),Li=ee({__NG_ELEMENT_ID__:ee}),em=ee({__NG_ENV_ID__:ee});function qm(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function Qu(t,e,r){let n=0;for(;ne){s=o-1;break}}}for(;oo?f="":f=i[d+1].toLowerCase();let p=n&8?f:null;if(p&&qm(p,u,0)!==-1||n&2&&u!==f){if(ft(n))return!1;s=!0}}}}return ft(n)||s}function ft(t){return(t&1)===0}function lE(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ft(s)&&(e+=nm(o,i),i=""),n=s,o=o||!ft(n);r++}return i!==""&&(e+=nm(o,i)),e}function gE(t){return t.map(mE).join(",")}function yE(t){let e=[],r=[],n=1,i=2;for(;n{let e=tg(t),r=Y(_({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===_n.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Fe.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});ng(r);let n=t.dependencies;return r.directiveDefs=im(n,!1),r.pipeDefs=im(n,!0),r.id=_E(r),r})}function vE(t){return Dn(t)||Ql(t)}function bE(t){return t!==null}function G(t){return Qi(()=>({type:t.type,bootstrap:t.bootstrap||Oe,declarations:t.declarations||Oe,imports:t.imports||Oe,exports:t.exports||Oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function rm(t,e){if(t==null)return Qt;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),r[i]=n,e&&(e[i]=o)}return r}function me(t){return Qi(()=>{let e=tg(t);return ng(e),e})}function Qm(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Dn(t){return t[nE]||null}function Ql(t){return t[rE]||null}function Xm(t){return t[iE]||null}function Jm(t){let e=Dn(t)||Ql(t)||Xm(t);return e!==null?e.standalone:!1}function eg(t,e){let r=t[oE]||null;if(!r&&e===!0)throw new Error(`Type ${Me(t)} does not have '\u0275mod' property.`);return r}function tg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Qt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rm(t.inputs,e),outputs:rm(t.outputs)}}function ng(t){t.features?.forEach(e=>e(t))}function im(t,e){if(!t)return null;let r=e?Xm:vE;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(bE)}function _E(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Ft=0,B=1,z=2,pe=3,pt=4,Pi=5,je=6,Ui=7,Je=8,Br=9,qn=10,re=11,$i=12,om=13,Gr=14,mt=15,Xi=16,Fr=17,Mt=18,Ta=19,rg=20,wn=21,ia=22,Gs=23,Ks=24,ke=25;var Xl=1,ig=2,Gn=7,oa=8,Ur=9;var Le=11;function zn(t){return Array.isArray(t)&&typeof t[Xl]=="object"}function tn(t){return Array.isArray(t)&&t[Xl]===!0}function Jl(t){return(t.flags&4)!==0}function Ma(t){return t.componentOffset>-1}function Aa(t){return(t.flags&1)===1}function Xt(t){return!!t.template}function wE(t){return(t[z]&512)!==0}function Kn(t,e){let r=t.hasOwnProperty(ra);return r?t[ra]:null}var DE=Symbol("SIGNAL");function ed(t,e,r={}){return e[DE]=t,Object.assign(e,r)}function og(t,e){return(t===null||typeof t!="object")&&Object.is(t,e)}var Xu=class{constructor(e){this.ref=e}deref(){return this.ref}},EE=Ce.WeakRef??Xu;function CE(t){return new EE(t)}var SE=0,St=null,js=!1;function _e(t){let e=St;return St=t,e}var $r=class{constructor(){this.id=SE++,this.ref=CE(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(let[e,r]of this.producers){let n=r.producerNode.deref();if(n===void 0||r.atTrackingVersion!==this.trackingVersion){this.producers.delete(e),n?.consumers.delete(this.id);continue}if(n.producerPollStatus(r.seenValueVersion))return!0}return!1}producerMayHaveChanged(){let e=js;js=!0;try{for(let[r,n]of this.consumers){let i=n.consumerNode.deref();if(i===void 0||i.trackingVersion!==n.atTrackingVersion){this.consumers.delete(r),i?.producers.delete(this.id);continue}i.onConsumerDependencyMayHaveChanged()}}finally{js=e}}producerAccessed(){if(js)throw new Error("");if(St===null)return;let e=St.producers.get(this.id);e===void 0?(e={consumerNode:St.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:St.trackingVersion},St.producers.set(this.id,e),this.consumers.set(St.id,e)):(e.seenValueVersion=this.valueVersion,e.atTrackingVersion=St.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return St?.consumerAllowSignalWrites!==!1}producerPollStatus(e){return this.valueVersion!==e?!0:(this.onProducerUpdateValueVersion(),this.valueVersion!==e)}};function xa(t,e){let r=new Ju(t,e?.equal??og);return ed(r,r.signal.bind(r))}var Ru=Symbol("UNSET"),Nu=Symbol("COMPUTING"),Vs=Symbol("ERRORED"),Ju=class extends $r{constructor(e,r){super(),this.computation=e,this.equal=r,this.value=Ru,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==Ru&&this.value!==Nu&&!this.consumerPollProducersForChange()){this.stale=!1;return}this.recomputeValue()}}recomputeValue(){if(this.value===Nu)throw new Error("Detected cycle in computations.");let e=this.value;this.value=Nu,this.trackingVersion++;let r=_e(this),n;try{n=this.computation()}catch(i){n=Vs,this.error=i}finally{_e(r)}if(this.stale=!1,e!==Ru&&e!==Vs&&n!==Vs&&this.equal(e,n)){this.value=e;return}this.value=n,this.valueVersion++}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===Vs)throw this.error;return this.value}};function IE(){throw new Error}var sg=IE;function Ou(){sg()}function TE(t){sg=t}var sm=null,el=class extends $r{constructor(e,r){super(),this.value=e,this.equal=r,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(e){this.producerUpdatesAllowed||Ou(),this.equal(this.value,e)||(this.value=e,this.valueVersion++,this.producerMayHaveChanged(),sm?.())}update(e){this.producerUpdatesAllowed||Ou(),this.set(e(this.value))}mutate(e){this.producerUpdatesAllowed||Ou(),e(this.value),this.valueVersion++,this.producerMayHaveChanged(),sm?.()}asReadonly(){return this.readonlySignal===void 0&&(this.readonlySignal=ed(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}};function td(t,e){let r=new el(t,e?.equal??og);return ed(r,r.signal.bind(r),{set:r.set.bind(r),update:r.update.bind(r),mutate:r.mutate.bind(r),asReadonly:r.asReadonly.bind(r)})}function Kr(t){let e=_e(null);try{return t()}finally{_e(e)}}var am=()=>{},tl=class extends $r{constructor(e,r,n){super(),this.watch=e,this.schedule=r,this.dirty=!1,this.cleanupFn=am,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=n}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,this.trackingVersion!==0&&!this.consumerPollProducersForChange())return;let e=_e(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=am,this.watch(this.registerOnCleanup)}finally{_e(e)}}cleanup(){this.cleanupFn()}},nl=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function nn(){return ag}function ag(t){return t.type.prototype.ngOnChanges&&(t.setInput=AE),ME}nn.ngInherit=!0;function ME(){let t=ug(this),e=t?.current;if(e){let r=t.previous;if(r===Qt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function AE(t,e,r,n){let i=this.declaredInputs[r],o=ug(t)||xE(t,{previous:Qt,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[i];s[i]=new nl(c&&c.currentValue,e,a===Qt),t[n]=e}var cg="__ngSimpleChanges__";function ug(t){return t[cg]||null}function xE(t,e){return t[cg]=e}var cm=null;var It=function(t,e,r){cm?.(t,e,r)},lg="svg",RE="math";function At(t){for(;Array.isArray(t);)t=t[Ft];return t}function NE(t){for(;Array.isArray(t);){if(typeof t[Xl]=="object")return t;t=t[Ft]}return null}function dg(t,e){return At(e[t])}function et(t,e){return At(e[t.index])}function fg(t,e){return t.data[e]}function nd(t,e){return t[e]}function Sn(t,e){let r=e[t];return zn(r)?r:r[Ft]}function OE(t){return(t[z]&4)===4}function FE(t){return(t[z]&128)===128}function kE(t){return tn(t[pe])}function Hr(t,e){return e==null?null:t[e]}function hg(t){t[Fr]=0}function PE(t){t[z]&1024||(t[z]|=1024,mg(t,1))}function pg(t){t[z]&1024&&(t[z]&=-1025,mg(t,-1))}function mg(t,e){let r=t[pe];if(r===null)return;r[Pi]+=e;let n=r;for(r=r[pe];r!==null&&(e===1&&n[Pi]===1||e===-1&&n[Pi]===0);)r[Pi]+=e,n=r,r=r[pe]}function gg(t,e){if((t[z]&256)===256)throw new v(911,!1);t[wn]===null&&(t[wn]=[]),t[wn].push(e)}function LE(t,e){if(t[wn]===null)return;let r=t[wn].indexOf(e);r!==-1&&t[wn].splice(r,1)}var H={lFrame:Eg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function jE(){return H.lFrame.elementDepthCount}function VE(){H.lFrame.elementDepthCount++}function BE(){H.lFrame.elementDepthCount--}function yg(){return H.bindingsEnabled}function vg(){return H.skipHydrationRootTNode!==null}function UE(t){return H.skipHydrationRootTNode===t}function $E(){H.skipHydrationRootTNode=null}function V(){return H.lFrame.lView}function oe(){return H.lFrame.tView}function T$(t){return H.lFrame.contextLView=t,t[Je]}function M$(t){return H.lFrame.contextLView=null,t}function Ae(){let t=bg();for(;t!==null&&t.type===64;)t=t.parent;return t}function bg(){return H.lFrame.currentTNode}function HE(){let t=H.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function tr(t,e){let r=H.lFrame;r.currentTNode=t,r.isParent=e}function rd(){return H.lFrame.isParent}function id(){H.lFrame.isParent=!1}function zE(){return H.lFrame.contextLView}function Ji(){let t=H.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function WE(){return H.lFrame.bindingIndex}function qE(t){return H.lFrame.bindingIndex=t}function eo(){return H.lFrame.bindingIndex++}function od(t){let e=H.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function GE(){return H.lFrame.inI18n}function KE(t,e){let r=H.lFrame;r.bindingIndex=r.bindingRootIndex=t,rl(e)}function ZE(){return H.lFrame.currentDirectiveIndex}function rl(t){H.lFrame.currentDirectiveIndex=t}function sd(t){let e=H.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function _g(){return H.lFrame.currentQueryIndex}function ad(t){H.lFrame.currentQueryIndex=t}function YE(t){let e=t[B];return e.type===2?e.declTNode:e.type===1?t[je]:null}function wg(t,e,r){if(r&F.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&F.Host);)if(i=YE(o),i===null||(o=o[Gr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=H.lFrame=Dg();return n.currentTNode=e,n.lView=t,!0}function cd(t){let e=Dg(),r=t[B];H.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Dg(){let t=H.lFrame,e=t===null?null:t.child;return e===null?Eg(t):e}function Eg(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Cg(){let t=H.lFrame;return H.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Sg=Cg;function ud(){let t=Cg();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function QE(t){return(H.lFrame.contextLView=XE(t,H.lFrame.contextLView))[Je]}function XE(t,e){for(;t>0;)e=e[Gr],t--;return e}function nr(){return H.lFrame.selectedIndex}function Zn(t){H.lFrame.selectedIndex=t}function Zr(){let t=H.lFrame;return fg(t.tView,t.selectedIndex)}function A$(){H.lFrame.currentNamespace=lg}function JE(){return H.lFrame.currentNamespace}var Ig=!0;function Ra(){return Ig}function Na(t){Ig=t}function e0(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=ag(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Oa(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[Fr]+=65536),(a>13>16&&(t[z]&3)===e&&(t[z]+=8192,um(a,o)):um(a,o)}var jr=-1,Yn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function n0(t){return t instanceof Yn}function r0(t){return(t.flags&8)!==0}function i0(t){return(t.flags&16)!==0}function Mg(t){return t!==jr}function sa(t){let e=t&32767;return t&32767}function o0(t){return t>>16}function aa(t,e){let r=o0(t),n=e;for(;r>0;)n=n[Gr],r--;return n}var il=!0;function ca(t){let e=il;return il=t,e}var s0=256,Ag=s0-1,xg=5,a0=0,Tt={};function c0(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Li)&&(n=r[Li]),n==null&&(n=r[Li]=a0++);let i=n&Ag,o=1<>xg)]|=o}function ua(t,e){let r=Rg(t,e);if(r!==-1)return r;let n=e[B];n.firstCreatePass&&(t.injectorIndex=e.length,ku(n.data,t),ku(e,null),ku(n.blueprint,null));let i=ld(t,e),o=t.injectorIndex;if(Mg(i)){let s=sa(i),a=aa(i,e),c=a[B].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function ku(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Rg(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ld(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Pg(i),n===null)return jr;if(r++,i=i[Gr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return jr}function ol(t,e,r){c0(t,e,r)}function u0(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+l,f=i?a+l:u;for(let p=d;p=c&&m.type===r)return p}if(i){let p=s[c];if(p&&Xt(p)&&p.type===r)return c}return null}function Qn(t,e,r,n){let i=t[r],o=e.data;if(n0(i)){let s=i;s.resolving&&$D(UD(o[r]));let a=ca(s.canSeeViewProviders);s.resolving=!0;let c=s.injectImpl?Xe(s.injectImpl):null,u=wg(t,n,F.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&e0(r,o[r],e)}finally{c!==null&&Xe(c),ca(a),s.resolving=!1,Sg()}}return i}function d0(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Li)?t[Li]:void 0;return typeof e=="number"?e>=0?e&Ag:f0:e}function lm(t,e,r){let n=1<>xg)]&n)}function dm(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var Wn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Fg(this._tNode,this._lView,e,Ia(n),r)}};function f0(){return new Wn(Ae(),V())}function to(t){return Qi(()=>{let e=t.prototype.constructor,r=e[ra]||sl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[ra]||sl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function sl(t){return jm(t)?()=>{let e=sl(Ee(t));return e&&e()}:Kn(t)}function h0(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[z]&2048&&!(s[z]&512);){let a=kg(o,s,r,n|F.Self,Tt);if(a!==Tt)return a;let c=o.parent;if(!c){let u=s[rg];if(u){let l=u.get(r,Tt,n);if(l!==Tt)return l}c=Pg(s),s=s[Gr]}o=c}return i}function Pg(t){let e=t[B],r=e.type;return r===2?e.declTNode:r===1?t[je]:null}function no(t){return u0(Ae(),t)}var Bs="__parameters__";function p0(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function dd(t,e,r){return Qi(()=>{let n=p0(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Bs)?c[Bs]:Object.defineProperty(c,Bs,{value:[]})[Bs];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function m0(t){let e=Ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function g0(t){return typeof t=="function"}function y0(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?fd(r,e):e(r))}function Lg(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function la(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function jg(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function Fa(t,e,r){let n=ro(t,e);return n>=0?t[n|1]=r:(n=~n,b0(t,n,e,r)),n}function Pu(t,e){let r=ro(t,e);if(r>=0)return t[r|1]}function ro(t,e){return _0(t,e,1)}function _0(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<({token:t})),-1),rr=Yl(dd("Optional"),8);var io=Yl(dd("SkipSelf"),4);function w0(t){let e=[],r=new Map;function n(i){let o=r.get(i);if(!o){let s=t(i);r.set(i,o=s.then(S0))}return o}return da.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(d=>{i.template=d}));let a=i.styleUrls,c=i.styles||(i.styles=[]),u=i.styles.length;a&&a.forEach((d,f)=>{c.push(""),s.push(n(d).then(p=>{c[u+f]=p,a.splice(a.indexOf(d),1),a.length==0&&(i.styleUrls=void 0)}))});let l=Promise.all(s).then(()=>I0(o));e.push(l)}),E0(),Promise.all(e).then(()=>{})}var da=new Map,D0=new Set;function E0(){let t=da;return da=new Map,t}function C0(){return da.size===0}function S0(t){return typeof t=="string"?t:t.text()}function I0(t){D0.delete(t)}function al(t){return(t.flags&128)===128}var Re=(()=>(Re=Re||{},Re[Re.Important=1]="Important",Re[Re.DashCase=2]="DashCase",Re))(),T0=/^>|^->||--!>|)/,A0="\u200B$1\u200B";function x0(t){return t.replace(T0,e=>e.replace(M0,A0))}var Vg=new Map,R0=0;function N0(){return R0++}function O0(t){Vg.set(t[Ta],t)}function F0(t){Vg.delete(t[Ta])}var fm="__ngContext__";function En(t,e){zn(e)?(t[fm]=e[Ta],O0(e)):t[fm]=e}var k0;function pd(t,e){return k0(t,e)}function md(t){let e=t[pe];return tn(e)?e[pe]:e}function Bg(t){return $g(t[$i])}function Ug(t){return $g(t[pt])}function $g(t){for(;t!==null&&!tn(t);)t=t[pt];return t}function kr(t,e,r,n,i){if(n!=null){let o,s=!1;tn(n)?o=n:zn(n)&&(s=!0,n=n[Ft]);let a=At(n);t===0&&r!==null?i==null?Gg(e,r,a):fa(e,r,a,i||null,!0):t===1&&r!==null?fa(e,r,a,i||null,!0):t===2?X0(e,a,s):t===3&&e.destroyNode(a),o!=null&&eC(e,t,o,r,i)}}function P0(t,e){return t.createText(e)}function L0(t,e,r){t.setValue(e,r)}function j0(t,e){return t.createComment(x0(e))}function Hg(t,e,r){return t.createElement(e,r)}function V0(t,e){let r=e[re];oo(t,e,r,2,null,null),e[Ft]=null,e[je]=null}function B0(t,e,r,n,i,o){n[Ft]=i,n[je]=e,oo(t,n,r,1,i,o)}function U0(t,e){oo(t,e,e[re],2,null,null)}function $0(t){let e=t[$i];if(!e)return Lu(t[B],t);for(;e;){let r=null;if(zn(e))r=e[$i];else{let n=e[Le];n&&(r=n)}if(!r){for(;e&&!e[pt]&&e!==t;)zn(e)&&Lu(e[B],e),e=e[pe];e===null&&(e=t),zn(e)&&Lu(e[B],e),r=e&&e[pt]}e=r}}function H0(t,e,r,n){let i=Le+n,o=r.length;n>0&&(r[i-1][pt]=e),n0&&(t[r-1][pt]=n[pt]);let o=la(t,Le+e);V0(n[B],n);let s=o[Mt];s!==null&&s.detachView(o[B]),n[pe]=null,n[pt]=null,n[z]&=-129}return n}function Wg(t,e){if(!(e[z]&256)){let r=e[re];e[Gs]?.destroy(),e[Ks]?.destroy(),r.destroyNode&&oo(t,e,r,3,null,null),$0(e)}}function Lu(t,e){if(!(e[z]&256)){e[z]&=-129,e[z]|=256,q0(t,e),W0(t,e),e[B].type===1&&e[re].destroy();let r=e[Xi];if(r!==null&&tn(e[pe])){r!==e[pe]&&zg(r,e);let n=e[Mt];n!==null&&n.detachView(t)}F0(e)}}function W0(t,e){let r=t.cleanup,n=e[Ui];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Ui]=null);let i=e[wn];if(i!==null){e[wn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Fe.None||o===Fe.Emulated)return null}return et(n,r)}}function fa(t,e,r,n,i){t.insertBefore(e,r,n,i)}function Gg(t,e,r){t.appendChild(e,r)}function hm(t,e,r,n,i){n!==null?fa(t,e,r,n,i):Gg(t,e,r)}function K0(t,e,r,n){t.removeChild(e,r,n)}function gd(t,e){return t.parentNode(e)}function Z0(t,e){return t.nextSibling(e)}function Kg(t,e,r){return Q0(t,e,r)}function Y0(t,e,r){return t.type&40?et(t,r):null}var Q0=Y0,pm;function ka(t,e,r,n){let i=qg(t,n,e),o=e[re],s=n.parent||e[je],a=Kg(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return Us}function Pa(t){return rC()?.createHTML(t)||t}var ll;function Jg(t){ll=t}function iC(){if(ll!==void 0)return ll;if(typeof document<"u")return document;throw new v(210,!1)}var $s;function oC(){if($s===void 0&&($s=null,Ce.trustedTypes))try{$s=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return $s}function mm(t){return oC()?.createScriptURL(t)||t}var Jt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bm})`}},dl=class extends Jt{getTypeName(){return"HTML"}},fl=class extends Jt{getTypeName(){return"Style"}},hl=class extends Jt{getTypeName(){return"Script"}},pl=class extends Jt{getTypeName(){return"URL"}},ml=class extends Jt{getTypeName(){return"ResourceURL"}};function kt(t){return t instanceof Jt?t.changingThisBreaksApplicationSecurity:t}function In(t,e){let r=sC(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Bm})`)}return r===e}function sC(t){return t instanceof Jt&&t.getTypeName()||null}function ey(t){return new dl(t)}function ty(t){return new fl(t)}function ny(t){return new hl(t)}function ry(t){return new pl(t)}function iy(t){return new ml(t)}function aC(t){let e=new yl(t);return cC()?new gl(e):e}var gl=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Pa(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},yl=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Pa(e),r}};function cC(){try{return!!new window.DOMParser().parseFromString(Pa(""),"text/html")}catch{return!1}}var uC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function La(t){return t=String(t),t.match(uC)?t:"unsafe:"+t}function rn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function so(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var oy=rn("area,br,col,hr,img,wbr"),sy=rn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ay=rn("rp,rt"),lC=so(ay,sy),dC=so(sy,rn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),fC=so(ay,rn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),gm=so(oy,dC,fC,lC),cy=rn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hC=rn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),pC=rn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),mC=so(cy,hC,pC),gC=rn("script,style,template"),vl=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!gm.hasOwnProperty(r))return this.sanitizedSomething=!0,!gC.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e.nodeName.toLowerCase();gm.hasOwnProperty(r)&&!oy.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(ym(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},yC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vC=/([^\#-~ |!])/g;function ym(t){return t.replace(/&/g,"&").replace(yC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(vC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Hs;function uy(t,e){let r=null;try{Hs=Hs||aC(t);let n=e?String(e):"";r=Hs.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Hs.getInertBodyElement(n)}while(n!==o);let a=new vl().sanitizeChildren(vm(r)||r);return Pa(a)}finally{if(r){let n=vm(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function vm(t){return"content"in t&&bC(t)?t.content:null}function bC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Q=(()=>(Q=Q||{},Q[Q.NONE=0]="NONE",Q[Q.HTML=1]="HTML",Q[Q.STYLE=2]="STYLE",Q[Q.SCRIPT=3]="SCRIPT",Q[Q.URL=4]="URL",Q[Q.RESOURCE_URL=5]="RESOURCE_URL",Q))();function _C(t){let e=dy();return e?e.sanitize(Q.URL,t)||"":In(t,"URL")?kt(t):La(Vr(t))}function wC(t){let e=dy();if(e)return mm(e.sanitize(Q.RESOURCE_URL,t)||"");if(In(t,"ResourceURL"))return mm(kt(t));throw new v(904,!1)}function DC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?wC:_C}function ly(t,e,r){return DC(e,r)(t)}function dy(){let t=V();return t&&t[qn].sanitizer}var y=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=b({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},Yr=new y("ENVIRONMENT_INITIALIZER"),fy=new y("INJECTOR",-1),hy=new y("INJECTOR_DEF_TYPES"),ha=class{get(e,r=Vi){if(r===Vi){let n=new Error(`NullInjectorError: No provider for ${Me(e)}!`);throw n.name="NullInjectorError",n}return r}};function ao(t){return{\u0275providers:t}}function EC(...t){return{\u0275providers:py(!0,t),\u0275fromNgModule:!0}}function py(t,...e){let r=[],n=new Set,i;return fd(e,o=>{let s=o;bl(s,r,[],n)&&(i||=[],i.push(s))}),i!==void 0&&my(i,r),r}function my(t,e){for(let r=0;r{e.push(o)})}}function bl(t,e,r,n){if(t=Ee(t),!t)return!1;let i=null,o=Qp(t),s=!o&&Dn(t);if(!o&&!s){let c=t.ngModule;if(o=Qp(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)bl(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;try{fd(o.imports,l=>{bl(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&my(u,e)}if(!a){let u=Kn(i)||(()=>new i);e.push({provide:i,useFactory:u,deps:Oe},{provide:hy,useValue:i,multi:!0},{provide:Yr,useValue:()=>h(i),multi:!0})}let c=o.providers;if(c!=null&&!a){let u=t;vd(c,l=>{e.push(l)})}}else return!1;return i!==t&&t.providers!==void 0}function vd(t,e){for(let r of t)Vm(r)&&(r=r.\u0275providers),Array.isArray(r)?vd(r,e):e(r)}var CC=ee({provide:String,useValue:ee});function gy(t){return t!==null&&typeof t=="object"&&CC in t}function SC(t){return!!(t&&t.useExisting)}function IC(t){return!!(t&&t.useFactory)}function zr(t){return typeof t=="function"}function TC(t){return!!t.useClass}var ja=new y("Set Injector scope."),Js={},MC={},ju;function bd(){return ju===void 0&&(ju=new ha),ju}var Ne=class{},pa=class extends Ne{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wl(e,s=>this.processProvider(s)),this.records.set(fy,Pr(void 0,this)),i.has("environment")&&this.records.set(Ne,Pr(void 0,this));let o=this.records.get(ja);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(hy.multi,Oe,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Or(this),n=Xe(void 0);try{return e()}finally{Or(r),Xe(n)}}get(e,r=Vi,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(em))return e[em](this);n=Ia(n);let i=Or(this),o=Xe(void 0);try{if(!(n&F.SkipSelf)){let a=this.records.get(e);if(a===void 0){let c=OC(e)&&Sa(e);c&&this.injectableDefInScope(c)?a=Pr(_l(e),Js):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&F.Self?bd():this.parent;return r=n&F.Optional&&r===Vi?null:r,s.get(e,r)}catch(s){if(s.name==="NullInjectorError"){if((s[na]=s[na]||[]).unshift(Me(e)),i)throw s;return eE(s,e,"R3InjectorError",this.source)}else throw s}finally{Xe(o),Or(i)}}resolveInjectorInitializers(){let e=Or(this),r=Xe(void 0);try{let n=this.get(Yr.multi,Oe,F.Self);for(let i of n)i()}finally{Or(e),Xe(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Me(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=Ee(e);let r=zr(e)?e:Ee(e&&e.provide),n=xC(e);if(!zr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Pr(void 0,Js,!0),i.factory=()=>Yu(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}else{let i=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===Js&&(r.value=MC,r.value=r.factory()),typeof r.value=="object"&&r.value&&NC(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ee(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function _l(t){let e=Sa(t),r=e!==null?e.factory:Kn(t);if(r!==null)return r;if(t instanceof y)throw new v(204,!1);if(t instanceof Function)return AC(t);throw new v(204,!1)}function AC(t){let e=t.length;if(e>0){let n=jg(e,"?");throw new v(204,!1)}let r=WD(t);return r!==null?()=>r.factory(t):()=>new t}function xC(t){if(gy(t))return Pr(void 0,t.useValue);{let e=yy(t);return Pr(e,Js)}}function yy(t,e,r){let n;if(zr(t)){let i=Ee(t);return Kn(i)||_l(i)}else if(gy(t))n=()=>Ee(t.useValue);else if(IC(t))n=()=>t.useFactory(...Yu(t.deps||[]));else if(SC(t))n=()=>h(Ee(t.useExisting));else{let i=Ee(t&&(t.useClass||t.provide));if(RC(t))n=()=>new i(...Yu(t.deps));else return Kn(i)||_l(i)}return n}function Pr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function RC(t){return!!t.deps}function NC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function OC(t){return typeof t=="function"||typeof t=="object"&&t instanceof y}function wl(t,e){for(let r of t)Array.isArray(r)?wl(r,e):r&&Vm(r)?wl(r.\u0275providers,e):e(r)}var Qr=new y("AppId",{providedIn:"root",factory:()=>FC}),FC="ng",_d=new y("Platform Initializer"),Pt=new y("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Lt=new y("AnimationModuleType"),co=new y("CSP nonce",{providedIn:"root",factory:()=>iC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var kC="h",PC="b";var LC=(t,e)=>null;function vy(t,e){return LC(t,e)}var Dl=class{},ma=class{};function jC(t){let e=Error(`No component factory found for ${Me(t)}.`);return e[VC]=t,e}var VC="ngComponent";var El=class{resolveComponentFactory(e){throw jC(e)}},Va=(()=>{let e=class{},t=e;return(()=>{e.NULL=new El})(),t})();function BC(){return Xr(Ae(),V())}function Xr(t,e){return new le(et(t,e))}var le=(()=>{let e=class{constructor(n){this.nativeElement=n}},t=e;return(()=>{e.__NG_ELEMENT_ID__=BC})(),t})();function UC(t){return t instanceof le?t.nativeElement:t}var xt=class{},uo=(()=>{let e=class{constructor(){this.destroyNode=null}},t=e;return(()=>{e.__NG_ELEMENT_ID__=()=>$C()})(),t})();function $C(){let t=V(),e=Ae(),r=Sn(e.index,t);return(zn(r)?r:t)[re]}var HC=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null})})(),t})(),Xn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},zC=new Xn("16.1.3"),Vu={};function Ba(t){for(;t;){t[z]|=64;let e=md(t);if(wE(t)&&!e)return t;t=e}return null}var WC="ngOriginalError";function Bu(t){return t[WC]}var Ve=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Bu(e);for(;r&&Bu(r);)r=Bu(r);return r||null}};var by=!1,qC=new y("",{providedIn:"root",factory:()=>by});function _y(t){return t instanceof Function?t():t}var ga=class extends $r{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(e){this._lView=e}onConsumerDependencyMayHaveChanged(){Ba(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(e,r,n){let i=_e(this);this.trackingVersion++;try{e(r,n)}finally{_e(i)}}destroy(){this.trackingVersion++}},ya=null;function wy(){return ya??=new ga,ya}function Dy(t,e){return t[e]??wy()}function Ey(t,e){let r=wy();r.hasReadASignal&&(t[e]=ya,r.lView=t,ya=new ga)}var Be={};function lo(t){Cy(oe(),V(),nr()+t,!1)}function Cy(t,e,r,n){if(!n)if((e[z]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Zs(e,o,r)}else{let o=t.preOrderHooks;o!==null&&Ys(e,o,0,r)}Zn(r)}function fo(t){if(!zm()&&!QD())throw new v(-203,!1)}function bm(t,e=null,r=null,n){let i=Sy(t,e,r,n);return i.resolveInjectorInitializers(),i}function Sy(t,e=null,r=null,n,i=new Set){let o=[r||Oe,EC(t)];return n=n||(typeof t=="object"?void 0:Me(t)),new pa(o,e||bd(),n||null,i)}var Ue=(()=>{let e=class{static create(n,i){if(Array.isArray(n))return bm({name:""},i,n,"");{let o=n.name??"";return bm({name:o},n.parent,n.providers,o)}}},t=e;return(()=>{e.THROW_IF_NOT_FOUND=Vi})(),(()=>{e.NULL=new ha})(),(()=>{e.\u0275prov=b({token:e,providedIn:"any",factory:()=>h(fy)})})(),(()=>{e.__NG_ELEMENT_ID__=-1})(),t})();function x(t,e=F.Default){let r=V();if(r===null)return h(t,e);let n=Ae();return Fg(n,r,Ee(t),e)}function Ua(){let t="invalid";throw new Error(t)}function GC(t,e){let r=t.hostBindingOpCodes;if(r===null)return;let n=Dy(e,Ks);try{for(let i=0;ike&&Cy(t,e,ke,!1),It(a?2:0,i),a)o.runInContext(r,n,i);else{let u=_e(null);try{r(n,i)}finally{_e(u)}}}finally{a&&e[Gs]===null&&Ey(e,Gs),Zn(s),It(a?3:1,i)}}function wd(t,e,r){if(Jl(e)){let n=_e(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function JC(t,e,r,n){let i=Fy(e);i.push(r),t.firstCreatePass&&ky(t).push(n,i.length-1)}function eS(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return vg()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function _m(t,e,r,n){for(let i in t)if(t.hasOwnProperty(i)){r=r===null?{}:r;let o=t[i];n===null?wm(r,e,i,o):n.hasOwnProperty(i)&&wm(r,e,n[i],o)}return r}function wm(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function tS(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function sS(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Ma(r)&&hS(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||ua(r,e),En(n,e);let s=r.initialInputs;for(let a=i;a{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=DS})(),(()=>{e.__NG_ENV_ID__=n=>n})(),t})(),Il=class extends ir{constructor(e){super(),this._lView=e}onDestroy(e){return gg(this._lView,e),()=>LE(this._lView,e)}};function DS(){return new Il(V())}var jy=(()=>{let e=class{constructor(){this.all=new Set,this.queue=new Map}create(n,i,o){let s=typeof Zone>"u"?null:Zone.current,a=new tl(n,l=>{this.all.has(l)&&this.queue.set(l,s)},o);this.all.add(a),a.notify();let c,u=()=>{a.cleanup(),c?.(),this.all.delete(a),this.queue.delete(a)};return c=i?.onDestroy(u),{destroy:u}}flush(){if(this.queue.size!==0)for(let[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return this.queue.size===0}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e})})(),t})();function Md(t,e){!e?.injector&&fo(Md);let r=e?.injector??E(Ue),n=r.get(jy),i=e?.manualCleanup!==!0?r.get(ir):null;return n.create(t,i,!!e?.allowSignalWrites)}function va(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0){Uy(t,1);let i=t[B].components;i!==null&&Hy(t,i,1)}}function Hy(t,e,r){for(let n=0;n-1&&(cl(e,n),la(r,n))}this._attachedToViewContainer=!1}Wg(this._lView[B],this._lView)}onDestroy(e){gg(this._lView,e)}markForCheck(){Ba(this._cdRefInjectingView||this._lView)}detach(){this._lView[z]&=-129}reattach(){this._lView[z]|=128}detectChanges(){Vy(this._lView[B],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,U0(this._lView[B],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e}},Tl=class extends Jn{constructor(e){super(e),this._view=e}detectChanges(){let e=this._view,r=e[B],n=e[Je];Vy(r,e,n,!1)}checkNoChanges(){}get context(){return null}},ba=class extends Va{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Dn(e);return new Wr(r,this.ngModule)}};function Dm(t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push({propName:n,templateName:r})}return e}function SS(t){let e=t.toLowerCase();return e==="svg"?lg:e==="math"?RE:null}var Ml=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ia(n);let i=this.injector.get(e,Vu,n);return i!==Vu||r===Vu?i:this.parentInjector.get(e,r,n)}},Wr=class extends ma{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Dm(e.inputs);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return Dm(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=gE(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){i=i||this.ngModule;let o=i instanceof Ne?i:i?.injector;o&&this.componentDef.getStandaloneInjector!==null&&(o=this.componentDef.getStandaloneInjector(o)||o);let s=o?new Ml(e,o):e,a=s.get(xt,null);if(a===null)throw new v(407,!1);let c=s.get(HC,null),u=s.get(jy,null),l={rendererFactory:a,sanitizer:c,effectManager:u},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=n?YC(d,n,this.componentDef.encapsulation,s):Hg(d,f,SS(f)),m=4608,g=this.componentDef.onPush?576:528,w=this.componentDef.signals?m:g,D=Cd(0,null,null,1,0,null,null,null,null,null,null),O=$a(null,D,null,w,null,null,l,d,s,null,null);cd(O);let X,j;try{let de=this.componentDef,ue,fe=null;de.findHostDirectiveDefs?(ue=[],fe=new Map,de.findHostDirectiveDefs(de,ue,fe),ue.push(de)):ue=[de];let ot=IS(O,p),st=TS(ot,p,de,ue,O,l,d);j=fg(D,ke),p&&xS(d,de,p,n),r!==void 0&&RS(j,this.ngContentSelectors,r),X=AS(st,de,ue,fe,O,[NS]),Td(D,O,null)}finally{ud()}return new Al(this.componentType,X,Xr(j,O),O,j)}},Al=class extends Dl{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Tl(i),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;Id(o[B],o,i,e,r),this.previousInputValues.set(e,r);let s=Sn(this._tNode.index,o);Ba(s)}}get injector(){return new Wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function IS(t,e){let r=t[B],n=ke;return t[n]=e,Jr(r,n,2,"#host",null)}function TS(t,e,r,n,i,o,s){let a=i[B];MS(n,t,e,s);let c=null;e!==null&&(c=vy(e,i[Br]));let u=o.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=$a(i,My(r),null,l,i[t.index],t,o,u,null,null,c);return a.firstCreatePass&&Cl(a,t,n.length-1),Ha(i,d),i[t.index]=d}function MS(t,e,r,n){for(let i of t)e.mergedAttrs=Bi(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(va(e,e.mergedAttrs,!0),r!==null&&Xg(n,r,e))}function AS(t,e,r,n,i,o){let s=Ae(),a=i[B],c=et(s,i);Ay(a,i,s,r,null,n);for(let l=0;l0&&Qg(t,r,o.join(" "))}}function RS(t,e,r){let n=t.projection=[];for(let i=0;i=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Bi(i.hostAttrs,r=Bi(r,i.hostAttrs))}}function zs(t){return t===Qt?{}:t===Oe?[]:t}function kS(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function PS(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function LS(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function x$(t){return e=>{e.findHostDirectiveDefs=zy,e.hostDirectives=(Array.isArray(t)?t:t()).map(r=>typeof r=="function"?{directive:Ee(r),inputs:Qt,outputs:Qt}:{directive:Ee(r.directive),inputs:Em(r.inputs),outputs:Em(r.outputs)})}}function zy(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let i=Ql(n.directive);jS(i.declaredInputs,n.inputs),zy(i,e,r),r.set(i,n),e.push(i)}}function Em(t){if(t===void 0||t.length===0)return Qt;let e={};for(let r=0;r=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function N$(t){let e=zE();return nd(e,ke+t)}function po(t,e,r){let n=V(),i=eo();if(Rt(n,i,e)){let o=oe(),s=Zr();ho(o,s,n,t,e,n[re],r,!1)}return po}function xl(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";Id(t,r,o[s],s,n)}function GS(t,e,r,n,i,o){let s=e.consts,a=Hr(s,i),c=Jr(e,t,2,n,a);return Sd(e,r,c,Hr(s,o)),c.attrs!==null&&va(c,c.attrs,!1),c.mergedAttrs!==null&&va(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function or(t,e,r,n){let i=V(),o=oe(),s=ke+t,a=i[re],c=o.firstCreatePass?GS(s,o,i,e,r,n):o.data[s],u=KS(o,i,c,a,e,t);i[s]=u;let l=Aa(c);return tr(c,!0),Xg(a,u,c),(c.flags&32)!==32&&Ra()&&ka(o,i,u,c),jE()===0&&En(u,i),VE(),l&&(Dd(o,i,c),wd(o,c,i)),n!==null&&Ed(i,c),or}function sr(){let t=Ae();rd()?id():(t=t.parent,tr(t,!1));let e=t;UE(e)&&$E(),BE();let r=oe();return r.firstCreatePass&&(Oa(r,t),Jl(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&r0(e)&&xl(r,e,V(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&i0(e)&&xl(r,e,V(),e.stylesWithoutHost,!1),sr}function Mn(t,e,r,n){return or(t,e,r,n),sr(),Mn}var KS=(t,e,r,n,i,o)=>(Na(!0),Hg(n,i,JE()));function ZS(t,e,r,n,i){let o=e.consts,s=Hr(o,n),a=Jr(e,t,8,"ng-container",s);s!==null&&va(a,s,!0);let c=Hr(o,i);return Sd(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Gy(t,e,r){let n=V(),i=oe(),o=t+ke,s=i.firstCreatePass?ZS(o,i,n,e,r):i.data[o];tr(s,!0);let a=QS(i,n,s,t);return n[o]=a,Ra()&&ka(i,n,a,s),En(a,n),Aa(s)&&(Dd(i,n,s),wd(i,s,n)),r!=null&&Ed(n,s),Gy}function Ky(){let t=Ae(),e=oe();return rd()?id():(t=t.parent,tr(t,!1)),e.firstCreatePass&&(Oa(e,t),Jl(t)&&e.queries.elementEnd(t)),Ky}function YS(t,e,r){return Gy(t,e,r),Ky(),YS}var QS=(t,e,r,n)=>(Na(!0),j0(e[re],""));function O$(){return V()}function ei(t){return!!t&&typeof t.then=="function"}function Od(t){return!!t&&typeof t.subscribe=="function"}function za(t,e,r,n){let i=V(),o=oe(),s=Ae();return Zy(o,i,i[re],s,t,e,n),za}function XS(t,e){let r=Ae(),n=V(),i=oe(),o=sd(i.data),s=Py(o,r,n);return Zy(i,n,s,r,t,e),XS}function JS(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function Zy(t,e,r,n,i,o,s){let a=Aa(n),u=t.firstCreatePass&&ky(t),l=e[Je],d=Fy(e),f=!0;if(n.type&3||s){let g=et(n,e),w=s?s(g):g,D=d.length,O=s?j=>s(At(j[n.index])):n.index,X=null;if(!s&&a&&(X=JS(t,e,i,n.index)),X!==null){let j=X.__ngLastListenerFn__||X;j.__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,f=!1}else{o=Sm(n,e,l,o,!1);let j=r.listen(w,i,o);d.push(o,j),u&&u.push(i,O,D,D+1)}}else o=Sm(n,e,l,o,!1);let p=n.outputs,m;if(f&&p!==null&&(m=p[i])){let g=m.length;if(g)for(let w=0;w-1?Sn(t.index,e):e;Ba(a);let c=Cm(e,r,n,s),u=o.__ngNextListenerFn__;for(;u;)c=Cm(e,r,u,s)&&c,u=u.__ngNextListenerFn__;return i&&c===!1&&s.preventDefault(),c}}function eI(t=1){return QE(t)}function tI(t,e){let r=null,n=dE(t);for(let i=0;i>17&32767}function iI(t){return(t&2)==2}function oI(t,e){return t&131071|e<<17}function Rl(t){return t|2}function qr(t){return(t&131068)>>2}function Uu(t,e){return t&-131069|e<<2}function sI(t){return(t&1)===1}function Nl(t){return t|1}function aI(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=er(s),c=qr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||ro(d,l)>0)&&(u=!0)}else l=r;if(i)if(c!==0){let f=er(t[a+1]);t[n+1]=Ws(f,a),f!==0&&(t[f+1]=Uu(t[f+1],n)),t[a+1]=oI(t[a+1],n)}else t[n+1]=Ws(a,0),a!==0&&(t[a+1]=Uu(t[a+1],n)),a=n;else t[n+1]=Ws(c,0),a===0?a=n:t[c+1]=Uu(t[c+1],n),c=n;u&&(t[n+1]=Rl(t[n+1])),Im(t,l,n,!0,o),Im(t,l,n,!1,o),cI(e,l,t,n,o),s=Ws(a,c),o?e.classBindings=s:e.styleBindings=s}function cI(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&ro(o,e)>=0&&(r[n+1]=Nl(r[n+1]))}function Im(t,e,r,n,i){let o=t[r+1],s=e===null,a=n?er(o):qr(o),c=!1;for(;a!==0&&(c===!1||s);){let u=t[a],l=t[a+1];uI(u,e)&&(c=!0,t[a+1]=n?Nl(l):Rl(l)),a=n?er(l):qr(l)}c&&(t[r+1]=n?Rl(o):Nl(o))}function uI(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?ro(t,e)>=0:!1}var ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lI(t){return t.substring(ht.key,ht.keyEnd)}function dI(t){return fI(t),Yy(t,Qy(t,0,ht.textEnd))}function Yy(t,e){let r=ht.textEnd;return r===e?-1:(e=ht.keyEnd=hI(t,ht.key=e,r),Qy(t,e,r))}function fI(t){ht.key=0,ht.keyEnd=0,ht.value=0,ht.valueEnd=0,ht.textEnd=t.length}function Qy(t,e,r){for(;e32;)e++;return e}function Fd(t,e,r){return Jy(t,e,r,!1),Fd}function tt(t,e){return Jy(t,e,null,!0),tt}function F$(t){ev(bI,Xy,t,!0)}function Xy(t,e){for(let r=dI(e);r>=0;r=Yy(e,r))Fa(t,lI(e),!0)}function Jy(t,e,r,n){let i=V(),o=oe(),s=od(2);if(o.firstUpdatePass&&nv(o,t,s,n),e!==Be&&Rt(i,s,e)){let a=o.data[nr()];rv(o,a,i,i[re],t,i[s+1]=wI(e,r),n,s)}}function ev(t,e,r,n){let i=oe(),o=od(2);i.firstUpdatePass&&nv(i,null,o,n);let s=V();if(r!==Be&&Rt(s,o,r)){let a=i.data[nr()];if(iv(a,n)&&!tv(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Gu(c,r||"")),xl(i,a,s,r,n)}else _I(i,a,s,s[re],s[o+1],s[o+1]=vI(t,e,r),n,o)}}function tv(t,e){return e>=t.expandoStartIndex}function nv(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[nr()],s=tv(t,r);iv(o,n)&&e===null&&!s&&(e=!1),e=pI(i,o,e,n),aI(i,o,e,r,s,n)}}function pI(t,e,r,n){let i=sd(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=$u(null,t,e,r,n),r=Hi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=$u(i,t,e,r,n),o===null){let c=mI(t,e,n);c!==void 0&&Array.isArray(c)&&(c=$u(null,t,e,c[1],n),c=Hi(c,e.attrs,n),gI(t,e,n,c))}else o=yI(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function mI(t,e,r){let n=r?e.classBindings:e.styleBindings;if(qr(n)!==0)return t[er(n)]}function gI(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[er(i)]=n}function yI(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[i+1];f===Be&&(f=d?Oe:void 0);let p=d?Pu(f,n):l===n?f:void 0;if(u&&!_a(p)&&(p=Pu(c,n)),_a(p)&&(a=p,s))return a;let m=t[i+1];i=s?er(m):qr(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=Pu(c,n))}return a}function _a(t){return t!==void 0}function wI(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Me(kt(t)))),t}function iv(t,e){return(t.flags&(e?8:16))!==0}function DI(t,e=""){let r=V(),n=oe(),i=t+ke,o=n.firstCreatePass?Jr(n,i,1,e,null):n.data[i],s=EI(n,r,o,e,t);r[i]=s,Ra()&&ka(n,r,s,o),tr(o,!1)}var EI=(t,e,r,n,i)=>(Na(!0),P0(e[re],n));function CI(t){return kd("",t,""),CI}function kd(t,e,r){let n=V(),i=Nd(n,t,e,r);return i!==Be&&vS(n,nr(),i),kd}function k$(t,e,r){let n=V(),i=Nd(n,t,e,r);ev(Fa,Xy,i,!0)}function ov(t,e,r){let n=V(),i=eo();if(Rt(n,i,e)){let o=oe(),s=Zr();ho(o,s,n,t,e,n[re],r,!0)}return ov}function SI(t,e,r){let n=V(),i=eo();if(Rt(n,i,e)){let o=oe(),s=Zr(),a=sd(o.data),c=Py(a,s,n);ho(o,s,n,t,e,c,r,!0)}return SI}var wa="en-US";var II=wa;function TI(t){HD(t,"Expected localeId to be defined"),typeof t=="string"&&(II=t.toLowerCase().replace(/_/g,"-"))}function MI(t,e,r){let n=oe();if(n.firstCreatePass){let i=Xt(t);Ol(r,n.data,n.blueprint,i,!0),Ol(e,n.data,n.blueprint,i,!1)}}function Ol(t,e,r,n,i){if(t=Ee(t),Array.isArray(t))for(let o=0;o>20;if(zr(t)||!t.multi){let p=new Yn(c,i,x),m=zu(a,e,i?l:l+f,d);m===-1?(ol(ua(u,s),o,a),Hu(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),r.push(p),s.push(p)):(r[m]=p,s[m]=p)}else{let p=zu(a,e,l+f,d),m=zu(a,e,l,l+f),g=p>=0&&r[p],w=m>=0&&r[m];if(i&&!w||!i&&!g){ol(ua(u,s),o,a);let D=RI(i?xI:AI,r.length,i,n,c);!i&&w&&(r[m].providerFactory=D),Hu(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),r.push(D),s.push(D)}else{let D=sv(r[i?m:p],c,!i&&n);Hu(o,t,p>-1?p:m,D)}!i&&n&&w&&r[m].componentProviders++}}}function Hu(t,e,r,n){let i=zr(e),o=TC(e);if(i||o){let c=(o?Ee(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function sv(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function zu(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>MI(n,i?i(t):t,e)}}var en=class{},zi=class{};function av(t,e){return new Wi(t,e??null,[])}var Wi=class extends en{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ba(this);let i=eg(e);this._bootstrapComponents=_y(i.bootstrap),this._r3Injector=Sy(e,r,[{provide:en,useValue:this},{provide:Va,useValue:this.componentFactoryResolver},...n],Me(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Da=class extends zi{constructor(e){super(),this.moduleType=e}create(e){return new Wi(this.moduleType,e,[])}};function NI(t,e,r){return new Wi(t,e,r)}var kl=class extends en{constructor(e){super(),this.componentFactoryResolver=new ba(this),this.instance=null;let r=new pa([...e.providers,{provide:en,useValue:this},{provide:Va,useValue:this.componentFactoryResolver}],e.parent||bd(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Wa(t,e,r=null){return new kl({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var OI=(()=>{let e=class{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){let i=py(!1,n.type),o=i.length>0?Wa([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"environment",factory:()=>new e(h(Ne))})})(),t})();function Ld(t){t.getStandaloneInjector=e=>e.get(OI).getOrCreateStandaloneInjector(t)}function P$(t,e,r){let n=Ji()+t,i=V();return i[n]===Be?Rd(i,n,r?e.call(r):e()):BS(i,n)}function L$(t,e,r,n){return uv(V(),Ji(),t,e,r,n)}function j$(t,e,r,n,i){return lv(V(),Ji(),t,e,r,n,i)}function cv(t,e){let r=t[e];return r===Be?void 0:r}function uv(t,e,r,n,i,o){let s=e+r;return Rt(t,s,i)?Rd(t,s+1,o?n.call(o,i):n(i)):cv(t,s+1)}function lv(t,e,r,n,i,o,s){let a=e+r;return qy(t,a,i,o)?Rd(t,a+2,s?n.call(s,i,o):n(i,o)):cv(t,a+2)}function V$(t,e){let r=oe(),n,i=t+ke;r.firstCreatePass?(n=FI(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=Kn(n.type,!0)),s=Xe(x);try{let a=ca(!1),c=o();return ca(a),qS(r,V(),i,c),c}finally{Xe(s)}}function FI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function B$(t,e,r){let n=t+ke,i=V(),o=nd(i,n);return dv(i,n)?uv(i,Ji(),e,o.transform,r,o):o.transform(r)}function U$(t,e,r,n){let i=t+ke,o=V(),s=nd(o,i);return dv(o,i)?lv(o,Ji(),e,s.transform,r,n,s):s.transform(r,n)}function dv(t,e){return t[B].data[e].pure}var Pl=class extends ${constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=Wu(o),i&&(i=Wu(i)),s&&(s=Wu(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof J&&e.add(a),a}};function Wu(t){return e=>{setTimeout(t,void 0,e)}}var ce=Pl;function kI(){return this._results[Symbol.iterator]()}var Cn=class{get changes(){return this._changes||(this._changes=new ce)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let r=Cn.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=kI)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){let n=this;n.dirty=!1;let i=v0(e);(this._changesDetected=!y0(n._results,i,r))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},Nt=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=jI})(),t})(),PI=Nt,LI=class extends PI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r,null)}createEmbeddedViewImpl(e,r,n){let o=this._declarationLView[z]&4096?4096:16,s=this._declarationTContainer.tView,a=$a(this._declarationLView,s,e,o,null,s.declTNode,null,null,null,r||null,n||null),c=this._declarationLView[this._declarationTContainer.index];a[Xi]=c;let u=this._declarationLView[Mt];return u!==null&&(a[Mt]=u.createEmbeddedView(s)),Td(s,a,e),new Jn(a)}};function jI(){return qa(Ae(),V())}function qa(t,e){return t.type&4?new LI(e,t,Xr(t,e)):null}var VI=(t,e)=>null;function Mm(t,e){return VI(t,e)}var $e=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=BI})(),t})();function BI(){let t=Ae();return hv(t,V())}var UI=$e,fv=class extends UI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Xr(this._hostTNode,this._hostLView)}get injector(){return new Wn(this._hostTNode,this._hostLView)}get parentInjector(){let e=ld(this._hostTNode,this._hostLView);if(Mg(e)){let r=aa(e,this._hostLView),n=sa(e),i=r[B].data[n+8];return new Wn(i,r)}else return new Wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Am(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Mm(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s),c=!!s&&!al(this._hostTNode);return this.insertImpl(a,i,c),a}createComponent(e,r,n,i,o){let s=e&&!g0(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?e:new Wr(Dn(e)),u=n||this.parentInjector;if(!o&&c.ngModule==null){let w=(s?u:this.parentInjector).get(Ne,null);w&&(o=w)}let l=Dn(c.componentType??{}),d=Mm(this._lContainer,l?.id??null),f=d?.firstChild??null,p=c.create(u,i,f,o),m=!!d&&!al(this._hostTNode);return this.insertImpl(p.hostView,a,m),p}insert(e,r){return this.insertImpl(e,r,!1)}insertImpl(e,r,n){let i=e._lView,o=i[B];if(kE(i)){let c=this.indexOf(e);if(c!==-1)this.detach(c);else{let u=i[pe],l=new fv(u,u[je],u[pe]);l.detach(l.indexOf(e))}}let s=this._adjustIndex(r),a=this._lContainer;if(H0(o,i,a,s),!n){let c=ul(s,a),u=i[re],l=gd(u,a[Gn]);l!==null&&B0(o,a[je],u,i,l,c)}return e.attachToViewContainerRef(),Lg(qu(a),s,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Am(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=cl(this._lContainer,r);n&&(la(qu(this._lContainer),r),Wg(n[B],n))}detach(e){let r=this._adjustIndex(e,-1),n=cl(this._lContainer,r);return n&&la(qu(this._lContainer),r)!=null?new Jn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Am(t){return t[oa]}function qu(t){return t[oa]||(t[oa]=[])}function hv(t,e){let r,n=e[t.index];return tn(n)?r=n:(r=Ny(n,e,null,t),e[t.index]=r,Ha(e,r)),HI(r,e,t,n),new fv(r,t,e)}function $I(t,e){let r=t[re],n=r.createComment(""),i=et(e,t),o=gd(r,i);return fa(r,o,n,Z0(r,i),!1),n}var HI=zI;function zI(t,e,r,n){if(t[Gn])return;let i;r.type&8?i=At(n):i=$I(e,r),t[Gn]=i}var qi=class{constructor(e){this.queryList=e,this.matches=null}clone(){return new qi(this.queryList)}setDirty(){this.queryList.setDirty()}},Gi=class{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let u=o[a+1],l=e[-c];for(let d=Le;d{let e=class{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=E(Ga,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(ei(s))n.push(s);else if(Od(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),ri=(()=>{let e=class{log(n){console.log(n)}warn(n){console.warn(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function JI(){return typeof $localize<"u"&&$localize.locale||wa}var Ka=new y("LocaleId",{providedIn:"root",factory:()=>E(Ka,F.Optional|F.SkipSelf)||JI()});var ii=(()=>{let e=class{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ae(!1)}add(){this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),jl=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Za=(()=>{let e=class{compileModuleSync(n){return new Da(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=eg(n),s=_y(o.declarations).reduce((a,c)=>{let u=Dn(c);return u&&a.push(new Wr(u)),a},[]);return new jl(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),eT=new y("compilerOptions");function xm(...t){}function tT(){let t=Ce.requestAnimationFrame,e=Ce.cancelAnimationFrame;if(typeof Zone<"u"&&t&&e){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}var P=class{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=tT().nativeRequestAnimationFrame,iT(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!P.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(P.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,nT,xm,xm);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},nT={};function jd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function rT(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ce,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Vl(t),t.isCheckStableRunning=!0,jd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Vl(t))}function iT(t){let e=()=>{rT(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{try{return Rm(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Nm(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return Rm(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Nm(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Vl(t),jd(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Vl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Rm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nm(t){t._nesting--,jd(t)}var Bl=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}},bv=new y("",{providedIn:"root",factory:_v});function _v(){let t=E(P),e=!0,r=new T(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),n=new T(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let s=t.onUnstable.subscribe(()=>{P.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}});return Iu(r,n.pipe(bn()))}var Vd=new y(""),go=new y(""),Ya=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Bd||(oT(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(P),h(Qa),h(go))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Qa=(()=>{let e=class{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Bd?.findTestabilityInTree(this,n,i)??null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function oT(t){Bd=t}var Bd,ji=null,wv=new y("AllowMultipleToken"),Dv=new y("PlatformDestroyListeners"),Xa=new y("appBootstrapListener");function sT(t,e,r){let n=new Da(r);return Promise.resolve(n)}function aT(){TE(()=>{throw new v(600,!1)})}function cT(t){return t.isBoundToModule}var Yi=class{constructor(e,r){this.name=e,this.token=r}};function uT(t){if(ji&&!ji.get(wv,!1))throw new v(400,!1);aT(),ji=t;let e=t.get(Cv);return lT(t),e}function lT(t){t.get(_d,null)?.forEach(r=>r())}function Ud(t,e,r=[]){let n=`Platform: ${e}`,i=new y(n);return(o=[])=>{let s=Ev();if(!s||s.injector.get(wv,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):uT(fT(a,n))}return dT(i)}}function dT(t){let e=Ev();if(!e)throw new v(401,!1);return e}function fT(t=[],e){return Ue.create({name:e,providers:[{provide:ja,useValue:"platform"},{provide:Dv,useValue:new Set([()=>ji=null])},...t]})}function Ev(){return ji?.get(Cv)??null}var Cv=(()=>{let e=class{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=pT(i?.ngZone,hT({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=NI(n.moduleType,this.injector,vT(()=>o)),a=s.injector.get(Ve,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:u=>{a.handleError(u)}});s.onDestroy(()=>{ta(this._modules,s),c.unsubscribe()})}),mT(a,o,()=>{let c=s.injector.get(vv);return c.runInitializers(),c.donePromise.then(()=>{let u=s.injector.get(Ka,wa);return TI(u||wa),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,i=[]){let o=Sv({},i);return sT(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(on);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(Dv,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Ue))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function hT(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function pT(t="zone.js",e){return t==="noop"?new Bl:t==="zone.js"?new P(e):t}function mT(t,e,r){try{let n=r();return ei(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Sv(t,e){return Array.isArray(e)?e.reduce(Sv,t):_(_({},t),e)}var on=(()=>{let e=class{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Iv),this.zoneIsStable=E(bv),this.componentTypes=[],this.components=[],this.isStable=E(ii).hasPendingTasks.pipe(De(n=>n?S(!1):this.zoneIsStable),Kt(),bn()),this._injector=E(Ne)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof ma;if(!this._injector.get(vv).done){let m="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&Jm(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new v(405,!1)}let a;o?a=n:a=this._injector.get(Va).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=cT(a)?void 0:this._injector.get(en),u=i||a.selector,l=a.create(Ue.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Vd,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ta(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ta(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Xa,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ta(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function ta(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Om(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Iv=new y("",{providedIn:"root",factory:()=>E(Ve).handleError.bind(void 0)});function gT(){let t=E(P),e=E(Ve);return r=>t.runOutsideAngular(()=>e.handleError(r))}var yT=(()=>{let e=class{constructor(){this.zone=E(P),this.applicationRef=E(on)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function vT(t){return[{provide:P,useFactory:t},{provide:Yr,multi:!0,useFactory:()=>{let e=E(yT,{optional:!0});return()=>e.initialize()}},{provide:Iv,useFactory:gT},{provide:bv,useFactory:_v}]}function $d(){return!1}var ur=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=bT})(),t})();function bT(t){return _T(Ae(),V(),(t&16)===16)}function _T(t,e,r){if(Ma(t)&&!r){let n=Sn(t.index,e);return new Jn(n,n)}else if(t.type&47){let n=e[mt];return new Jn(n,e)}return null}var Ul=class{constructor(){}supports(e){return Wy(e)}create(e){return new $l(e)}},wT=(t,e)=>e,$l=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||wT}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new Hl(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ca),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ca),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Hl=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},zl=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Ca=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new zl,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Fm(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new Gl(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},Gl=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function km(){return new yo([new Ul])}var yo=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||km()),deps:[[e,new io,new rr]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new v(901,!1)}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:km})})(),t})();function Pm(){return new Hd([new Wl])}var Hd=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Pm()),deps:[[e,new io,new rr]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new v(901,!1)}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:Pm})})(),t})();var Tv=Ud(null,"core",[]),Mv=(()=>{let e=class{constructor(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(on))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();function vo(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Av(t){let e=Dn(t);if(!e)return null;let r=new Wr(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Wd=null;function lr(){return Wd}function Lv(t){Wd||(Wd=t)}var Ja=class{},W=new y("DocumentToken"),Qd=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(DT))()},providedIn:"platform"})})(),t})(),jv=new y("Location Initialized"),DT=(()=>{let e=class extends Qd{constructor(){super(),this._doc=E(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return lr().getBaseHref(this._doc)}onPopState(n){let i=lr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=lr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>new e)()},providedIn:"platform"})})(),t})();function Xd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function xv(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function sn(t){return t&&t[0]!=="?"?"?"+t:t}var an=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(Jd))()},providedIn:"root"})})(),t})(),Vv=new y("appBaseHref"),Jd=(()=>{let e=class extends an{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??E(W).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Xd(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+sn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Qd),h(Vv,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Bv=(()=>{let e=class extends an{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Xd(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Qd),h(Vv,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),tc=(()=>{let e=class{constructor(n){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=ST(xv(Rv(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+sn(i))}normalize(n){return e.stripTrailingSlash(CT(this._basePath,Rv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+sn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+sn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}},t=e;return(()=>{e.normalizeQueryParams=sn})(),(()=>{e.joinWithSlash=Xd})(),(()=>{e.stripTrailingSlash=xv})(),(()=>{e.\u0275fac=function(i){return new(i||e)(h(an))}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return ET()},providedIn:"root"})})(),t})();function ET(){return new tc(h(an))}function CT(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Rv(t){return t.replace(/\/index.html$/,"")}function ST(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function nc(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var zd=/\s+/,Nv=[],lH=(()=>{let e=class{constructor(n,i,o,s){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=o,this._renderer=s,this.initialClasses=Nv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(zd):Nv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(zd):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(zd).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(yo),x(Hd),x(le),x(uo))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})})(),t})(),dH=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null}ngOnChanges(n){let{_viewContainerRef:i,ngComponentOutletNgModule:o,ngComponentOutletNgModuleFactory:s}=this;if(i.clear(),this._componentRef=void 0,this.ngComponentOutlet){let a=this.ngComponentOutletInjector||i.parentInjector;(n.ngComponentOutletNgModule||n.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),o?this._moduleRef=av(o,Ov(a)):s?this._moduleRef=s.create(Ov(a)):this._moduleRef=void 0),this._componentRef=i.createComponent(this.ngComponentOutlet,{index:i.length,injector:a,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[nn]})})(),t})();function Ov(t){return t.get(en).injector}var qd=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},fH=(()=>{let e=class{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(!1)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new qd(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),Fv(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Fv(s,o)})}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt),x(yo))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})})(),t})();function Fv(t,e){t.context.$implicit=e.item}var hH=(()=>{let e=class{constructor(n,i){this._viewContainer=n,this._context=new Gd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){kv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){kv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})})(),t})(),Gd=class{constructor(){this.$implicit=null,this.ngIf=null}};function kv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Me(e)}'.`)}var ec=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},Uv=(()=>{let e=class{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})})(),t})(),pH=(()=>{let e=class{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new ec(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt),x(Uv,9))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})})(),t})(),mH=(()=>{let e=class{constructor(n,i,o){o._addDefault(new ec(n,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt),x(Uv,9))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0})})(),t})();var gH=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(n.ngTemplateOutlet||n.ngTemplateOutletInjector){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){let{ngTemplateOutlet:o,ngTemplateOutletContext:s,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,s,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&n.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[nn]})})(),t})();function IT(t,e){return new v(2100,!1)}var Kd=class{createSubscription(e,r){return Kr(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){Kr(()=>e.unsubscribe())}},Zd=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},TT=new Zd,MT=new Kd,yH=(()=>{let e=class{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(ei(n))return TT;if(Od(n))return MT;throw IT(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this._ref.markForCheck())}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(ur,16))}})(),(()=>{e.\u0275pipe=Qm({name:"async",type:e,pure:!1,standalone:!0})})(),t})();var ef=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),tf="browser",AT="server";function $v(t){return t===tf}function nf(t){return t===AT}var Hv=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new Yd(h(W),window)})})(),t})(),Yd=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=xT(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){let r=this.window.history;r&&r.scrollRestoration&&(r.scrollRestoration=e)}}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;let e=Pv(this.window.history)||Pv(Object.getPrototypeOf(this.window.history));return!!e&&!!(e.writable||e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function Pv(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}function xT(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var oi=class{};var bo=class{},ic=class{},gt=class{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof gt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new gt;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof gt?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var of=class{encodeKey(e){return Wv(e)}encodeValue(e){return Wv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function OT(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var FT=/%(\d[a-f0-9])/gi,kT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Wv(t){return encodeURIComponent(t).replace(FT,(e,r)=>kT[r]??e)}function rc(t){return`${t}`}var Vt=class{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new of,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=OT(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(rc):[rc(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new Vt({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(rc(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(rc(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var sf=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function PT(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function qv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Gv(t){return typeof Blob<"u"&&t instanceof Blob}function Kv(t){return typeof FormData<"u"&&t instanceof FormData}function LT(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var dr=class{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(PT(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new gt),this.context||(this.context=new sf),!this.params)this.params=new Vt,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ad.set(f,e.setHeaders[f]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),u)),new dr(r,n,o,{params:u,headers:c,context:l,reportProgress:a,responseType:i,withCredentials:s})}},ge=(()=>(ge=ge||{},ge[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge))(),_o=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new gt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},wo=class extends _o{constructor(e={}){super(e),this.type=ge.ResponseHeader}clone(e={}){return new wo({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},si=class extends _o{constructor(e={}){super(e),this.type=ge.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new si({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},oc=class extends _o{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function rf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var af=(()=>{let e=class{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof dr)s=n;else{let u;o.headers instanceof gt?u=o.headers:u=new gt(o.headers);let l;o.params&&(o.params instanceof Vt?l=o.params:l=new Vt({fromObject:o.params})),s=new dr(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}let a=S(s).pipe(Et(u=>this.handler.handle(u)));if(n instanceof dr||o.observe==="events")return a;let c=a.pipe(he(u=>u instanceof si));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(R(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(R(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new Vt().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,rf(o,i))}post(n,i,o={}){return this.request("POST",n,rf(o,i))}put(n,i,o={}){return this.request("PUT",n,rf(o,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(bo))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function Xv(t,e){return e(t)}function jT(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function VT(t,e,r){return(n,i)=>r.runInContext(()=>e(n,o=>t(o,i)))}var BT=new y(""),cf=new y(""),UT=new y("");function $T(){let t=null;return(e,r)=>{t===null&&(t=(E(BT,{optional:!0})??[]).reduceRight(jT,Xv));let n=E(ii),i=n.add();return t(e,r).pipe(Ct(()=>n.remove(i)))}}var Zv=(()=>{let e=class extends bo{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=E(ii)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(cf),...this.injector.get(UT,[])]));this.chain=o.reduceRight((s,a)=>VT(s,a,this.injector),Xv)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ct(()=>this.pendingTasks.remove(i)))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(ic),h(Ne))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();var HT=/^\)\]\}',?\n/;function zT(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Yv=(()=>{let e=class{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):S(null)).pipe(De(()=>new T(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((w,D)=>a.setRequestHeader(w,D.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let w=a.statusText||"OK",D=new gt(a.getAllResponseHeaders()),O=zT(a)||n.url;return u=new wo({headers:D,status:a.status,statusText:w,url:O}),u},d=()=>{let{headers:w,status:D,statusText:O,url:X}=l(),j=null;D!==204&&(j=typeof a.response>"u"?a.responseText:a.response),D===0&&(D=j?200:0);let de=D>=200&&D<300;if(n.responseType==="json"&&typeof j=="string"){let ue=j;j=j.replace(HT,"");try{j=j!==""?JSON.parse(j):null}catch(fe){j=ue,de&&(de=!1,j={error:fe,text:j})}}de?(s.next(new si({body:j,headers:w,status:D,statusText:O,url:X||void 0})),s.complete()):s.error(new oc({error:j,headers:w,status:D,statusText:O,url:X||void 0}))},f=w=>{let{url:D}=l(),O=new oc({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:D||void 0});s.error(O)},p=!1,m=w=>{p||(s.next(l()),p=!0);let D={type:ge.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(D.total=w.total),n.responseType==="text"&&a.responseText&&(D.partialText=a.responseText),s.next(D)},g=w=>{let D={type:ge.UploadProgress,loaded:w.loaded};w.lengthComputable&&(D.total=w.total),s.next(D)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",g)),a.send(c),s.next({type:ge.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(oi))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Jv=new y("XSRF_ENABLED"),WT="XSRF-TOKEN",qT=new y("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>WT}),GT="X-XSRF-TOKEN",KT=new y("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>GT}),sc=class{},ZT=(()=>{let e=class{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=nc(n,this.cookieName),this.lastCookieString=n),this.lastToken}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(Pt),h(qT))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function YT(t,e){let r=t.url.toLowerCase();if(!E(Jv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=E(sc).getToken(),i=E(KT);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var we=(()=>(we=we||{},we[we.Interceptors=0]="Interceptors",we[we.LegacyInterceptors=1]="LegacyInterceptors",we[we.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",we[we.NoXsrfProtection=3]="NoXsrfProtection",we[we.JsonpSupport=4]="JsonpSupport",we[we.RequestsMadeViaParent=5]="RequestsMadeViaParent",we[we.Fetch=6]="Fetch",we))();function QT(t,e){return{\u0275kind:t,\u0275providers:e}}function XT(...t){let e=[af,Yv,Zv,{provide:bo,useExisting:Zv},{provide:ic,useExisting:Yv},{provide:cf,useValue:YT,multi:!0},{provide:Jv,useValue:!0},{provide:sc,useClass:ZT}];for(let r of t)e.push(...r.\u0275providers);return ao(e)}var Qv=new y("LEGACY_INTERCEPTOR_FN");function JT(){return QT(we.LegacyInterceptors,[{provide:Qv,useFactory:$T},{provide:cf,useExisting:Qv,multi:!0}])}var MH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[XT(JT())]})})(),t})();var df=class extends Ja{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Eo=class extends df{static makeCurrent(){Lv(new Eo)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=tM();return r==null?null:nM(r)}resetBaseElement(){Do=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return nc(document.cookie,e)}},Do=null;function tM(){return Do=Do||document.querySelector("base"),Do?Do.getAttribute("href"):null}var ac;function nM(t){ac=ac||document.createElement("a"),ac.setAttribute("href",t);let e=ac.pathname;return e.charAt(0)==="/"?e:`/${e}`}var ff=class{addToWindow(e){Ce.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new v(5103,!1);return o},Ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ce.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=Ce.getAllAngularTestabilities(),o=i.length,s=!1,a=function(c){s=s||c,o--,o==0&&n(s)};i.forEach(c=>{c.whenStable(a)})};Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?lr().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},rM=(()=>{let e=class{build(){return new XMLHttpRequest}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),cc=new y("EventManagerPlugins"),nb=(()=>{let e=class{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new v(5101,!1);return this._eventNameToPlugin.set(n,i),i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(cc),h(P))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Co=class{constructor(e){this._doc=e}},uf="ng-app-id",rb=(()=>{let e=class{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nf(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${uf}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(uf),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(uf,this.appId),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i);n.appendChild(o);let s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(Qr),h(co,8),h(Pt))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),lf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},mf=/%COMP%/g,ib="%COMP%",iM=`_nghost-${ib}`,oM=`_ngcontent-${ib}`,sM=!1,aM=new y("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>sM});function cM(t){return oM.replace(mf,t)}function uM(t){return iM.replace(mf,t)}function ob(t,e){return e.map(r=>r.replace(mf,t))}var uc=(()=>{let e=class{constructor(n,i,o,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=nf(c),this.defaultRenderer=new So(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Fe.ShadowDom&&(i=Y(_({},i),{encapsulation:Fe.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof lc?o.applyToHost(n):o instanceof Io&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Fe.Emulated:s=new lc(u,l,i,this.appId,d,a,c,f);break;case Fe.ShadowDom:return new hf(u,l,n,i,a,c,this.nonce,f);default:s=new Io(u,l,i,d,a,c,f);break}s.onDestroy=()=>o.delete(i.id),o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(nb),h(rb),h(Qr),h(aM),h(W),h(Pt),h(P),h(co))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),So=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(lf[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(eb(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(eb(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=lf[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=lf[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Re.DashCase|Re.Important)?e.style.setProperty(r,n,i&Re.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Re.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e[r]=n}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=lr().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function eb(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var hf=class extends So{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=ob(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Io=class extends So{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.rendererUsageCount=0,this.styles=c?ob(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestroy&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,this.rendererUsageCount===0&&this.onDestroy?.())}},lc=class extends Io{constructor(e,r,n,i,o,s,a,c){let u=i+"-"+n.id;super(e,r,n,o,s,a,c,u),this.contentAttr=cM(u),this.hostAttr=uM(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},lM=(()=>{let e=class extends Co{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),tb=["alt","control","meta","shift"],dM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},hM=(()=>{let e=class extends Co{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>lr().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),tb.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=dM[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),tb.forEach(a=>{if(a!==o){let c=fM[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){switch(n){case"esc":return"escape";default:return n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function pM(){Eo.makeCurrent()}function mM(){return new Ve}function gM(){return Jg(document),document}var yM=[{provide:Pt,useValue:tf},{provide:_d,useValue:pM,multi:!0},{provide:W,useFactory:gM,deps:[]}],BH=Ud(Tv,"browser",yM),vM=new y(""),bM=[{provide:go,useClass:ff,deps:[]},{provide:Vd,useClass:Ya,deps:[P,Qa,go]},{provide:Ya,useClass:Ya,deps:[P,Qa,go]}],_M=[{provide:ja,useValue:"root"},{provide:Ve,useFactory:mM,deps:[]},{provide:cc,useClass:lM,multi:!0,deps:[W,P,Pt]},{provide:cc,useClass:hM,multi:!0,deps:[W]},uc,rb,nb,{provide:xt,useExisting:uc},{provide:oi,useClass:rM,deps:[]},[]],sb=(()=>{let e=class{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Qr,useValue:n.appId}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(vM,12))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[..._M,...bM],imports:[ef,Mv]})})(),t})();function wM(){return new gf(h(W))}var gf=(()=>{let e=class{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:function(i){let o=null;return i?o=new i:o=wM(),o},providedIn:"root"})})(),t})();var DM={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},pf=new y("HammerGestureConfig"),ab=new y("HammerLoader"),EM=(()=>{let e=class{constructor(){this.events=[],this.overrides={}}buildHammer(n){let i=new Hammer(n,this.options);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0});for(let o in this.overrides)i.get(o).set(this.overrides[o]);return i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),CM=(()=>{let e=class extends Co{constructor(n,i,o,s){super(n),this._config=i,this.console=o,this.loader=s,this._loaderPromise=null}supports(n){return!(!DM.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader)}addEventListener(n,i,o){let s=this.manager.getZone();if(i=i.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular(()=>this.loader());let a=!1,c=()=>{a=!0};return s.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(!window.Hammer){c=()=>{};return}a||(c=this.addEventListener(n,i,o))}).catch(()=>{c=()=>{}})),()=>{c()}}return s.runOutsideAngular(()=>{let a=this._config.buildHammer(n),c=function(u){s.runGuarded(function(){o(u)})};return a.on(i,c),()=>{a.off(i,c),typeof a.destroy=="function"&&a.destroy()}})}isCustomEvent(n){return this._config.events.indexOf(n)>-1}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(pf),h(ri),h(ab,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),UH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[{provide:cc,useClass:CM,multi:!0,deps:[W,pf,ri,[new rr,ab]]},{provide:pf,useClass:EM,deps:[]}]})})(),t})(),yf=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=h(cb),o},providedIn:"root"})})(),t})();function SM(t){return new cb(t.get(W))}var cb=(()=>{let e=class extends yf{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Q.NONE:return i;case Q.HTML:return In(i,"HTML")?kt(i):uy(this._doc,String(i)).toString();case Q.STYLE:return In(i,"Style")?kt(i):i;case Q.SCRIPT:if(In(i,"Script"))return kt(i);throw new v(5200,!1);case Q.URL:return In(i,"URL")?kt(i):La(String(i));case Q.RESOURCE_URL:if(In(i,"ResourceURL"))return kt(i);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return ey(n)}bypassSecurityTrustStyle(n){return ty(n)}bypassSecurityTrustScript(n){return ny(n)}bypassSecurityTrustUrl(n){return ry(n)}bypassSecurityTrustResourceUrl(n){return iy(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:function(i){let o=null;return i?o=new i:o=SM(h(Ue)),o},providedIn:"root"})})(),t})();function Bt(t){return t!=null&&`${t}`!="false"}function To(t,e=0){return IM(t)?Number(t):e}function IM(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function vf(t){return Array.isArray(t)?t:[t]}function zH(t){return t==null?"":typeof t=="string"?t:`${t}px`}function yt(t){return t instanceof le?t.nativeElement:t}var _f;try{_f=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_f=!1}var He=(()=>{let e=class{constructor(n){this._platformId=n,this.isBrowser=this._platformId?$v(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||_f)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Pt))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Mo;function TM(){if(Mo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Mo=!0}))}finally{Mo=Mo||!1}return Mo}function ai(t){return TM()?t:!!t.capture}var fr;function QH(){if(fr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return fr=!1,fr;if("scrollBehavior"in document.documentElement.style)fr=!0;else{let t=Element.prototype.scrollTo;t?fr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):fr=!1}}return fr}var bf;function MM(){if(bf==null){let t=typeof document<"u"?document.head:null;bf=!!(t&&(t.createShadowRoot||t.attachShadow))}return bf}function lb(t){if(MM()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function AM(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function An(t){return t.composedPath?t.composedPath()[0]:t.target}function db(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var xM=new y("cdk-dir-doc",{providedIn:"root",factory:RM});function RM(){return E(W)}var NM=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function OM(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?NM.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var az=(()=>{let e=class{constructor(n){if(this.value="ltr",this.change=new ce,n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=OM(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(xM,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var ci=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();var fb=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,n=!0,i){this._multiple=e,this._emitChanges=n,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new $,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!n.has(o)).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e){if(this.compareWith){for(let r of this._selection)if(this.compareWith(e,r))return r;return e}else return e}};var FM=20,yz=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new $,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=FM){return this._platform.isBrowser?new T(i=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(Ns(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):S()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){let o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(he(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=yt(i),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return Ri(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(P),h(He),h(W,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var kM=20,vz=(()=>{let e=class{constructor(n,i,o){this._platform=n,this._change=new $,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,c=-s.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(n=kM){return n>0?this._change.pipe(Ns(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(P),h(W,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var hb=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),bz=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[ci,hb,ci,hb]})})(),t})();function fc(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var pb=(()=>{let e=class{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),PM=(()=>{let e=class{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((n,i)=>this._cleanupObserver(i))}observe(n){let i=yt(n);return new T(o=>{let a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let i=new $,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:i,count:1})}return this._observedElements.get(n).stream}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:i,stream:o}=this._observedElements.get(n);i&&i.disconnect(),o.complete(),this._observedElements.delete(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(pb))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Rz=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){this._disabled=Bt(n),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(n){this._debounce=To(n),this._subscribe()}constructor(n,i,o){this._contentObserver=n,this._elementRef=i,this._ngZone=o,this.event=new ce,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?n.pipe(yn(this.debounce)):n).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(PM),x(le),x(P))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})})(),t})(),mb=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[pb]})})(),t})();var gb=new Set,hr,LM=(()=>{let e=class{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):VM}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&jM(n,this._nonce),this._matchMedia(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(co,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function jM(t,e){if(!gb.has(t))try{hr||(hr=document.createElement("style"),e&&(hr.nonce=e),hr.setAttribute("type","text/css"),document.head.appendChild(hr)),hr.sheet&&(hr.sheet.insertRule(`@media ${t} {body{ }}`,0),gb.add(t))}catch(r){console.error(r)}}function VM(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var vb=(()=>{let e=class{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new $}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return yb(vf(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=yb(vf(n)).map(a=>this._registerQuery(a).observable),s=Hn(o);return s=Ze(s.pipe(ve(1)),s.pipe(Nr(1),yn(0))),s.pipe(R(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:u,query:l})=>{c.matches=c.matches||u,c.breakpoints[l]=u}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new T(a=>{let c=u=>this._zone.run(()=>a.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Zt(i),R(({matches:a})=>({query:n,matches:a})),Yt(this._destroySubject)),mql:i};return this._queries.set(n,s),s}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(LM),h(P))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function yb(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var Uz={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Sb=" ";function iA(t,e,r){let n=mc(t,e);n.some(i=>i.trim()==r.trim())||(n.push(r.trim()),t.setAttribute(e,n.join(Sb)))}function oA(t,e,r){let i=mc(t,e).filter(o=>o!=r.trim());i.length?t.setAttribute(e,i.join(Sb)):t.removeAttribute(e)}function mc(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Ib="cdk-describedby-message",hc="cdk-describedby-host",Ef=0,o3=(()=>{let e=class{constructor(n,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Ef++}`,this._document=n,this._id=E(Qr)+"-"+Ef++}describe(n,i,o){if(!this._canBeDescribed(n,i))return;let s=wf(i,o);typeof i!="string"?(bb(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,o){if(!i||!this._isElementNode(n))return;let s=wf(i,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${hc}="${this._id}"]`);for(let i=0;io.indexOf(Ib)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let o=this._messageRegistry.get(i);iA(n,"aria-describedby",o.messageElement.id),n.setAttribute(hc,this._id),o.referenceCount++}_removeMessageReference(n,i){let o=this._messageRegistry.get(i);o.referenceCount--,oA(n,"aria-describedby",o.messageElement.id),n.removeAttribute(hc)}_isElementDescribedByMessage(n,i){let o=mc(n,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(He))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function wf(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function bb(t,e){t.id||(t.id=`${Ib}-${e}-${Ef++}`)}var gc=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new $,this._typeaheadSubscription=J.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=r=>r.disabled,this._pressedLetters=[],this.tabOut=new $,this.change=new $,e instanceof Cn&&(this._itemChangesSubscription=e.changes.subscribe(r=>{if(this._activeItem){let i=r.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ne(r=>this._pressedLetters.push(r)),yn(e),he(()=>this._pressedLetters.length>0),R(()=>this._pressedLetters.join(""))).subscribe(r=>{let n=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Cn?this._items.toArray():this._items}},_b=class extends gc{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},wb=class extends gc{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var sA=(()=>{let e=class{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return cA(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=aA(gA(n));if(i&&(Db(i)===-1||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),s=Db(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!pA(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return mA(n)&&!this.isDisabled(n)&&(i?.ignoreVisibility||this.isVisible(n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function aA(t){try{return t.frameElement}catch{return null}}function cA(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function uA(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function lA(t){return fA(t)&&t.type=="hidden"}function dA(t){return hA(t)&&t.hasAttribute("href")}function fA(t){return t.nodeName.toLowerCase()=="input"}function hA(t){return t.nodeName.toLowerCase()=="a"}function Tb(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Db(t){if(!Tb(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function pA(t){let e=t.nodeName.toLowerCase(),r=e==="input"&&t.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function mA(t){return lA(t)?!1:uA(t)||dA(t)||t.hasAttribute("contenteditable")||Tb(t)}function gA(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Cf=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,n,i,o=!1){this._element=e,this._checker=r,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let n=this._getFirstTabbableElement(r);return n?.focus(e),!!n}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=0;n=0;n--){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(ve(1)).subscribe(e)}},s3=(()=>{let e=class{constructor(n,i,o){this._checker=n,this._ngZone=i,this._document=o}create(n,i=!1){return new Cf(n,this._checker,this._ngZone,this._document,i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(sA),h(P),h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Sf(t){return t.buttons===0||t.offsetX===0&&t.offsetY===0}function If(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var yA=new y("cdk-input-modality-detector-options"),vA={ignoreKeys:[18,17,224,91,16]},Mb=650,ui=ai({passive:!0,capture:!0}),bA=(()=>{let e=class{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new ae(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=An(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(If(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=An(a)},this._options=_(_({},vA),s),this.modalityDetected=this._modality.pipe(Nr(1)),this.modalityChanged=this.modalityDetected.pipe(Kt()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ui),o.addEventListener("mousedown",this._onMousedown,ui),o.addEventListener("touchstart",this._onTouchstart,ui)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ui),document.removeEventListener("mousedown",this._onMousedown,ui),document.removeEventListener("touchstart",this._onTouchstart,ui))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(P),h(W),h(yA,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),_A=new y("liveAnnouncerElement",{providedIn:"root",factory:wA});function wA(){return null}var DA=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),EA=0,a3=(()=>{let e=class{constructor(n,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(h(_A,8),h(P),h(W),h(DA,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var CA=new y("cdk-focus-monitor-default-options"),pc=ai({passive:!0,capture:!0}),Tf=(()=>{let e=class{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new $,this._rootNodeFocusAndBlurListener=c=>{let u=An(c);for(let l=u;l;l=l.parentElement)c.type==="focus"?this._onFocus(c,l):this._onBlur(c,l)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(n,i=!1){let o=yt(n);if(!this._platform.isBrowser||o.nodeType!==1)return S();let s=lb(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new $,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=yt(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=yt(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,u])=>this._originChanged(c,i,u)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===1||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===0){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Mb:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=An(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,pc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,pc)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Yt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,pc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,pc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a{e.\u0275fac=function(i){return new(i||e)(h(P),h(He),h(bA),h(W,8),h(CA,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Eb="cdk-high-contrast-black-on-white",Cb="cdk-high-contrast-white-on-black",Df="cdk-high-contrast-active",Mf=(()=>{let e=class{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=E(vb).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Df,Eb,Cb),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===1?n.add(Df,Eb):i===2&&n.add(Df,Cb)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),c3=(()=>{let e=class{constructor(n){n._applyBodyHighContrastModeCssClasses()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Mf))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[mb]})})(),t})();var Ao=class{},yc=class{},Ut="*";function l3(t,e){return{type:7,name:t,definitions:e,options:{}}}function d3(t,e=null){return{type:4,styles:e,timings:t}}function f3(t,e=null){return{type:3,steps:t,options:e}}function vc(t,e=null){return{type:2,steps:t,options:e}}function Af(t){return{type:6,styles:t,offset:null}}function h3(t,e,r){return{type:0,name:t,styles:e,options:r}}function p3(t,e,r=null){return{type:1,expr:t,animation:e,options:r}}function m3(t,e=null){return{type:8,animation:t,options:e}}function g3(t=null){return{type:9,options:t}}function y3(t,e=null){return{type:10,animation:t,options:e}}function v3(t,e,r=null){return{type:11,selector:t,animation:e,options:r}}function b3(t,e){return{type:12,timings:t,animation:e}}var xn=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},xo=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},bc="!";function xb(t){return new v(3e3,!1)}function SA(){return new v(3100,!1)}function IA(){return new v(3101,!1)}function TA(t){return new v(3001,!1)}function MA(t){return new v(3003,!1)}function AA(t){return new v(3004,!1)}function xA(t,e){return new v(3005,!1)}function RA(){return new v(3006,!1)}function NA(){return new v(3007,!1)}function OA(t,e){return new v(3008,!1)}function FA(t){return new v(3002,!1)}function kA(t,e,r,n,i){return new v(3010,!1)}function PA(){return new v(3011,!1)}function LA(){return new v(3012,!1)}function jA(){return new v(3200,!1)}function VA(){return new v(3202,!1)}function BA(){return new v(3013,!1)}function UA(t){return new v(3014,!1)}function $A(t){return new v(3015,!1)}function HA(t){return new v(3016,!1)}function zA(t,e){return new v(3404,!1)}function WA(t){return new v(3502,!1)}function qA(t){return new v(3503,!1)}function GA(){return new v(3300,!1)}function KA(t){return new v(3504,!1)}function ZA(t){return new v(3301,!1)}function YA(t,e){return new v(3302,!1)}function QA(t){return new v(3303,!1)}function XA(t,e){return new v(3400,!1)}function JA(t){return new v(3401,!1)}function ex(t){return new v(3402,!1)}function tx(t,e){return new v(3505,!1)}function Rn(t){switch(t.length){case 0:return new xn;case 1:return t[0];default:return new xo(t)}}function zb(t,e,r=new Map,n=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(c=>{let u=c.get("offset"),l=u==s,d=l&&a||new Map;c.forEach((f,p)=>{let m=p,g=f;if(p!=="offset")switch(m=t.normalizePropertyName(m,i),g){case bc:g=r.get(p);break;case Ut:g=n.get(p);break;default:g=t.normalizeStyleValue(p,m,g,i);break}d.set(m,g)}),l||o.push(d),a=d,s=u}),i.length)throw WA(i);return o}function Zf(t,e,r,n){switch(e){case"start":t.onStart(()=>n(r&&xf(r,"start",t)));break;case"done":t.onDone(()=>n(r&&xf(r,"done",t)));break;case"destroy":t.onDestroy(()=>n(r&&xf(r,"destroy",t)));break}}function xf(t,e,r){let n=r.totalTime,i=!!r.disabled,o=Yf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Yf(t,e,r,n,i="",o=0,s){return{element:t,triggerName:e,fromState:r,toState:n,phaseName:i,totalTime:o,disabled:!!s}}function We(t,e,r){let n=t.get(e);return n||t.set(e,n=r),n}function Rb(t){let e=t.indexOf(":"),r=t.substring(1,e),n=t.slice(e+1);return[r,n]}var nx=(()=>typeof document>"u"?null:document.documentElement)();function Qf(t){let e=t.parentNode||t.host||null;return e===nx?null:e}function rx(t){return t.substring(1,6)=="ebkit"}var pr=null,Nb=!1;function ix(t){pr||(pr=ox()||{},Nb=pr.style?"WebkitAppearance"in pr.style:!1);let e=!0;return pr.style&&!rx(t)&&(e=t in pr.style,!e&&Nb&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in pr.style)),e}function ox(){return typeof document<"u"?document.body:null}function Wb(t,e){for(;e;){if(e===t)return!0;e=Qf(e)}return!1}function qb(t,e,r){if(r)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var Xf=(()=>{let e=class{validateStyleProperty(n){return ix(n)}matchesElement(n,i){return!1}containsElement(n,i){return Wb(n,i)}getParentElement(n){return Qf(n)}query(n,i,o){return qb(n,i,o)}computeStyle(n,i,o){return o||""}animate(n,i,o,s,a,c=[],u){return new xn(o,s)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),jo=(()=>{let e=class{},t=e;return(()=>{e.NOOP=new Xf})(),t})(),sx=1e3,Gb="{{",ax="}}",Kb="ng-enter",Pf="ng-leave",_c="ng-trigger",Cc=".ng-trigger",Ob="ng-animating",Lf=".ng-animating";function cn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:jf(parseFloat(e[1]),e[2])}function jf(t,e){switch(e){case"s":return t*sx;default:return t}}function Sc(t,e,r){return t.hasOwnProperty("duration")?t:cx(t,e,r)}function cx(t,e,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(xb(t)),{duration:0,delay:0,easing:""};i=jf(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=jf(parseFloat(c),a[4]));let u=a[5];u&&(s=u)}else i=t;if(!r){let a=!1,c=e.length;i<0&&(e.push(SA()),a=!0),o<0&&(e.push(IA()),a=!0),a&&e.splice(c,0,xb(t))}return{duration:i,delay:o,easing:s}}function Vo(t,e={}){return Object.keys(t).forEach(r=>{e[r]=t[r]}),e}function Zb(t){let e=new Map;return Object.keys(t).forEach(r=>{let n=t[r];e.set(r,n)}),e}function ux(t){return t.length?t[0]instanceof Map?t:t.map(e=>Zb(e)):[]}function di(t,e=new Map,r){if(r)for(let[n,i]of r)e.set(n,i);for(let[n,i]of t)e.set(n,i);return e}function $t(t,e,r){e.forEach((n,i)=>{let o=Jf(i);r&&!r.has(i)&&r.set(i,t.style[o]),t.style[o]=n})}function gr(t,e){e.forEach((r,n)=>{let i=Jf(n);t.style[i]=""})}function Ro(t){return Array.isArray(t)?t.length==1?t[0]:vc(t):t}function lx(t,e,r){let n=e.params||{},i=Yb(t);i.length&&i.forEach(o=>{n.hasOwnProperty(o)||r.push(TA(o))})}var Vf=new RegExp(`${Gb}\\s*(.+?)\\s*${ax}`,"g");function Yb(t){let e=[];if(typeof t=="string"){let r;for(;r=Vf.exec(t);)e.push(r[1]);Vf.lastIndex=0}return e}function Oo(t,e,r){let n=t.toString(),i=n.replace(Vf,(o,s)=>{let a=e[s];return a==null&&(r.push(MA(s)),a=""),a.toString()});return i==n?t:i}function Ic(t){let e=[],r=t.next();for(;!r.done;)e.push(r.value),r=t.next();return e}var dx=/-+([a-z0-9])/g;function Jf(t){return t.replace(dx,(...e)=>e[1].toUpperCase())}function fx(t,e){return t===0||e===0}function hx(t,e,r){if(r.size&&e.length){let n=e[0],i=[];if(r.forEach((o,s)=>{n.has(s)||i.push(s),n.set(s,o)}),i.length)for(let o=1;os.set(a,Qb(t,a)))}}return e}function ze(t,e,r){switch(e.type){case 7:return t.visitTrigger(e,r);case 0:return t.visitState(e,r);case 1:return t.visitTransition(e,r);case 2:return t.visitSequence(e,r);case 3:return t.visitGroup(e,r);case 4:return t.visitAnimate(e,r);case 5:return t.visitKeyframes(e,r);case 6:return t.visitStyle(e,r);case 8:return t.visitReference(e,r);case 9:return t.visitAnimateChild(e,r);case 10:return t.visitAnimateRef(e,r);case 11:return t.visitQuery(e,r);case 12:return t.visitStagger(e,r);default:throw AA(e.type)}}function Qb(t,e){return window.getComputedStyle(t)[e]}var Tc="*";function px(t,e){let r=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>mx(n,r,e)):r.push(t),r}function mx(t,e,r){if(t[0]==":"){let c=gx(t,r);if(typeof c=="function"){e.push(c);return}t=c}let n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push($A(t)),e;let i=n[1],o=n[2],s=n[3];e.push(Fb(i,s));let a=i==Tc&&s==Tc;o[0]=="<"&&!a&&e.push(Fb(s,i))}function gx(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n) *"}}var wc=new Set(["true","1"]),Dc=new Set(["false","0"]);function Fb(t,e){let r=wc.has(t)||Dc.has(t),n=wc.has(e)||Dc.has(e);return(i,o)=>{let s=t==Tc||t==i,a=e==Tc||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?wc.has(t):Dc.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?wc.has(e):Dc.has(e)),s&&a}}var Xb=":self",yx=new RegExp(`s*${Xb}s*,?`,"g");function Jb(t,e,r,n){return new Bf(t).build(e,r,n)}var kb="",Bf=class{constructor(e){this._driver=e}build(e,r,n){let i=new Uf(r);return this._resetContextStyleTimingState(i),ze(this,Ro(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=kb,e.collectedStyles=new Map,e.collectedStyles.set(kb,new Map),e.currentTime=0}visitTrigger(e,r){let n=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(RA()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==0){let c=a,u=c.name;u.toString().split(/\s*,\s*/).forEach(l=>{c.name=l,o.push(this.visitState(c,r))}),c.name=u}else if(a.type==1){let c=this.visitTransition(a,r);n+=c.queryCount,i+=c.depCount,s.push(c)}else r.errors.push(NA())}),{type:7,name:e.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,r){let n=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=i||{};if(n.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{Yb(c).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size){let a=Ic(o.values());r.errors.push(OA(e.name,a))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let n=ze(this,Ro(e.animation),r);return{type:1,matchers:px(e.expr,r.errors),animation:n,queryCount:r.queryCount,depCount:r.depCount,options:mr(e.options)}}visitSequence(e,r){return{type:2,steps:e.steps.map(n=>ze(this,n,r)),options:mr(e.options)}}visitGroup(e,r){let n=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=n;let a=ze(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:3,steps:o,options:mr(e.options)}}visitAnimate(e,r){let n=wx(e.timings,r.errors);r.currentAnimateTimings=n;let i,o=e.styles?e.styles:Af({});if(o.type==5)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let u={};n.easing&&(u.easing=n.easing),s=Af(u)}r.currentTime+=n.duration+n.delay;let c=this.visitStyle(s,r);c.isEmptyStep=a,i=c}return r.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,r){let n=this._makeStyleAst(e,r);return this._validateStyleAst(n,r),n}_makeStyleAst(e,r){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Ut?n.push(a):r.errors.push(FA(a)):n.push(Zb(a));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(Gb)>=0){o=!0;break}}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let n=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let u=r.collectedStyles.get(r.currentQuerySelector),l=u.get(c),d=!0;l&&(o!=i&&o>=l.startTime&&i<=l.endTime&&(r.errors.push(kA(c,l.startTime,l.endTime,o,i)),d=!1),o=l.startTime),d&&u.set(c,{startTime:o,endTime:i}),r.options&&lx(a,r.options,r.errors)})})}visitKeyframes(e,r){let n={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(PA()),n;let i=1,o=0,s=[],a=!1,c=!1,u=0,l=e.steps.map(D=>{let O=this._makeStyleAst(D,r),X=O.offset!=null?O.offset:_x(O.styles),j=0;return X!=null&&(o++,j=O.offset=X),c=c||j<0||j>1,a=a||j0&&o{let X=f>0?O==p?1:f*O:s[O],j=X*w;r.currentTime=m+g.delay+j,g.duration=j,this._validateStyleAst(D,r),D.offset=X,n.styles.push(D)}),n}visitReference(e,r){return{type:8,animation:ze(this,Ro(e.animation),r),options:mr(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:9,options:mr(e.options)}}visitAnimateRef(e,r){return{type:10,animation:this.visitReference(e.animation,r),options:mr(e.options)}}visitQuery(e,r){let n=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=vx(e.selector);r.currentQuerySelector=n.length?n+" "+o:o,We(r.collectedStyles,r.currentQuerySelector,new Map);let a=ze(this,Ro(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:mr(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(BA());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Sc(e.timings,r.errors,!0);return{type:12,animation:ze(this,Ro(e.animation),r),timings:n,options:null}}};function vx(t){let e=!!t.split(/\s*,\s*/).find(r=>r==Xb);return e&&(t=t.replace(yx,"")),t=t.replace(/@\*/g,Cc).replace(/@\w+/g,r=>Cc+"-"+r.slice(1)).replace(/:animating/g,Lf),[t,e]}function bx(t){return t?Vo(t):null}var Uf=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 _x(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function wx(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Sc(t,e).duration;return Rf(o,0,"")}let r=t;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Rf(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=Sc(r,e);return Rf(i.duration,i.delay,i.easing)}function mr(t){return t?(t=Vo(t),t.params&&(t.params=bx(t.params))):t={},t}function Rf(t,e,r){return{duration:t,delay:e,easing:r}}function eh(t,e,r,n,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:r,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Fo=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Dx=1,Ex=":enter",Cx=new RegExp(Ex,"g"),Sx=":leave",Ix=new RegExp(Sx,"g");function e_(t,e,r,n,i,o=new Map,s=new Map,a,c,u=[]){return new $f().buildKeyframes(t,e,r,n,i,o,s,a,c,u)}var $f=class{buildKeyframes(e,r,n,i,o,s,a,c,u,l=[]){u=u||new Fo;let d=new ko(e,r,u,i,o,l,[]);d.options=c;let f=c.delay?cn(c.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,c),ze(this,n,d);let p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let g=p.length-1;g>=0;g--){let w=p[g];if(w.element===r){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,c)}return p.length?p.map(m=>m.buildKeyframes()):[eh(r,[],[],[],0,f,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let n=r.subInstructions.get(r.element);if(n){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let n=r.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,n),this.visitReference(e.animation,n),r.transformIntoNewTimeline(n.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,n){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:cn(Oo(o,i?.params??{},r.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,r,n){let o=r.currentTimeline.currentTime,s=n.duration!=null?cn(n.duration):null,a=n.delay!=null?cn(n.delay):null;return s!==0&&e.forEach(c=>{let u=r.appendInstructionToTimeline(c,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),ze(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let n=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==6&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Mc);let s=cn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ze(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let n=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?cn(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),ze(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let n=e.strValue,i=r.params?Oo(n,r.params,r.errors):n;return Sc(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let n=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;n.delay&&(r.incrementTime(n.delay),i.snapshotCurrentStyles());let o=e.style;o.type==5?this.visitKeyframes(o,r):(r.incrementTime(n.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let n=r.currentTimeline,i=r.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let n=r.currentAnimateTimings,i=r.currentTimeline.duration,o=n.duration,a=r.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(c=>{let u=c.offset||0;a.forwardTime(u*o),a.setStyles(c.styles,c.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let n=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?cn(i.delay):0;o&&(r.previousNode.type===6||n==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Mc);let s=n,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let c=null;a.forEach((u,l)=>{r.currentQueryIndex=l;let d=r.createSubContext(e.options,u);o&&d.delayNextStep(o),u===r.element&&(c=d.currentTimeline),ze(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let f=d.currentTimeline.currentTime;s=Math.max(s,f)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),c&&(r.currentTimeline.mergeTimelineCollectedStyles(c),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let n=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),c=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=n.currentStaggerTime;break}let l=r.currentTimeline;c&&l.delayNextStep(c);let d=l.currentTime;ze(this,e.animation,r),r.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},Mc={},ko=class{constructor(e,r,n,i,o,s,a,c){this._driver=e,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Mc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new fi(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=cn(n.duration)),n.delay!=null&&(i.delay=cn(n.delay));let o=n.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=Oo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let n=e.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return e}createSubContext(e=null,r,n){let i=r||this.element,o=new ko(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||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=Mc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,n){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Hf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,n,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(Cx,"."+this._enterClassName),e=e.replace(Ix,"."+this._leaveClassName);let c=n!=1,u=this._driver.query(this.element,e,c);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),a.push(...u)}return!o&&a.length==0&&s.push(UA(r)),a}},fi=class{constructor(e,r,n,i){this._driver=e,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,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(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new fi(this._driver,e,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Dx,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Ut),this._currentKeyframe.set(r,Ut);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,n,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=Tx(e,this._globalTimelineStyles);for(let[a,c]of s){let u=Oo(c,o,n);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Ut),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let u=di(a,new Map,this._backFill);u.forEach((l,d)=>{l===bc?e.add(d):l===Ut&&r.add(d)}),n||u.set("offset",c/this.duration),i.push(u)});let o=e.size?Ic(e.values()):[],s=r.size?Ic(r.values()):[];if(n){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return eh(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Hf=class extends fi{constructor(e,r,n,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=n+r,a=r/s,c=di(e[0]);c.set("offset",0),o.push(c);let u=di(e[0]);u.set("offset",Pb(a)),o.push(u);let l=e.length-1;for(let d=1;d<=l;d++){let f=di(e[d]),p=f.get("offset"),m=r+p*n;f.set("offset",Pb(m/s)),o.push(f)}n=s,r=0,i="",e=o}return eh(this.element,e,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function Pb(t,e=3){let r=Math.pow(10,e-1);return Math.round(t*r)/r}function Tx(t,e){let r=new Map,n;return t.forEach(i=>{if(i==="*"){n=n||e.keys();for(let o of n)r.set(o,Ut)}else di(i,r)}),r}var yr=class{};var Mx=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"]),Ac=class extends yr{normalizePropertyName(e,r){return Jf(e)}normalizeStyleValue(e,r,n,i){let o="",s=n.toString().trim();if(Mx.has(r)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(xA(e,n))}return s+o}};function Lb(t,e,r,n,i,o,s,a,c,u,l,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:d,errors:f}}var Nf={},xc=class{constructor(e,r,n){this._triggerName=e,this.ast=r,this._stateStyles=n}match(e,r,n,i){return Ax(this.ast.matchers,e,r,n,i)}buildStyles(e,r,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(r,n):new Map}build(e,r,n,i,o,s,a,c,u,l){let d=[],f=this.ast.options&&this.ast.options.params||Nf,p=a&&a.params||Nf,m=this.buildStyles(n,p,d),g=c&&c.params||Nf,w=this.buildStyles(i,g,d),D=new Set,O=new Map,X=new Map,j=i==="void",de={params:xx(g,f),delay:this.ast.options?.delay},ue=l?[]:e_(e,r,this.ast.animation,o,s,m,w,de,u,d),fe=0;if(ue.forEach(st=>{fe=Math.max(st.duration+st.delay,fe)}),d.length)return Lb(r,this._triggerName,n,i,j,m,w,[],[],O,X,fe,d);ue.forEach(st=>{let zt=st.element,lp=We(O,zt,new Set);st.preStyleProps.forEach(Pn=>lp.add(Pn));let Si=We(X,zt,new Set);st.postStyleProps.forEach(Pn=>Si.add(Pn)),zt!==r&&D.add(zt)});let ot=Ic(D.values());return Lb(r,this._triggerName,n,i,j,m,w,ue,ot,O,X,fe)}};function Ax(t,e,r,n,i){return t.some(o=>o(e,r,n,i))}function xx(t,e){let r=Vo(e);for(let n in t)t.hasOwnProperty(n)&&t[n]!=null&&(r[n]=t[n]);return r}var zf=class{constructor(e,r,n){this.styles=e,this.defaultParams=r,this.normalizer=n}buildStyles(e,r){let n=new Map,i=Vo(this.defaultParams);return Object.keys(e).forEach(o=>{let s=e[o];s!==null&&(i[o]=s)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Oo(s,i,r));let c=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,c,s,r),n.set(a,s)})}),n}};function Rx(t,e,r){return new Wf(t,e,r)}var Wf=class{constructor(e,r,n){this.name=e,this.ast=r,this._normalizer=n,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new zf(i.style,o,n))}),jb(this.states,"true","1"),jb(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new xc(e,i,this.states))}),this.fallbackTransition=Nx(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,n,i){return this.transitionFactories.find(s=>s.match(e,r,n,i))||null}matchStyles(e,r,n){return this.fallbackTransition.buildStyles(e,r,n)}};function Nx(t,e,r){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0};return new xc(t,o,e)}function jb(t,e,r){t.has(e)?t.has(r)||t.set(r,t.get(e)):t.has(r)&&t.set(e,t.get(r))}var Ox=new Fo,qf=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let n=[],i=[],o=Jb(this._driver,r,n,i);if(n.length)throw qA(n);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,n){let i=e.element,o=zb(this._normalizer,e.keyframes,r,n);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,n={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=e_(this._driver,r,o,Kb,Pf,new Map,new Map,n,Ox,i),s.forEach(l=>{let d=We(a,l.element,new Map);l.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(GA()),s=[]),i.length)throw KA(i);a.forEach((l,d)=>{l.forEach((f,p)=>{l.set(p,this._driver.computeStyle(d,p,Ut))})});let c=s.map(l=>{let d=a.get(l.element);return this._buildPlayer(l,new Map,d)}),u=Rn(c);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let n=this.players.indexOf(r);n>=0&&this.players.splice(n,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw ZA(e);return r}listen(e,r,n,i){let o=Yf(r,"","","");return Zf(this._getPlayer(e),n,o,i),()=>{}}command(e,r,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(n){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(i[0]));break;case"destroy":this.destroy(e);break}}},Vb="ng-animate-queued",Fx=".ng-animate-queued",Of="ng-animate-disabled",kx=".ng-animate-disabled",Px="ng-star-inserted",Lx=".ng-star-inserted",jx=[],t_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vx={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},nt="__ng_removed",Po=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=Ux(i),n){let o=Vo(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let n=this.options.params;Object.keys(r).forEach(i=>{n[i]==null&&(n[i]=r[i])})}}},No="void",Ff=new Po(No),Gf=class{constructor(e,r,n){this.id=e,this.hostElement=r,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,rt(r,this._hostClassName)}listen(e,r,n,i){if(!this._triggers.has(r))throw YA(n,r);if(n==null||n.length==0)throw QA(r);if(!$x(n))throw XA(n,r);let o=We(this._elementListeners,e,[]),s={name:r,phase:n,callback:i};o.push(s);let a=We(this._engine.statesByElement,e,new Map);return a.has(r)||(rt(e,_c),rt(e,_c+"-"+r),a.set(r,Ff)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw JA(e);return r}trigger(e,r,n,i=!0){let o=this._getTrigger(r),s=new Lo(this.id,r,e),a=this._engine.statesByElement.get(e);a||(rt(e,_c),rt(e,_c+"-"+r),this._engine.statesByElement.set(e,a=new Map));let c=a.get(r),u=new Po(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),a.set(r,u),c||(c=Ff),!(u.value===No)&&c.value===u.value){if(!Wx(c.params,u.params)){let g=[],w=o.matchStyles(c.value,c.params,g),D=o.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{gr(e,w),$t(e,D)})}return}let f=We(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==r&&g.queued&&g.destroy()});let p=o.matchTransition(c.value,u.value,e,u.params),m=!1;if(!p){if(!i)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:p,fromState:c,toState:u,player:s,isFallbackTransition:m}),m||(rt(e,Vb),s.onStart(()=>{li(e,Vb)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);let w=this._engine.playersByElement.get(e);if(w){let D=w.indexOf(s);D>=0&&w.splice(D,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,n)=>{this._elementListeners.set(n,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let n=this._engine.driver.query(e,Cc,!0);n.forEach(i=>{if(i[nt])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,n,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,u)=>{if(s.set(u,c.value),this._triggers.has(u)){let l=this.trigger(e,u,No,i);l&&a.push(l)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),n&&Rn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(r&&n){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,u=n.get(s)||Ff,l=new Po(No),d=new Lo(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:u,toState:l,player:d,isFallbackTransition:!0})})}}removeNode(e,r){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,r);else{let o=e[nt];(!o||o===t_)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,r))}}insertNode(e,r){rt(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let c=Yf(o,n.triggerName,n.fromState.value,n.toState.value);c._data=e,Zf(n.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(n)}),this._queue=[],r.sort((n,i)=>{let o=n.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let r=!1;return this._elementListeners.has(e)&&(r=!0),r=!!this._queue.find(n=>n.element===e)||r,r}},Kf=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,n){this.bodyNode=e,this.driver=r,this._normalizer=n,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=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,r){let n=new Gf(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(n,r):(this.newHostElements.set(r,n),this.collectEnterElement(r)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,r){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let c=i.get(a);if(c){let u=n.indexOf(c);n.splice(u+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return i.set(r,e),e}register(e,r){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,r)),n}registerTrigger(e,r,n){let i=this._namespaceLookup[e];i&&i.register(r,n)&&this.totalAnimations++}destroy(e,r){if(!e)return;let n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>n.destroy(r))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,n,i){if(Ec(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,n,i),!0}return!1}insertNode(e,r,n,i){if(!Ec(r))return;let o=r[nt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,n)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),rt(e,Of)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),li(e,Of))}removeNode(e,r,n){if(Ec(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,n):this.markElementAsRemoved(e,r,!1,n);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,n)}else this._onRemovalComplete(r,n)}markElementAsRemoved(e,r,n,i,o){this.collectedLeaveElements.push(r),r[nt]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,n,i,o){return Ec(r)?this._fetchNamespace(e).listen(r,n,i,o):()=>{}}_buildInstruction(e,r,n,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,Cc,!0);r.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Lf,!0),r.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Rn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[nt];if(r&&r.setForRemoval){if(e[nt]=t_,r.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(r.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(Of)&&this.markElementAsDisabled(e,!1),this.driver.query(e,kx,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],r.length?Rn(r).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw ex(e)}_flushAnimations(e,r){let n=new Fo,i=[],o=new Map,s=[],a=new Map,c=new Map,u=new Map,l=new Set;this.disabledNodes.forEach(M=>{l.add(M);let N=this.driver.query(M,Fx,!0);for(let k=0;k{let k=Kb+g++;m.set(N,k),M.forEach(K=>rt(K,k))});let w=[],D=new Set,O=new Set;for(let M=0;MD.add(K)):O.add(N))}let X=new Map,j=$b(f,Array.from(D));j.forEach((M,N)=>{let k=Pf+g++;X.set(N,k),M.forEach(K=>rt(K,k))}),e.push(()=>{p.forEach((M,N)=>{let k=m.get(N);M.forEach(K=>li(K,k))}),j.forEach((M,N)=>{let k=X.get(N);M.forEach(K=>li(K,k))}),w.forEach(M=>{this.processLeaveNode(M)})});let de=[],ue=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(r).forEach(k=>{let K=k.player,be=k.element;if(de.push(K),this.collectedEnterElements.length){let Se=be[nt];if(Se&&Se.setForMove){if(Se.previousTriggersValues&&Se.previousTriggersValues.has(k.triggerName)){let Ln=Se.previousTriggersValues.get(k.triggerName),Ge=this.statesByElement.get(k.element);if(Ge&&Ge.has(k.triggerName)){let ss=Ge.get(k.triggerName);ss.value=Ln,Ge.set(k.triggerName,ss)}}K.destroy();return}}let wt=!d||!this.driver.containsElement(d,be),Pe=X.get(be),dn=m.get(be),se=this._buildInstruction(k,n,dn,Pe,wt);if(se.errors&&se.errors.length){ue.push(se);return}if(wt){K.onStart(()=>gr(be,se.fromStyles)),K.onDestroy(()=>$t(be,se.toStyles)),i.push(K);return}if(k.isFallbackTransition){K.onStart(()=>gr(be,se.fromStyles)),K.onDestroy(()=>$t(be,se.toStyles)),i.push(K);return}let hp=[];se.timelines.forEach(Se=>{Se.stretchStartingKeyframe=!0,this.disabledNodes.has(Se.element)||hp.push(Se)}),se.timelines=hp,n.append(be,se.timelines);let Hw={instruction:se,player:K,element:be};s.push(Hw),se.queriedElements.forEach(Se=>We(a,Se,[]).push(K)),se.preStyleProps.forEach((Se,Ln)=>{if(Se.size){let Ge=c.get(Ln);Ge||c.set(Ln,Ge=new Set),Se.forEach((ss,lu)=>Ge.add(lu))}}),se.postStyleProps.forEach((Se,Ln)=>{let Ge=u.get(Ln);Ge||u.set(Ln,Ge=new Set),Se.forEach((ss,lu)=>Ge.add(lu))})});if(ue.length){let M=[];ue.forEach(N=>{M.push(tx(N.triggerName,N.errors))}),de.forEach(N=>N.destroy()),this.reportError(M)}let fe=new Map,ot=new Map;s.forEach(M=>{let N=M.element;n.has(N)&&(ot.set(N,N),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,fe))}),i.forEach(M=>{let N=M.element;this._getPreviousPlayers(N,!1,M.namespaceId,M.triggerName,null).forEach(K=>{We(fe,N,[]).push(K),K.destroy()})});let st=w.filter(M=>Hb(M,c,u)),zt=new Map;Ub(zt,this.driver,O,u,Ut).forEach(M=>{Hb(M,c,u)&&st.push(M)});let Si=new Map;p.forEach((M,N)=>{Ub(Si,this.driver,new Set(M),c,bc)}),st.forEach(M=>{let N=zt.get(M),k=Si.get(M);zt.set(M,new Map([...N?.entries()??[],...k?.entries()??[]]))});let Pn=[],dp=[],fp={};s.forEach(M=>{let{element:N,player:k,instruction:K}=M;if(n.has(N)){if(l.has(N)){k.onDestroy(()=>$t(N,K.toStyles)),k.disabled=!0,k.overrideTotalTime(K.totalTime),i.push(k);return}let be=fp;if(ot.size>1){let Pe=N,dn=[];for(;Pe=Pe.parentNode;){let se=ot.get(Pe);if(se){be=se;break}dn.push(Pe)}dn.forEach(se=>ot.set(se,be))}let wt=this._buildAnimation(k.namespaceId,K,fe,o,Si,zt);if(k.setRealPlayer(wt),be===fp)Pn.push(k);else{let Pe=this.playersByElement.get(be);Pe&&Pe.length&&(k.parentPlayer=Rn(Pe)),i.push(k)}}else gr(N,K.fromStyles),k.onDestroy(()=>$t(N,K.toStyles)),dp.push(k),l.has(N)&&i.push(k)}),dp.forEach(M=>{let N=o.get(M.element);if(N&&N.length){let k=Rn(N);M.setRealPlayer(k)}}),i.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M!wt.destroyed);be.length?Hx(this,N,be):this.processLeaveNode(N)}return w.length=0,Pn.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();let N=this.players.indexOf(M);this.players.splice(N,1)}),M.play()}),Pn}elementContainsData(e,r){let n=!1,i=r[nt];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(r)&&(n=!0),this.playersByQueriedElement.has(r)&&(n=!0),this.statesByElement.has(r)&&(n=!0),this._fetchNamespace(e).elementContainsData(r)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,n,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==No;a.forEach(u=>{u.queued||!c&&u.triggerName!=i||s.push(u)})}}return(n||i)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,n){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let c of r.timelines){let u=c.element,l=u!==o,d=We(n,u,[]);this._getPreviousPlayers(u,l,s,a,r.toState).forEach(p=>{let m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}gr(o,r.fromStyles)}_buildAnimation(e,r,n,i,o,s){let a=r.triggerName,c=r.element,u=[],l=new Set,d=new Set,f=r.timelines.map(m=>{let g=m.element;l.add(g);let w=g[nt];if(w&&w.removedBeforeQueried)return new xn(m.duration,m.delay);let D=g!==c,O=zx((n.get(g)||jx).map(fe=>fe.getRealPlayer())).filter(fe=>{let ot=fe;return ot.element?ot.element===g:!1}),X=o.get(g),j=s.get(g),de=zb(this._normalizer,m.keyframes,X,j),ue=this._buildPlayer(m,de,O);if(m.subTimeline&&i&&d.add(g),D){let fe=new Lo(e,a,g);fe.setRealPlayer(ue),u.push(fe)}return ue});u.forEach(m=>{We(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>Bx(this.playersByQueriedElement,m.element,m))}),l.forEach(m=>rt(m,Ob));let p=Rn(f);return p.onDestroy(()=>{l.forEach(m=>li(m,Ob)),$t(c,r.toStyles)}),d.forEach(m=>{We(i,m,[]).push(p)}),p}_buildPlayer(e,r,n){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,n):new xn(e.duration,e.delay)}},Lo=class{constructor(e,r,n){this.namespaceId=e,this.triggerName=r,this.element=n,this._player=new xn,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((r,n)=>{r.forEach(i=>Zf(e,n,void 0,i))}),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 r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){We(this._queuedCallbacks,e,[]).push(r)}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 r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function Bx(t,e,r){let n=t.get(e);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&t.delete(e)}return n}function Ux(t){return t??null}function Ec(t){return t&&t.nodeType===1}function $x(t){return t=="start"||t=="done"}function Bb(t,e){let r=t.style.display;return t.style.display=e??"none",r}function Ub(t,e,r,n,i){let o=[];r.forEach(c=>o.push(Bb(c)));let s=[];n.forEach((c,u)=>{let l=new Map;c.forEach(d=>{let f=e.computeStyle(u,d,i);l.set(d,f),(!f||f.length==0)&&(u[nt]=Vx,s.push(u))}),t.set(u,l)});let a=0;return r.forEach(c=>Bb(c,o[a++])),s}function $b(t,e){let r=new Map;if(t.forEach(a=>r.set(a,[])),e.length==0)return r;let n=1,i=new Set(e),o=new Map;function s(a){if(!a)return n;let c=o.get(a);if(c)return c;let u=a.parentNode;return r.has(u)?c=u:i.has(u)?c=n:c=s(u),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==n&&r.get(c).push(a)}),r}function rt(t,e){t.classList?.add(e)}function li(t,e){t.classList?.remove(e)}function Hx(t,e,r){Rn(r).onDone(()=>t.processLeaveNode(e))}function zx(t){let e=[];return n_(t,e),e}function n_(t,e){for(let r=0;ri.add(o)):e.set(t,n),r.delete(t),!0}var Nn=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Kf(e,r,n),this._timelineEngine=new qf(e,r,n),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,n,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let c=[],u=[],l=Jb(this._driver,o,c,u);if(c.length)throw zA(i,c);u.length&&void 0,a=Rx(i,l,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,n,i){this._transitionEngine.insertNode(e,r,n,i)}onRemove(e,r,n){this._transitionEngine.removeNode(e,r,n)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,n,i){if(n.charAt(0)=="@"){let[o,s]=Rb(n),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,n,i)}listen(e,r,n,i,o){if(n.charAt(0)=="@"){let[s,a]=Rb(n);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,n,i,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 qx(t,e){let r=null,n=null;return Array.isArray(e)&&e.length?(r=kf(e[0]),e.length>1&&(n=kf(e[e.length-1]))):e instanceof Map&&(r=kf(e)),r||n?new Gx(t,r,n):null}var Gx=(()=>{let e=class{constructor(n,i,o){this._element=n,this._startStyles=i,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(n);s||e.initialStylesByElement.set(n,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&$t(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($t(this._element,this._initialStyles),this._endStyles&&($t(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(gr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gr(this._element,this._endStyles),this._endStyles=null),$t(this._element,this._initialStyles),this._state=3)}},t=e;return(()=>{e.initialStylesByElement=new WeakMap})(),t})();function kf(t){let e=null;return t.forEach((r,n)=>{Kx(n)&&(e=e||new Map,e.set(n,r))}),e}function Kx(t){return t==="display"||t==="position"}var Rc=class{constructor(e,r,n,i){this.element=e,this.keyframes=r,this.options=n,this._specialStyles=i,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=n.duration,this._delay=n.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,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(n=>{r.push(Object.fromEntries(n))}),r}_triggerWebAnimation(e,r,n){return e.animate(this._convertKeyframesToObject(r),n)}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/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:Qb(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},Nc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,r){return!1}containsElement(e,r){return Wb(e,r)}getParentElement(e){return Qf(e)}query(e,r,n){return qb(e,r,n)}computeStyle(e,r,n){return window.getComputedStyle(e)[r]}animate(e,r,n,i,o,s=[]){let a=i==0?"both":"forwards",c={duration:n,delay:i,fill:a};o&&(c.easing=o);let u=new Map,l=s.filter(p=>p instanceof Rc);fx(n,i)&&l.forEach(p=>{p.currentSnapshot.forEach((m,g)=>u.set(g,m))});let d=ux(r).map(p=>di(p));d=hx(e,d,u);let f=qx(e,d);return new Rc(e,d,c,f)}};var Yx=(()=>{let e=class extends Ao{constructor(n,i){super(),this._nextAnimationId=0;let o={id:"0",encapsulation:Fe.None,styles:[],data:{animation:[]}};this._renderer=n.createRenderer(i.body,o)}build(n){let i=this._nextAnimationId.toString();this._nextAnimationId++;let o=Array.isArray(n)?vc(n):n;return i_(this._renderer,null,i,"register",[o]),new th(i,this._renderer)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(xt),h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),th=class extends yc{constructor(e,r){super(),this._id=e,this._renderer=r}create(e,r){return new nh(this._id,e,r||{},this._renderer)}},nh=class{constructor(e,r,n,i){this.id=e,this.element=r,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,r){return this._renderer.listen(this.element,`@@${this.id}:${e}`,r)}_command(e,...r){return i_(this._renderer,this.element,this.id,e,r)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}};function i_(t,e,r,n,i){return t.setProperty(e,`@@${r}:${n}`,i)}var Oc="@",o_="@.disabled",Qx=(()=>{let e=class{constructor(n,i,o){this.delegate=n,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(s,a)=>{let c=a?.parentNode(s);c&&a.removeChild(c,s)}}createRenderer(n,i){let o="",s=this.delegate.createRenderer(n,i);if(!n||!i||!i.data||!i.data.animation){let d=this._rendererCache.get(s);if(!d){let f=()=>this._rendererCache.delete(s);d=new Fc(o,s,this.engine,f),this._rendererCache.set(s,d)}return d}let a=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,n);let u=d=>{Array.isArray(d)?d.forEach(u):this.engine.registerTrigger(a,c,n,d.name,d)};return i.data.animation.forEach(u),new rh(this,c,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,i,o){if(n>=0&&ni(o));return}this._animationCallbacksBuffer.length==0&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{let[a,c]=s;a(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o])}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()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(xt),h(Nn),h(P))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Fc=class{constructor(e,r,n,i){this.namespaceId=e,this.delegate=r,this.engine=n,this._onDestroy=i}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,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,n,i=!0){this.delegate.insertBefore(e,r,n),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,n){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){r.charAt(0)==Oc&&r==o_?this.disableAnimations(e,!!n):this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n){return this.delegate.listen(e,r,n)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},rh=class extends Fc{constructor(e,r,n,i,o){super(r,n,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,n){r.charAt(0)==Oc?r.charAt(1)=="."&&r==o_?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,r.slice(1),n):this.delegate.setProperty(e,r,n)}listen(e,r,n){if(r.charAt(0)==Oc){let i=Xx(e),o=r.slice(1),s="";return o.charAt(0)!=Oc&&([o,s]=Jx(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,n,a)})}return this.delegate.listen(e,r,n)}};function Xx(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Jx(t){let e=t.indexOf("."),r=t.substring(0,e),n=t.slice(e+1);return[r,n]}var eR=(()=>{let e=class extends Nn{constructor(n,i,o,s){super(n.body,i,o)}ngOnDestroy(){this.flush()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(jo),h(yr),h(on))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function tR(){return new Ac}function nR(t,e,r){return new Qx(t,e,r)}var s_=[{provide:Ao,useClass:Yx},{provide:yr,useFactory:tR},{provide:Nn,useClass:eR},{provide:xt,useFactory:nR,deps:[uc,Nn,P]}],r_=[{provide:jo,useFactory:()=>new Nc},{provide:Lt,useValue:"BrowserAnimations"},...s_],rR=[{provide:jo,useClass:Xf},{provide:Lt,useValue:"NoopAnimations"},...s_],N3=(()=>{let e=class{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?rR:r_}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:r_,imports:[sb]})})(),t})();var sR=["text"];var r8=(()=>{let e=class{},t=e;return(()=>{e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"})(),(()=>{e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"})(),(()=>{e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"})(),(()=>{e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"})(),t})(),i8=(()=>{let e=class{},t=e;return(()=>{e.COMPLEX="375ms"})(),(()=>{e.ENTERING="225ms"})(),(()=>{e.EXITING="195ms"})(),t})();function aR(){return!0}var cR=new y("mat-sanity-checks",{providedIn:"root",factory:aR}),vt=(()=>{let e=class{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return db()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Mf),h(cR,8),h(W))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[ci,ci]})})(),t})();function f_(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=Bt(e)}constructor(...e){super(...e),this._disabled=!1}}}function kc(t,e){return class extends t{get color(){return this._color}set color(r){let n=r||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...r){super(...r),this.defaultColor=e,this.color=e}}}function h_(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Bt(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function o8(t,e=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(r){this._tabIndex=r!=null?To(r):this.defaultTabIndex}constructor(...r){super(...r),this._tabIndex=e,this.defaultTabIndex=e}}}function s8(t){return class extends t{updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,i=this.ngControl?this.ngControl.control:null,o=n.isErrorState(i,r);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}var a8=(()=>{let e=class{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),c8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})})(),t})();function u8(t,e,r="mat"){t.changes.pipe(Zt(t)).subscribe(({length:n})=>{Bo(e,`${r}-2-line`,!1),Bo(e,`${r}-3-line`,!1),Bo(e,`${r}-multi-line`,!1),n===2||n===3?Bo(e,`${r}-${n}-line`,!0):n>3&&Bo(e,`${r}-multi-line`,!0)})}function Bo(t,e,r){t.nativeElement.classList.toggle(e,r)}var l8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt,vt]})})(),t})(),ih=class{constructor(e,r,n,i=!1){this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},a_=ai({passive:!0,capture:!0}),oh=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=An(e);r&&this._events.get(e.type)?.forEach((n,i)=>{(i===r||i.contains(r))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,a_)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,a_)))}},c_={enterDuration:225,exitDuration:150},uR=800,u_=ai({passive:!0,capture:!0}),l_=["mousedown","touchstart"],d_=["mouseup","mouseleave","touchend","touchcancel"],Uo=class{constructor(e,r,n,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=yt(n))}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=_(_({},c_),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||lR(e,r,i),a=e-i.left,c=r-i.top,u=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-s}px`,l.style.top=`${c-s}px`,l.style.height=`${s*2}px`,l.style.width=`${s*2}px`,n.color!=null&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(l);let d=window.getComputedStyle(l),f=d.transitionProperty,p=d.transitionDuration,m=f==="none"||p==="0s"||p==="0s, 0s"||i.width===0&&i.height===0,g=new ih(this,l,n,m);l.style.transform="scale3d(1, 1, 1)",g.state=0,n.persistent||(this._mostRecentTransientRipple=g);let w=null;return!m&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>this._finishRippleTransition(g),O=()=>this._destroyRipple(g);l.addEventListener("transitionend",D),l.addEventListener("transitioncancel",O),w={onTransitionEnd:D,onTransitionCancel:O}}),this._activeRipples.set(g,w),(m||!u)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(e.state===2||e.state===3)return;let r=e.element,n=_(_({},c_),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=yt(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,l_.forEach(n=>{Uo._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{d_.forEach(r=>{this._triggerElement.addEventListener(r,this,u_)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=1,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Sf(e),n=this._lastTouchStartEvent&&Date.now(){let r=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(l_.forEach(r=>Uo._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&d_.forEach(r=>e.removeEventListener(r,this,u_)))}},sh=Uo;(()=>{Uo._eventManager=new oh})();function lR(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var dR=new y("mat-ripple-global-options"),$o=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,i,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new sh(this,i,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:_(_(_({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,i=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,_(_({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,_(_({},this.rippleConfig),n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(le),x(P),x(He),x(dR,8),x(Lt,8))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&tt("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})})(),t})(),p_=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt,vt]})})(),t})(),d8=(()=>{let e=class{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(Lt,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&tt("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})})(),t})(),f8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt]})})(),t})(),h8=new y("MAT_OPTION_PARENT_COMPONENT");var p8=new y("MatOptgroup");var fR=0,ah=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},m8=(()=>{let e=class{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=Bt(n)}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,i,o,s){this._element=n,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${fR++}`,this.onSelectionChange=new ce,this._stateChanges=new $}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(n,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!fc(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new ah(this,n))}},t=e;return(()=>{e.\u0275fac=function(i){Ua()}})(),(()=>{e.\u0275dir=me({type:e,viewQuery:function(i,o){if(i&1&&mo(sR,7),i&2){let s;ti(s=ni())&&(o._text=s.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})})(),t})();function g8(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+n?Math.max(0,t-n+e):r}var pR=["*"],Pc;function mR(){if(Pc===void 0&&(Pc=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Pc=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Pc}function Ho(t){return mR()?.createHTML(t)||t}function m_(t){return Error(`Unable to find icon with the name "${t}"`)}function gR(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function g_(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function y_(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var un=class{constructor(e,r,n){this.url=e,this.svgText=r,this.options=n}},yR=(()=>{let e=class{constructor(n,i,o,s){this._httpClient=n,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,i,o){return this.addSvgIconInNamespace("",n,i,o)}addSvgIconLiteral(n,i,o){return this.addSvgIconLiteralInNamespace("",n,i,o)}addSvgIconInNamespace(n,i,o,s){return this._addSvgIconConfig(n,i,new un(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,o,s){let a=this._sanitizer.sanitize(Q.HTML,o);if(!a)throw y_(o);let c=Ho(a);return this._addSvgIconConfig(n,i,new un("",c,s))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,o){return this._addSvgIconSetConfig(n,new un(i,null,o))}addSvgIconSetLiteralInNamespace(n,i,o){let s=this._sanitizer.sanitize(Q.HTML,i);if(!s)throw y_(i);let a=Ho(s);return this._addSvgIconSetConfig(n,new un("",a,o))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Q.RESOURCE_URL,n);if(!i)throw g_(n);let o=this._cachedIconsByUrl.get(i);return o?S(Lc(o)):this._loadSvgIconFromConfig(new un(n,null)).pipe(ne(s=>this._cachedIconsByUrl.set(i,s)),R(s=>Lc(s)))}getNamedSvgIcon(n,i=""){let o=v_(i,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(n,a):lt(m_(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?S(Lc(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(R(i=>Lc(i)))}_getSvgFromIconSetConfigs(n,i){let o=this._extractIconWithNameFromAnySet(n,i);if(o)return S(o);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Ye(c=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Q.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(l)),S(null)})));return Su(s).pipe(R(()=>{let a=this._extractIconWithNameFromAnySet(n,i);if(!a)throw m_(n);return a}))}_extractIconWithNameFromAnySet(n,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,n,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ne(i=>n.svgText=i),R(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?S(null):this._fetchIcon(n).pipe(ne(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,o){let s=n.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(Ho(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(n){let i=this._svgElementFromString(Ho("")),o=n.attributes;for(let s=0;sHo(l)),Ct(()=>this._inProgressUrlFetches.delete(a)),bn());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(n,i,o){return this._svgIconConfigs.set(v_(n,i),o),this}_addSvgIconSetConfig(n,i){let o=this._iconSetConfigs.get(n);return o?o.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(h(af,8),h(yf),h(W,8),h(Ve))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Lc(t){return t.cloneNode(!0)}function v_(t,e){return t+":"+e}function vR(t){return!!(t.url&&t.options)}var bR=kc(class{constructor(t){this._elementRef=t}}),_R=new y("MAT_ICON_DEFAULT_OPTIONS"),wR=new y("mat-icon-location",{providedIn:"root",factory:DR});function DR(){let t=E(W),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var b_=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ER=b_.map(t=>`[${t}]`).join(", "),CR=/^url\(['"]?#(.*?)['"]?\)$/,j8=(()=>{let e=class extends bR{get inline(){return this._inline}set inline(n){this._inline=Bt(n)}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(n,i,o,s,a,c){super(n),this._iconRegistry=i,this._location=s,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=J.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=n.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),i.forEach(o=>n.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(ER),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=i[s],u=c.getAttribute(a),l=u?u.match(CR):null;if(l){let d=o.get(c);d||(d=[],o.set(c,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,o]=this._splitIconName(n);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(ve(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(le),x(yR),no("aria-hidden"),x(wR),x(Ve),x(_R,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,o){i&2&&(jt("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),tt("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Tn],ngContentSelectors:pR,decls:1,vars:0,template:function(i,o){i&1&&(ar(),cr(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})})(),t})(),V8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt,vt]})})(),t})();var __=["mat-button",""],w_=["*"],SR=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}",IR="accent",TR=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],MR=kc(f_(h_(class{constructor(t){this._elementRef=t}}))),AR=(()=>{let e=class extends MR{constructor(n,i,o){super(n),this._focusMonitor=i,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(let s of TR)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);n.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color=IR)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(n,i){n?this._focusMonitor.focusVia(this._getHostElement(),n,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...n){return n.some(i=>this._getHostElement().hasAttribute(i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(le),x(Tf),x(Lt,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(i,o){if(i&1&&mo($o,5),i&2){let s;ti(s=ni())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(i,o){i&2&&(jt("disabled",o.disabled||null),tt("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Tn],attrs:__,ngContentSelectors:w_,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(ar(),or(0,"span",0),cr(1),sr(),Mn(2,"span",1)(3,"span",2)),i&2&&(lo(2),tt("mat-button-ripple-round",o.isRoundButton||o.isIconButton),po("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[$o],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})})(),t})(),z8=(()=>{let e=class extends AR{constructor(n,i,o,s){super(i,n,o),this._ngZone=s,this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(Tf),x(le),x(Lt,8),x(P,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(i,o){i&2&&(jt("tabindex",o.disabled?-1:o.tabIndex)("disabled",o.disabled||null)("aria-disabled",o.disabled.toString()),tt("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Tn],attrs:__,ngContentSelectors:w_,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(ar(),or(0,"span",0),cr(1),sr(),Mn(2,"span",1)(3,"span",2)),i&2&&(lo(2),tt("mat-button-ripple-round",o.isRoundButton||o.isIconButton),po("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[$o],styles:[SR],encapsulation:2,changeDetection:0})})(),t})(),W8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[p_,vt,vt]})})(),t})();function xR(t){t||(fo(xR),t=E(ir));let e=new T(r=>t.onDestroy(r.next.bind(r)));return r=>r.pipe(Yt(e))}function RR(t,e){!e?.injector&&fo(RR);let r=e?.injector??E(Ue),n=new Bn(1),i=Md(()=>{let o;try{o=t()}catch(s){Kr(()=>n.error(s));return}Kr(()=>n.next(o))},{injector:r,manualCleanup:!0});return r.get(ir).onDestroy(()=>{i.destroy(),n.complete()}),n.asObservable()}var ch=class extends Error{constructor(e,r){super(NR(e,r)),this.code=e}};function NR(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var OR=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var uh=class{constructor(e){this.ref=e}deref(){return this.ref}},Q8=OR.WeakRef??uh;function lh(t,e){let r=!e?.manualCleanup;r&&!e?.injector&&fo(lh);let n=r?e?.injector?.get(ir)??E(ir):null,i;e?.requireSync?i=td({kind:0}):i=td({kind:1,value:e?.initialValue});let o=t.subscribe({next:s=>i.set({kind:1,value:s}),error:s=>i.set({kind:2,error:s})});return n?.onDestroy(o.unsubscribe.bind(o)),xa(()=>{let s=i();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new ch(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var ph={};function FR(t,e){if(ph[t]=(ph[t]||0)+1,typeof e=="function")return dh(t,(...n)=>Y(_({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return dh(t,()=>({type:t}));case"props":return dh(t,n=>Y(_({},n),{type:t}));default:throw new Error("Unexpected config.")}}function vh(){return{_as:"props",_p:void 0}}function dh(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}function bh(t){return t.charAt(0).toUpperCase()+t.substring(1)}function kR(t){return t.charAt(0).toLowerCase()+t.substring(1)}function s4(t){let{source:e,events:r}=t;return Object.keys(r).reduce((n,i)=>Y(_({},n),{[PR(i)]:FR(LR(e,i),r[i])}),{})}function a4(){return vh()}function PR(t){return t.trim().split(" ").map((e,r)=>r===0?kR(e):bh(e)).join("")}function LR(t,e){return`[${t}] ${e}`}var L_="@ngrx/store/init",hi=(()=>{let e=class extends ae{constructor(){super({type:L_})}next(n){if(typeof n=="function")throw new TypeError(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Wt(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var J=class{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(A(n))try{n()}catch(o){e=o instanceof as?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{pp(o)}catch(s){e=e??[],s instanceof as?e=[...e,...s.errors]:e.push(s)}}if(e)throw new as(e)}}add(e){var r;if(e&&e!==this)if(this.closed)pp(e);else{if(e instanceof J){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Wt(r,e)}remove(e){let{_finalizers:r}=this;r&&Wt(r,e),e instanceof J&&e._removeParent(this)}};J.EMPTY=(()=>{let t=new J;return t.closed=!0,t})();var du=J.EMPTY;function cs(t){return t instanceof J||t&&"closed"in t&&A(t.remove)&&A(t.add)&&A(t.unsubscribe)}function pp(t){A(t)?t():t.unsubscribe()}var at={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Er={setTimeout(t,e,...r){let{delegate:n}=Er;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Er;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function us(t){Er.setTimeout(()=>{let{onUnhandledError:e}=at;if(e)e(t);else throw t})}function ct(){}var mp=(()=>fu("C",void 0,void 0))();function gp(t){return fu("E",void 0,t)}function yp(t){return fu("N",t,void 0)}function fu(t,e,r){return{kind:t,value:e,error:r}}var jn=null;function Cr(t){if(at.useDeprecatedSynchronousErrorHandling){let e=!jn;if(e&&(jn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=jn;if(jn=null,r)throw n}}else t()}function vp(t){at.useDeprecatedSynchronousErrorHandling&&jn&&(jn.errorThrown=!0,jn.error=t)}var Vn=class extends J{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,cs(e)&&e.add(this)):this.destination=Ww}static create(e,r,n){return new ut(e,r,n)}next(e){this.isStopped?pu(yp(e),this):this._next(e)}error(e){this.isStopped?pu(gp(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?pu(mp,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Hw=Function.prototype.bind;function hu(t,e){return Hw.call(t,e)}var mu=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){ls(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){ls(n)}else ls(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ls(r)}}},ut=class extends Vn{constructor(e,r,n){super();let i;if(A(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&at.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&hu(e.next,o),error:e.error&&hu(e.error,o),complete:e.complete&&hu(e.complete,o)}):i=e}this.destination=new mu(i)}};function ls(t){at.useDeprecatedSynchronousErrorHandling?vp(t):us(t)}function zw(t){throw t}function pu(t,e){let{onStoppedNotification:r}=at;r&&Er.setTimeout(()=>r(t,e))}var Ww={closed:!0,next:ct,error:zw,complete:ct};var Sr=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function ye(t){return t}function gu(...t){return yu(t)}function yu(t){return t.length===0?ye:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var M=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Gw(r)?r:new ut(r,n,i);return Cr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=bp(n),new n((i,o)=>{let s=new ut({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Sr](){return this}pipe(...r){return yu(r)(this)}toPromise(r){return r=bp(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function bp(t){var e;return(e=t??at.Promise)!==null&&e!==void 0?e:Promise}function qw(t){return t&&A(t.next)&&A(t.error)&&A(t.complete)}function Gw(t){return t&&t instanceof Vn||qw(t)&&cs(t)}function vu(t){return A(t?.lift)}function I(t){return e=>{if(vu(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(t,e,r,n,i){return new Ii(t,e,r,n,i)}var Ii=class extends Vn{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Ir(){return I((t,e)=>{let r=null;t._refCount++;let n=C(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var qt=class extends M{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,vu(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new J;let r=this.getSubject();e.add(this.source.subscribe(C(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=J.EMPTY)}return e}refCount(){return Ir()(this)}};var bu={now(){return(bu.delegate||performance).now()},delegate:void 0};var Tr={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=Tr;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let i=e(o=>{r=void 0,t(o)});return new J(()=>r?.(i))},requestAnimationFrame(...t){let{delegate:e}=Tr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Tr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};function Kw(t){return t?_p(t):Zw}function _p(t){return new M(e=>{let r=t||bu,n=r.now(),i=0,o=()=>{e.closed||(i=Tr.requestAnimationFrame(s=>{i=0;let a=r.now();e.next({timestamp:t?a:s,elapsed:a-n}),o()}))};return o(),()=>{i&&Tr.cancelAnimationFrame(i)}})}var Zw=_p();var wp=fn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var $=(()=>{class t extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ds(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new wp}next(r){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?du:(this.currentObservers=null,o.push(r),new J(()=>{this.currentObservers=null,Wt(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new M;return r.source=this,r}}return t.create=(e,r)=>new ds(e,r),t})(),ds=class extends ${constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:du}};var ae=class extends ${constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Ti={now(){return(Ti.delegate||Date).now()},delegate:void 0};var Bn=class extends ${constructor(e=1/0,r=1/0,n=Ti){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;sDp(e)&&t()),e},clearImmediate(t){Dp(t)}};var{setImmediate:Qw,clearImmediate:Xw}=Ep,Ai={setImmediate(...t){let{delegate:e}=Ai;return(e?.setImmediate||Qw)(...t)},clearImmediate(t){let{delegate:e}=Ai;return(e?.clearImmediate||Xw)(t)},delegate:void 0};var hs=class extends hn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Ai.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(Ai.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var pn=class{constructor(e,r=pn.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};pn.now=Ti.now;var mn=class extends pn{constructor(e,r=pn.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var ps=class extends mn{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var Cp=new ps(hs);var Gt=new mn(hn),Sp=Gt;var ms=class extends hn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var gs=class extends mn{};var Du=new gs(ms);var Ie=new M(t=>t.complete());function ys(t){return t&&A(t.schedule)}function Eu(t){return t[t.length-1]}function Mr(t){return A(Eu(t))?t.pop():void 0}function Dt(t){return ys(Eu(t))?t.pop():void 0}function Ip(t,e){return typeof Eu(t)=="number"?t.pop():e}function Mp(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Tp(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Un(t){return this instanceof Un?(this.v=t,this):new Un(t)}function Ap(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(p){return new Promise(function(m,g){o.push([f,p,m,g])>1||a(f,p)})})}function a(f,p){try{c(n[f](p))}catch(m){d(o[0][3],m)}}function c(f){f.value instanceof Un?Promise.resolve(f.value.v).then(u,l):d(o[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}function xp(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Tp=="function"?Tp(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a})},s)}}var Ar=t=>t&&typeof t.length=="number"&&typeof t!="function";function vs(t){return A(t?.then)}function bs(t){return A(t[Sr])}function _s(t){return Symbol.asyncIterator&&A(t?.[Symbol.asyncIterator])}function ws(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Jw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ds=Jw();function Es(t){return A(t?.[Ds])}function Cs(t){return Ap(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Un(r.read());if(i)return yield Un(void 0);yield yield Un(n)}}finally{r.releaseLock()}})}function Ss(t){return A(t?.getReader)}function V(t){if(t instanceof M)return t;if(t!=null){if(bs(t))return eD(t);if(Ar(t))return tD(t);if(vs(t))return nD(t);if(_s(t))return Rp(t);if(Es(t))return rD(t);if(Ss(t))return iD(t)}throw ws(t)}function eD(t){return new M(e=>{let r=t[Sr]();if(A(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function tD(t){return new M(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,us)})}function rD(t){return new M(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Rp(t){return new M(e=>{oD(t,e).catch(r=>e.error(r))})}function iD(t){return Rp(Cs(t))}function oD(t,e){var r,n,i,o;return Mp(this,void 0,void 0,function*(){try{for(r=xp(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Te(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function $n(t,e=0){return I((r,n)=>{r.subscribe(C(n,i=>Te(n,t,()=>n.next(i),e),()=>Te(n,t,()=>n.complete(),e),i=>Te(n,t,()=>n.error(i),e)))})}function Is(t,e=0){return I((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Np(t,e){return V(t).pipe(Is(e),$n(e))}function Op(t,e){return V(t).pipe(Is(e),$n(e))}function Fp(t,e){return new M(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function kp(t,e){return new M(r=>{let n;return Te(r,e,()=>{n=t[Ds](),Te(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>A(n?.return)&&n.return()})}function Ts(t,e){if(!t)throw new Error("Iterable cannot be null");return new M(r=>{Te(r,e,()=>{let n=t[Symbol.asyncIterator]();Te(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Pp(t,e){return Ts(Cs(t),e)}function Lp(t,e){if(t!=null){if(bs(t))return Np(t,e);if(Ar(t))return Fp(t,e);if(vs(t))return Op(t,e);if(_s(t))return Ts(t,e);if(Es(t))return kp(t,e);if(Ss(t))return Pp(t,e)}throw ws(t)}function ie(t,e){return e?Lp(t,e):V(t)}function S(...t){let e=Dt(t);return ie(t,e)}function lt(t,e){let r=A(t)?t:()=>t,n=i=>i.error(r());return new M(e?i=>e.schedule(n,0,i):n)}var Ke=class{constructor(e,r,n){this.kind=e,this.value=r,this.error=n,this.hasValue=e==="N"}observe(e){return Cu(this,e)}do(e,r,n){let{kind:i,value:o,error:s}=this;return i==="N"?e?.(o):i==="E"?r?.(s):n?.()}accept(e,r,n){var i;return A((i=e)===null||i===void 0?void 0:i.next)?this.observe(e):this.do(e,r,n)}toObservable(){let{kind:e,value:r,error:n}=this,i=e==="N"?S(r):e==="E"?lt(()=>n):e==="C"?Ie:0;if(!i)throw new TypeError(`Unexpected notification kind ${e}`);return i}static createNext(e){return new Ke("N",e)}static createError(e){return new Ke("E",void 0,e)}static createComplete(){return Ke.completeNotification}};Ke.completeNotification=new Ke("C");function Cu(t,e){var r,n,i;let{kind:o,value:s,error:a}=t;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(r=e.next)===null||r===void 0||r.call(e,s):o==="E"?(n=e.error)===null||n===void 0||n.call(e,a):(i=e.complete)===null||i===void 0||i.call(e)}function xi(t){return!!t&&(t instanceof M||A(t.lift)&&A(t.subscribe))}var dt=fn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function sD(t,e){let r=typeof e=="object";return new Promise((n,i)=>{let o=new ut({next:s=>{n(s),o.unsubscribe()},error:i,complete:()=>{r?n(e.defaultValue):i(new dt)}});t.subscribe(o)})}function Ms(t){return t instanceof Date&&!isNaN(t)}var aD=fn(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function cD(t,e){let{first:r,each:n,with:i=uD,scheduler:o=e??Gt,meta:s=null}=Ms(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return I((a,c)=>{let u,l,d=null,f=0,p=m=>{l=Te(c,o,()=>{try{u.unsubscribe(),V(i({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(g){c.error(g)}},m)};u=a.subscribe(C(c,m=>{l?.unsubscribe(),f++,c.next(d=m),n>0&&p(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!f&&p(r!=null?typeof r=="number"?r:+r-o.now():n)})}function uD(t){throw new aD(t)}function R(t,e){return I((r,n)=>{let i=0;r.subscribe(C(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:lD}=Array;function dD(t,e){return lD(e)?t(...e):t(e)}function xr(t){return R(e=>dD(t,e))}var{isArray:fD}=Array,{getPrototypeOf:hD,prototype:pD,keys:mD}=Object;function As(t){if(t.length===1){let e=t[0];if(fD(e))return{args:e,keys:null};if(gD(e)){let r=mD(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function gD(t){return t&&typeof t=="object"&&hD(t)===pD}function xs(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function Hn(...t){let e=Dt(t),r=Mr(t),{args:n,keys:i}=As(t);if(n.length===0)return ie([],e);let o=new M(yD(n,e,i?s=>xs(i,s):ye));return r?o.pipe(xr(r)):o}function yD(t,e,r=ye){return n=>{jp(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let u=ie(t[c],e),l=!1;u.subscribe(C(n,d=>{o[c]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function jp(t,e,r){t?Te(r,t,e):e()}function Vp(t,e,r,n,i,o,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},p=g=>u{o&&e.next(g),u++;let w=!1;V(r(g,l++)).subscribe(C(e,D=>{i?.(D),o?p(D):e.next(D)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;c.length&&um(D)):m(D)}f()}catch(D){e.error(D)}}))};return t.subscribe(C(e,p,()=>{d=!0,f()})),()=>{a?.()}}function te(t,e,r=1/0){return A(e)?te((n,i)=>R((o,s)=>e(n,o,i,s))(V(t(n,i))),r):(typeof e=="number"&&(r=e),I((n,i)=>Vp(n,i,t,r)))}function gn(t=1/0){return te(ye,t)}function Bp(){return gn(1)}function Ze(...t){return Bp()(ie(t,Dt(t)))}function Rs(t){return new M(e=>{V(t()).subscribe(e)})}function Su(...t){let e=Mr(t),{args:r,keys:n}=As(t),i=new M(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(n?xs(n,a):a),o.complete())}))}});return e?i.pipe(xr(e)):i}var vD=["addListener","removeListener"],bD=["addEventListener","removeEventListener"],_D=["on","off"];function Ri(t,e,r,n){if(A(r)&&(n=r,r=void 0),n)return Ri(t,e,r).pipe(xr(n));let[i,o]=ED(t)?bD.map(s=>a=>t[s](e,a,r)):wD(t)?vD.map(Up(t,e)):DD(t)?_D.map(Up(t,e)):[];if(!i&&Ar(t))return te(s=>Ri(s,e,r))(V(t));if(!i)throw new TypeError("Invalid event target");return new M(s=>{let a=(...c)=>s.next(1o(a)})}function Up(t,e){return r=>n=>t[r](e,n)}function wD(t){return A(t.addListener)&&A(t.removeListener)}function DD(t){return A(t.on)&&A(t.off)}function ED(t){return A(t.addEventListener)&&A(t.removeEventListener)}function Ni(t=0,e,r=Sp){let n=-1;return e!=null&&(ys(e)?r=e:n=e),new M(i=>{let o=Ms(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function Iu(...t){let e=Dt(t),r=Ip(t,1/0),n=t;return n.length?n.length===1?V(n[0]):gn(r)(ie(n,e)):Ie}var CD=new M(ct);function he(t,e){return I((r,n)=>{let i=0;r.subscribe(C(n,o=>t.call(e,o,i++)&&n.next(o)))})}function $p(t){return I((e,r)=>{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let u=i;i=null,r.next(u)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe(C(r,u=>{n=!0,i=u,o||V(t(u)).subscribe(o=C(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function Ns(t,e=Gt){return $p(()=>Ni(t,e))}function SD(t,e=null){return e=e??t,I((r,n)=>{let i=[],o=0;r.subscribe(C(n,s=>{let a=null;o++%e===0&&i.push([]);for(let c of i)c.push(s),t<=c.length&&(a=a??[],a.push(c));if(a)for(let c of a)Wt(i,c),n.next(c)},()=>{for(let s of i)n.next(s);n.complete()},void 0,()=>{i=null}))})}function Ye(t){return I((e,r)=>{let n=null,i=!1,o;n=e.subscribe(C(r,void 0,void 0,s=>{o=V(t(s,Ye(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Hp(t,e,r,n,i){return(o,s)=>{let a=r,c=e,u=0;o.subscribe(C(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function Et(t,e){return A(e)?te(t,e,1):te(t,1)}function zp(t){return new M(e=>t.subscribe(e))}var ID={connector:()=>new $};function Os(t,e=ID){let{connector:r}=e;return I((n,i)=>{let o=r();V(t(zp(o))).subscribe(i),i.add(n.subscribe(o))})}function yn(t,e=Gt){return I((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let u=o;o=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l{o=u,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function vn(t){return I((e,r)=>{let n=!1;e.subscribe(C(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function ve(t){return t<=0?()=>Ie:I((e,r)=>{let n=0;e.subscribe(C(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Fs(){return I((t,e)=>{t.subscribe(C(e,ct))})}function Oi(t){return R(()=>t)}function Tu(t,e){return e?r=>Ze(e.pipe(ve(1),Fs()),r.pipe(Tu(t))):te((r,n)=>V(t(r,n)).pipe(ve(1),Oi(r)))}function Wp(t,e=Gt){let r=Ni(t,e);return Tu(()=>r)}function TD(){return I((t,e)=>{t.subscribe(C(e,r=>Cu(r,e)))})}function Kt(t,e=ye){return t=t??MD,I((r,n)=>{let i,o=!0;r.subscribe(C(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function MD(t,e){return t===e}function ks(t=AD){return I((e,r)=>{let n=!1;e.subscribe(C(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function AD(){return new dt}function xD(...t){return e=>Ze(e,S(...t))}function Fi(t,e){return e?r=>r.pipe(Fi((n,i)=>V(t(n,i)).pipe(R((o,s)=>e(n,o,i,s))))):I((r,n)=>{let i=0,o=null,s=!1;r.subscribe(C(n,a=>{o||(o=C(n,void 0,()=>{o=null,s&&n.complete()}),V(t(a,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function RD(){return Fi(ye)}function Ct(t){return I((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Qe(t,e){let r=arguments.length>=2;return n=>n.pipe(t?he((i,o)=>t(i,o,n)):ye,ve(1),r?vn(e):ks(()=>new dt))}function ND(t,e,r,n){return I((i,o)=>{let s;!e||typeof e=="function"?s=e:{duration:r,element:s,connector:n}=e;let a=new Map,c=m=>{a.forEach(m),m(o)},u=m=>c(g=>g.error(m)),l=0,d=!1,f=new Ii(o,m=>{try{let g=t(m),w=a.get(g);if(!w){a.set(g,w=n?n():new $);let D=p(g,w);if(o.next(D),r){let O=C(w,()=>{w.complete(),O?.unsubscribe()},void 0,void 0,()=>a.delete(g));f.add(V(r(D)).subscribe(O))}}w.next(s?s(m):m)}catch(g){u(g)}},()=>c(m=>m.complete()),u,()=>a.clear(),()=>(d=!0,l===0));i.subscribe(f);function p(m,g){let w=new M(D=>{l++;let O=g.subscribe(D);return()=>{O.unsubscribe(),--l===0&&d&&f.unsubscribe()}});return w.key=m,w}})}function Rr(t){return t<=0?()=>Ie:I((e,r)=>{let n=[];e.subscribe(C(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Mu(t,e){let r=arguments.length>=2;return n=>n.pipe(t?he((i,o)=>t(i,o,n)):ye,Rr(1),r?vn(e):ks(()=>new dt))}function OD(){return I((t,e)=>{t.subscribe(C(e,r=>{e.next(Ke.createNext(r))},()=>{e.next(Ke.createComplete()),e.complete()},r=>{e.next(Ke.createError(r)),e.complete()}))})}function qp(t,e){let r=A(t)?t:()=>t;return A(e)?Os(e,{connector:r}):n=>new qt(n,r)}function Gp(){return I((t,e)=>{let r,n=!1;t.subscribe(C(e,i=>{let o=r;r=i,n&&e.next([o,i]),n=!0}))})}function Au(...t){let e=t.length;if(e===0)throw new Error("list of properties cannot be empty.");return R(r=>{let n=r;for(let i=0;iOs(t)(e):e=>qp(new $)(e)}function ki(t,e){return I(Hp(t,e,arguments.length>=2,!0))}function bn(t={}){let{connector:e=()=>new $,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,l=d=!1},m=()=>{let g=s;p(),g?.unsubscribe()};return I((g,w)=>{u++,!d&&!l&&f();let D=c=c??e();w.add(()=>{u--,u===0&&!d&&!l&&(a=xu(m,i))}),D.subscribe(w),!s&&u>0&&(s=new ut({next:O=>D.next(O),error:O=>{d=!0,f(),a=xu(p,r,O),D.error(O)},complete:()=>{l=!0,f(),a=xu(p,n),D.complete()}}),V(g).subscribe(s))})(o)}}function xu(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new ut({next:()=>{n.unsubscribe(),t()}});return V(e(...r)).subscribe(n)}function Kp(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t??1/0,bn({connector:()=>new Bn(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Nr(t){return he((e,r)=>t<=r)}function Zt(...t){let e=Dt(t);return I((r,n)=>{(e?Ze(t,r,e):Ze(t,r)).subscribe(n)})}function De(t,e){return I((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(C(n,c=>{i?.unsubscribe();let u=0,l=o++;V(t(c,l)).subscribe(i=C(n,d=>n.next(e?e(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Yt(t){return I((e,r)=>{V(t).subscribe(C(r,()=>r.complete(),ct)),!r.closed&&e.subscribe(r)})}function kD(t,e=!1){return I((r,n)=>{let i=0;r.subscribe(C(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function ne(t,e,r){let n=A(t)||e||r?{next:t,error:e,complete:r}:t;return n?I((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(C(o,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),o.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):ye}function Ps(...t){let e=Mr(t);return I((r,n)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),a=!1;for(let c=0;c{o[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ye))&&(s=null))},ct));r.subscribe(C(n,c=>{if(a){let u=[c,...o];n.next(e?e(...u):u)}}))})}function ee(t){for(let e in t)if(t[e]===ee)return e;throw Error("Could not find renamed property on target object.")}function Ls(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Me(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Me).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function Gu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var PD=ee({__forward_ref__:ee});function Pm(t){return t.__forward_ref__=Pm,t.toString=function(){return Me(this())},t}function Ee(t){return Lm(t)?t():t}function Lm(t){return typeof t=="function"&&t.hasOwnProperty(PD)&&t.__forward_ref__===Pm}function jm(t){return t&&!!t.\u0275providers}var Vm="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Kl(e,r)),this.code=e}};function Kl(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Vr(t){return typeof t=="string"?t:t==null?"":String(t)}function LD(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Vr(t)}function jD(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function Zl(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function VD(t,e){t==null&&BD(e,t,null,"!=")}function BD(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function q(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sa(t){return Zp(t,Um)||Zp(t,$m)}function Bm(t){return Sa(t)!==null}function Zp(t,e){return t.hasOwnProperty(e)?t[e]:null}function UD(t){let e=t&&(t[Um]||t[$m]);return e||null}function Yp(t){return t&&(t.hasOwnProperty(Qp)||t.hasOwnProperty($D))?t[Qp]:null}var Um=ee({\u0275prov:ee}),Qp=ee({\u0275inj:ee}),$m=ee({ngInjectableDef:ee}),$D=ee({ngInjectorDef:ee}),F=(()=>(F=F||{},F[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))(),Ku;function Hm(){return Ku}function Xe(t){let e=Ku;return Ku=t,e}function zm(t,e,r){let n=Sa(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&F.Optional)return null;if(e!==void 0)return e;Zl(Me(t),"Injector")}var Ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var HD={},Vi=HD,Zu="__NG_DI_FLAG__",na="ngTempTokenPath",zD="ngTokenPath",WD=/\n/gm,qD="\u0275",Xp="__source",Lr;function GD(){return Lr}function Or(t){let e=Lr;return Lr=t,e}function KD(t,e=F.Default){if(Lr===void 0)throw new v(-203,!1);return Lr===null?zm(t,void 0,e):Lr.get(t,e&F.Optional?null:void 0,e)}function h(t,e=F.Default){return(Hm()||KD)(Ee(t),e)}function E(t,e=F.Default){return h(t,Ia(e))}function Ia(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Yu(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Me(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(WD,` + `)}`}function Qi(t){return{toString:t}.toString()}var _n=(()=>(_n=_n||{},_n[_n.OnPush=0]="OnPush",_n[_n.Default=1]="Default",_n))(),Fe=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Fe||(Fe={})),Fe))(),Qt={},Oe=[],XD=ee({\u0275cmp:ee}),JD=ee({\u0275dir:ee}),eE=ee({\u0275pipe:ee}),tE=ee({\u0275mod:ee}),ra=ee({\u0275fac:ee}),Li=ee({__NG_ELEMENT_ID__:ee}),Jp=ee({__NG_ENV_ID__:ee});function Wm(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function Qu(t,e,r){let n=0;for(;ne){s=o-1;break}}}for(;oo?f="":f=i[d+1].toLowerCase();let p=n&8?f:null;if(p&&Wm(p,u,0)!==-1||n&2&&u!==f){if(ft(n))return!1;s=!0}}}}return ft(n)||s}function ft(t){return(t&1)===0}function sE(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ft(s)&&(e+=tm(o,i),i=""),n=s,o=o||!ft(n);r++}return i!==""&&(e+=tm(o,i)),e}function fE(t){return t.map(dE).join(",")}function hE(t){let e=[],r=[],n=1,i=2;for(;n{let e=eg(t),r=Y(_({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===_n.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Fe.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});tg(r);let n=t.dependencies;return r.directiveDefs=rm(n,!1),r.pipeDefs=rm(n,!0),r.id=gE(r),r})}function pE(t){return Dn(t)||Ql(t)}function mE(t){return t!==null}function G(t){return Qi(()=>({type:t.type,bootstrap:t.bootstrap||Oe,declarations:t.declarations||Oe,imports:t.imports||Oe,exports:t.exports||Oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function nm(t,e){if(t==null)return Qt;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),r[i]=n,e&&(e[i]=o)}return r}function me(t){return Qi(()=>{let e=eg(t);return tg(e),e})}function Ym(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Dn(t){return t[XD]||null}function Ql(t){return t[JD]||null}function Qm(t){return t[eE]||null}function Xm(t){let e=Dn(t)||Ql(t)||Qm(t);return e!==null?e.standalone:!1}function Jm(t,e){let r=t[tE]||null;if(!r&&e===!0)throw new Error(`Type ${Me(t)} does not have '\u0275mod' property.`);return r}function eg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Qt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nm(t.inputs,e),outputs:nm(t.outputs)}}function tg(t){t.features?.forEach(e=>e(t))}function rm(t,e){if(!t)return null;let r=e?Qm:pE;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(mE)}function gE(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Ft=0,B=1,z=2,pe=3,pt=4,Pi=5,je=6,Ui=7,Je=8,Br=9,qn=10,re=11,$i=12,im=13,Gr=14,mt=15,Xi=16,Fr=17,Mt=18,Ta=19,ng=20,wn=21,ia=22,Gs=23,Ks=24,ke=25;var Xl=1,rg=2,Gn=7,oa=8,Ur=9;var Le=11;function zn(t){return Array.isArray(t)&&typeof t[Xl]=="object"}function tn(t){return Array.isArray(t)&&t[Xl]===!0}function Jl(t){return(t.flags&4)!==0}function Ma(t){return t.componentOffset>-1}function Aa(t){return(t.flags&1)===1}function Xt(t){return!!t.template}function yE(t){return(t[z]&512)!==0}function Kn(t,e){let r=t.hasOwnProperty(ra);return r?t[ra]:null}var vE=Symbol("SIGNAL");function ed(t,e,r={}){return e[vE]=t,Object.assign(e,r)}function ig(t,e){return(t===null||typeof t!="object")&&Object.is(t,e)}var Xu=class{constructor(e){this.ref=e}deref(){return this.ref}},bE=Ce.WeakRef??Xu;function _E(t){return new bE(t)}var wE=0,St=null,js=!1;function _e(t){let e=St;return St=t,e}var $r=class{constructor(){this.id=wE++,this.ref=_E(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(let[e,r]of this.producers){let n=r.producerNode.deref();if(n===void 0||r.atTrackingVersion!==this.trackingVersion){this.producers.delete(e),n?.consumers.delete(this.id);continue}if(n.producerPollStatus(r.seenValueVersion))return!0}return!1}producerMayHaveChanged(){let e=js;js=!0;try{for(let[r,n]of this.consumers){let i=n.consumerNode.deref();if(i===void 0||i.trackingVersion!==n.atTrackingVersion){this.consumers.delete(r),i?.producers.delete(this.id);continue}i.onConsumerDependencyMayHaveChanged()}}finally{js=e}}producerAccessed(){if(js)throw new Error("");if(St===null)return;let e=St.producers.get(this.id);e===void 0?(e={consumerNode:St.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:St.trackingVersion},St.producers.set(this.id,e),this.consumers.set(St.id,e)):(e.seenValueVersion=this.valueVersion,e.atTrackingVersion=St.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return St?.consumerAllowSignalWrites!==!1}producerPollStatus(e){return this.valueVersion!==e?!0:(this.onProducerUpdateValueVersion(),this.valueVersion!==e)}};function xa(t,e){let r=new Ju(t,e?.equal??ig);return ed(r,r.signal.bind(r))}var Ru=Symbol("UNSET"),Nu=Symbol("COMPUTING"),Vs=Symbol("ERRORED"),Ju=class extends $r{constructor(e,r){super(),this.computation=e,this.equal=r,this.value=Ru,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==Ru&&this.value!==Nu&&!this.consumerPollProducersForChange()){this.stale=!1;return}this.recomputeValue()}}recomputeValue(){if(this.value===Nu)throw new Error("Detected cycle in computations.");let e=this.value;this.value=Nu,this.trackingVersion++;let r=_e(this),n;try{n=this.computation()}catch(i){n=Vs,this.error=i}finally{_e(r)}if(this.stale=!1,e!==Ru&&e!==Vs&&n!==Vs&&this.equal(e,n)){this.value=e;return}this.value=n,this.valueVersion++}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===Vs)throw this.error;return this.value}};function DE(){throw new Error}var og=DE;function Ou(){og()}function EE(t){og=t}var om=null,el=class extends $r{constructor(e,r){super(),this.value=e,this.equal=r,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(e){this.producerUpdatesAllowed||Ou(),this.equal(this.value,e)||(this.value=e,this.valueVersion++,this.producerMayHaveChanged(),om?.())}update(e){this.producerUpdatesAllowed||Ou(),this.set(e(this.value))}mutate(e){this.producerUpdatesAllowed||Ou(),e(this.value),this.valueVersion++,this.producerMayHaveChanged(),om?.()}asReadonly(){return this.readonlySignal===void 0&&(this.readonlySignal=ed(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}};function td(t,e){let r=new el(t,e?.equal??ig);return ed(r,r.signal.bind(r),{set:r.set.bind(r),update:r.update.bind(r),mutate:r.mutate.bind(r),asReadonly:r.asReadonly.bind(r)})}function Kr(t){let e=_e(null);try{return t()}finally{_e(e)}}var sm=()=>{},tl=class extends $r{constructor(e,r,n){super(),this.watch=e,this.schedule=r,this.dirty=!1,this.cleanupFn=sm,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=n}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,this.trackingVersion!==0&&!this.consumerPollProducersForChange())return;let e=_e(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=sm,this.watch(this.registerOnCleanup)}finally{_e(e)}}cleanup(){this.cleanupFn()}},nl=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function nn(){return sg}function sg(t){return t.type.prototype.ngOnChanges&&(t.setInput=SE),CE}nn.ngInherit=!0;function CE(){let t=cg(this),e=t?.current;if(e){let r=t.previous;if(r===Qt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function SE(t,e,r,n){let i=this.declaredInputs[r],o=cg(t)||IE(t,{previous:Qt,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[i];s[i]=new nl(c&&c.currentValue,e,a===Qt),t[n]=e}var ag="__ngSimpleChanges__";function cg(t){return t[ag]||null}function IE(t,e){return t[ag]=e}var am=null;var It=function(t,e,r){am?.(t,e,r)},ug="svg",TE="math";function At(t){for(;Array.isArray(t);)t=t[Ft];return t}function ME(t){for(;Array.isArray(t);){if(typeof t[Xl]=="object")return t;t=t[Ft]}return null}function lg(t,e){return At(e[t])}function et(t,e){return At(e[t.index])}function dg(t,e){return t.data[e]}function nd(t,e){return t[e]}function Sn(t,e){let r=e[t];return zn(r)?r:r[Ft]}function AE(t){return(t[z]&4)===4}function xE(t){return(t[z]&128)===128}function RE(t){return tn(t[pe])}function Hr(t,e){return e==null?null:t[e]}function fg(t){t[Fr]=0}function NE(t){t[z]&1024||(t[z]|=1024,pg(t,1))}function hg(t){t[z]&1024&&(t[z]&=-1025,pg(t,-1))}function pg(t,e){let r=t[pe];if(r===null)return;r[Pi]+=e;let n=r;for(r=r[pe];r!==null&&(e===1&&n[Pi]===1||e===-1&&n[Pi]===0);)r[Pi]+=e,n=r,r=r[pe]}function mg(t,e){if((t[z]&256)===256)throw new v(911,!1);t[wn]===null&&(t[wn]=[]),t[wn].push(e)}function OE(t,e){if(t[wn]===null)return;let r=t[wn].indexOf(e);r!==-1&&t[wn].splice(r,1)}var H={lFrame:Dg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function FE(){return H.lFrame.elementDepthCount}function kE(){H.lFrame.elementDepthCount++}function PE(){H.lFrame.elementDepthCount--}function gg(){return H.bindingsEnabled}function yg(){return H.skipHydrationRootTNode!==null}function LE(t){return H.skipHydrationRootTNode===t}function jE(){H.skipHydrationRootTNode=null}function j(){return H.lFrame.lView}function oe(){return H.lFrame.tView}function g$(t){return H.lFrame.contextLView=t,t[Je]}function y$(t){return H.lFrame.contextLView=null,t}function Ae(){let t=vg();for(;t!==null&&t.type===64;)t=t.parent;return t}function vg(){return H.lFrame.currentTNode}function VE(){let t=H.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function tr(t,e){let r=H.lFrame;r.currentTNode=t,r.isParent=e}function rd(){return H.lFrame.isParent}function id(){H.lFrame.isParent=!1}function BE(){return H.lFrame.contextLView}function Ji(){let t=H.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function UE(){return H.lFrame.bindingIndex}function $E(t){return H.lFrame.bindingIndex=t}function eo(){return H.lFrame.bindingIndex++}function od(t){let e=H.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function HE(){return H.lFrame.inI18n}function zE(t,e){let r=H.lFrame;r.bindingIndex=r.bindingRootIndex=t,rl(e)}function WE(){return H.lFrame.currentDirectiveIndex}function rl(t){H.lFrame.currentDirectiveIndex=t}function sd(t){let e=H.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function bg(){return H.lFrame.currentQueryIndex}function ad(t){H.lFrame.currentQueryIndex=t}function qE(t){let e=t[B];return e.type===2?e.declTNode:e.type===1?t[je]:null}function _g(t,e,r){if(r&F.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&F.Host);)if(i=qE(o),i===null||(o=o[Gr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=H.lFrame=wg();return n.currentTNode=e,n.lView=t,!0}function cd(t){let e=wg(),r=t[B];H.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function wg(){let t=H.lFrame,e=t===null?null:t.child;return e===null?Dg(t):e}function Dg(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Eg(){let t=H.lFrame;return H.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Cg=Eg;function ud(){let t=Eg();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function GE(t){return(H.lFrame.contextLView=KE(t,H.lFrame.contextLView))[Je]}function KE(t,e){for(;t>0;)e=e[Gr],t--;return e}function nr(){return H.lFrame.selectedIndex}function Zn(t){H.lFrame.selectedIndex=t}function Zr(){let t=H.lFrame;return dg(t.tView,t.selectedIndex)}function v$(){H.lFrame.currentNamespace=ug}function ZE(){return H.lFrame.currentNamespace}var Sg=!0;function Ra(){return Sg}function Na(t){Sg=t}function YE(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=sg(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Oa(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[Fr]+=65536),(a>13>16&&(t[z]&3)===e&&(t[z]+=8192,cm(a,o)):cm(a,o)}var jr=-1,Yn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function XE(t){return t instanceof Yn}function JE(t){return(t.flags&8)!==0}function e0(t){return(t.flags&16)!==0}function Tg(t){return t!==jr}function sa(t){let e=t&32767;return t&32767}function t0(t){return t>>16}function aa(t,e){let r=t0(t),n=e;for(;r>0;)n=n[Gr],r--;return n}var il=!0;function ca(t){let e=il;return il=t,e}var n0=256,Mg=n0-1,Ag=5,r0=0,Tt={};function i0(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Li)&&(n=r[Li]),n==null&&(n=r[Li]=r0++);let i=n&Mg,o=1<>Ag)]|=o}function ua(t,e){let r=xg(t,e);if(r!==-1)return r;let n=e[B];n.firstCreatePass&&(t.injectorIndex=e.length,ku(n.data,t),ku(e,null),ku(n.blueprint,null));let i=ld(t,e),o=t.injectorIndex;if(Tg(i)){let s=sa(i),a=aa(i,e),c=a[B].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function ku(t,e){t.push(0,0,0,0,0,0,0,0,e)}function xg(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ld(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=kg(i),n===null)return jr;if(r++,i=i[Gr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return jr}function ol(t,e,r){i0(t,e,r)}function o0(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+l,f=i?a+l:u;for(let p=d;p=c&&m.type===r)return p}if(i){let p=s[c];if(p&&Xt(p)&&p.type===r)return c}return null}function Qn(t,e,r,n){let i=t[r],o=e.data;if(XE(i)){let s=i;s.resolving&&jD(LD(o[r]));let a=ca(s.canSeeViewProviders);s.resolving=!0;let c=s.injectImpl?Xe(s.injectImpl):null,u=_g(t,n,F.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&YE(r,o[r],e)}finally{c!==null&&Xe(c),ca(a),s.resolving=!1,Cg()}}return i}function a0(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Li)?t[Li]:void 0;return typeof e=="number"?e>=0?e&Mg:c0:e}function um(t,e,r){let n=1<>Ag)]&n)}function lm(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var Wn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Og(this._tNode,this._lView,e,Ia(n),r)}};function c0(){return new Wn(Ae(),j())}function to(t){return Qi(()=>{let e=t.prototype.constructor,r=e[ra]||sl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[ra]||sl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function sl(t){return Lm(t)?()=>{let e=sl(Ee(t));return e&&e()}:Kn(t)}function u0(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[z]&2048&&!(s[z]&512);){let a=Fg(o,s,r,n|F.Self,Tt);if(a!==Tt)return a;let c=o.parent;if(!c){let u=s[ng];if(u){let l=u.get(r,Tt,n);if(l!==Tt)return l}c=kg(s),s=s[Gr]}o=c}return i}function kg(t){let e=t[B],r=e.type;return r===2?e.declTNode:r===1?t[je]:null}function no(t){return o0(Ae(),t)}var Bs="__parameters__";function l0(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function dd(t,e,r){return Qi(()=>{let n=l0(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Bs)?c[Bs]:Object.defineProperty(c,Bs,{value:[]})[Bs];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function d0(t){let e=Ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function f0(t){return typeof t=="function"}function h0(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?fd(r,e):e(r))}function Pg(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function la(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Lg(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function Fa(t,e,r){let n=ro(t,e);return n>=0?t[n|1]=r:(n=~n,m0(t,n,e,r)),n}function Pu(t,e){let r=ro(t,e);if(r>=0)return t[r|1]}function ro(t,e){return g0(t,e,1)}function g0(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<({token:t})),-1),rr=Yl(dd("Optional"),8);var io=Yl(dd("SkipSelf"),4);function y0(t){let e=[],r=new Map;function n(i){let o=r.get(i);if(!o){let s=t(i);r.set(i,o=s.then(w0))}return o}return da.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(d=>{i.template=d}));let a=i.styleUrls,c=i.styles||(i.styles=[]),u=i.styles.length;a&&a.forEach((d,f)=>{c.push(""),s.push(n(d).then(p=>{c[u+f]=p,a.splice(a.indexOf(d),1),a.length==0&&(i.styleUrls=void 0)}))});let l=Promise.all(s).then(()=>D0(o));e.push(l)}),b0(),Promise.all(e).then(()=>{})}var da=new Map,v0=new Set;function b0(){let t=da;return da=new Map,t}function _0(){return da.size===0}function w0(t){return typeof t=="string"?t:t.text()}function D0(t){v0.delete(t)}function al(t){return(t.flags&128)===128}var Re=(()=>(Re=Re||{},Re[Re.Important=1]="Important",Re[Re.DashCase=2]="DashCase",Re))(),E0=/^>|^->||--!>|)/,S0="\u200B$1\u200B";function I0(t){return t.replace(E0,e=>e.replace(C0,S0))}var jg=new Map,T0=0;function M0(){return T0++}function A0(t){jg.set(t[Ta],t)}function x0(t){jg.delete(t[Ta])}var dm="__ngContext__";function En(t,e){zn(e)?(t[dm]=e[Ta],A0(e)):t[dm]=e}var R0;function pd(t,e){return R0(t,e)}function md(t){let e=t[pe];return tn(e)?e[pe]:e}function Vg(t){return Ug(t[$i])}function Bg(t){return Ug(t[pt])}function Ug(t){for(;t!==null&&!tn(t);)t=t[pt];return t}function kr(t,e,r,n,i){if(n!=null){let o,s=!1;tn(n)?o=n:zn(n)&&(s=!0,n=n[Ft]);let a=At(n);t===0&&r!==null?i==null?qg(e,r,a):fa(e,r,a,i||null,!0):t===1&&r!==null?fa(e,r,a,i||null,!0):t===2?K0(e,a,s):t===3&&e.destroyNode(a),o!=null&&Y0(e,t,o,r,i)}}function N0(t,e){return t.createText(e)}function O0(t,e,r){t.setValue(e,r)}function F0(t,e){return t.createComment(I0(e))}function $g(t,e,r){return t.createElement(e,r)}function k0(t,e){let r=e[re];oo(t,e,r,2,null,null),e[Ft]=null,e[je]=null}function P0(t,e,r,n,i,o){n[Ft]=i,n[je]=e,oo(t,n,r,1,i,o)}function L0(t,e){oo(t,e,e[re],2,null,null)}function j0(t){let e=t[$i];if(!e)return Lu(t[B],t);for(;e;){let r=null;if(zn(e))r=e[$i];else{let n=e[Le];n&&(r=n)}if(!r){for(;e&&!e[pt]&&e!==t;)zn(e)&&Lu(e[B],e),e=e[pe];e===null&&(e=t),zn(e)&&Lu(e[B],e),r=e&&e[pt]}e=r}}function V0(t,e,r,n){let i=Le+n,o=r.length;n>0&&(r[i-1][pt]=e),n0&&(t[r-1][pt]=n[pt]);let o=la(t,Le+e);k0(n[B],n);let s=o[Mt];s!==null&&s.detachView(o[B]),n[pe]=null,n[pt]=null,n[z]&=-129}return n}function zg(t,e){if(!(e[z]&256)){let r=e[re];e[Gs]?.destroy(),e[Ks]?.destroy(),r.destroyNode&&oo(t,e,r,3,null,null),j0(e)}}function Lu(t,e){if(!(e[z]&256)){e[z]&=-129,e[z]|=256,$0(t,e),U0(t,e),e[B].type===1&&e[re].destroy();let r=e[Xi];if(r!==null&&tn(e[pe])){r!==e[pe]&&Hg(r,e);let n=e[Mt];n!==null&&n.detachView(t)}x0(e)}}function U0(t,e){let r=t.cleanup,n=e[Ui];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Ui]=null);let i=e[wn];if(i!==null){e[wn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Fe.None||o===Fe.Emulated)return null}return et(n,r)}}function fa(t,e,r,n,i){t.insertBefore(e,r,n,i)}function qg(t,e,r){t.appendChild(e,r)}function fm(t,e,r,n,i){n!==null?fa(t,e,r,n,i):qg(t,e,r)}function z0(t,e,r,n){t.removeChild(e,r,n)}function gd(t,e){return t.parentNode(e)}function W0(t,e){return t.nextSibling(e)}function Gg(t,e,r){return G0(t,e,r)}function q0(t,e,r){return t.type&40?et(t,r):null}var G0=q0,hm;function ka(t,e,r,n){let i=Wg(t,n,e),o=e[re],s=n.parent||e[je],a=Gg(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return Us}function Pa(t){return J0()?.createHTML(t)||t}var ll;function Xg(t){ll=t}function eC(){if(ll!==void 0)return ll;if(typeof document<"u")return document;throw new v(210,!1)}var $s;function tC(){if($s===void 0&&($s=null,Ce.trustedTypes))try{$s=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return $s}function pm(t){return tC()?.createScriptURL(t)||t}var Jt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vm})`}},dl=class extends Jt{getTypeName(){return"HTML"}},fl=class extends Jt{getTypeName(){return"Style"}},hl=class extends Jt{getTypeName(){return"Script"}},pl=class extends Jt{getTypeName(){return"URL"}},ml=class extends Jt{getTypeName(){return"ResourceURL"}};function kt(t){return t instanceof Jt?t.changingThisBreaksApplicationSecurity:t}function In(t,e){let r=nC(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Vm})`)}return r===e}function nC(t){return t instanceof Jt&&t.getTypeName()||null}function Jg(t){return new dl(t)}function ey(t){return new fl(t)}function ty(t){return new hl(t)}function ny(t){return new pl(t)}function ry(t){return new ml(t)}function rC(t){let e=new yl(t);return iC()?new gl(e):e}var gl=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Pa(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},yl=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Pa(e),r}};function iC(){try{return!!new window.DOMParser().parseFromString(Pa(""),"text/html")}catch{return!1}}var oC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function La(t){return t=String(t),t.match(oC)?t:"unsafe:"+t}function rn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function so(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var iy=rn("area,br,col,hr,img,wbr"),oy=rn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sy=rn("rp,rt"),sC=so(sy,oy),aC=so(oy,rn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cC=so(sy,rn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),mm=so(iy,aC,cC,sC),ay=rn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),uC=rn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lC=rn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),dC=so(ay,uC,lC),fC=rn("script,style,template"),vl=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!mm.hasOwnProperty(r))return this.sanitizedSomething=!0,!fC.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e.nodeName.toLowerCase();mm.hasOwnProperty(r)&&!iy.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(gm(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},hC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pC=/([^\#-~ |!])/g;function gm(t){return t.replace(/&/g,"&").replace(hC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(pC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Hs;function cy(t,e){let r=null;try{Hs=Hs||rC(t);let n=e?String(e):"";r=Hs.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Hs.getInertBodyElement(n)}while(n!==o);let a=new vl().sanitizeChildren(ym(r)||r);return Pa(a)}finally{if(r){let n=ym(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function ym(t){return"content"in t&&mC(t)?t.content:null}function mC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Q=(()=>(Q=Q||{},Q[Q.NONE=0]="NONE",Q[Q.HTML=1]="HTML",Q[Q.STYLE=2]="STYLE",Q[Q.SCRIPT=3]="SCRIPT",Q[Q.URL=4]="URL",Q[Q.RESOURCE_URL=5]="RESOURCE_URL",Q))();function gC(t){let e=ly();return e?e.sanitize(Q.URL,t)||"":In(t,"URL")?kt(t):La(Vr(t))}function yC(t){let e=ly();if(e)return pm(e.sanitize(Q.RESOURCE_URL,t)||"");if(In(t,"ResourceURL"))return pm(kt(t));throw new v(904,!1)}function vC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?yC:gC}function uy(t,e,r){return vC(e,r)(t)}function ly(){let t=j();return t&&t[qn].sanitizer}var y=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=b({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},Yr=new y("ENVIRONMENT_INITIALIZER"),dy=new y("INJECTOR",-1),fy=new y("INJECTOR_DEF_TYPES"),ha=class{get(e,r=Vi){if(r===Vi){let n=new Error(`NullInjectorError: No provider for ${Me(e)}!`);throw n.name="NullInjectorError",n}return r}};function ao(t){return{\u0275providers:t}}function bC(...t){return{\u0275providers:hy(!0,t),\u0275fromNgModule:!0}}function hy(t,...e){let r=[],n=new Set,i;return fd(e,o=>{let s=o;bl(s,r,[],n)&&(i||=[],i.push(s))}),i!==void 0&&py(i,r),r}function py(t,e){for(let r=0;r{e.push(o)})}}function bl(t,e,r,n){if(t=Ee(t),!t)return!1;let i=null,o=Yp(t),s=!o&&Dn(t);if(!o&&!s){let c=t.ngModule;if(o=Yp(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)bl(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;try{fd(o.imports,l=>{bl(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&py(u,e)}if(!a){let u=Kn(i)||(()=>new i);e.push({provide:i,useFactory:u,deps:Oe},{provide:fy,useValue:i,multi:!0},{provide:Yr,useValue:()=>h(i),multi:!0})}let c=o.providers;if(c!=null&&!a){let u=t;vd(c,l=>{e.push(l)})}}else return!1;return i!==t&&t.providers!==void 0}function vd(t,e){for(let r of t)jm(r)&&(r=r.\u0275providers),Array.isArray(r)?vd(r,e):e(r)}var _C=ee({provide:String,useValue:ee});function my(t){return t!==null&&typeof t=="object"&&_C in t}function wC(t){return!!(t&&t.useExisting)}function DC(t){return!!(t&&t.useFactory)}function zr(t){return typeof t=="function"}function EC(t){return!!t.useClass}var ja=new y("Set Injector scope."),Js={},CC={},ju;function bd(){return ju===void 0&&(ju=new ha),ju}var Ne=class{},pa=class extends Ne{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wl(e,s=>this.processProvider(s)),this.records.set(dy,Pr(void 0,this)),i.has("environment")&&this.records.set(Ne,Pr(void 0,this));let o=this.records.get(ja);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(fy.multi,Oe,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Or(this),n=Xe(void 0);try{return e()}finally{Or(r),Xe(n)}}get(e,r=Vi,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Jp))return e[Jp](this);n=Ia(n);let i=Or(this),o=Xe(void 0);try{if(!(n&F.SkipSelf)){let a=this.records.get(e);if(a===void 0){let c=AC(e)&&Sa(e);c&&this.injectableDefInScope(c)?a=Pr(_l(e),Js):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&F.Self?bd():this.parent;return r=n&F.Optional&&r===Vi?null:r,s.get(e,r)}catch(s){if(s.name==="NullInjectorError"){if((s[na]=s[na]||[]).unshift(Me(e)),i)throw s;return YD(s,e,"R3InjectorError",this.source)}else throw s}finally{Xe(o),Or(i)}}resolveInjectorInitializers(){let e=Or(this),r=Xe(void 0);try{let n=this.get(Yr.multi,Oe,F.Self);for(let i of n)i()}finally{Or(e),Xe(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Me(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=Ee(e);let r=zr(e)?e:Ee(e&&e.provide),n=IC(e);if(!zr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Pr(void 0,Js,!0),i.factory=()=>Yu(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}else{let i=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===Js&&(r.value=CC,r.value=r.factory()),typeof r.value=="object"&&r.value&&MC(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ee(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function _l(t){let e=Sa(t),r=e!==null?e.factory:Kn(t);if(r!==null)return r;if(t instanceof y)throw new v(204,!1);if(t instanceof Function)return SC(t);throw new v(204,!1)}function SC(t){let e=t.length;if(e>0){let n=Lg(e,"?");throw new v(204,!1)}let r=UD(t);return r!==null?()=>r.factory(t):()=>new t}function IC(t){if(my(t))return Pr(void 0,t.useValue);{let e=gy(t);return Pr(e,Js)}}function gy(t,e,r){let n;if(zr(t)){let i=Ee(t);return Kn(i)||_l(i)}else if(my(t))n=()=>Ee(t.useValue);else if(DC(t))n=()=>t.useFactory(...Yu(t.deps||[]));else if(wC(t))n=()=>h(Ee(t.useExisting));else{let i=Ee(t&&(t.useClass||t.provide));if(TC(t))n=()=>new i(...Yu(t.deps));else return Kn(i)||_l(i)}return n}function Pr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function TC(t){return!!t.deps}function MC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function AC(t){return typeof t=="function"||typeof t=="object"&&t instanceof y}function wl(t,e){for(let r of t)Array.isArray(r)?wl(r,e):r&&jm(r)?wl(r.\u0275providers,e):e(r)}var Qr=new y("AppId",{providedIn:"root",factory:()=>xC}),xC="ng",_d=new y("Platform Initializer"),Pt=new y("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Lt=new y("AnimationModuleType"),co=new y("CSP nonce",{providedIn:"root",factory:()=>eC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var RC="h",NC="b";var OC=(t,e)=>null;function yy(t,e){return OC(t,e)}var Dl=class{},ma=class{};function FC(t){let e=Error(`No component factory found for ${Me(t)}.`);return e[kC]=t,e}var kC="ngComponent";var El=class{resolveComponentFactory(e){throw FC(e)}},Va=(()=>{let e=class{},t=e;return(()=>{e.NULL=new El})(),t})();function PC(){return Xr(Ae(),j())}function Xr(t,e){return new le(et(t,e))}var le=(()=>{let e=class{constructor(n){this.nativeElement=n}},t=e;return(()=>{e.__NG_ELEMENT_ID__=PC})(),t})();function LC(t){return t instanceof le?t.nativeElement:t}var xt=class{},uo=(()=>{let e=class{constructor(){this.destroyNode=null}},t=e;return(()=>{e.__NG_ELEMENT_ID__=()=>jC()})(),t})();function jC(){let t=j(),e=Ae(),r=Sn(e.index,t);return(zn(r)?r:t)[re]}var VC=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null})})(),t})(),Xn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},BC=new Xn("16.1.3"),Vu={};function Ba(t){for(;t;){t[z]|=64;let e=md(t);if(yE(t)&&!e)return t;t=e}return null}var UC="ngOriginalError";function Bu(t){return t[UC]}var Ve=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Bu(e);for(;r&&Bu(r);)r=Bu(r);return r||null}};var vy=!1,$C=new y("",{providedIn:"root",factory:()=>vy});function by(t){return t instanceof Function?t():t}var ga=class extends $r{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(e){this._lView=e}onConsumerDependencyMayHaveChanged(){Ba(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(e,r,n){let i=_e(this);this.trackingVersion++;try{e(r,n)}finally{_e(i)}}destroy(){this.trackingVersion++}},ya=null;function _y(){return ya??=new ga,ya}function wy(t,e){return t[e]??_y()}function Dy(t,e){let r=_y();r.hasReadASignal&&(t[e]=ya,r.lView=t,ya=new ga)}var Be={};function lo(t){Ey(oe(),j(),nr()+t,!1)}function Ey(t,e,r,n){if(!n)if((e[z]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Zs(e,o,r)}else{let o=t.preOrderHooks;o!==null&&Ys(e,o,0,r)}Zn(r)}function fo(t){if(!Hm()&&!GD())throw new v(-203,!1)}function vm(t,e=null,r=null,n){let i=Cy(t,e,r,n);return i.resolveInjectorInitializers(),i}function Cy(t,e=null,r=null,n,i=new Set){let o=[r||Oe,bC(t)];return n=n||(typeof t=="object"?void 0:Me(t)),new pa(o,e||bd(),n||null,i)}var Ue=(()=>{let e=class{static create(n,i){if(Array.isArray(n))return vm({name:""},i,n,"");{let o=n.name??"";return vm({name:o},n.parent,n.providers,o)}}},t=e;return(()=>{e.THROW_IF_NOT_FOUND=Vi})(),(()=>{e.NULL=new ha})(),(()=>{e.\u0275prov=b({token:e,providedIn:"any",factory:()=>h(dy)})})(),(()=>{e.__NG_ELEMENT_ID__=-1})(),t})();function x(t,e=F.Default){let r=j();if(r===null)return h(t,e);let n=Ae();return Og(n,r,Ee(t),e)}function Ua(){let t="invalid";throw new Error(t)}function HC(t,e){let r=t.hostBindingOpCodes;if(r===null)return;let n=wy(e,Ks);try{for(let i=0;ike&&Ey(t,e,ke,!1),It(a?2:0,i),a)o.runInContext(r,n,i);else{let u=_e(null);try{r(n,i)}finally{_e(u)}}}finally{a&&e[Gs]===null&&Dy(e,Gs),Zn(s),It(a?3:1,i)}}function wd(t,e,r){if(Jl(e)){let n=_e(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function ZC(t,e,r,n){let i=Oy(e);i.push(r),t.firstCreatePass&&Fy(t).push(n,i.length-1)}function YC(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return yg()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bm(t,e,r,n){for(let i in t)if(t.hasOwnProperty(i)){r=r===null?{}:r;let o=t[i];n===null?_m(r,e,i,o):n.hasOwnProperty(i)&&_m(r,e,n[i],o)}return r}function _m(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function QC(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function nS(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Ma(r)&&uS(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||ua(r,e),En(n,e);let s=r.initialInputs;for(let a=i;a{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=vS})(),(()=>{e.__NG_ENV_ID__=n=>n})(),t})(),Il=class extends ir{constructor(e){super(),this._lView=e}onDestroy(e){return mg(this._lView,e),()=>OE(this._lView,e)}};function vS(){return new Il(j())}var Ly=(()=>{let e=class{constructor(){this.all=new Set,this.queue=new Map}create(n,i,o){let s=typeof Zone>"u"?null:Zone.current,a=new tl(n,l=>{this.all.has(l)&&this.queue.set(l,s)},o);this.all.add(a),a.notify();let c,u=()=>{a.cleanup(),c?.(),this.all.delete(a),this.queue.delete(a)};return c=i?.onDestroy(u),{destroy:u}}flush(){if(this.queue.size!==0)for(let[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return this.queue.size===0}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e})})(),t})();function Md(t,e){!e?.injector&&fo(Md);let r=e?.injector??E(Ue),n=r.get(Ly),i=e?.manualCleanup!==!0?r.get(ir):null;return n.create(t,i,!!e?.allowSignalWrites)}function va(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0){By(t,1);let i=t[B].components;i!==null&&$y(t,i,1)}}function $y(t,e,r){for(let n=0;n-1&&(cl(e,n),la(r,n))}this._attachedToViewContainer=!1}zg(this._lView[B],this._lView)}onDestroy(e){mg(this._lView,e)}markForCheck(){Ba(this._cdRefInjectingView||this._lView)}detach(){this._lView[z]&=-129}reattach(){this._lView[z]|=128}detectChanges(){jy(this._lView[B],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,L0(this._lView[B],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e}},Tl=class extends Jn{constructor(e){super(e),this._view=e}detectChanges(){let e=this._view,r=e[B],n=e[Je];jy(r,e,n,!1)}checkNoChanges(){}get context(){return null}},ba=class extends Va{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Dn(e);return new Wr(r,this.ngModule)}};function wm(t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push({propName:n,templateName:r})}return e}function wS(t){let e=t.toLowerCase();return e==="svg"?ug:e==="math"?TE:null}var Ml=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ia(n);let i=this.injector.get(e,Vu,n);return i!==Vu||r===Vu?i:this.parentInjector.get(e,r,n)}},Wr=class extends ma{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=wm(e.inputs);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return wm(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=fE(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){i=i||this.ngModule;let o=i instanceof Ne?i:i?.injector;o&&this.componentDef.getStandaloneInjector!==null&&(o=this.componentDef.getStandaloneInjector(o)||o);let s=o?new Ml(e,o):e,a=s.get(xt,null);if(a===null)throw new v(407,!1);let c=s.get(VC,null),u=s.get(Ly,null),l={rendererFactory:a,sanitizer:c,effectManager:u},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=n?qC(d,n,this.componentDef.encapsulation,s):$g(d,f,wS(f)),m=4608,g=this.componentDef.onPush?576:528,w=this.componentDef.signals?m:g,D=Cd(0,null,null,1,0,null,null,null,null,null,null),O=$a(null,D,null,w,null,null,l,d,s,null,null);cd(O);let X,L;try{let de=this.componentDef,ue,fe=null;de.findHostDirectiveDefs?(ue=[],fe=new Map,de.findHostDirectiveDefs(de,ue,fe),ue.push(de)):ue=[de];let ot=DS(O,p),st=ES(ot,p,de,ue,O,l,d);L=dg(D,ke),p&&IS(d,de,p,n),r!==void 0&&TS(L,this.ngContentSelectors,r),X=SS(st,de,ue,fe,O,[MS]),Td(D,O,null)}finally{ud()}return new Al(this.componentType,X,Xr(L,O),O,L)}},Al=class extends Dl{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Tl(i),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;Id(o[B],o,i,e,r),this.previousInputValues.set(e,r);let s=Sn(this._tNode.index,o);Ba(s)}}get injector(){return new Wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function DS(t,e){let r=t[B],n=ke;return t[n]=e,Jr(r,n,2,"#host",null)}function ES(t,e,r,n,i,o,s){let a=i[B];CS(n,t,e,s);let c=null;e!==null&&(c=yy(e,i[Br]));let u=o.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=$a(i,Ty(r),null,l,i[t.index],t,o,u,null,null,c);return a.firstCreatePass&&Cl(a,t,n.length-1),Ha(i,d),i[t.index]=d}function CS(t,e,r,n){for(let i of t)e.mergedAttrs=Bi(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(va(e,e.mergedAttrs,!0),r!==null&&Qg(n,r,e))}function SS(t,e,r,n,i,o){let s=Ae(),a=i[B],c=et(s,i);My(a,i,s,r,null,n);for(let l=0;l0&&Yg(t,r,o.join(" "))}}function TS(t,e,r){let n=t.projection=[];for(let i=0;i=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Bi(i.hostAttrs,r=Bi(r,i.hostAttrs))}}function zs(t){return t===Qt?{}:t===Oe?[]:t}function RS(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function NS(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function OS(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function b$(t){return e=>{e.findHostDirectiveDefs=Hy,e.hostDirectives=(Array.isArray(t)?t:t()).map(r=>typeof r=="function"?{directive:Ee(r),inputs:Qt,outputs:Qt}:{directive:Ee(r.directive),inputs:Dm(r.inputs),outputs:Dm(r.outputs)})}}function Hy(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let i=Ql(n.directive);FS(i.declaredInputs,n.inputs),Hy(i,e,r),r.set(i,n),e.push(i)}}function Dm(t){if(t===void 0||t.length===0)return Qt;let e={};for(let r=0;r=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function w$(t){let e=BE();return nd(e,ke+t)}function po(t,e,r){let n=j(),i=eo();if(Rt(n,i,e)){let o=oe(),s=Zr();ho(o,s,n,t,e,n[re],r,!1)}return po}function xl(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";Id(t,r,o[s],s,n)}function HS(t,e,r,n,i,o){let s=e.consts,a=Hr(s,i),c=Jr(e,t,2,n,a);return Sd(e,r,c,Hr(s,o)),c.attrs!==null&&va(c,c.attrs,!1),c.mergedAttrs!==null&&va(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function or(t,e,r,n){let i=j(),o=oe(),s=ke+t,a=i[re],c=o.firstCreatePass?HS(s,o,i,e,r,n):o.data[s],u=zS(o,i,c,a,e,t);i[s]=u;let l=Aa(c);return tr(c,!0),Qg(a,u,c),(c.flags&32)!==32&&Ra()&&ka(o,i,u,c),FE()===0&&En(u,i),kE(),l&&(Dd(o,i,c),wd(o,c,i)),n!==null&&Ed(i,c),or}function sr(){let t=Ae();rd()?id():(t=t.parent,tr(t,!1));let e=t;LE(e)&&jE(),PE();let r=oe();return r.firstCreatePass&&(Oa(r,t),Jl(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&JE(e)&&xl(r,e,j(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&e0(e)&&xl(r,e,j(),e.stylesWithoutHost,!1),sr}function Mn(t,e,r,n){return or(t,e,r,n),sr(),Mn}var zS=(t,e,r,n,i,o)=>(Na(!0),$g(n,i,ZE()));function WS(t,e,r,n,i){let o=e.consts,s=Hr(o,n),a=Jr(e,t,8,"ng-container",s);s!==null&&va(a,s,!0);let c=Hr(o,i);return Sd(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function qy(t,e,r){let n=j(),i=oe(),o=t+ke,s=i.firstCreatePass?WS(o,i,n,e,r):i.data[o];tr(s,!0);let a=GS(i,n,s,t);return n[o]=a,Ra()&&ka(i,n,a,s),En(a,n),Aa(s)&&(Dd(i,n,s),wd(i,s,n)),r!=null&&Ed(n,s),qy}function Gy(){let t=Ae(),e=oe();return rd()?id():(t=t.parent,tr(t,!1)),e.firstCreatePass&&(Oa(e,t),Jl(t)&&e.queries.elementEnd(t)),Gy}function qS(t,e,r){return qy(t,e,r),Gy(),qS}var GS=(t,e,r,n)=>(Na(!0),F0(e[re],""));function D$(){return j()}function ei(t){return!!t&&typeof t.then=="function"}function Od(t){return!!t&&typeof t.subscribe=="function"}function za(t,e,r,n){let i=j(),o=oe(),s=Ae();return Ky(o,i,i[re],s,t,e,n),za}function KS(t,e){let r=Ae(),n=j(),i=oe(),o=sd(i.data),s=ky(o,r,n);return Ky(i,n,s,r,t,e),KS}function ZS(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function Ky(t,e,r,n,i,o,s){let a=Aa(n),u=t.firstCreatePass&&Fy(t),l=e[Je],d=Oy(e),f=!0;if(n.type&3||s){let g=et(n,e),w=s?s(g):g,D=d.length,O=s?L=>s(At(L[n.index])):n.index,X=null;if(!s&&a&&(X=ZS(t,e,i,n.index)),X!==null){let L=X.__ngLastListenerFn__||X;L.__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,f=!1}else{o=Cm(n,e,l,o,!1);let L=r.listen(w,i,o);d.push(o,L),u&&u.push(i,O,D,D+1)}}else o=Cm(n,e,l,o,!1);let p=n.outputs,m;if(f&&p!==null&&(m=p[i])){let g=m.length;if(g)for(let w=0;w-1?Sn(t.index,e):e;Ba(a);let c=Em(e,r,n,s),u=o.__ngNextListenerFn__;for(;u;)c=Em(e,r,u,s)&&c,u=u.__ngNextListenerFn__;return i&&c===!1&&s.preventDefault(),c}}function YS(t=1){return GE(t)}function QS(t,e){let r=null,n=aE(t);for(let i=0;i>17&32767}function eI(t){return(t&2)==2}function tI(t,e){return t&131071|e<<17}function Rl(t){return t|2}function qr(t){return(t&131068)>>2}function Uu(t,e){return t&-131069|e<<2}function nI(t){return(t&1)===1}function Nl(t){return t|1}function rI(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=er(s),c=qr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||ro(d,l)>0)&&(u=!0)}else l=r;if(i)if(c!==0){let f=er(t[a+1]);t[n+1]=Ws(f,a),f!==0&&(t[f+1]=Uu(t[f+1],n)),t[a+1]=tI(t[a+1],n)}else t[n+1]=Ws(a,0),a!==0&&(t[a+1]=Uu(t[a+1],n)),a=n;else t[n+1]=Ws(c,0),a===0?a=n:t[c+1]=Uu(t[c+1],n),c=n;u&&(t[n+1]=Rl(t[n+1])),Sm(t,l,n,!0,o),Sm(t,l,n,!1,o),iI(e,l,t,n,o),s=Ws(a,c),o?e.classBindings=s:e.styleBindings=s}function iI(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&ro(o,e)>=0&&(r[n+1]=Nl(r[n+1]))}function Sm(t,e,r,n,i){let o=t[r+1],s=e===null,a=n?er(o):qr(o),c=!1;for(;a!==0&&(c===!1||s);){let u=t[a],l=t[a+1];oI(u,e)&&(c=!0,t[a+1]=n?Nl(l):Rl(l)),a=n?er(l):qr(l)}c&&(t[r+1]=n?Rl(o):Nl(o))}function oI(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?ro(t,e)>=0:!1}var ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sI(t){return t.substring(ht.key,ht.keyEnd)}function aI(t){return cI(t),Zy(t,Yy(t,0,ht.textEnd))}function Zy(t,e){let r=ht.textEnd;return r===e?-1:(e=ht.keyEnd=uI(t,ht.key=e,r),Yy(t,e,r))}function cI(t){ht.key=0,ht.keyEnd=0,ht.value=0,ht.valueEnd=0,ht.textEnd=t.length}function Yy(t,e,r){for(;e32;)e++;return e}function Fd(t,e,r){return Xy(t,e,r,!1),Fd}function tt(t,e){return Xy(t,e,null,!0),tt}function E$(t){Jy(mI,Qy,t,!0)}function Qy(t,e){for(let r=aI(e);r>=0;r=Zy(e,r))Fa(t,sI(e),!0)}function Xy(t,e,r,n){let i=j(),o=oe(),s=od(2);if(o.firstUpdatePass&&tv(o,t,s,n),e!==Be&&Rt(i,s,e)){let a=o.data[nr()];nv(o,a,i,i[re],t,i[s+1]=yI(e,r),n,s)}}function Jy(t,e,r,n){let i=oe(),o=od(2);i.firstUpdatePass&&tv(i,null,o,n);let s=j();if(r!==Be&&Rt(s,o,r)){let a=i.data[nr()];if(rv(a,n)&&!ev(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Gu(c,r||"")),xl(i,a,s,r,n)}else gI(i,a,s,s[re],s[o+1],s[o+1]=pI(t,e,r),n,o)}}function ev(t,e){return e>=t.expandoStartIndex}function tv(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[nr()],s=ev(t,r);rv(o,n)&&e===null&&!s&&(e=!1),e=lI(i,o,e,n),rI(i,o,e,r,s,n)}}function lI(t,e,r,n){let i=sd(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=$u(null,t,e,r,n),r=Hi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=$u(i,t,e,r,n),o===null){let c=dI(t,e,n);c!==void 0&&Array.isArray(c)&&(c=$u(null,t,e,c[1],n),c=Hi(c,e.attrs,n),fI(t,e,n,c))}else o=hI(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function dI(t,e,r){let n=r?e.classBindings:e.styleBindings;if(qr(n)!==0)return t[er(n)]}function fI(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[er(i)]=n}function hI(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[i+1];f===Be&&(f=d?Oe:void 0);let p=d?Pu(f,n):l===n?f:void 0;if(u&&!_a(p)&&(p=Pu(c,n)),_a(p)&&(a=p,s))return a;let m=t[i+1];i=s?er(m):qr(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=Pu(c,n))}return a}function _a(t){return t!==void 0}function yI(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Me(kt(t)))),t}function rv(t,e){return(t.flags&(e?8:16))!==0}function vI(t,e=""){let r=j(),n=oe(),i=t+ke,o=n.firstCreatePass?Jr(n,i,1,e,null):n.data[i],s=bI(n,r,o,e,t);r[i]=s,Ra()&&ka(n,r,s,o),tr(o,!1)}var bI=(t,e,r,n,i)=>(Na(!0),N0(e[re],n));function _I(t){return kd("",t,""),_I}function kd(t,e,r){let n=j(),i=Nd(n,t,e,r);return i!==Be&&pS(n,nr(),i),kd}function C$(t,e,r){let n=j(),i=Nd(n,t,e,r);Jy(Fa,Qy,i,!0)}function iv(t,e,r){let n=j(),i=eo();if(Rt(n,i,e)){let o=oe(),s=Zr();ho(o,s,n,t,e,n[re],r,!0)}return iv}function wI(t,e,r){let n=j(),i=eo();if(Rt(n,i,e)){let o=oe(),s=Zr(),a=sd(o.data),c=ky(a,s,n);ho(o,s,n,t,e,c,r,!0)}return wI}var wa="en-US";var DI=wa;function EI(t){VD(t,"Expected localeId to be defined"),typeof t=="string"&&(DI=t.toLowerCase().replace(/_/g,"-"))}function CI(t,e,r){let n=oe();if(n.firstCreatePass){let i=Xt(t);Ol(r,n.data,n.blueprint,i,!0),Ol(e,n.data,n.blueprint,i,!1)}}function Ol(t,e,r,n,i){if(t=Ee(t),Array.isArray(t))for(let o=0;o>20;if(zr(t)||!t.multi){let p=new Yn(c,i,x),m=zu(a,e,i?l:l+f,d);m===-1?(ol(ua(u,s),o,a),Hu(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),r.push(p),s.push(p)):(r[m]=p,s[m]=p)}else{let p=zu(a,e,l+f,d),m=zu(a,e,l,l+f),g=p>=0&&r[p],w=m>=0&&r[m];if(i&&!w||!i&&!g){ol(ua(u,s),o,a);let D=TI(i?II:SI,r.length,i,n,c);!i&&w&&(r[m].providerFactory=D),Hu(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),r.push(D),s.push(D)}else{let D=ov(r[i?m:p],c,!i&&n);Hu(o,t,p>-1?p:m,D)}!i&&n&&w&&r[m].componentProviders++}}}function Hu(t,e,r,n){let i=zr(e),o=EC(e);if(i||o){let c=(o?Ee(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function ov(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function zu(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>CI(n,i?i(t):t,e)}}var en=class{},zi=class{};function sv(t,e){return new Wi(t,e??null,[])}var Wi=class extends en{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ba(this);let i=Jm(e);this._bootstrapComponents=by(i.bootstrap),this._r3Injector=Cy(e,r,[{provide:en,useValue:this},{provide:Va,useValue:this.componentFactoryResolver},...n],Me(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Da=class extends zi{constructor(e){super(),this.moduleType=e}create(e){return new Wi(this.moduleType,e,[])}};function MI(t,e,r){return new Wi(t,e,r)}var kl=class extends en{constructor(e){super(),this.componentFactoryResolver=new ba(this),this.instance=null;let r=new pa([...e.providers,{provide:en,useValue:this},{provide:Va,useValue:this.componentFactoryResolver}],e.parent||bd(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Wa(t,e,r=null){return new kl({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var AI=(()=>{let e=class{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){let i=hy(!1,n.type),o=i.length>0?Wa([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"environment",factory:()=>new e(h(Ne))})})(),t})();function Ld(t){t.getStandaloneInjector=e=>e.get(AI).getOrCreateStandaloneInjector(t)}function S$(t,e,r){let n=Ji()+t,i=j();return i[n]===Be?Rd(i,n,r?e.call(r):e()):PS(i,n)}function I$(t,e,r,n){return cv(j(),Ji(),t,e,r,n)}function T$(t,e,r,n,i){return uv(j(),Ji(),t,e,r,n,i)}function av(t,e){let r=t[e];return r===Be?void 0:r}function cv(t,e,r,n,i,o){let s=e+r;return Rt(t,s,i)?Rd(t,s+1,o?n.call(o,i):n(i)):av(t,s+1)}function uv(t,e,r,n,i,o,s){let a=e+r;return Wy(t,a,i,o)?Rd(t,a+2,s?n.call(s,i,o):n(i,o)):av(t,a+2)}function M$(t,e){let r=oe(),n,i=t+ke;r.firstCreatePass?(n=xI(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=Kn(n.type,!0)),s=Xe(x);try{let a=ca(!1),c=o();return ca(a),$S(r,j(),i,c),c}finally{Xe(s)}}function xI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function A$(t,e,r){let n=t+ke,i=j(),o=nd(i,n);return lv(i,n)?cv(i,Ji(),e,o.transform,r,o):o.transform(r)}function x$(t,e,r,n){let i=t+ke,o=j(),s=nd(o,i);return lv(o,i)?uv(o,Ji(),e,s.transform,r,n,s):s.transform(r,n)}function lv(t,e){return t[B].data[e].pure}var Pl=class extends ${constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=Wu(o),i&&(i=Wu(i)),s&&(s=Wu(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof J&&e.add(a),a}};function Wu(t){return e=>{setTimeout(t,void 0,e)}}var ce=Pl;function RI(){return this._results[Symbol.iterator]()}var Cn=class{get changes(){return this._changes||(this._changes=new ce)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let r=Cn.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=RI)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){let n=this;n.dirty=!1;let i=p0(e);(this._changesDetected=!h0(n._results,i,r))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},Nt=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=FI})(),t})(),NI=Nt,OI=class extends NI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r,null)}createEmbeddedViewImpl(e,r,n){let o=this._declarationLView[z]&4096?4096:16,s=this._declarationTContainer.tView,a=$a(this._declarationLView,s,e,o,null,s.declTNode,null,null,null,r||null,n||null),c=this._declarationLView[this._declarationTContainer.index];a[Xi]=c;let u=this._declarationLView[Mt];return u!==null&&(a[Mt]=u.createEmbeddedView(s)),Td(s,a,e),new Jn(a)}};function FI(){return qa(Ae(),j())}function qa(t,e){return t.type&4?new OI(e,t,Xr(t,e)):null}var kI=(t,e)=>null;function Tm(t,e){return kI(t,e)}var $e=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=PI})(),t})();function PI(){let t=Ae();return fv(t,j())}var LI=$e,dv=class extends LI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Xr(this._hostTNode,this._hostLView)}get injector(){return new Wn(this._hostTNode,this._hostLView)}get parentInjector(){let e=ld(this._hostTNode,this._hostLView);if(Tg(e)){let r=aa(e,this._hostLView),n=sa(e),i=r[B].data[n+8];return new Wn(i,r)}else return new Wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Mm(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Tm(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s),c=!!s&&!al(this._hostTNode);return this.insertImpl(a,i,c),a}createComponent(e,r,n,i,o){let s=e&&!f0(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?e:new Wr(Dn(e)),u=n||this.parentInjector;if(!o&&c.ngModule==null){let w=(s?u:this.parentInjector).get(Ne,null);w&&(o=w)}let l=Dn(c.componentType??{}),d=Tm(this._lContainer,l?.id??null),f=d?.firstChild??null,p=c.create(u,i,f,o),m=!!d&&!al(this._hostTNode);return this.insertImpl(p.hostView,a,m),p}insert(e,r){return this.insertImpl(e,r,!1)}insertImpl(e,r,n){let i=e._lView,o=i[B];if(RE(i)){let c=this.indexOf(e);if(c!==-1)this.detach(c);else{let u=i[pe],l=new dv(u,u[je],u[pe]);l.detach(l.indexOf(e))}}let s=this._adjustIndex(r),a=this._lContainer;if(V0(o,i,a,s),!n){let c=ul(s,a),u=i[re],l=gd(u,a[Gn]);l!==null&&P0(o,a[je],u,i,l,c)}return e.attachToViewContainerRef(),Pg(qu(a),s,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Mm(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=cl(this._lContainer,r);n&&(la(qu(this._lContainer),r),zg(n[B],n))}detach(e){let r=this._adjustIndex(e,-1),n=cl(this._lContainer,r);return n&&la(qu(this._lContainer),r)!=null?new Jn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Mm(t){return t[oa]}function qu(t){return t[oa]||(t[oa]=[])}function fv(t,e){let r,n=e[t.index];return tn(n)?r=n:(r=Ry(n,e,null,t),e[t.index]=r,Ha(e,r)),VI(r,e,t,n),new dv(r,t,e)}function jI(t,e){let r=t[re],n=r.createComment(""),i=et(e,t),o=gd(r,i);return fa(r,o,n,W0(r,i),!1),n}var VI=BI;function BI(t,e,r,n){if(t[Gn])return;let i;r.type&8?i=At(n):i=jI(e,r),t[Gn]=i}var qi=class{constructor(e){this.queryList=e,this.matches=null}clone(){return new qi(this.queryList)}setDirty(){this.queryList.setDirty()}},Gi=class{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let u=o[a+1],l=e[-c];for(let d=Le;d{let e=class{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=E(Ga,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(ei(s))n.push(s);else if(Od(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),ri=(()=>{let e=class{log(n){console.log(n)}warn(n){console.warn(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function ZI(){return typeof $localize<"u"&&$localize.locale||wa}var Ka=new y("LocaleId",{providedIn:"root",factory:()=>E(Ka,F.Optional|F.SkipSelf)||ZI()});var ii=(()=>{let e=class{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ae(!1)}add(){this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),jl=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Za=(()=>{let e=class{compileModuleSync(n){return new Da(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=Jm(n),s=by(o.declarations).reduce((a,c)=>{let u=Dn(c);return u&&a.push(new Wr(u)),a},[]);return new jl(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),YI=new y("compilerOptions");function Am(...t){}function QI(){let t=Ce.requestAnimationFrame,e=Ce.cancelAnimationFrame;if(typeof Zone<"u"&&t&&e){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}var P=class{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=QI().nativeRequestAnimationFrame,eT(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!P.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(P.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,XI,Am,Am);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},XI={};function jd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function JI(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ce,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Vl(t),t.isCheckStableRunning=!0,jd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Vl(t))}function eT(t){let e=()=>{JI(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{try{return xm(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Rm(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return xm(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Rm(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Vl(t),jd(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Vl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function xm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Rm(t){t._nesting--,jd(t)}var Bl=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}},vv=new y("",{providedIn:"root",factory:bv});function bv(){let t=E(P),e=!0,r=new M(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),n=new M(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let s=t.onUnstable.subscribe(()=>{P.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}});return Iu(r,n.pipe(bn()))}var Vd=new y(""),go=new y(""),Ya=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Bd||(tT(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(P),h(Qa),h(go))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Qa=(()=>{let e=class{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Bd?.findTestabilityInTree(this,n,i)??null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function tT(t){Bd=t}var Bd,ji=null,_v=new y("AllowMultipleToken"),wv=new y("PlatformDestroyListeners"),Xa=new y("appBootstrapListener");function nT(t,e,r){let n=new Da(r);return Promise.resolve(n)}function rT(){EE(()=>{throw new v(600,!1)})}function iT(t){return t.isBoundToModule}var Yi=class{constructor(e,r){this.name=e,this.token=r}};function oT(t){if(ji&&!ji.get(_v,!1))throw new v(400,!1);rT(),ji=t;let e=t.get(Ev);return sT(t),e}function sT(t){t.get(_d,null)?.forEach(r=>r())}function Ud(t,e,r=[]){let n=`Platform: ${e}`,i=new y(n);return(o=[])=>{let s=Dv();if(!s||s.injector.get(_v,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):oT(cT(a,n))}return aT(i)}}function aT(t){let e=Dv();if(!e)throw new v(401,!1);return e}function cT(t=[],e){return Ue.create({name:e,providers:[{provide:ja,useValue:"platform"},{provide:wv,useValue:new Set([()=>ji=null])},...t]})}function Dv(){return ji?.get(Ev)??null}var Ev=(()=>{let e=class{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=lT(i?.ngZone,uT({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=MI(n.moduleType,this.injector,pT(()=>o)),a=s.injector.get(Ve,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:u=>{a.handleError(u)}});s.onDestroy(()=>{ta(this._modules,s),c.unsubscribe()})}),dT(a,o,()=>{let c=s.injector.get(yv);return c.runInitializers(),c.donePromise.then(()=>{let u=s.injector.get(Ka,wa);return EI(u||wa),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,i=[]){let o=Cv({},i);return nT(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(on);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(wv,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Ue))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function uT(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function lT(t="zone.js",e){return t==="noop"?new Bl:t==="zone.js"?new P(e):t}function dT(t,e,r){try{let n=r();return ei(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Cv(t,e){return Array.isArray(e)?e.reduce(Cv,t):_(_({},t),e)}var on=(()=>{let e=class{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(Sv),this.zoneIsStable=E(vv),this.componentTypes=[],this.components=[],this.isStable=E(ii).hasPendingTasks.pipe(De(n=>n?S(!1):this.zoneIsStable),Kt(),bn()),this._injector=E(Ne)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof ma;if(!this._injector.get(yv).done){let m="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&Xm(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new v(405,!1)}let a;o?a=n:a=this._injector.get(Va).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=iT(a)?void 0:this._injector.get(en),u=i||a.selector,l=a.create(Ue.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Vd,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ta(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ta(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Xa,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ta(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function ta(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Nm(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Sv=new y("",{providedIn:"root",factory:()=>E(Ve).handleError.bind(void 0)});function fT(){let t=E(P),e=E(Ve);return r=>t.runOutsideAngular(()=>e.handleError(r))}var hT=(()=>{let e=class{constructor(){this.zone=E(P),this.applicationRef=E(on)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function pT(t){return[{provide:P,useFactory:t},{provide:Yr,multi:!0,useFactory:()=>{let e=E(hT,{optional:!0});return()=>e.initialize()}},{provide:Sv,useFactory:fT},{provide:vv,useFactory:bv}]}function $d(){return!1}var ur=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=mT})(),t})();function mT(t){return gT(Ae(),j(),(t&16)===16)}function gT(t,e,r){if(Ma(t)&&!r){let n=Sn(t.index,e);return new Jn(n,n)}else if(t.type&47){let n=e[mt];return new Jn(n,e)}return null}var Ul=class{constructor(){}supports(e){return zy(e)}create(e){return new $l(e)}},yT=(t,e)=>e,$l=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||yT}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new Hl(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ca),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ca),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Hl=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},zl=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Ca=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new zl,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Om(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new Gl(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},Gl=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Fm(){return new yo([new Ul])}var yo=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Fm()),deps:[[e,new io,new rr]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new v(901,!1)}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:Fm})})(),t})();function km(){return new Hd([new Wl])}var Hd=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||km()),deps:[[e,new io,new rr]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new v(901,!1)}},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:km})})(),t})();var Iv=Ud(null,"core",[]),Tv=(()=>{let e=class{constructor(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(on))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();function vo(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Mv(t){let e=Dn(t);if(!e)return null;let r=new Wr(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Wd=null;function lr(){return Wd}function Pv(t){Wd||(Wd=t)}var Ja=class{},W=new y("DocumentToken"),Qd=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(vT))()},providedIn:"platform"})})(),t})(),Lv=new y("Location Initialized"),vT=(()=>{let e=class extends Qd{constructor(){super(),this._doc=E(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return lr().getBaseHref(this._doc)}onPopState(n){let i=lr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=lr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>new e)()},providedIn:"platform"})})(),t})();function Xd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Av(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function sn(t){return t&&t[0]!=="?"?"?"+t:t}var an=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(Jd))()},providedIn:"root"})})(),t})(),jv=new y("appBaseHref"),Jd=(()=>{let e=class extends an{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??E(W).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Xd(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+sn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Qd),h(jv,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Vv=(()=>{let e=class extends an{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Xd(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+sn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Qd),h(jv,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),tc=(()=>{let e=class{constructor(n){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=wT(Av(xv(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+sn(i))}normalize(n){return e.stripTrailingSlash(_T(this._basePath,xv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+sn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+sn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}},t=e;return(()=>{e.normalizeQueryParams=sn})(),(()=>{e.joinWithSlash=Xd})(),(()=>{e.stripTrailingSlash=Av})(),(()=>{e.\u0275fac=function(i){return new(i||e)(h(an))}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return bT()},providedIn:"root"})})(),t})();function bT(){return new tc(h(an))}function _T(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function xv(t){return t.replace(/\/index.html$/,"")}function wT(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function nc(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var zd=/\s+/,Rv=[],J$=(()=>{let e=class{constructor(n,i,o,s){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=o,this._renderer=s,this.initialClasses=Rv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(zd):Rv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(zd):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(zd).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(yo),x(Hd),x(le),x(uo))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})})(),t})(),eH=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null}ngOnChanges(n){let{_viewContainerRef:i,ngComponentOutletNgModule:o,ngComponentOutletNgModuleFactory:s}=this;if(i.clear(),this._componentRef=void 0,this.ngComponentOutlet){let a=this.ngComponentOutletInjector||i.parentInjector;(n.ngComponentOutletNgModule||n.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),o?this._moduleRef=sv(o,Nv(a)):s?this._moduleRef=s.create(Nv(a)):this._moduleRef=void 0),this._componentRef=i.createComponent(this.ngComponentOutlet,{index:i.length,injector:a,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[nn]})})(),t})();function Nv(t){return t.get(en).injector}var qd=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},tH=(()=>{let e=class{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(!1)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new qd(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),Ov(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Ov(s,o)})}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt),x(yo))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})})(),t})();function Ov(t,e){t.context.$implicit=e.item}var nH=(()=>{let e=class{constructor(n,i){this._viewContainer=n,this._context=new Gd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Fv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Fv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})})(),t})(),Gd=class{constructor(){this.$implicit=null,this.ngIf=null}};function Fv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Me(e)}'.`)}var ec=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},Bv=(()=>{let e=class{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})})(),t})(),rH=(()=>{let e=class{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new ec(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt),x(Bv,9))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})})(),t})(),iH=(()=>{let e=class{constructor(n,i,o){o._addDefault(new ec(n,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e),x(Nt),x(Bv,9))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0})})(),t})();var oH=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(n.ngTemplateOutlet||n.ngTemplateOutletInjector){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){let{ngTemplateOutlet:o,ngTemplateOutletContext:s,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,s,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&n.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x($e))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[nn]})})(),t})();function DT(t,e){return new v(2100,!1)}var Kd=class{createSubscription(e,r){return Kr(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){Kr(()=>e.unsubscribe())}},Zd=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},ET=new Zd,CT=new Kd,sH=(()=>{let e=class{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(ei(n))return ET;if(Od(n))return CT;throw DT(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this._ref.markForCheck())}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(ur,16))}})(),(()=>{e.\u0275pipe=Ym({name:"async",type:e,pure:!1,standalone:!0})})(),t})();var ef=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),tf="browser",ST="server";function Uv(t){return t===tf}function nf(t){return t===ST}var $v=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new Yd(h(W),window)})})(),t})(),Yd=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=IT(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){let r=this.window.history;r&&r.scrollRestoration&&(r.scrollRestoration=e)}}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;let e=kv(this.window.history)||kv(Object.getPrototypeOf(this.window.history));return!!e&&!!(e.writable||e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function kv(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}function IT(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var oi=class{};var bo=class{},ic=class{},gt=class{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof gt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new gt;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof gt?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var of=class{encodeKey(e){return zv(e)}encodeValue(e){return zv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function AT(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var xT=/%(\d[a-f0-9])/gi,RT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zv(t){return encodeURIComponent(t).replace(xT,(e,r)=>RT[r]??e)}function rc(t){return`${t}`}var Vt=class{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new of,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=AT(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(rc):[rc(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new Vt({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(rc(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(rc(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var sf=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function NT(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Wv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function qv(t){return typeof Blob<"u"&&t instanceof Blob}function Gv(t){return typeof FormData<"u"&&t instanceof FormData}function OT(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var dr=class{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(NT(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new gt),this.context||(this.context=new sf),!this.params)this.params=new Vt,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ad.set(f,e.setHeaders[f]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),u)),new dr(r,n,o,{params:u,headers:c,context:l,reportProgress:a,responseType:i,withCredentials:s})}},ge=(()=>(ge=ge||{},ge[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge))(),_o=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new gt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},wo=class extends _o{constructor(e={}){super(e),this.type=ge.ResponseHeader}clone(e={}){return new wo({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},si=class extends _o{constructor(e={}){super(e),this.type=ge.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new si({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},oc=class extends _o{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function rf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var af=(()=>{let e=class{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof dr)s=n;else{let u;o.headers instanceof gt?u=o.headers:u=new gt(o.headers);let l;o.params&&(o.params instanceof Vt?l=o.params:l=new Vt({fromObject:o.params})),s=new dr(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}let a=S(s).pipe(Et(u=>this.handler.handle(u)));if(n instanceof dr||o.observe==="events")return a;let c=a.pipe(he(u=>u instanceof si));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(R(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(R(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new Vt().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,rf(o,i))}post(n,i,o={}){return this.request("POST",n,rf(o,i))}put(n,i,o={}){return this.request("PUT",n,rf(o,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(bo))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function Qv(t,e){return e(t)}function FT(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function kT(t,e,r){return(n,i)=>r.runInContext(()=>e(n,o=>t(o,i)))}var PT=new y(""),cf=new y(""),LT=new y("");function jT(){let t=null;return(e,r)=>{t===null&&(t=(E(PT,{optional:!0})??[]).reduceRight(FT,Qv));let n=E(ii),i=n.add();return t(e,r).pipe(Ct(()=>n.remove(i)))}}var Kv=(()=>{let e=class extends bo{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=E(ii)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(cf),...this.injector.get(LT,[])]));this.chain=o.reduceRight((s,a)=>kT(s,a,this.injector),Qv)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ct(()=>this.pendingTasks.remove(i)))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(ic),h(Ne))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();var VT=/^\)\]\}',?\n/;function BT(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Zv=(()=>{let e=class{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):S(null)).pipe(De(()=>new M(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((w,D)=>a.setRequestHeader(w,D.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let w=a.statusText||"OK",D=new gt(a.getAllResponseHeaders()),O=BT(a)||n.url;return u=new wo({headers:D,status:a.status,statusText:w,url:O}),u},d=()=>{let{headers:w,status:D,statusText:O,url:X}=l(),L=null;D!==204&&(L=typeof a.response>"u"?a.responseText:a.response),D===0&&(D=L?200:0);let de=D>=200&&D<300;if(n.responseType==="json"&&typeof L=="string"){let ue=L;L=L.replace(VT,"");try{L=L!==""?JSON.parse(L):null}catch(fe){L=ue,de&&(de=!1,L={error:fe,text:L})}}de?(s.next(new si({body:L,headers:w,status:D,statusText:O,url:X||void 0})),s.complete()):s.error(new oc({error:L,headers:w,status:D,statusText:O,url:X||void 0}))},f=w=>{let{url:D}=l(),O=new oc({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:D||void 0});s.error(O)},p=!1,m=w=>{p||(s.next(l()),p=!0);let D={type:ge.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(D.total=w.total),n.responseType==="text"&&a.responseText&&(D.partialText=a.responseText),s.next(D)},g=w=>{let D={type:ge.UploadProgress,loaded:w.loaded};w.lengthComputable&&(D.total=w.total),s.next(D)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",g)),a.send(c),s.next({type:ge.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(oi))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Xv=new y("XSRF_ENABLED"),UT="XSRF-TOKEN",$T=new y("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>UT}),HT="X-XSRF-TOKEN",zT=new y("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>HT}),sc=class{},WT=(()=>{let e=class{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=nc(n,this.cookieName),this.lastCookieString=n),this.lastToken}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(Pt),h($T))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function qT(t,e){let r=t.url.toLowerCase();if(!E(Xv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=E(sc).getToken(),i=E(zT);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var we=(()=>(we=we||{},we[we.Interceptors=0]="Interceptors",we[we.LegacyInterceptors=1]="LegacyInterceptors",we[we.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",we[we.NoXsrfProtection=3]="NoXsrfProtection",we[we.JsonpSupport=4]="JsonpSupport",we[we.RequestsMadeViaParent=5]="RequestsMadeViaParent",we[we.Fetch=6]="Fetch",we))();function GT(t,e){return{\u0275kind:t,\u0275providers:e}}function KT(...t){let e=[af,Zv,Kv,{provide:bo,useExisting:Kv},{provide:ic,useExisting:Zv},{provide:cf,useValue:qT,multi:!0},{provide:Xv,useValue:!0},{provide:sc,useClass:WT}];for(let r of t)e.push(...r.\u0275providers);return ao(e)}var Yv=new y("LEGACY_INTERCEPTOR_FN");function ZT(){return GT(we.LegacyInterceptors,[{provide:Yv,useFactory:jT},{provide:cf,useExisting:Yv,multi:!0}])}var yH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[KT(ZT())]})})(),t})();var df=class extends Ja{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Eo=class extends df{static makeCurrent(){Pv(new Eo)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=QT();return r==null?null:XT(r)}resetBaseElement(){Do=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return nc(document.cookie,e)}},Do=null;function QT(){return Do=Do||document.querySelector("base"),Do?Do.getAttribute("href"):null}var ac;function XT(t){ac=ac||document.createElement("a"),ac.setAttribute("href",t);let e=ac.pathname;return e.charAt(0)==="/"?e:`/${e}`}var ff=class{addToWindow(e){Ce.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new v(5103,!1);return o},Ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ce.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=Ce.getAllAngularTestabilities(),o=i.length,s=!1,a=function(c){s=s||c,o--,o==0&&n(s)};i.forEach(c=>{c.whenStable(a)})};Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?lr().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},JT=(()=>{let e=class{build(){return new XMLHttpRequest}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),cc=new y("EventManagerPlugins"),tb=(()=>{let e=class{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new v(5101,!1);return this._eventNameToPlugin.set(n,i),i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(cc),h(P))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Co=class{constructor(e){this._doc=e}},uf="ng-app-id",nb=(()=>{let e=class{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nf(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${uf}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(uf),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(uf,this.appId),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i);n.appendChild(o);let s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(Qr),h(co,8),h(Pt))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),lf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},mf=/%COMP%/g,rb="%COMP%",eM=`_nghost-${rb}`,tM=`_ngcontent-${rb}`,nM=!1,rM=new y("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>nM});function iM(t){return tM.replace(mf,t)}function oM(t){return eM.replace(mf,t)}function ib(t,e){return e.map(r=>r.replace(mf,t))}var uc=(()=>{let e=class{constructor(n,i,o,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=nf(c),this.defaultRenderer=new So(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Fe.ShadowDom&&(i=Y(_({},i),{encapsulation:Fe.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof lc?o.applyToHost(n):o instanceof Io&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Fe.Emulated:s=new lc(u,l,i,this.appId,d,a,c,f);break;case Fe.ShadowDom:return new hf(u,l,n,i,a,c,this.nonce,f);default:s=new Io(u,l,i,d,a,c,f);break}s.onDestroy=()=>o.delete(i.id),o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(tb),h(nb),h(Qr),h(rM),h(W),h(Pt),h(P),h(co))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),So=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(lf[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Jv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Jv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=lf[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=lf[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Re.DashCase|Re.Important)?e.style.setProperty(r,n,i&Re.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Re.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e[r]=n}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=lr().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Jv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var hf=class extends So{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=ib(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Io=class extends So{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.rendererUsageCount=0,this.styles=c?ib(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestroy&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,this.rendererUsageCount===0&&this.onDestroy?.())}},lc=class extends Io{constructor(e,r,n,i,o,s,a,c){let u=i+"-"+n.id;super(e,r,n,o,s,a,c,u),this.contentAttr=iM(u),this.hostAttr=oM(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},sM=(()=>{let e=class extends Co{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),eb=["alt","control","meta","shift"],aM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},cM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},uM=(()=>{let e=class extends Co{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>lr().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),eb.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=aM[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),eb.forEach(a=>{if(a!==o){let c=cM[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){switch(n){case"esc":return"escape";default:return n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function lM(){Eo.makeCurrent()}function dM(){return new Ve}function fM(){return Xg(document),document}var hM=[{provide:Pt,useValue:tf},{provide:_d,useValue:lM,multi:!0},{provide:W,useFactory:fM,deps:[]}],AH=Ud(Iv,"browser",hM),pM=new y(""),mM=[{provide:go,useClass:ff,deps:[]},{provide:Vd,useClass:Ya,deps:[P,Qa,go]},{provide:Ya,useClass:Ya,deps:[P,Qa,go]}],gM=[{provide:ja,useValue:"root"},{provide:Ve,useFactory:dM,deps:[]},{provide:cc,useClass:sM,multi:!0,deps:[W,P,Pt]},{provide:cc,useClass:uM,multi:!0,deps:[W]},uc,nb,tb,{provide:xt,useExisting:uc},{provide:oi,useClass:JT,deps:[]},[]],ob=(()=>{let e=class{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Qr,useValue:n.appId}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(pM,12))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[...gM,...mM],imports:[ef,Tv]})})(),t})();function yM(){return new gf(h(W))}var gf=(()=>{let e=class{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:function(i){let o=null;return i?o=new i:o=yM(),o},providedIn:"root"})})(),t})();var vM={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},pf=new y("HammerGestureConfig"),sb=new y("HammerLoader"),bM=(()=>{let e=class{constructor(){this.events=[],this.overrides={}}buildHammer(n){let i=new Hammer(n,this.options);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0});for(let o in this.overrides)i.get(o).set(this.overrides[o]);return i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),_M=(()=>{let e=class extends Co{constructor(n,i,o,s){super(n),this._config=i,this.console=o,this.loader=s,this._loaderPromise=null}supports(n){return!(!vM.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader)}addEventListener(n,i,o){let s=this.manager.getZone();if(i=i.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular(()=>this.loader());let a=!1,c=()=>{a=!0};return s.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(!window.Hammer){c=()=>{};return}a||(c=this.addEventListener(n,i,o))}).catch(()=>{c=()=>{}})),()=>{c()}}return s.runOutsideAngular(()=>{let a=this._config.buildHammer(n),c=function(u){s.runGuarded(function(){o(u)})};return a.on(i,c),()=>{a.off(i,c),typeof a.destroy=="function"&&a.destroy()}})}isCustomEvent(n){return this._config.events.indexOf(n)>-1}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(pf),h(ri),h(sb,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),xH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[{provide:cc,useClass:_M,multi:!0,deps:[W,pf,ri,[new rr,sb]]},{provide:pf,useClass:bM,deps:[]}]})})(),t})(),yf=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=h(ab),o},providedIn:"root"})})(),t})();function wM(t){return new ab(t.get(W))}var ab=(()=>{let e=class extends yf{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Q.NONE:return i;case Q.HTML:return In(i,"HTML")?kt(i):cy(this._doc,String(i)).toString();case Q.STYLE:return In(i,"Style")?kt(i):i;case Q.SCRIPT:if(In(i,"Script"))return kt(i);throw new v(5200,!1);case Q.URL:return In(i,"URL")?kt(i):La(String(i));case Q.RESOURCE_URL:if(In(i,"ResourceURL"))return kt(i);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return Jg(n)}bypassSecurityTrustStyle(n){return ey(n)}bypassSecurityTrustScript(n){return ty(n)}bypassSecurityTrustUrl(n){return ny(n)}bypassSecurityTrustResourceUrl(n){return ry(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:function(i){let o=null;return i?o=new i:o=wM(h(Ue)),o},providedIn:"root"})})(),t})();function Bt(t){return t!=null&&`${t}`!="false"}function To(t,e=0){return DM(t)?Number(t):e}function DM(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function vf(t){return Array.isArray(t)?t:[t]}function OH(t){return t==null?"":typeof t=="string"?t:`${t}px`}function yt(t){return t instanceof le?t.nativeElement:t}var _f;try{_f=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_f=!1}var He=(()=>{let e=class{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Uv(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||_f)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Pt))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Mo;function EM(){if(Mo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Mo=!0}))}finally{Mo=Mo||!1}return Mo}function ai(t){return EM()?t:!!t.capture}var fr;function BH(){if(fr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return fr=!1,fr;if("scrollBehavior"in document.documentElement.style)fr=!0;else{let t=Element.prototype.scrollTo;t?fr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):fr=!1}}return fr}var bf;function CM(){if(bf==null){let t=typeof document<"u"?document.head:null;bf=!!(t&&(t.createShadowRoot||t.attachShadow))}return bf}function ub(t){if(CM()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function SM(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function An(t){return t.composedPath?t.composedPath()[0]:t.target}function lb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var IM=new y("cdk-dir-doc",{providedIn:"root",factory:TM});function TM(){return E(W)}var MM=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function AM(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?MM.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var YH=(()=>{let e=class{constructor(n){if(this.value="ltr",this.change=new ce,n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=AM(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(IM,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var ci=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();var db=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,n=!0,i){this._multiple=e,this._emitChanges=n,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new $,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!n.has(o)).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e){if(this.compareWith){for(let r of this._selection)if(this.compareWith(e,r))return r;return e}else return e}};var xM=20,sz=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new $,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=xM){return this._platform.isBrowser?new M(i=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(Ns(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):S()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){let o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(he(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=yt(i),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return Ri(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(P),h(He),h(W,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var RM=20,az=(()=>{let e=class{constructor(n,i,o){this._platform=n,this._change=new $,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,c=-s.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(n=RM){return n>0?this._change.pipe(Ns(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(P),h(W,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var fb=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),cz=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[ci,fb,ci,fb]})})(),t})();function fc(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var hb=(()=>{let e=class{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),NM=(()=>{let e=class{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((n,i)=>this._cleanupObserver(i))}observe(n){let i=yt(n);return new M(o=>{let a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let i=new $,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:i,count:1})}return this._observedElements.get(n).stream}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:i,stream:o}=this._observedElements.get(n);i&&i.disconnect(),o.complete(),this._observedElements.delete(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(hb))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),_z=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){this._disabled=Bt(n),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(n){this._debounce=To(n),this._subscribe()}constructor(n,i,o){this._contentObserver=n,this._elementRef=i,this._ngZone=o,this.event=new ce,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?n.pipe(yn(this.debounce)):n).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(NM),x(le),x(P))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})})(),t})(),pb=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:[hb]})})(),t})();var mb=new Set,hr,OM=(()=>{let e=class{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):kM}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&FM(n,this._nonce),this._matchMedia(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(co,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function FM(t,e){if(!mb.has(t))try{hr||(hr=document.createElement("style"),e&&(hr.nonce=e),hr.setAttribute("type","text/css"),document.head.appendChild(hr)),hr.sheet&&(hr.sheet.insertRule(`@media ${t} {body{ }}`,0),mb.add(t))}catch(r){console.error(r)}}function kM(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var yb=(()=>{let e=class{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new $}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return gb(vf(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=gb(vf(n)).map(a=>this._registerQuery(a).observable),s=Hn(o);return s=Ze(s.pipe(ve(1)),s.pipe(Nr(1),yn(0))),s.pipe(R(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:u,query:l})=>{c.matches=c.matches||u,c.breakpoints[l]=u}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new M(a=>{let c=u=>this._zone.run(()=>a.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Zt(i),R(({matches:a})=>({query:n,matches:a})),Yt(this._destroySubject)),mql:i};return this._queries.set(n,s),s}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(OM),h(P))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function gb(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var xz={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Cb=" ";function eA(t,e,r){let n=mc(t,e);n.some(i=>i.trim()==r.trim())||(n.push(r.trim()),t.setAttribute(e,n.join(Cb)))}function tA(t,e,r){let i=mc(t,e).filter(o=>o!=r.trim());i.length?t.setAttribute(e,i.join(Cb)):t.removeAttribute(e)}function mc(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Sb="cdk-describedby-message",hc="cdk-describedby-host",Ef=0,Kz=(()=>{let e=class{constructor(n,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Ef++}`,this._document=n,this._id=E(Qr)+"-"+Ef++}describe(n,i,o){if(!this._canBeDescribed(n,i))return;let s=wf(i,o);typeof i!="string"?(vb(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,o){if(!i||!this._isElementNode(n))return;let s=wf(i,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${hc}="${this._id}"]`);for(let i=0;io.indexOf(Sb)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let o=this._messageRegistry.get(i);eA(n,"aria-describedby",o.messageElement.id),n.setAttribute(hc,this._id),o.referenceCount++}_removeMessageReference(n,i){let o=this._messageRegistry.get(i);o.referenceCount--,tA(n,"aria-describedby",o.messageElement.id),n.removeAttribute(hc)}_isElementDescribedByMessage(n,i){let o=mc(n,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(He))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function wf(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function vb(t,e){t.id||(t.id=`${Sb}-${e}-${Ef++}`)}var gc=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new $,this._typeaheadSubscription=J.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=r=>r.disabled,this._pressedLetters=[],this.tabOut=new $,this.change=new $,e instanceof Cn&&(this._itemChangesSubscription=e.changes.subscribe(r=>{if(this._activeItem){let i=r.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ne(r=>this._pressedLetters.push(r)),yn(e),he(()=>this._pressedLetters.length>0),R(()=>this._pressedLetters.join(""))).subscribe(r=>{let n=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Cn?this._items.toArray():this._items}},bb=class extends gc{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},_b=class extends gc{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var nA=(()=>{let e=class{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return iA(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=rA(fA(n));if(i&&(wb(i)===-1||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),s=wb(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!lA(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return dA(n)&&!this.isDisabled(n)&&(i?.ignoreVisibility||this.isVisible(n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function rA(t){try{return t.frameElement}catch{return null}}function iA(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function oA(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function sA(t){return cA(t)&&t.type=="hidden"}function aA(t){return uA(t)&&t.hasAttribute("href")}function cA(t){return t.nodeName.toLowerCase()=="input"}function uA(t){return t.nodeName.toLowerCase()=="a"}function Ib(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function wb(t){if(!Ib(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function lA(t){let e=t.nodeName.toLowerCase(),r=e==="input"&&t.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function dA(t){return sA(t)?!1:oA(t)||aA(t)||t.hasAttribute("contenteditable")||Ib(t)}function fA(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Cf=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,n,i,o=!1){this._element=e,this._checker=r,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let n=this._getFirstTabbableElement(r);return n?.focus(e),!!n}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=0;n=0;n--){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(ve(1)).subscribe(e)}},Zz=(()=>{let e=class{constructor(n,i,o){this._checker=n,this._ngZone=i,this._document=o}create(n,i=!1){return new Cf(n,this._checker,this._ngZone,this._document,i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(nA),h(P),h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Sf(t){return t.buttons===0||t.offsetX===0&&t.offsetY===0}function If(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var hA=new y("cdk-input-modality-detector-options"),pA={ignoreKeys:[18,17,224,91,16]},Tb=650,ui=ai({passive:!0,capture:!0}),mA=(()=>{let e=class{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new ae(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=An(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(If(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=An(a)},this._options=_(_({},pA),s),this.modalityDetected=this._modality.pipe(Nr(1)),this.modalityChanged=this.modalityDetected.pipe(Kt()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ui),o.addEventListener("mousedown",this._onMousedown,ui),o.addEventListener("touchstart",this._onTouchstart,ui)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ui),document.removeEventListener("mousedown",this._onMousedown,ui),document.removeEventListener("touchstart",this._onTouchstart,ui))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(P),h(W),h(hA,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),gA=new y("liveAnnouncerElement",{providedIn:"root",factory:yA});function yA(){return null}var vA=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),bA=0,Yz=(()=>{let e=class{constructor(n,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(h(gA,8),h(P),h(W),h(vA,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var _A=new y("cdk-focus-monitor-default-options"),pc=ai({passive:!0,capture:!0}),Tf=(()=>{let e=class{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new $,this._rootNodeFocusAndBlurListener=c=>{let u=An(c);for(let l=u;l;l=l.parentElement)c.type==="focus"?this._onFocus(c,l):this._onBlur(c,l)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(n,i=!1){let o=yt(n);if(!this._platform.isBrowser||o.nodeType!==1)return S();let s=ub(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new $,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=yt(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=yt(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,u])=>this._originChanged(c,i,u)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===1||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===0){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Tb:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=An(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,pc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,pc)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Yt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,pc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,pc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a{e.\u0275fac=function(i){return new(i||e)(h(P),h(He),h(mA),h(W,8),h(_A,8))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Db="cdk-high-contrast-black-on-white",Eb="cdk-high-contrast-white-on-black",Df="cdk-high-contrast-active",Mf=(()=>{let e=class{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=E(yb).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Df,Db,Eb),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===1?n.add(Df,Db):i===2&&n.add(Df,Eb)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(He),h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Qz=(()=>{let e=class{constructor(n){n._applyBodyHighContrastModeCssClasses()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Mf))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[pb]})})(),t})();var Ao=class{},yc=class{},Ut="*";function Jz(t,e){return{type:7,name:t,definitions:e,options:{}}}function e3(t,e=null){return{type:4,styles:e,timings:t}}function t3(t,e=null){return{type:3,steps:t,options:e}}function vc(t,e=null){return{type:2,steps:t,options:e}}function Af(t){return{type:6,styles:t,offset:null}}function n3(t,e,r){return{type:0,name:t,styles:e,options:r}}function r3(t,e,r=null){return{type:1,expr:t,animation:e,options:r}}function i3(t,e=null){return{type:8,animation:t,options:e}}function o3(t=null){return{type:9,options:t}}function s3(t,e=null){return{type:10,animation:t,options:e}}function a3(t,e,r=null){return{type:11,selector:t,animation:e,options:r}}function c3(t,e){return{type:12,timings:t,animation:e}}var xn=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},xo=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},bc="!";function Ab(t){return new v(3e3,!1)}function wA(){return new v(3100,!1)}function DA(){return new v(3101,!1)}function EA(t){return new v(3001,!1)}function CA(t){return new v(3003,!1)}function SA(t){return new v(3004,!1)}function IA(t,e){return new v(3005,!1)}function TA(){return new v(3006,!1)}function MA(){return new v(3007,!1)}function AA(t,e){return new v(3008,!1)}function xA(t){return new v(3002,!1)}function RA(t,e,r,n,i){return new v(3010,!1)}function NA(){return new v(3011,!1)}function OA(){return new v(3012,!1)}function FA(){return new v(3200,!1)}function kA(){return new v(3202,!1)}function PA(){return new v(3013,!1)}function LA(t){return new v(3014,!1)}function jA(t){return new v(3015,!1)}function VA(t){return new v(3016,!1)}function BA(t,e){return new v(3404,!1)}function UA(t){return new v(3502,!1)}function $A(t){return new v(3503,!1)}function HA(){return new v(3300,!1)}function zA(t){return new v(3504,!1)}function WA(t){return new v(3301,!1)}function qA(t,e){return new v(3302,!1)}function GA(t){return new v(3303,!1)}function KA(t,e){return new v(3400,!1)}function ZA(t){return new v(3401,!1)}function YA(t){return new v(3402,!1)}function QA(t,e){return new v(3505,!1)}function Rn(t){switch(t.length){case 0:return new xn;case 1:return t[0];default:return new xo(t)}}function Hb(t,e,r=new Map,n=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(c=>{let u=c.get("offset"),l=u==s,d=l&&a||new Map;c.forEach((f,p)=>{let m=p,g=f;if(p!=="offset")switch(m=t.normalizePropertyName(m,i),g){case bc:g=r.get(p);break;case Ut:g=n.get(p);break;default:g=t.normalizeStyleValue(p,m,g,i);break}d.set(m,g)}),l||o.push(d),a=d,s=u}),i.length)throw UA(i);return o}function Zf(t,e,r,n){switch(e){case"start":t.onStart(()=>n(r&&xf(r,"start",t)));break;case"done":t.onDone(()=>n(r&&xf(r,"done",t)));break;case"destroy":t.onDestroy(()=>n(r&&xf(r,"destroy",t)));break}}function xf(t,e,r){let n=r.totalTime,i=!!r.disabled,o=Yf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Yf(t,e,r,n,i="",o=0,s){return{element:t,triggerName:e,fromState:r,toState:n,phaseName:i,totalTime:o,disabled:!!s}}function We(t,e,r){let n=t.get(e);return n||t.set(e,n=r),n}function xb(t){let e=t.indexOf(":"),r=t.substring(1,e),n=t.slice(e+1);return[r,n]}var XA=(()=>typeof document>"u"?null:document.documentElement)();function Qf(t){let e=t.parentNode||t.host||null;return e===XA?null:e}function JA(t){return t.substring(1,6)=="ebkit"}var pr=null,Rb=!1;function ex(t){pr||(pr=tx()||{},Rb=pr.style?"WebkitAppearance"in pr.style:!1);let e=!0;return pr.style&&!JA(t)&&(e=t in pr.style,!e&&Rb&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in pr.style)),e}function tx(){return typeof document<"u"?document.body:null}function zb(t,e){for(;e;){if(e===t)return!0;e=Qf(e)}return!1}function Wb(t,e,r){if(r)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var Xf=(()=>{let e=class{validateStyleProperty(n){return ex(n)}matchesElement(n,i){return!1}containsElement(n,i){return zb(n,i)}getParentElement(n){return Qf(n)}query(n,i,o){return Wb(n,i,o)}computeStyle(n,i,o){return o||""}animate(n,i,o,s,a,c=[],u){return new xn(o,s)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),jo=(()=>{let e=class{},t=e;return(()=>{e.NOOP=new Xf})(),t})(),nx=1e3,qb="{{",rx="}}",Gb="ng-enter",Pf="ng-leave",_c="ng-trigger",Cc=".ng-trigger",Nb="ng-animating",Lf=".ng-animating";function cn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:jf(parseFloat(e[1]),e[2])}function jf(t,e){switch(e){case"s":return t*nx;default:return t}}function Sc(t,e,r){return t.hasOwnProperty("duration")?t:ix(t,e,r)}function ix(t,e,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(Ab(t)),{duration:0,delay:0,easing:""};i=jf(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=jf(parseFloat(c),a[4]));let u=a[5];u&&(s=u)}else i=t;if(!r){let a=!1,c=e.length;i<0&&(e.push(wA()),a=!0),o<0&&(e.push(DA()),a=!0),a&&e.splice(c,0,Ab(t))}return{duration:i,delay:o,easing:s}}function Vo(t,e={}){return Object.keys(t).forEach(r=>{e[r]=t[r]}),e}function Kb(t){let e=new Map;return Object.keys(t).forEach(r=>{let n=t[r];e.set(r,n)}),e}function ox(t){return t.length?t[0]instanceof Map?t:t.map(e=>Kb(e)):[]}function di(t,e=new Map,r){if(r)for(let[n,i]of r)e.set(n,i);for(let[n,i]of t)e.set(n,i);return e}function $t(t,e,r){e.forEach((n,i)=>{let o=Jf(i);r&&!r.has(i)&&r.set(i,t.style[o]),t.style[o]=n})}function gr(t,e){e.forEach((r,n)=>{let i=Jf(n);t.style[i]=""})}function Ro(t){return Array.isArray(t)?t.length==1?t[0]:vc(t):t}function sx(t,e,r){let n=e.params||{},i=Zb(t);i.length&&i.forEach(o=>{n.hasOwnProperty(o)||r.push(EA(o))})}var Vf=new RegExp(`${qb}\\s*(.+?)\\s*${rx}`,"g");function Zb(t){let e=[];if(typeof t=="string"){let r;for(;r=Vf.exec(t);)e.push(r[1]);Vf.lastIndex=0}return e}function Oo(t,e,r){let n=t.toString(),i=n.replace(Vf,(o,s)=>{let a=e[s];return a==null&&(r.push(CA(s)),a=""),a.toString()});return i==n?t:i}function Ic(t){let e=[],r=t.next();for(;!r.done;)e.push(r.value),r=t.next();return e}var ax=/-+([a-z0-9])/g;function Jf(t){return t.replace(ax,(...e)=>e[1].toUpperCase())}function cx(t,e){return t===0||e===0}function ux(t,e,r){if(r.size&&e.length){let n=e[0],i=[];if(r.forEach((o,s)=>{n.has(s)||i.push(s),n.set(s,o)}),i.length)for(let o=1;os.set(a,Yb(t,a)))}}return e}function ze(t,e,r){switch(e.type){case 7:return t.visitTrigger(e,r);case 0:return t.visitState(e,r);case 1:return t.visitTransition(e,r);case 2:return t.visitSequence(e,r);case 3:return t.visitGroup(e,r);case 4:return t.visitAnimate(e,r);case 5:return t.visitKeyframes(e,r);case 6:return t.visitStyle(e,r);case 8:return t.visitReference(e,r);case 9:return t.visitAnimateChild(e,r);case 10:return t.visitAnimateRef(e,r);case 11:return t.visitQuery(e,r);case 12:return t.visitStagger(e,r);default:throw SA(e.type)}}function Yb(t,e){return window.getComputedStyle(t)[e]}var Tc="*";function lx(t,e){let r=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>dx(n,r,e)):r.push(t),r}function dx(t,e,r){if(t[0]==":"){let c=fx(t,r);if(typeof c=="function"){e.push(c);return}t=c}let n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(jA(t)),e;let i=n[1],o=n[2],s=n[3];e.push(Ob(i,s));let a=i==Tc&&s==Tc;o[0]=="<"&&!a&&e.push(Ob(s,i))}function fx(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n) *"}}var wc=new Set(["true","1"]),Dc=new Set(["false","0"]);function Ob(t,e){let r=wc.has(t)||Dc.has(t),n=wc.has(e)||Dc.has(e);return(i,o)=>{let s=t==Tc||t==i,a=e==Tc||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?wc.has(t):Dc.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?wc.has(e):Dc.has(e)),s&&a}}var Qb=":self",hx=new RegExp(`s*${Qb}s*,?`,"g");function Xb(t,e,r,n){return new Bf(t).build(e,r,n)}var Fb="",Bf=class{constructor(e){this._driver=e}build(e,r,n){let i=new Uf(r);return this._resetContextStyleTimingState(i),ze(this,Ro(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=Fb,e.collectedStyles=new Map,e.collectedStyles.set(Fb,new Map),e.currentTime=0}visitTrigger(e,r){let n=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(TA()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==0){let c=a,u=c.name;u.toString().split(/\s*,\s*/).forEach(l=>{c.name=l,o.push(this.visitState(c,r))}),c.name=u}else if(a.type==1){let c=this.visitTransition(a,r);n+=c.queryCount,i+=c.depCount,s.push(c)}else r.errors.push(MA())}),{type:7,name:e.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,r){let n=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=i||{};if(n.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{Zb(c).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size){let a=Ic(o.values());r.errors.push(AA(e.name,a))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let n=ze(this,Ro(e.animation),r);return{type:1,matchers:lx(e.expr,r.errors),animation:n,queryCount:r.queryCount,depCount:r.depCount,options:mr(e.options)}}visitSequence(e,r){return{type:2,steps:e.steps.map(n=>ze(this,n,r)),options:mr(e.options)}}visitGroup(e,r){let n=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=n;let a=ze(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:3,steps:o,options:mr(e.options)}}visitAnimate(e,r){let n=yx(e.timings,r.errors);r.currentAnimateTimings=n;let i,o=e.styles?e.styles:Af({});if(o.type==5)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let u={};n.easing&&(u.easing=n.easing),s=Af(u)}r.currentTime+=n.duration+n.delay;let c=this.visitStyle(s,r);c.isEmptyStep=a,i=c}return r.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,r){let n=this._makeStyleAst(e,r);return this._validateStyleAst(n,r),n}_makeStyleAst(e,r){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Ut?n.push(a):r.errors.push(xA(a)):n.push(Kb(a));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(qb)>=0){o=!0;break}}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let n=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let u=r.collectedStyles.get(r.currentQuerySelector),l=u.get(c),d=!0;l&&(o!=i&&o>=l.startTime&&i<=l.endTime&&(r.errors.push(RA(c,l.startTime,l.endTime,o,i)),d=!1),o=l.startTime),d&&u.set(c,{startTime:o,endTime:i}),r.options&&sx(a,r.options,r.errors)})})}visitKeyframes(e,r){let n={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(NA()),n;let i=1,o=0,s=[],a=!1,c=!1,u=0,l=e.steps.map(D=>{let O=this._makeStyleAst(D,r),X=O.offset!=null?O.offset:gx(O.styles),L=0;return X!=null&&(o++,L=O.offset=X),c=c||L<0||L>1,a=a||L0&&o{let X=f>0?O==p?1:f*O:s[O],L=X*w;r.currentTime=m+g.delay+L,g.duration=L,this._validateStyleAst(D,r),D.offset=X,n.styles.push(D)}),n}visitReference(e,r){return{type:8,animation:ze(this,Ro(e.animation),r),options:mr(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:9,options:mr(e.options)}}visitAnimateRef(e,r){return{type:10,animation:this.visitReference(e.animation,r),options:mr(e.options)}}visitQuery(e,r){let n=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=px(e.selector);r.currentQuerySelector=n.length?n+" "+o:o,We(r.collectedStyles,r.currentQuerySelector,new Map);let a=ze(this,Ro(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:mr(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(PA());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Sc(e.timings,r.errors,!0);return{type:12,animation:ze(this,Ro(e.animation),r),timings:n,options:null}}};function px(t){let e=!!t.split(/\s*,\s*/).find(r=>r==Qb);return e&&(t=t.replace(hx,"")),t=t.replace(/@\*/g,Cc).replace(/@\w+/g,r=>Cc+"-"+r.slice(1)).replace(/:animating/g,Lf),[t,e]}function mx(t){return t?Vo(t):null}var Uf=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 gx(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function yx(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Sc(t,e).duration;return Rf(o,0,"")}let r=t;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Rf(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=Sc(r,e);return Rf(i.duration,i.delay,i.easing)}function mr(t){return t?(t=Vo(t),t.params&&(t.params=mx(t.params))):t={},t}function Rf(t,e,r){return{duration:t,delay:e,easing:r}}function eh(t,e,r,n,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:r,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Fo=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},vx=1,bx=":enter",_x=new RegExp(bx,"g"),wx=":leave",Dx=new RegExp(wx,"g");function Jb(t,e,r,n,i,o=new Map,s=new Map,a,c,u=[]){return new $f().buildKeyframes(t,e,r,n,i,o,s,a,c,u)}var $f=class{buildKeyframes(e,r,n,i,o,s,a,c,u,l=[]){u=u||new Fo;let d=new ko(e,r,u,i,o,l,[]);d.options=c;let f=c.delay?cn(c.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,c),ze(this,n,d);let p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let g=p.length-1;g>=0;g--){let w=p[g];if(w.element===r){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,c)}return p.length?p.map(m=>m.buildKeyframes()):[eh(r,[],[],[],0,f,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let n=r.subInstructions.get(r.element);if(n){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let n=r.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,n),this.visitReference(e.animation,n),r.transformIntoNewTimeline(n.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,n){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:cn(Oo(o,i?.params??{},r.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,r,n){let o=r.currentTimeline.currentTime,s=n.duration!=null?cn(n.duration):null,a=n.delay!=null?cn(n.delay):null;return s!==0&&e.forEach(c=>{let u=r.appendInstructionToTimeline(c,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),ze(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let n=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==6&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Mc);let s=cn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ze(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let n=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?cn(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),ze(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let n=e.strValue,i=r.params?Oo(n,r.params,r.errors):n;return Sc(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let n=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;n.delay&&(r.incrementTime(n.delay),i.snapshotCurrentStyles());let o=e.style;o.type==5?this.visitKeyframes(o,r):(r.incrementTime(n.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let n=r.currentTimeline,i=r.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let n=r.currentAnimateTimings,i=r.currentTimeline.duration,o=n.duration,a=r.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(c=>{let u=c.offset||0;a.forwardTime(u*o),a.setStyles(c.styles,c.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let n=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?cn(i.delay):0;o&&(r.previousNode.type===6||n==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Mc);let s=n,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let c=null;a.forEach((u,l)=>{r.currentQueryIndex=l;let d=r.createSubContext(e.options,u);o&&d.delayNextStep(o),u===r.element&&(c=d.currentTimeline),ze(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let f=d.currentTimeline.currentTime;s=Math.max(s,f)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),c&&(r.currentTimeline.mergeTimelineCollectedStyles(c),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let n=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),c=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=n.currentStaggerTime;break}let l=r.currentTimeline;c&&l.delayNextStep(c);let d=l.currentTime;ze(this,e.animation,r),r.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},Mc={},ko=class{constructor(e,r,n,i,o,s,a,c){this._driver=e,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Mc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new fi(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=cn(n.duration)),n.delay!=null&&(i.delay=cn(n.delay));let o=n.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=Oo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let n=e.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return e}createSubContext(e=null,r,n){let i=r||this.element,o=new ko(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||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=Mc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,n){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Hf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,n,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(_x,"."+this._enterClassName),e=e.replace(Dx,"."+this._leaveClassName);let c=n!=1,u=this._driver.query(this.element,e,c);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),a.push(...u)}return!o&&a.length==0&&s.push(LA(r)),a}},fi=class{constructor(e,r,n,i){this._driver=e,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,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(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new fi(this._driver,e,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=vx,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Ut),this._currentKeyframe.set(r,Ut);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,n,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=Ex(e,this._globalTimelineStyles);for(let[a,c]of s){let u=Oo(c,o,n);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Ut),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let u=di(a,new Map,this._backFill);u.forEach((l,d)=>{l===bc?e.add(d):l===Ut&&r.add(d)}),n||u.set("offset",c/this.duration),i.push(u)});let o=e.size?Ic(e.values()):[],s=r.size?Ic(r.values()):[];if(n){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return eh(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Hf=class extends fi{constructor(e,r,n,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=n+r,a=r/s,c=di(e[0]);c.set("offset",0),o.push(c);let u=di(e[0]);u.set("offset",kb(a)),o.push(u);let l=e.length-1;for(let d=1;d<=l;d++){let f=di(e[d]),p=f.get("offset"),m=r+p*n;f.set("offset",kb(m/s)),o.push(f)}n=s,r=0,i="",e=o}return eh(this.element,e,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function kb(t,e=3){let r=Math.pow(10,e-1);return Math.round(t*r)/r}function Ex(t,e){let r=new Map,n;return t.forEach(i=>{if(i==="*"){n=n||e.keys();for(let o of n)r.set(o,Ut)}else di(i,r)}),r}var yr=class{};var Cx=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"]),Ac=class extends yr{normalizePropertyName(e,r){return Jf(e)}normalizeStyleValue(e,r,n,i){let o="",s=n.toString().trim();if(Cx.has(r)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(IA(e,n))}return s+o}};function Pb(t,e,r,n,i,o,s,a,c,u,l,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:d,errors:f}}var Nf={},xc=class{constructor(e,r,n){this._triggerName=e,this.ast=r,this._stateStyles=n}match(e,r,n,i){return Sx(this.ast.matchers,e,r,n,i)}buildStyles(e,r,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(r,n):new Map}build(e,r,n,i,o,s,a,c,u,l){let d=[],f=this.ast.options&&this.ast.options.params||Nf,p=a&&a.params||Nf,m=this.buildStyles(n,p,d),g=c&&c.params||Nf,w=this.buildStyles(i,g,d),D=new Set,O=new Map,X=new Map,L=i==="void",de={params:Ix(g,f),delay:this.ast.options?.delay},ue=l?[]:Jb(e,r,this.ast.animation,o,s,m,w,de,u,d),fe=0;if(ue.forEach(st=>{fe=Math.max(st.duration+st.delay,fe)}),d.length)return Pb(r,this._triggerName,n,i,L,m,w,[],[],O,X,fe,d);ue.forEach(st=>{let zt=st.element,lp=We(O,zt,new Set);st.preStyleProps.forEach(Pn=>lp.add(Pn));let Si=We(X,zt,new Set);st.postStyleProps.forEach(Pn=>Si.add(Pn)),zt!==r&&D.add(zt)});let ot=Ic(D.values());return Pb(r,this._triggerName,n,i,L,m,w,ue,ot,O,X,fe)}};function Sx(t,e,r,n,i){return t.some(o=>o(e,r,n,i))}function Ix(t,e){let r=Vo(e);for(let n in t)t.hasOwnProperty(n)&&t[n]!=null&&(r[n]=t[n]);return r}var zf=class{constructor(e,r,n){this.styles=e,this.defaultParams=r,this.normalizer=n}buildStyles(e,r){let n=new Map,i=Vo(this.defaultParams);return Object.keys(e).forEach(o=>{let s=e[o];s!==null&&(i[o]=s)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Oo(s,i,r));let c=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,c,s,r),n.set(a,s)})}),n}};function Tx(t,e,r){return new Wf(t,e,r)}var Wf=class{constructor(e,r,n){this.name=e,this.ast=r,this._normalizer=n,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new zf(i.style,o,n))}),Lb(this.states,"true","1"),Lb(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new xc(e,i,this.states))}),this.fallbackTransition=Mx(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,n,i){return this.transitionFactories.find(s=>s.match(e,r,n,i))||null}matchStyles(e,r,n){return this.fallbackTransition.buildStyles(e,r,n)}};function Mx(t,e,r){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0};return new xc(t,o,e)}function Lb(t,e,r){t.has(e)?t.has(r)||t.set(r,t.get(e)):t.has(r)&&t.set(e,t.get(r))}var Ax=new Fo,qf=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let n=[],i=[],o=Xb(this._driver,r,n,i);if(n.length)throw $A(n);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,n){let i=e.element,o=Hb(this._normalizer,e.keyframes,r,n);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,n={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=Jb(this._driver,r,o,Gb,Pf,new Map,new Map,n,Ax,i),s.forEach(l=>{let d=We(a,l.element,new Map);l.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(HA()),s=[]),i.length)throw zA(i);a.forEach((l,d)=>{l.forEach((f,p)=>{l.set(p,this._driver.computeStyle(d,p,Ut))})});let c=s.map(l=>{let d=a.get(l.element);return this._buildPlayer(l,new Map,d)}),u=Rn(c);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let n=this.players.indexOf(r);n>=0&&this.players.splice(n,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw WA(e);return r}listen(e,r,n,i){let o=Yf(r,"","","");return Zf(this._getPlayer(e),n,o,i),()=>{}}command(e,r,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(n){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(i[0]));break;case"destroy":this.destroy(e);break}}},jb="ng-animate-queued",xx=".ng-animate-queued",Of="ng-animate-disabled",Rx=".ng-animate-disabled",Nx="ng-star-inserted",Ox=".ng-star-inserted",Fx=[],e_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kx={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},nt="__ng_removed",Po=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=Lx(i),n){let o=Vo(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let n=this.options.params;Object.keys(r).forEach(i=>{n[i]==null&&(n[i]=r[i])})}}},No="void",Ff=new Po(No),Gf=class{constructor(e,r,n){this.id=e,this.hostElement=r,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,rt(r,this._hostClassName)}listen(e,r,n,i){if(!this._triggers.has(r))throw qA(n,r);if(n==null||n.length==0)throw GA(r);if(!jx(n))throw KA(n,r);let o=We(this._elementListeners,e,[]),s={name:r,phase:n,callback:i};o.push(s);let a=We(this._engine.statesByElement,e,new Map);return a.has(r)||(rt(e,_c),rt(e,_c+"-"+r),a.set(r,Ff)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw ZA(e);return r}trigger(e,r,n,i=!0){let o=this._getTrigger(r),s=new Lo(this.id,r,e),a=this._engine.statesByElement.get(e);a||(rt(e,_c),rt(e,_c+"-"+r),this._engine.statesByElement.set(e,a=new Map));let c=a.get(r),u=new Po(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),a.set(r,u),c||(c=Ff),!(u.value===No)&&c.value===u.value){if(!Ux(c.params,u.params)){let g=[],w=o.matchStyles(c.value,c.params,g),D=o.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{gr(e,w),$t(e,D)})}return}let f=We(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==r&&g.queued&&g.destroy()});let p=o.matchTransition(c.value,u.value,e,u.params),m=!1;if(!p){if(!i)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:p,fromState:c,toState:u,player:s,isFallbackTransition:m}),m||(rt(e,jb),s.onStart(()=>{li(e,jb)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);let w=this._engine.playersByElement.get(e);if(w){let D=w.indexOf(s);D>=0&&w.splice(D,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,n)=>{this._elementListeners.set(n,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let n=this._engine.driver.query(e,Cc,!0);n.forEach(i=>{if(i[nt])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,n,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,u)=>{if(s.set(u,c.value),this._triggers.has(u)){let l=this.trigger(e,u,No,i);l&&a.push(l)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),n&&Rn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(r&&n){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,u=n.get(s)||Ff,l=new Po(No),d=new Lo(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:u,toState:l,player:d,isFallbackTransition:!0})})}}removeNode(e,r){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,r);else{let o=e[nt];(!o||o===e_)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,r))}}insertNode(e,r){rt(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let c=Yf(o,n.triggerName,n.fromState.value,n.toState.value);c._data=e,Zf(n.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(n)}),this._queue=[],r.sort((n,i)=>{let o=n.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let r=!1;return this._elementListeners.has(e)&&(r=!0),r=!!this._queue.find(n=>n.element===e)||r,r}},Kf=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,n){this.bodyNode=e,this.driver=r,this._normalizer=n,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=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,r){let n=new Gf(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(n,r):(this.newHostElements.set(r,n),this.collectEnterElement(r)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,r){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let c=i.get(a);if(c){let u=n.indexOf(c);n.splice(u+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return i.set(r,e),e}register(e,r){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,r)),n}registerTrigger(e,r,n){let i=this._namespaceLookup[e];i&&i.register(r,n)&&this.totalAnimations++}destroy(e,r){if(!e)return;let n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>n.destroy(r))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,n,i){if(Ec(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,n,i),!0}return!1}insertNode(e,r,n,i){if(!Ec(r))return;let o=r[nt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,n)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),rt(e,Of)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),li(e,Of))}removeNode(e,r,n){if(Ec(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,n):this.markElementAsRemoved(e,r,!1,n);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,n)}else this._onRemovalComplete(r,n)}markElementAsRemoved(e,r,n,i,o){this.collectedLeaveElements.push(r),r[nt]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,n,i,o){return Ec(r)?this._fetchNamespace(e).listen(r,n,i,o):()=>{}}_buildInstruction(e,r,n,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,Cc,!0);r.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Lf,!0),r.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Rn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[nt];if(r&&r.setForRemoval){if(e[nt]=e_,r.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(r.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(Of)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Rx,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],r.length?Rn(r).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw YA(e)}_flushAnimations(e,r){let n=new Fo,i=[],o=new Map,s=[],a=new Map,c=new Map,u=new Map,l=new Set;this.disabledNodes.forEach(T=>{l.add(T);let N=this.driver.query(T,xx,!0);for(let k=0;k{let k=Gb+g++;m.set(N,k),T.forEach(K=>rt(K,k))});let w=[],D=new Set,O=new Set;for(let T=0;TD.add(K)):O.add(N))}let X=new Map,L=Ub(f,Array.from(D));L.forEach((T,N)=>{let k=Pf+g++;X.set(N,k),T.forEach(K=>rt(K,k))}),e.push(()=>{p.forEach((T,N)=>{let k=m.get(N);T.forEach(K=>li(K,k))}),L.forEach((T,N)=>{let k=X.get(N);T.forEach(K=>li(K,k))}),w.forEach(T=>{this.processLeaveNode(T)})});let de=[],ue=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(r).forEach(k=>{let K=k.player,be=k.element;if(de.push(K),this.collectedEnterElements.length){let Se=be[nt];if(Se&&Se.setForMove){if(Se.previousTriggersValues&&Se.previousTriggersValues.has(k.triggerName)){let Ln=Se.previousTriggersValues.get(k.triggerName),Ge=this.statesByElement.get(k.element);if(Ge&&Ge.has(k.triggerName)){let ss=Ge.get(k.triggerName);ss.value=Ln,Ge.set(k.triggerName,ss)}}K.destroy();return}}let wt=!d||!this.driver.containsElement(d,be),Pe=X.get(be),dn=m.get(be),se=this._buildInstruction(k,n,dn,Pe,wt);if(se.errors&&se.errors.length){ue.push(se);return}if(wt){K.onStart(()=>gr(be,se.fromStyles)),K.onDestroy(()=>$t(be,se.toStyles)),i.push(K);return}if(k.isFallbackTransition){K.onStart(()=>gr(be,se.fromStyles)),K.onDestroy(()=>$t(be,se.toStyles)),i.push(K);return}let hp=[];se.timelines.forEach(Se=>{Se.stretchStartingKeyframe=!0,this.disabledNodes.has(Se.element)||hp.push(Se)}),se.timelines=hp,n.append(be,se.timelines);let $w={instruction:se,player:K,element:be};s.push($w),se.queriedElements.forEach(Se=>We(a,Se,[]).push(K)),se.preStyleProps.forEach((Se,Ln)=>{if(Se.size){let Ge=c.get(Ln);Ge||c.set(Ln,Ge=new Set),Se.forEach((ss,lu)=>Ge.add(lu))}}),se.postStyleProps.forEach((Se,Ln)=>{let Ge=u.get(Ln);Ge||u.set(Ln,Ge=new Set),Se.forEach((ss,lu)=>Ge.add(lu))})});if(ue.length){let T=[];ue.forEach(N=>{T.push(QA(N.triggerName,N.errors))}),de.forEach(N=>N.destroy()),this.reportError(T)}let fe=new Map,ot=new Map;s.forEach(T=>{let N=T.element;n.has(N)&&(ot.set(N,N),this._beforeAnimationBuild(T.player.namespaceId,T.instruction,fe))}),i.forEach(T=>{let N=T.element;this._getPreviousPlayers(N,!1,T.namespaceId,T.triggerName,null).forEach(K=>{We(fe,N,[]).push(K),K.destroy()})});let st=w.filter(T=>$b(T,c,u)),zt=new Map;Bb(zt,this.driver,O,u,Ut).forEach(T=>{$b(T,c,u)&&st.push(T)});let Si=new Map;p.forEach((T,N)=>{Bb(Si,this.driver,new Set(T),c,bc)}),st.forEach(T=>{let N=zt.get(T),k=Si.get(T);zt.set(T,new Map([...N?.entries()??[],...k?.entries()??[]]))});let Pn=[],dp=[],fp={};s.forEach(T=>{let{element:N,player:k,instruction:K}=T;if(n.has(N)){if(l.has(N)){k.onDestroy(()=>$t(N,K.toStyles)),k.disabled=!0,k.overrideTotalTime(K.totalTime),i.push(k);return}let be=fp;if(ot.size>1){let Pe=N,dn=[];for(;Pe=Pe.parentNode;){let se=ot.get(Pe);if(se){be=se;break}dn.push(Pe)}dn.forEach(se=>ot.set(se,be))}let wt=this._buildAnimation(k.namespaceId,K,fe,o,Si,zt);if(k.setRealPlayer(wt),be===fp)Pn.push(k);else{let Pe=this.playersByElement.get(be);Pe&&Pe.length&&(k.parentPlayer=Rn(Pe)),i.push(k)}}else gr(N,K.fromStyles),k.onDestroy(()=>$t(N,K.toStyles)),dp.push(k),l.has(N)&&i.push(k)}),dp.forEach(T=>{let N=o.get(T.element);if(N&&N.length){let k=Rn(N);T.setRealPlayer(k)}}),i.forEach(T=>{T.parentPlayer?T.syncPlayerEvents(T.parentPlayer):T.destroy()});for(let T=0;T!wt.destroyed);be.length?Vx(this,N,be):this.processLeaveNode(N)}return w.length=0,Pn.forEach(T=>{this.players.push(T),T.onDone(()=>{T.destroy();let N=this.players.indexOf(T);this.players.splice(N,1)}),T.play()}),Pn}elementContainsData(e,r){let n=!1,i=r[nt];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(r)&&(n=!0),this.playersByQueriedElement.has(r)&&(n=!0),this.statesByElement.has(r)&&(n=!0),this._fetchNamespace(e).elementContainsData(r)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,n,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==No;a.forEach(u=>{u.queued||!c&&u.triggerName!=i||s.push(u)})}}return(n||i)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,n){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let c of r.timelines){let u=c.element,l=u!==o,d=We(n,u,[]);this._getPreviousPlayers(u,l,s,a,r.toState).forEach(p=>{let m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}gr(o,r.fromStyles)}_buildAnimation(e,r,n,i,o,s){let a=r.triggerName,c=r.element,u=[],l=new Set,d=new Set,f=r.timelines.map(m=>{let g=m.element;l.add(g);let w=g[nt];if(w&&w.removedBeforeQueried)return new xn(m.duration,m.delay);let D=g!==c,O=Bx((n.get(g)||Fx).map(fe=>fe.getRealPlayer())).filter(fe=>{let ot=fe;return ot.element?ot.element===g:!1}),X=o.get(g),L=s.get(g),de=Hb(this._normalizer,m.keyframes,X,L),ue=this._buildPlayer(m,de,O);if(m.subTimeline&&i&&d.add(g),D){let fe=new Lo(e,a,g);fe.setRealPlayer(ue),u.push(fe)}return ue});u.forEach(m=>{We(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>Px(this.playersByQueriedElement,m.element,m))}),l.forEach(m=>rt(m,Nb));let p=Rn(f);return p.onDestroy(()=>{l.forEach(m=>li(m,Nb)),$t(c,r.toStyles)}),d.forEach(m=>{We(i,m,[]).push(p)}),p}_buildPlayer(e,r,n){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,n):new xn(e.duration,e.delay)}},Lo=class{constructor(e,r,n){this.namespaceId=e,this.triggerName=r,this.element=n,this._player=new xn,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((r,n)=>{r.forEach(i=>Zf(e,n,void 0,i))}),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 r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){We(this._queuedCallbacks,e,[]).push(r)}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 r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function Px(t,e,r){let n=t.get(e);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&t.delete(e)}return n}function Lx(t){return t??null}function Ec(t){return t&&t.nodeType===1}function jx(t){return t=="start"||t=="done"}function Vb(t,e){let r=t.style.display;return t.style.display=e??"none",r}function Bb(t,e,r,n,i){let o=[];r.forEach(c=>o.push(Vb(c)));let s=[];n.forEach((c,u)=>{let l=new Map;c.forEach(d=>{let f=e.computeStyle(u,d,i);l.set(d,f),(!f||f.length==0)&&(u[nt]=kx,s.push(u))}),t.set(u,l)});let a=0;return r.forEach(c=>Vb(c,o[a++])),s}function Ub(t,e){let r=new Map;if(t.forEach(a=>r.set(a,[])),e.length==0)return r;let n=1,i=new Set(e),o=new Map;function s(a){if(!a)return n;let c=o.get(a);if(c)return c;let u=a.parentNode;return r.has(u)?c=u:i.has(u)?c=n:c=s(u),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==n&&r.get(c).push(a)}),r}function rt(t,e){t.classList?.add(e)}function li(t,e){t.classList?.remove(e)}function Vx(t,e,r){Rn(r).onDone(()=>t.processLeaveNode(e))}function Bx(t){let e=[];return t_(t,e),e}function t_(t,e){for(let r=0;ri.add(o)):e.set(t,n),r.delete(t),!0}var Nn=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Kf(e,r,n),this._timelineEngine=new qf(e,r,n),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,n,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let c=[],u=[],l=Xb(this._driver,o,c,u);if(c.length)throw BA(i,c);u.length&&void 0,a=Tx(i,l,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,n,i){this._transitionEngine.insertNode(e,r,n,i)}onRemove(e,r,n){this._transitionEngine.removeNode(e,r,n)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,n,i){if(n.charAt(0)=="@"){let[o,s]=xb(n),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,n,i)}listen(e,r,n,i,o){if(n.charAt(0)=="@"){let[s,a]=xb(n);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,n,i,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 $x(t,e){let r=null,n=null;return Array.isArray(e)&&e.length?(r=kf(e[0]),e.length>1&&(n=kf(e[e.length-1]))):e instanceof Map&&(r=kf(e)),r||n?new Hx(t,r,n):null}var Hx=(()=>{let e=class{constructor(n,i,o){this._element=n,this._startStyles=i,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(n);s||e.initialStylesByElement.set(n,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&$t(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($t(this._element,this._initialStyles),this._endStyles&&($t(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(gr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gr(this._element,this._endStyles),this._endStyles=null),$t(this._element,this._initialStyles),this._state=3)}},t=e;return(()=>{e.initialStylesByElement=new WeakMap})(),t})();function kf(t){let e=null;return t.forEach((r,n)=>{zx(n)&&(e=e||new Map,e.set(n,r))}),e}function zx(t){return t==="display"||t==="position"}var Rc=class{constructor(e,r,n,i){this.element=e,this.keyframes=r,this.options=n,this._specialStyles=i,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=n.duration,this._delay=n.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,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(n=>{r.push(Object.fromEntries(n))}),r}_triggerWebAnimation(e,r,n){return e.animate(this._convertKeyframesToObject(r),n)}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/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:Yb(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},Nc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,r){return!1}containsElement(e,r){return zb(e,r)}getParentElement(e){return Qf(e)}query(e,r,n){return Wb(e,r,n)}computeStyle(e,r,n){return window.getComputedStyle(e)[r]}animate(e,r,n,i,o,s=[]){let a=i==0?"both":"forwards",c={duration:n,delay:i,fill:a};o&&(c.easing=o);let u=new Map,l=s.filter(p=>p instanceof Rc);cx(n,i)&&l.forEach(p=>{p.currentSnapshot.forEach((m,g)=>u.set(g,m))});let d=ox(r).map(p=>di(p));d=ux(e,d,u);let f=$x(e,d);return new Rc(e,d,c,f)}};var qx=(()=>{let e=class extends Ao{constructor(n,i){super(),this._nextAnimationId=0;let o={id:"0",encapsulation:Fe.None,styles:[],data:{animation:[]}};this._renderer=n.createRenderer(i.body,o)}build(n){let i=this._nextAnimationId.toString();this._nextAnimationId++;let o=Array.isArray(n)?vc(n):n;return r_(this._renderer,null,i,"register",[o]),new th(i,this._renderer)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(xt),h(W))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),th=class extends yc{constructor(e,r){super(),this._id=e,this._renderer=r}create(e,r){return new nh(this._id,e,r||{},this._renderer)}},nh=class{constructor(e,r,n,i){this.id=e,this.element=r,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,r){return this._renderer.listen(this.element,`@@${this.id}:${e}`,r)}_command(e,...r){return r_(this._renderer,this.element,this.id,e,r)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}};function r_(t,e,r,n,i){return t.setProperty(e,`@@${r}:${n}`,i)}var Oc="@",i_="@.disabled",Gx=(()=>{let e=class{constructor(n,i,o){this.delegate=n,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(s,a)=>{let c=a?.parentNode(s);c&&a.removeChild(c,s)}}createRenderer(n,i){let o="",s=this.delegate.createRenderer(n,i);if(!n||!i||!i.data||!i.data.animation){let d=this._rendererCache.get(s);if(!d){let f=()=>this._rendererCache.delete(s);d=new Fc(o,s,this.engine,f),this._rendererCache.set(s,d)}return d}let a=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,n);let u=d=>{Array.isArray(d)?d.forEach(u):this.engine.registerTrigger(a,c,n,d.name,d)};return i.data.animation.forEach(u),new rh(this,c,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,i,o){if(n>=0&&ni(o));return}this._animationCallbacksBuffer.length==0&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{let[a,c]=s;a(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o])}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()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(xt),h(Nn),h(P))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),Fc=class{constructor(e,r,n,i){this.namespaceId=e,this.delegate=r,this.engine=n,this._onDestroy=i}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,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,n,i=!0){this.delegate.insertBefore(e,r,n),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,n){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){r.charAt(0)==Oc&&r==i_?this.disableAnimations(e,!!n):this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n){return this.delegate.listen(e,r,n)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},rh=class extends Fc{constructor(e,r,n,i,o){super(r,n,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,n){r.charAt(0)==Oc?r.charAt(1)=="."&&r==i_?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,r.slice(1),n):this.delegate.setProperty(e,r,n)}listen(e,r,n){if(r.charAt(0)==Oc){let i=Kx(e),o=r.slice(1),s="";return o.charAt(0)!=Oc&&([o,s]=Zx(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,n,a)})}return this.delegate.listen(e,r,n)}};function Kx(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Zx(t){let e=t.indexOf("."),r=t.substring(0,e),n=t.slice(e+1);return[r,n]}var Yx=(()=>{let e=class extends Nn{constructor(n,i,o,s){super(n.body,i,o)}ngOnDestroy(){this.flush()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(W),h(jo),h(yr),h(on))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function Qx(){return new Ac}function Xx(t,e,r){return new Gx(t,e,r)}var o_=[{provide:Ao,useClass:qx},{provide:yr,useFactory:Qx},{provide:Nn,useClass:Yx},{provide:xt,useFactory:Xx,deps:[uc,Nn,P]}],n_=[{provide:jo,useFactory:()=>new Nc},{provide:Lt,useValue:"BrowserAnimations"},...o_],Jx=[{provide:jo,useClass:Xf},{provide:Lt,useValue:"NoopAnimations"},...o_],w3=(()=>{let e=class{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?Jx:n_}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({providers:n_,imports:[ob]})})(),t})();var nR=["text"];var q3=(()=>{let e=class{},t=e;return(()=>{e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"})(),(()=>{e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"})(),(()=>{e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"})(),(()=>{e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"})(),t})(),G3=(()=>{let e=class{},t=e;return(()=>{e.COMPLEX="375ms"})(),(()=>{e.ENTERING="225ms"})(),(()=>{e.EXITING="195ms"})(),t})();function rR(){return!0}var iR=new y("mat-sanity-checks",{providedIn:"root",factory:rR}),vt=(()=>{let e=class{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return lb()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Mf),h(iR,8),h(W))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[ci,ci]})})(),t})();function d_(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=Bt(e)}constructor(...e){super(...e),this._disabled=!1}}}function kc(t,e){return class extends t{get color(){return this._color}set color(r){let n=r||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...r){super(...r),this.defaultColor=e,this.color=e}}}function f_(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Bt(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function K3(t,e=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(r){this._tabIndex=r!=null?To(r):this.defaultTabIndex}constructor(...r){super(...r),this._tabIndex=e,this.defaultTabIndex=e}}}function Z3(t){return class extends t{updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,i=this.ngControl?this.ngControl.control:null,o=n.isErrorState(i,r);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}var Y3=(()=>{let e=class{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Q3=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})})(),t})();function X3(t,e,r="mat"){t.changes.pipe(Zt(t)).subscribe(({length:n})=>{Bo(e,`${r}-2-line`,!1),Bo(e,`${r}-3-line`,!1),Bo(e,`${r}-multi-line`,!1),n===2||n===3?Bo(e,`${r}-${n}-line`,!0):n>3&&Bo(e,`${r}-multi-line`,!0)})}function Bo(t,e,r){t.nativeElement.classList.toggle(e,r)}var J3=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt,vt]})})(),t})(),ih=class{constructor(e,r,n,i=!1){this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},s_=ai({passive:!0,capture:!0}),oh=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=An(e);r&&this._events.get(e.type)?.forEach((n,i)=>{(i===r||i.contains(r))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,s_)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,s_)))}},a_={enterDuration:225,exitDuration:150},oR=800,c_=ai({passive:!0,capture:!0}),u_=["mousedown","touchstart"],l_=["mouseup","mouseleave","touchend","touchcancel"],Uo=class{constructor(e,r,n,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=yt(n))}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=_(_({},a_),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||sR(e,r,i),a=e-i.left,c=r-i.top,u=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-s}px`,l.style.top=`${c-s}px`,l.style.height=`${s*2}px`,l.style.width=`${s*2}px`,n.color!=null&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(l);let d=window.getComputedStyle(l),f=d.transitionProperty,p=d.transitionDuration,m=f==="none"||p==="0s"||p==="0s, 0s"||i.width===0&&i.height===0,g=new ih(this,l,n,m);l.style.transform="scale3d(1, 1, 1)",g.state=0,n.persistent||(this._mostRecentTransientRipple=g);let w=null;return!m&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>this._finishRippleTransition(g),O=()=>this._destroyRipple(g);l.addEventListener("transitionend",D),l.addEventListener("transitioncancel",O),w={onTransitionEnd:D,onTransitionCancel:O}}),this._activeRipples.set(g,w),(m||!u)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(e.state===2||e.state===3)return;let r=e.element,n=_(_({},a_),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=yt(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,u_.forEach(n=>{Uo._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{l_.forEach(r=>{this._triggerElement.addEventListener(r,this,c_)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=1,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Sf(e),n=this._lastTouchStartEvent&&Date.now(){let r=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(u_.forEach(r=>Uo._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&l_.forEach(r=>e.removeEventListener(r,this,c_)))}},sh=Uo;(()=>{Uo._eventManager=new oh})();function sR(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var aR=new y("mat-ripple-global-options"),$o=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,i,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new sh(this,i,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:_(_(_({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,i=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,_(_({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,_(_({},this.rippleConfig),n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(le),x(P),x(He),x(aR,8),x(Lt,8))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&tt("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})})(),t})(),h_=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt,vt]})})(),t})(),e8=(()=>{let e=class{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(Lt,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&tt("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})})(),t})(),t8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt]})})(),t})(),n8=new y("MAT_OPTION_PARENT_COMPONENT");var r8=new y("MatOptgroup");var cR=0,ah=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},i8=(()=>{let e=class{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=Bt(n)}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,i,o,s){this._element=n,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${cR++}`,this.onSelectionChange=new ce,this._stateChanges=new $}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(n,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!fc(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new ah(this,n))}},t=e;return(()=>{e.\u0275fac=function(i){Ua()}})(),(()=>{e.\u0275dir=me({type:e,viewQuery:function(i,o){if(i&1&&mo(nR,7),i&2){let s;ti(s=ni())&&(o._text=s.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})})(),t})();function o8(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+n?Math.max(0,t-n+e):r}var lR=["*"],Pc;function dR(){if(Pc===void 0&&(Pc=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Pc=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Pc}function Ho(t){return dR()?.createHTML(t)||t}function p_(t){return Error(`Unable to find icon with the name "${t}"`)}function fR(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function m_(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function g_(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var un=class{constructor(e,r,n){this.url=e,this.svgText=r,this.options=n}},hR=(()=>{let e=class{constructor(n,i,o,s){this._httpClient=n,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,i,o){return this.addSvgIconInNamespace("",n,i,o)}addSvgIconLiteral(n,i,o){return this.addSvgIconLiteralInNamespace("",n,i,o)}addSvgIconInNamespace(n,i,o,s){return this._addSvgIconConfig(n,i,new un(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,o,s){let a=this._sanitizer.sanitize(Q.HTML,o);if(!a)throw g_(o);let c=Ho(a);return this._addSvgIconConfig(n,i,new un("",c,s))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,o){return this._addSvgIconSetConfig(n,new un(i,null,o))}addSvgIconSetLiteralInNamespace(n,i,o){let s=this._sanitizer.sanitize(Q.HTML,i);if(!s)throw g_(i);let a=Ho(s);return this._addSvgIconSetConfig(n,new un("",a,o))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Q.RESOURCE_URL,n);if(!i)throw m_(n);let o=this._cachedIconsByUrl.get(i);return o?S(Lc(o)):this._loadSvgIconFromConfig(new un(n,null)).pipe(ne(s=>this._cachedIconsByUrl.set(i,s)),R(s=>Lc(s)))}getNamedSvgIcon(n,i=""){let o=y_(i,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(n,a):lt(p_(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?S(Lc(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(R(i=>Lc(i)))}_getSvgFromIconSetConfigs(n,i){let o=this._extractIconWithNameFromAnySet(n,i);if(o)return S(o);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Ye(c=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Q.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(l)),S(null)})));return Su(s).pipe(R(()=>{let a=this._extractIconWithNameFromAnySet(n,i);if(!a)throw p_(n);return a}))}_extractIconWithNameFromAnySet(n,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,n,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ne(i=>n.svgText=i),R(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?S(null):this._fetchIcon(n).pipe(ne(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,o){let s=n.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(Ho(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(n){let i=this._svgElementFromString(Ho("")),o=n.attributes;for(let s=0;sHo(l)),Ct(()=>this._inProgressUrlFetches.delete(a)),bn());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(n,i,o){return this._svgIconConfigs.set(y_(n,i),o),this}_addSvgIconSetConfig(n,i){let o=this._iconSetConfigs.get(n);return o?o.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(h(af,8),h(yf),h(W,8),h(Ve))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Lc(t){return t.cloneNode(!0)}function y_(t,e){return t+":"+e}function pR(t){return!!(t.url&&t.options)}var mR=kc(class{constructor(t){this._elementRef=t}}),gR=new y("MAT_ICON_DEFAULT_OPTIONS"),yR=new y("mat-icon-location",{providedIn:"root",factory:vR});function vR(){let t=E(W),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var v_=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],bR=v_.map(t=>`[${t}]`).join(", "),_R=/^url\(['"]?#(.*?)['"]?\)$/,T8=(()=>{let e=class extends mR{get inline(){return this._inline}set inline(n){this._inline=Bt(n)}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(n,i,o,s,a,c){super(n),this._iconRegistry=i,this._location=s,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=J.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=n.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),i.forEach(o=>n.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(bR),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=i[s],u=c.getAttribute(a),l=u?u.match(_R):null;if(l){let d=o.get(c);d||(d=[],o.set(c,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,o]=this._splitIconName(n);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(ve(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(le),x(hR),no("aria-hidden"),x(yR),x(Ve),x(gR,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,o){i&2&&(jt("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),tt("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Tn],ngContentSelectors:lR,decls:1,vars:0,template:function(i,o){i&1&&(ar(),cr(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})})(),t})(),M8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[vt,vt]})})(),t})();var b_=["mat-button",""],__=["*"],wR=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}",DR="accent",ER=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],CR=kc(d_(f_(class{constructor(t){this._elementRef=t}}))),SR=(()=>{let e=class extends CR{constructor(n,i,o){super(n),this._focusMonitor=i,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(let s of ER)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);n.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color=DR)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(n,i){n?this._focusMonitor.focusVia(this._getHostElement(),n,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...n){return n.some(i=>this._getHostElement().hasAttribute(i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(le),x(Tf),x(Lt,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(i,o){if(i&1&&mo($o,5),i&2){let s;ti(s=ni())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(i,o){i&2&&(jt("disabled",o.disabled||null),tt("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Tn],attrs:b_,ngContentSelectors:__,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(ar(),or(0,"span",0),cr(1),sr(),Mn(2,"span",1)(3,"span",2)),i&2&&(lo(2),tt("mat-button-ripple-round",o.isRoundButton||o.isIconButton),po("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[$o],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})})(),t})(),O8=(()=>{let e=class extends SR{constructor(n,i,o,s){super(i,n,o),this._ngZone=s,this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(Tf),x(le),x(Lt,8),x(P,8))}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(i,o){i&2&&(jt("tabindex",o.disabled?-1:o.tabIndex)("disabled",o.disabled||null)("aria-disabled",o.disabled.toString()),tt("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Tn],attrs:b_,ngContentSelectors:__,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(ar(),or(0,"span",0),cr(1),sr(),Mn(2,"span",1)(3,"span",2)),i&2&&(lo(2),tt("mat-button-ripple-round",o.isRoundButton||o.isIconButton),po("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[$o],styles:[wR],encapsulation:2,changeDetection:0})})(),t})(),F8=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({imports:[h_,vt,vt]})})(),t})();function IR(t){t||(fo(IR),t=E(ir));let e=new M(r=>t.onDestroy(r.next.bind(r)));return r=>r.pipe(Yt(e))}function TR(t,e){!e?.injector&&fo(TR);let r=e?.injector??E(Ue),n=new Bn(1),i=Md(()=>{let o;try{o=t()}catch(s){Kr(()=>n.error(s));return}Kr(()=>n.next(o))},{injector:r,manualCleanup:!0});return r.get(ir).onDestroy(()=>{i.destroy(),n.complete()}),n.asObservable()}var ch=class extends Error{constructor(e,r){super(MR(e,r)),this.code=e}};function MR(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var AR=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var uh=class{constructor(e){this.ref=e}deref(){return this.ref}},B8=AR.WeakRef??uh;function lh(t,e){let r=!e?.manualCleanup;r&&!e?.injector&&fo(lh);let n=r?e?.injector?.get(ir)??E(ir):null,i;e?.requireSync?i=td({kind:0}):i=td({kind:1,value:e?.initialValue});let o=t.subscribe({next:s=>i.set({kind:1,value:s}),error:s=>i.set({kind:2,error:s})});return n?.onDestroy(o.unsubscribe.bind(o)),xa(()=>{let s=i();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new ch(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var ph={};function xR(t,e){if(ph[t]=(ph[t]||0)+1,typeof e=="function")return dh(t,(...n)=>Y(_({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return dh(t,()=>({type:t}));case"props":return dh(t,n=>Y(_({},n),{type:t}));default:throw new Error("Unexpected config.")}}function vh(){return{_as:"props",_p:void 0}}function dh(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}function bh(t){return t.charAt(0).toUpperCase()+t.substring(1)}function RR(t){return t.charAt(0).toLowerCase()+t.substring(1)}function Z8(t){let{source:e,events:r}=t;return Object.keys(r).reduce((n,i)=>Y(_({},n),{[NR(i)]:xR(OR(e,i),r[i])}),{})}function Y8(){return vh()}function NR(t){return t.trim().split(" ").map((e,r)=>r===0?RR(e):bh(e)).join("")}function OR(t,e){return`[${t}] ${e}`}var P_="@ngrx/store/init",hi=(()=>{let e=class extends ae{constructor(){super({type:P_})}next(n){if(typeof n=="function")throw new TypeError(` Dispatch expected an object, instead it received a function. If you're using the createAction function, make sure to invoke the function - before dispatching the action. For example, someAction should be someAction().`);if(typeof n>"u")throw new TypeError("Actions must be objects");if(typeof n.type>"u")throw new TypeError("Actions must have a type property");super.next(n)}complete(){}ngOnDestroy(){super.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),jR=[hi],j_=new y("@ngrx/store Internal Root Guard"),D_=new y("@ngrx/store Internal Initial State"),_h=new y("@ngrx/store Initial State"),V_=new y("@ngrx/store Reducer Factory"),E_=new y("@ngrx/store Internal Reducer Factory Provider"),B_=new y("@ngrx/store Initial Reducers"),fh=new y("@ngrx/store Internal Initial Reducers"),C_=new y("@ngrx/store Store Features"),S_=new y("@ngrx/store Internal Store Reducers"),hh=new y("@ngrx/store Internal Feature Reducers"),I_=new y("@ngrx/store Internal Feature Configs"),U_=new y("@ngrx/store Internal Store Features"),T_=new y("@ngrx/store Internal Feature Reducers Token"),$_=new y("@ngrx/store Feature Reducers"),M_=new y("@ngrx/store User Provided Meta Reducers"),jc=new y("@ngrx/store Meta Reducers"),A_=new y("@ngrx/store Internal Resolved Meta Reducers"),x_=new y("@ngrx/store User Runtime Checks Config"),R_=new y("@ngrx/store Internal User Runtime Checks Config"),zo=new y("@ngrx/store Internal Runtime Checks"),wh=new y("@ngrx/store Check if Action types are unique"),c4=new y("@ngrx/store Root Store Provider"),u4=new y("@ngrx/store Feature State Provider");function Dh(t,e={}){let r=Object.keys(t),n={};for(let o=0;or!==e).reduce((r,n)=>Object.assign(r,{[n]:t[n]}),{})}function H_(...t){return function(e){if(t.length===0)return e;let r=t[t.length-1];return t.slice(0,-1).reduceRight((i,o)=>o(i),r(e))}}function z_(t,e){return Array.isArray(e)&&e.length>0&&(t=H_.apply(null,[...e,t])),(r,n)=>{let i=t(r);return(o,s)=>(o=o===void 0?n:o,i(o,s))}}function BR(t){let e=Array.isArray(t)&&t.length>0?H_(...t):r=>r;return(r,n)=>(r=e(r),(i,o)=>(i=i===void 0?n:i,r(i,o)))}var Wo=class extends T{},Vc=class extends hi{},UR="@ngrx/store/update-reducers",Bc=(()=>{let e=class extends ae{get currentReducers(){return this.reducers}constructor(n,i,o,s){super(s(o,i)),this.dispatcher=n,this.initialState=i,this.reducers=o,this.reducerFactory=s}addFeature(n){this.addFeatures([n])}addFeatures(n){let i=n.reduce((o,{reducers:s,reducerFactory:a,metaReducers:c,initialState:u,key:l})=>{let d=typeof s=="function"?BR(c)(s,u):z_(a,c)(s,u);return o[l]=d,o},{});this.addReducers(i)}removeFeature(n){this.removeFeatures([n])}removeFeatures(n){this.removeReducers(n.map(i=>i.key))}addReducer(n,i){this.addReducers({[n]:i})}addReducers(n){this.reducers=_(_({},this.reducers),n),this.updateReducers(Object.keys(n))}removeReducer(n){this.removeReducers([n])}removeReducers(n){n.forEach(i=>{this.reducers=VR(this.reducers,i)}),this.updateReducers(n)}updateReducers(n){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:UR,features:n})}ngOnDestroy(){this.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Vc),h(_h),h(B_),h(V_))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),$R=[Bc,{provide:Wo,useExisting:Bc},{provide:Vc,useExisting:hi}],Eh=(()=>{let e=class extends ${ngOnDestroy(){this.complete()}},t=e;return(()=>{e.\u0275fac=function(){let n;return function(o){return(n||(n=to(e)))(o||e)}}()})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),HR=[Eh],Uc=class extends T{},N_=(()=>{let e=class extends ae{constructor(n,i,o,s){super(s);let c=n.pipe($n(Du)).pipe(Ps(i)),u={state:s},l=c.pipe(ki(zR,u));this.stateSubscription=l.subscribe(({state:d,action:f})=>{this.next(d),o.next(f)}),this.state=lh(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}},t=e;return(()=>{e.INIT=L_})(),(()=>{e.\u0275fac=function(i){return new(i||e)(h(hi),h(Wo),h(Eh),h(_h))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function zR(t={state:void 0},[e,r]){let{state:n}=t;return{state:r(n,e),action:e}}var WR=[N_,{provide:Uc,useExisting:N_}],Ch=(()=>{let e=class extends T{constructor(n,i,o){super(),this.actionsObserver=i,this.reducerManager=o,this.source=n,this.state=n.state}select(n,...i){return GR.call(null,n,...i)(this)}selectSignal(n,i){return xa(()=>n(this.state()),{equal:i?.equal||((o,s)=>o===s)})}lift(n){let i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=n,i}dispatch(n){this.actionsObserver.next(n)}next(n){this.actionsObserver.next(n)}error(n){this.actionsObserver.error(n)}complete(){this.actionsObserver.complete()}addReducer(n,i){this.reducerManager.addReducer(n,i)}removeReducer(n){this.reducerManager.removeReducer(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Uc),h(hi),h(Bc))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),qR=[Ch];function GR(t,e,...r){return function(i){let o;if(typeof t=="string"){let s=[e,...r].filter(Boolean);o=i.pipe(Au(t,...s))}else if(typeof t=="function")o=i.pipe(R(s=>t(s,e)));else throw new TypeError(`Unexpected type '${typeof t}' in select operator, expected 'string' or 'function'`);return o.pipe(Kt())}}var Sh="https://ngrx.io/guide/store/configuration/runtime-checks";function O_(t){return t===void 0}function F_(t){return t===null}function W_(t){return Array.isArray(t)}function KR(t){return typeof t=="string"}function ZR(t){return typeof t=="boolean"}function YR(t){return typeof t=="number"}function q_(t){return typeof t=="object"&&t!==null}function QR(t){return q_(t)&&!W_(t)}function G_(t){if(!QR(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||e===null}function mh(t){return typeof t=="function"}function XR(t){return mh(t)&&t.hasOwnProperty("\u0275cmp")}function JR(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var eN=!1;function tN(){return eN}function k_(t,e){return t===e}function nN(t,e,r){for(let n=0;ns(t));return n.memoized.apply(null,o)}let i=e.map(o=>o(t,r));return n.memoized.apply(null,[...i,r])}function iN(t,e={stateFn:rN}){return function(...r){let n=r;if(Array.isArray(n[0])){let[l,...d]=n;n=[...l,...d]}else n.length===1&&sN(n[0])&&(n=aN(n[0]));let i=n.slice(0,n.length-1),o=n[n.length-1],s=i.filter(l=>l.release&&typeof l.release=="function"),a=t(function(...l){return o.apply(null,l)}),c=K_(function(l,d){return e.stateFn.apply(null,[l,i,d,a])});function u(){c.reset(),a.reset(),s.forEach(l=>l.release())}return Object.assign(c.memoized,{release:u,projector:a.memoized,setResult:c.setResult,clearResult:c.clearResult})}}function oN(t){return Z_(e=>{let r=e[t];return!tN()&&$d()&&!(t in e)&&console.warn(`@ngrx/store: The feature name "${t}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${t}', ...) or StoreModule.forFeature('${t}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),r},e=>e)}function sN(t){return!!t&&typeof t=="object"&&Object.values(t).every(e=>typeof e=="function")}function aN(t){let e=Object.values(t),r=Object.keys(t),n=(...i)=>r.reduce((o,s,a)=>Y(_({},o),{[s]:i[a]}),{});return[...e,n]}function l4(t){let{name:e,reducer:r,extraSelectors:n}=t,i=oN(e),o=cN(i,r),s=_({[`select${bh(e)}State`]:i},o),a=n?n(s):{};return _(_({name:e,reducer:r},s),a)}function cN(t,e){let r=uN(e);return(G_(r)?Object.keys(r):[]).reduce((i,o)=>Y(_({},i),{[`select${bh(o)}`]:Z_(t,s=>s?.[o])}),{})}function uN(t){return t(void 0,{type:"@ngrx/feature/init"})}function lN(t){return t instanceof y?E(t):t}function dN(t,e){return e.map((r,n)=>{if(t[n]instanceof y){let i=E(t[n]);return{key:r.key,reducerFactory:i.reducerFactory?i.reducerFactory:Dh,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return r})}function fN(t){return t.map(e=>e instanceof y?E(e):e)}function Y_(t){return typeof t=="function"?t():t}function hN(t,e){return t.concat(e)}function pN(){if(E(Ch,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function mN(t,e){return function(r,n){let i=e.action(n)?gh(n):n,o=t(r,i);return e.state()?gh(o):o}}function gh(t){Object.freeze(t);let e=mh(t);return Object.getOwnPropertyNames(t).forEach(r=>{if(!r.startsWith("\u0275")&&JR(t,r)&&(!e||r!=="caller"&&r!=="callee"&&r!=="arguments")){let n=t[r];(q_(n)||mh(n))&&!Object.isFrozen(n)&&gh(n)}}),t}function gN(t,e){return function(r,n){if(e.action(n)){let o=yh(n);P_(o,"action")}let i=t(r,n);if(e.state()){let o=yh(i);P_(o,"state")}return i}}function yh(t,e=[]){return(O_(t)||F_(t))&&e.length===0?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;let o=t[i];return XR(o)?n:O_(o)||F_(o)||YR(o)||ZR(o)||KR(o)||W_(o)?!1:G_(o)?yh(o,[...e,i]):{path:[...e,i],value:o}},!1)}function P_(t,e){if(t===!1)return;let r=t.path.join("."),n=new Error(`Detected unserializable ${e} at "${r}". ${Sh}#strict${e}serializability`);throw n.value=t.value,n.unserializablePath=r,n}function yN(t,e){return function(r,n){if(e.action(n)&&!P.isInAngularZone())throw new Error(`Action '${n.type}' running outside NgZone. ${Sh}#strictactionwithinngzone`);return t(r,n)}}function vN(t){return $d()?_({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function bN({strictActionSerializability:t,strictStateSerializability:e}){return r=>t||e?gN(r,{action:n=>t&&!Ih(n),state:()=>e}):r}function _N({strictActionImmutability:t,strictStateImmutability:e}){return r=>t||e?mN(r,{action:n=>t&&!Ih(n),state:()=>e}):r}function Ih(t){return t.type.startsWith("@ngrx")}function wN({strictActionWithinNgZone:t}){return e=>t?yN(e,{action:r=>t&&!Ih(r)}):e}function DN(t){return[{provide:R_,useValue:t},{provide:x_,useFactory:EN,deps:[R_]},{provide:zo,deps:[x_],useFactory:vN},{provide:jc,multi:!0,deps:[zo],useFactory:_N},{provide:jc,multi:!0,deps:[zo],useFactory:bN},{provide:jc,multi:!0,deps:[zo],useFactory:wN}]}function Q_(){return[{provide:wh,multi:!0,deps:[zo],useFactory:CN}]}function EN(t){return t}function CN(t){if(!t.strictActionTypeUniqueness)return;let e=Object.entries(ph).filter(([,r])=>r>1).map(([r])=>r);if(e.length)throw new Error(`Action types are registered more than once, ${e.map(r=>`"${r}"`).join(", ")}. ${Sh}#strictactiontypeuniqueness`)}function SN(t={},e={}){return[{provide:j_,useFactory:pN},{provide:D_,useValue:e.initialState},{provide:_h,useFactory:Y_,deps:[D_]},{provide:fh,useValue:t},{provide:S_,useExisting:t instanceof y?t:fh},{provide:B_,deps:[fh,[new hd(S_)]],useFactory:lN},{provide:M_,useValue:e.metaReducers?e.metaReducers:[]},{provide:A_,deps:[jc,M_],useFactory:hN},{provide:E_,useValue:e.reducerFactory?e.reducerFactory:Dh},{provide:V_,deps:[E_,A_],useFactory:z_},jR,$R,HR,WR,qR,DN(e.runtimeChecks),Q_()]}function IN(t,e,r={}){return[{provide:I_,multi:!0,useValue:t instanceof Object?{}:r},{provide:C_,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:!(r instanceof y)&&r.reducerFactory?r.reducerFactory:Dh,metaReducers:!(r instanceof y)&&r.metaReducers?r.metaReducers:[],initialState:!(r instanceof y)&&r.initialState?r.initialState:void 0}},{provide:U_,deps:[I_,C_],useFactory:dN},{provide:hh,multi:!0,useValue:t instanceof Object?t.reducer:e},{provide:T_,multi:!0,useExisting:e instanceof y?e:hh},{provide:$_,multi:!0,deps:[hh,[new hd(T_)]],useFactory:fN},Q_()]}var X_=(()=>{let e=class{constructor(n,i,o,s,a,c){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(hi),h(Wo),h(Eh),h(Ch),h(j_,8),h(wh,8))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),TN=(()=>{let e=class{constructor(n,i,o,s,a){this.features=n,this.featureReducers=i,this.reducerManager=o;let c=n.map((u,l)=>{let f=i.shift()[l];return Y(_({},u),{reducers:f,initialState:Y_(u.initialState)})});o.addFeatures(c)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(U_),h($_),h(Bc),h(X_),h(wh,8))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),d4=(()=>{let e=class{static forRoot(n,i){return{ngModule:X_,providers:[...SN(n,i)]}}static forFeature(n,i,o={}){return{ngModule:TN,providers:[...IN(n,i,o)]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();function f4(...t){let e=t.pop(),r=t.map(n=>n.type);return{reducer:e,types:r}}function h4(t,...e){let r=new Map;for(let n of e)for(let i of n.types){let o=r.get(i);if(o){let s=(a,c)=>n.reducer(o(a,c),c);r.set(i,s)}else r.set(i,n.reducer)}return function(n=t,i){let o=r.get(i.type);return o?o(n,i):n}}var U="primary",Yo=Symbol("RouteTitle"),Rh=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function _i(t){return new Rh(t)}function MN(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function mw(t){return t.length>0?t[t.length-1]:null}function On(t){return xi(t)?t:ei(t)?ie(Promise.resolve(t)):S(t)}var xN={exact:yw,subset:vw},gw={exact:RN,subset:NN,ignored:()=>!0};function J_(t,e,r){return xN[r.paths](t.root,e.root,r.matrixParams)&&gw[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function RN(t,e){return Ht(t,e)}function yw(t,e,r){if(!br(t.segments,e.segments)||!zc(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!yw(t.children[n],e.children[n],r))return!1;return!0}function NN(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>pw(t[r],e[r]))}function vw(t,e,r){return bw(t,e,e.segments,r)}function bw(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!br(i,r)||e.hasChildren()||!zc(i,r,n))}else if(t.segments.length===r.length){if(!br(t.segments,r)||!zc(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!vw(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!br(t.segments,i)||!zc(t.segments,i,n)||!t.children[U]?!1:bw(t.children[U],e,o,n)}}function zc(t,e,r){return e.every((n,i)=>gw[r](t[i].parameters,n.parameters))}var Fn=class{constructor(e=new Z([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){return kN.serialize(this)}},Z=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wc(this)}},vr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=_i(this.parameters)),this._parameterMap}toString(){return ww(this)}};function ON(t,e){return br(t,e)&&t.every((r,n)=>Ht(r.parameters,e[n].parameters))}function br(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function FN(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===U&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==U&&(r=r.concat(e(i,n)))}),r}var iu=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>new Qo)()},providedIn:"root"})})(),t})(),Qo=class{parse(e){let r=new Oh(e);return new Fn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${qo(e.root,!0)}`,n=jN(e.queryParams),i=typeof e.fragment=="string"?`#${PN(e.fragment)}`:"";return`${r}${n}${i}`}},kN=new Qo;function Wc(t){return t.segments.map(e=>ww(e)).join("/")}function qo(t,e){if(!t.hasChildren())return Wc(t);if(e){let r=t.children[U]?qo(t.children[U],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==U&&n.push(`${i}:${qo(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=FN(t,(n,i)=>i===U?[qo(t.children[U],!1)]:[`${i}:${qo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[U]!=null?`${Wc(t)}/${r[0]}`:`${Wc(t)}/(${r.join("//")})`}}function _w(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $c(t){return _w(t).replace(/%3B/gi,";")}function PN(t){return encodeURI(t)}function Nh(t){return _w(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qc(t){return decodeURIComponent(t)}function ew(t){return qc(t.replace(/\+/g,"%20"))}function ww(t){return`${Nh(t.path)}${LN(t.parameters)}`}function LN(t){return Object.keys(t).map(e=>`;${Nh(e)}=${Nh(t[e])}`).join("")}function jN(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(i=>`${$c(r)}=${$c(i)}`).join("&"):`${$c(r)}=${$c(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var VN=/^[^\/()?;#]+/;function Th(t){let e=t.match(VN);return e?e[0]:""}var BN=/^[^\/()?;=#]+/;function UN(t){let e=t.match(BN);return e?e[0]:""}var $N=/^[^=?&#]+/;function HN(t){let e=t.match($N);return e?e[0]:""}var zN=/^[^&#]+/;function WN(t){let e=t.match(zN);return e?e[0]:""}var Oh=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Z([],{}):new Z([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[U]=new Z(e,r)),n}parseSegment(){let e=Th(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new vr(qc(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=UN(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Th(this.remaining);i&&(n=i,this.capture(n))}e[qc(r)]=qc(n)}parseQueryParam(e){let r=HN(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=WN(this.remaining);s&&(n=s,this.capture(n))}let i=ew(r),o=ew(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Th(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=U);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[U]:new Z([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function Dw(t){return t.segments.length>0?new Z([],{[U]:t}):t}function Ew(t){let e={};for(let n of Object.keys(t.children)){let i=t.children[n],o=Ew(i);if(n===U&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new Z(t.segments,e);return qN(r)}function qN(t){if(t.numberOfChildren===1&&t.children[U]){let e=t.children[U];return new Z(t.segments.concat(e.segments),e.children)}return t}function wi(t){return t instanceof Fn}function GN(t,e,r=null,n=null){let i=Cw(t);return Sw(i,e,r,n)}function Cw(t){let e;function r(o){let s={};for(let c of o.children){let u=r(c);s[c.outlet]=u}let a=new Z(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Dw(n);return e??i}function Sw(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Mh(i,i,i,r,n);let o=KN(e);if(o.toRoot())return Mh(i,i,new Z([],{}),r,n);let s=ZN(o,i,t),a=s.processChildren?Ko(s.segmentGroup,s.index,o.commands):Tw(s.segmentGroup,s.index,o.commands);return Mh(i,s.segmentGroup,a,r,n)}function Gc(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Xo(t){return typeof t=="object"&&t!=null&&t.outlets}function Mh(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Iw(t,e,r);let a=Dw(Ew(s));return new Fn(a,o,i)}function Iw(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Iw(o,e,r)}),new Z(t.segments,n)}var Kc=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Gc(n[0]))throw new v(4003,!1);let i=n.find(Xo);if(i&&i!==mw(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function KN(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Kc(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Kc(r,e,n)}var gi=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function ZN(t,e,r){if(t.isAbsolute)return new gi(e,!0,0);if(!r)return new gi(e,!1,NaN);if(r.parent===null)return new gi(r,!0,0);let n=Gc(t.commands[0])?0:1,i=r.segments.length-1+n;return YN(r,i,t.numberOfDoubleDots)}function YN(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new v(4005,!1);i=n.segments.length}return new gi(n,!1,i-o)}function QN(t){return Xo(t[0])?t[0].outlets:{[U]:t}}function Tw(t,e,r){if(t||(t=new Z([],{})),t.segments.length===0&&t.hasChildren())return Ko(t,e,r);let n=XN(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Tw(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new Z(t.segments,i)}}function XN(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Xo(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!nw(c,u,s))return o;n+=2}else{if(!nw(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Fh(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Fh(new Z([],{}),0,n))}),e}function tw(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function nw(t,e,r){return t==r.path&&Ht(e,r.parameters)}var Jo="imperative",it=class{constructor(e,r){this.id=e,this.url=r}},es=class extends it{constructor(e,r,n="imperative",i=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},kn=class extends it{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Di=class extends it{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},_r=class extends it{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=16}},Zc=class extends it{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},kh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ph=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lh=class extends it{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},jh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bh=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Uh=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},$h=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hh=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zh=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wh=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yc=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}};var qh=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ns,this.attachRef=null}},ns=(()=>{let e=class{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new qh,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Qc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Gh(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Gh(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Kh(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Kh(e,this._root).map(r=>r.value)}};function Gh(t,e){if(t===e.value)return e;for(let r of e.children){let n=Gh(t,r);if(n)return n}return null}function Kh(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Kh(t,r);if(n.length)return n.unshift(e),n}return[]}var bt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function mi(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Xc=class extends Qc{constructor(e,r){super(e),this.snapshot=r,np(this,e)}toString(){return this.snapshot.toString()}};function Mw(t,e){let r=eO(t,e),n=new ae([new vr("",{})]),i=new ae({}),o=new ae({}),s=new ae({}),a=new ae(""),c=new wr(n,i,s,a,o,U,e,r.root);return c.snapshot=r.root,new Xc(new bt(c,[]),r)}function eO(t,e){let r={},n={},i={},o="",s=new yi([],r,i,o,n,U,e,null,{});return new Jc("",new bt(s,[]))}var wr=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[Yo]))??S(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(R(e=>_i(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(R(e=>_i(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Aw(t,e="emptyOnly"){let r=t.pathFromRoot,n=0;if(e!=="always")for(n=r.length-1;n>=1;){let i=r[n],o=r[n-1];if(i.routeConfig&&i.routeConfig.path==="")n--;else if(!o.component)n--;else break}return tO(r.slice(n))}function tO(t){return t.reduce((e,r)=>{let n=_(_({},e.params),r.params),i=_(_({},e.data),r.data),o=_(_(_(_({},r.data),e.resolve),r.routeConfig?.data),r._resolvedData);return{params:n,data:i,resolve:o}},{params:{},data:{},resolve:{}})}var yi=class{get title(){return this.data?.[Yo]}constructor(e,r,n,i,o,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_i(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Jc=class extends Qc{constructor(e,r){super(r),this.url=e,np(this,r)}toString(){return xw(this._root)}};function np(t,e){e.value._routerState=t,e.children.forEach(r=>np(t,r))}function xw(t){let e=t.children.length>0?` { ${t.children.map(xw).join(", ")} } `:"";return`${t.value}${e}`}function Ah(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Ht(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Ht(e.params,r.params)||t.paramsSubject.next(r.params),AN(e.url,r.url)||t.urlSubject.next(r.url),Ht(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Zh(t,e){let r=Ht(t.params,e.params)&&ON(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Zh(t.parent,e.parent))}var nO=(()=>{let e=class{constructor(){this.activated=null,this._activatedRoute=null,this.name=U,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=E(ns),this.location=E($e),this.changeDetector=E(ur),this.environmentInjector=E(Ne),this.inputBinder=E(ou,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Yh(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[nn]})})(),t})(),Yh=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===wr?this.route:e===ns?this.childContexts:this.parent.get(e,r)}},ou=new y(""),rw=(()=>{let e=class{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=Hn([i.queryParams,i.params,i.data]).pipe(De(([s,a,c],u)=>(c=_(_(_({},s),a),c),u===0?S(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Av(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function rO(t,e,r){let n=ts(t,e._root,r?r._root:void 0);return new Xc(n,e)}function ts(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=iO(t,e,r);return new bt(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ts(t,a)),s}}let n=oO(e.value),i=e.children.map(o=>ts(t,o));return new bt(n,i)}}function iO(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ts(t,n,i);return ts(t,n)})}function oO(t){return new wr(new ae(t.url),new ae(t.params),new ae(t.queryParams),new ae(t.fragment),new ae(t.data),t.outlet,t.component,t)}var Rw="ngNavigationCancelingError";function Nw(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=wi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Ow(!1,0,e);return i.url=r,i.navigationBehaviorOptions=n,i}function Ow(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Rw]=!0,n.cancellationCode=e,r&&(n.url=r),n}function iw(t){return Fw(t)&&wi(t.url)}function Fw(t){return t&&t[Rw]}var sO=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ld],decls:1,vars:0,template:function(i,o){i&1&&Mn(0,"router-outlet")},dependencies:[nO],encapsulation:2})})(),t})();function aO(t,e){return t.providers&&!t._injector&&(t._injector=Wa(t.providers,e,`Route: ${t.path}`)),t._injector??e}function rp(t){let e=t.children&&t.children.map(rp),r=e?Y(_({},t),{children:e}):_({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==U&&(r.component=sO),r}function _t(t){return t.outlet||U}function cO(t,e){let r=t.filter(n=>_t(n)===e);return r.push(...t.filter(n=>_t(n)!==e)),r}function rs(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var uO=(t,e,r,n)=>R(i=>(new Qh(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Qh=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Ah(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=mi(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=mi(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=mi(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=mi(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Wh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Hh(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Ah(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ah(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=rs(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},eu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},vi=class{constructor(e,r){this.component=e,this.route=r}};function lO(t,e,r){let n=t._root,i=e?e._root:null;return Go(n,i,r,[n.value])}function dO(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Ci(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Um(t)?t:e.get(t):n}function Go(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=mi(e);return t.children.forEach(s=>{fO(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Zo(a,r.getContext(s),i)),i}function fO(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=hO(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new eu(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Go(t,e,a?a.children:null,n,i):Go(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new vi(a.outlet.component,s))}else s&&Zo(e,a,i),i.canActivateChecks.push(new eu(n)),o.component?Go(t,null,a?a.children:null,n,i):Go(t,null,r,n,i);return i}function hO(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!br(t.url,e.url);case"pathParamsOrQueryParamsChange":return!br(t.url,e.url)||!Ht(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zh(t,e)||!Ht(t.queryParams,e.queryParams);case"paramsChange":default:return!Zh(t,e)}}function Zo(t,e,r){let n=mi(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Zo(s,e.children.getContext(o),r):Zo(s,null,r):Zo(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new vi(e.outlet.component,i)):r.canDeactivateChecks.push(new vi(null,i)):r.canDeactivateChecks.push(new vi(null,i))}function is(t){return typeof t=="function"}function pO(t){return typeof t=="boolean"}function mO(t){return t&&is(t.canLoad)}function gO(t){return t&&is(t.canActivate)}function yO(t){return t&&is(t.canActivateChild)}function vO(t){return t&&is(t.canDeactivate)}function bO(t){return t&&is(t.canMatch)}function kw(t){return t instanceof dt||t?.name==="EmptyError"}var Hc=Symbol("INITIAL_VALUE");function Ei(){return De(t=>Hn(t.map(e=>e.pipe(ve(1),Zt(Hc)))).pipe(R(e=>{for(let r of e)if(r!==!0){if(r===Hc)return Hc;if(r===!1||r instanceof Fn)return r}return!0}),he(e=>e!==Hc),ve(1)))}function _O(t,e){return te(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?S(Y(_({},r),{guardsResult:!0})):wO(s,n,i,t).pipe(te(a=>a&&pO(a)?DO(n,o,t,e):S(a)),R(a=>Y(_({},r),{guardsResult:a})))})}function wO(t,e,r,n){return ie(t).pipe(te(i=>TO(i.component,i.route,r,e,n)),Qe(i=>i!==!0,!0))}function DO(t,e,r,n){return ie(e).pipe(Et(i=>Ze(CO(i.route.parent,n),EO(i.route,n),IO(t,i.path,r),SO(t,i.route,r))),Qe(i=>i!==!0,!0))}function EO(t,e){return t!==null&&e&&e(new zh(t)),S(!0)}function CO(t,e){return t!==null&&e&&e(new $h(t)),S(!0)}function SO(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return S(!0);let i=n.map(o=>Rs(()=>{let s=rs(e)??r,a=Ci(o,s),c=gO(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t));return On(c).pipe(Qe())}));return S(i).pipe(Ei())}function IO(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>dO(s)).filter(s=>s!==null).map(s=>Rs(()=>{let a=s.guards.map(c=>{let u=rs(s.node)??r,l=Ci(c,u),d=yO(l)?l.canActivateChild(n,t):u.runInContext(()=>l(n,t));return On(d).pipe(Qe())});return S(a).pipe(Ei())}));return S(o).pipe(Ei())}function TO(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let s=o.map(a=>{let c=rs(e)??i,u=Ci(a,c),l=vO(u)?u.canDeactivate(t,e,r,n):c.runInContext(()=>u(t,e,r,n));return On(l).pipe(Qe())});return S(s).pipe(Ei())}function MO(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return S(!0);let o=i.map(s=>{let a=Ci(s,t),c=mO(a)?a.canLoad(e,r):t.runInContext(()=>a(e,r));return On(c)});return S(o).pipe(Ei(),Pw(n))}function Pw(t){return gu(ne(e=>{if(wi(e))throw Nw(t,e)}),R(e=>e===!0))}function AO(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return S(!0);let o=i.map(s=>{let a=Ci(s,t),c=bO(a)?a.canMatch(e,r):t.runInContext(()=>a(e,r));return On(c)});return S(o).pipe(Ei(),Pw(n))}var bi=class{constructor(e){this.segmentGroup=e||null}},tu=class{constructor(e){this.urlTree=e}};function pi(t){return lt(new bi(t))}function ow(t){return lt(new tu(t))}function xO(t){return lt(new v(4e3,!1))}function RO(t){return lt(Ow(!1,3))}var Xh=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}noMatchError(e){return new v(4002,!1)}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return S(n);if(i.numberOfChildren>1||!i.children[U])return xO(e.redirectTo);i=i.children[U]}}applyRedirectCommands(e,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n)}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new Fn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new Z(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Jh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function NO(t,e,r,n,i){let o=ip(t,e,r);return o.matched?(n=aO(e,n),AO(n,e,r,i).pipe(R(s=>s===!0?o:_({},Jh)))):S(o)}function ip(t,e,r){if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?_({},Jh):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||MN)(r,t,e);if(!i)return _({},Jh);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?_(_({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function sw(t,e,r,n){return r.length>0&&kO(t,r,n)?{segmentGroup:new Z(e,FO(n,new Z(r,t.children))),slicedSegments:[]}:r.length===0&&PO(t,r,n)?{segmentGroup:new Z(t.segments,OO(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new Z(t.segments,t.children),slicedSegments:r}}function OO(t,e,r,n,i){let o={};for(let s of n)if(su(t,r,s)&&!i[_t(s)]){let a=new Z([],{});o[_t(s)]=a}return _(_({},i),o)}function FO(t,e){let r={};r[U]=e;for(let n of t)if(n.path===""&&_t(n)!==U){let i=new Z([],{});r[_t(n)]=i}return r}function kO(t,e,r){return r.some(n=>su(t,e,n)&&_t(n)!==U)}function PO(t,e,r){return r.some(n=>su(t,e,n))}function su(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function LO(t,e,r,n){return _t(t)!==n&&(n===U||!su(e,r,t))?!1:t.path==="**"?!0:ip(e,t,r).matched}function jO(t,e,r){return e.length===0&&!t.children[r]}function VO(t,e,r,n,i,o,s="emptyOnly"){return new ep(t,e,r,n,i,s,o).recognize()}var ep=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new Xh(this.urlSerializer,this.urlTree)}noMatchError(e){return new v(4002,!1)}recognize(){let e=sw(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,U).pipe(Ye(r=>{if(r instanceof tu)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof bi?this.noMatchError(r):r}),R(r=>{let n=new yi([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,{},U,this.rootComponentType,null,{}),i=new bt(n,r),o=new Jc("",i),s=GN(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e.root,U).pipe(Ye(n=>{throw n instanceof bi?this.noMatchError(n):n}))}inheritParamsAndData(e){let r=e.value,n=Aw(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),e.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0)}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return ie(i).pipe(Et(o=>{let s=n.children[o],a=cO(r,o);return this.processSegmentGroup(e,a,s,o)}),ki((o,s)=>(o.push(...s),o)),vn(null),Mu(),te(o=>{if(o===null)return pi(n);let s=Lw(o);return BO(s),S(s)}))}processSegment(e,r,n,i,o,s){return ie(r).pipe(Et(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(Ye(c=>{if(c instanceof bi)return S(null);throw c}))),Qe(a=>!!a),Ye(a=>{if(kw(a))return jO(n,i,o)?S([]):pi(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return LO(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):pi(i):pi(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){return i.path==="**"?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,n,i){let o=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ow(o):this.applyRedirects.lineralizeSegments(n,o).pipe(te(s=>{let a=new Z(s,{});return this.processSegment(e,r,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:c,remainingSegments:u,positionalParamSegments:l}=ip(r,i,o);if(!a)return pi(r);let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,l);return i.redirectTo.startsWith("/")?ow(d):this.applyRedirects.lineralizeSegments(i,d).pipe(te(f=>this.processSegment(e,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a;if(n.path==="**"){let c=i.length>0?mw(i).parameters:{},u=new yi(i,c,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,aw(n),_t(n),n.component??n._loadedComponent??null,n,cw(n));a=S({snapshot:u,consumedSegments:[],remainingSegments:[]}),r.children={}}else a=NO(r,n,i,e,this.urlSerializer).pipe(R(({matched:c,consumedSegments:u,remainingSegments:l,parameters:d})=>c?{snapshot:new yi(u,d,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,aw(n),_t(n),n.component??n._loadedComponent??null,n,cw(n)),consumedSegments:u,remainingSegments:l}:null));return a.pipe(De(c=>c===null?pi(r):(e=n._injector??e,this.getChildConfig(e,n,i).pipe(De(({routes:u})=>{let l=n._loadedInjector??e,{snapshot:d,consumedSegments:f,remainingSegments:p}=c,{segmentGroup:m,slicedSegments:g}=sw(r,f,p,u);if(g.length===0&&m.hasChildren())return this.processChildren(l,u,m).pipe(R(D=>D===null?null:[new bt(d,D)]));if(u.length===0&&g.length===0)return S([new bt(d,[])]);let w=_t(n)===o;return this.processSegment(l,u,m,g,w?U:o,!0).pipe(R(D=>[new bt(d,D)]))})))))}getChildConfig(e,r,n){return r.children?S({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?S({routes:r._loadedRoutes,injector:r._loadedInjector}):MO(e,r,n,this.urlSerializer).pipe(te(i=>i?this.configLoader.loadChildren(e,r).pipe(ne(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):RO(r))):S({routes:[],injector:e})}};function BO(t){t.sort((e,r)=>e.value.outlet===U?-1:r.value.outlet===U?1:e.value.outlet.localeCompare(r.value.outlet))}function UO(t){let e=t.value.routeConfig;return e&&e.path===""}function Lw(t){let e=[],r=new Set;for(let n of t){if(!UO(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Lw(n.children);e.push(new bt(n.value,i))}return e.filter(n=>!r.has(n))}function aw(t){return t.data||{}}function cw(t){return t.resolve||{}}function $O(t,e,r,n,i,o){return te(s=>VO(t,e,r,n,s.extractedUrl,i,o).pipe(R(({state:a,tree:c})=>Y(_({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function HO(t,e){return te(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return S(r);let o=0;return ie(i).pipe(Et(s=>zO(s.route,n,t,e)),ne(()=>o++),Rr(1),te(s=>o===i.length?S(r):Ie))})}function zO(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!uw(i)&&(o[Yo]=i.title),WO(o,t,e,n).pipe(R(s=>(t._resolvedData=s,t.data=Aw(t,r).resolve,i&&uw(i)&&(t.data[Yo]=i.title),null)))}function WO(t,e,r,n){let i=qO(t);if(i.length===0)return S({});let o={};return ie(i).pipe(te(s=>GO(t[s],e,r,n).pipe(Qe(),ne(a=>{o[s]=a}))),Rr(1),Oi(o),Ye(s=>kw(s)?Ie:lt(s)))}function qO(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function GO(t,e,r,n){let i=rs(e)??n,o=Ci(t,i),s=o.resolve?o.resolve(e,r):i.runInContext(()=>o(e,r));return On(s)}function uw(t){return typeof t.title=="string"||t.title===null}function xh(t){return De(e=>{let r=t(e);return r?ie(r).pipe(R(()=>e)):S(e)})}var nu=new y("ROUTES"),op=(()=>{let e=class{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(Za)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=On(n.loadComponent()).pipe(R(lw),ne(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Ct(()=>{this.componentLoaders.delete(n)})),o=new qt(i,()=>new $).pipe(Ir());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return S({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(R(c=>{this.onLoadEndListener&&this.onLoadEndListener(i);let u,l,d=!1;return Array.isArray(c)?(l=c,d=!0):(u=c.create(n).injector,l=u.get(nu,[],F.Self|F.Optional).flat()),{routes:l.map(rp),injector:u}}),Ct(()=>{this.childrenLoaders.delete(i)})),a=new qt(s,()=>new $).pipe(Ir());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(n){return On(n()).pipe(R(lw),te(i=>i instanceof zi||Array.isArray(i)?S(i):ie(this.compiler.compileModuleAsync(i))))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function KO(t){return t&&typeof t=="object"&&"default"in t}function lw(t){return KO(t)?t.default:t}var sp=(()=>{let e=class{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new $,this.configLoader=E(op),this.environmentInjector=E(Ne),this.urlSerializer=E(iu),this.rootContexts=E(ns),this.inputBindingEnabled=E(ou,{optional:!0})!==null,this.navigationId=0,this.afterPreactivation=()=>S(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Bh(o)),i=o=>this.events.next(new Uh(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(Y(_(_({},this.transitions.value),n),{id:i}))}setupNavigations(n){return this.transitions=new ae({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Jo,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(he(i=>i.id!==0),R(i=>Y(_({},i),{extractedUrl:n.urlHandlingStrategy.extract(i.rawUrl)})),De(i=>{let o=!1,s=!1;return S(i).pipe(ne(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Y(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),De(a=>{let c=n.browserUrlTree.toString(),u=!n.navigated||a.extractedUrl.toString()!==c||c!==n.currentUrlTree.toString(),l=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new _r(a.id,n.serializeUrl(i.rawUrl),d,0)),n.rawUrlTree=a.rawUrl,a.resolve(null),Ie}if(n.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return dw(a.source)&&(n.browserUrlTree=a.extractedUrl),S(a).pipe(De(d=>{let f=this.transitions?.getValue();return this.events.next(new es(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Ie:Promise.resolve(d)}),$O(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),ne(d=>{if(i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=Y(_({},this.currentNavigation),{finalUrl:d.urlAfterRedirects}),n.urlUpdateStrategy==="eager"){if(!d.extras.skipLocationChange){let p=n.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);n.setBrowserUrl(p,d)}n.browserUrlTree=d.urlAfterRedirects}let f=new kh(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(u&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){let{id:d,extractedUrl:f,source:p,restoredState:m,extras:g}=a,w=new es(d,this.urlSerializer.serialize(f),p,m);this.events.next(w);let D=Mw(f,this.rootComponentType).snapshot;return i=Y(_({},a),{targetSnapshot:D,urlAfterRedirects:f,extras:Y(_({},g),{skipLocationChange:!1,replaceUrl:!1})}),S(i)}else{let d="";return this.events.next(new _r(a.id,n.serializeUrl(i.extractedUrl),d,1)),n.rawUrlTree=a.rawUrl,a.resolve(null),Ie}}),ne(a=>{let c=new Ph(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),R(a=>(i=Y(_({},a),{guards:lO(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),_O(this.environmentInjector,a=>this.events.next(a)),ne(a=>{if(i.guardsResult=a.guardsResult,wi(a.guardsResult))throw Nw(this.urlSerializer,a.guardsResult);let c=new Lh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),he(a=>a.guardsResult?!0:(n.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),xh(a=>{if(a.guards.canActivateChecks.length)return S(a).pipe(ne(c=>{let u=new jh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),De(c=>{let u=!1;return S(c).pipe(HO(n.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>u=!0,complete:()=>{u||(n.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ne(c=>{let u=new Vh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),xh(a=>{let c=u=>{let l=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(u.routeConfig).pipe(ne(d=>{u.component=d}),R(()=>{})));for(let d of u.children)l.push(...c(d));return l};return Hn(c(a.targetSnapshot.root)).pipe(vn(),ve(1))}),xh(()=>this.afterPreactivation()),R(a=>{let c=rO(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i=Y(_({},a),{targetRouterState:c}),i}),ne(a=>{n.currentUrlTree=a.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),n.routerState=a.targetRouterState,n.urlUpdateStrategy==="deferred"&&(a.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,a),n.browserUrlTree=a.urlAfterRedirects)}),uO(this.rootContexts,n.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ve(1),ne({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new kn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Ct(()=>{if(!o&&!s){let a="";this.cancelNavigationTransition(i,a,1)}this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Ye(a=>{if(s=!0,Fw(a)){iw(a)||(n.navigated=!0,n.restoreHistory(i,!0));let c=new Di(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(c),!iw(a))i.resolve(!1);else{let u=n.urlHandlingStrategy.merge(a.url,n.rawUrlTree),l={skipLocationChange:i.extras.skipLocationChange,replaceUrl:n.urlUpdateStrategy==="eager"||dw(i.source)};n.scheduleNavigation(u,Jo,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}else{n.restoreHistory(i,!0);let c=new Zc(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(c);try{i.resolve(n.errorHandler(a))}catch(u){i.reject(u)}}return Ie}))}))}cancelNavigationTransition(n,i,o){let s=new Di(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function dw(t){return t!==Jo}var jw=(()=>{let e=class{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===U);return i}getResolvedTitleForRoute(n){return n.data[Yo]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(ZO))()},providedIn:"root"})})(),t})(),ZO=(()=>{let e=class extends jw{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(gf))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),YO=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(QO))()},providedIn:"root"})})(),t})(),tp=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},QO=(()=>{let e=class extends tp{},t=e;return(()=>{e.\u0275fac=function(){let n;return function(o){return(n||(n=to(e)))(o||e)}}()})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),ap=new y("",{providedIn:"root",factory:()=>({})}),XO=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(JO))()},providedIn:"root"})})(),t})(),JO=(()=>{let e=class{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),qe=(()=>(qe=qe||{},qe[qe.COMPLETE=0]="COMPLETE",qe[qe.FAILED=1]="FAILED",qe[qe.REDIRECTING=2]="REDIRECTING",qe))();function Vw(t,e){t.events.pipe(he(r=>r instanceof kn||r instanceof Di||r instanceof Zc||r instanceof _r),R(r=>r instanceof kn||r instanceof _r?qe.COMPLETE:(r instanceof Di?r.code===0||r.code===1:!1)?qe.REDIRECTING:qe.FAILED),he(r=>r!==qe.REDIRECTING),ve(1)).subscribe(()=>{e()})}function eF(t){throw t}function tF(t,e,r){return e.parse("/")}var nF={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rF={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ln=(()=>{let e=class{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if(this.canceledNavigationResolution==="computed")return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=E(ri),this.isNgZoneEnabled=!1,this.options=E(ap,{optional:!0})||{},this.pendingTasks=E(ii),this.errorHandler=this.options.errorHandler||eF,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||tF,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=E(XO),this.routeReuseStrategy=E(YO),this.titleStrategy=E(jw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=E(nu,{optional:!0})?.flat()??[],this.navigationTransitions=E(sp),this.urlSerializer=E(iu),this.location=E(tc),this.componentInputBindingEnabled=!!E(ou,{optional:!0}),this.isNgZoneEnabled=E(P)instanceof P&&P.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Fn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Mw(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){let n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Jo,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{let i=n.type==="popstate"?"popstate":"hashchange";i==="popstate"&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,i,n.state)},0)}))}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=_({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=_(_({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let p=o?o.snapshot:this.routerState.snapshot.root;f=Cw(p)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return Sw(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=wi(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Jo,null,i)}navigate(n,i={skipLocationChange:!1}){return iF(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let i;try{i=this.urlSerializer.parse(n)}catch(o){i=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return i}isActive(n,i){let o;if(i===!0?o=_({},nF):i===!1?o=_({},rF):o=i,wi(n))return J_(this.currentUrlTree,n,o);let s=this.parseUrl(n);return J_(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.keys(n).reduce((i,o)=>{let s=n[o];return s!=null&&(i[o]=s),i},{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,p)=>{c=f,u=p});let d=this.pendingTasks.add();return Vw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=_(_({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=_(_({},i.extras.state),this.generateNgRouterState(i.id,(this.browserPageId??0)+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId??this.currentPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&s===0&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function iF(t){for(let e=0;e{let e=class{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new $,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof kn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:ly(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(ln),x(wr),no("tabindex"),x(uo),x(le),x(an))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&za("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&jt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",vo],skipLocationChange:["skipLocationChange","skipLocationChange",vo],replaceUrl:["replaceUrl","replaceUrl",vo],routerLink:"routerLink"},standalone:!0,features:[Ad,nn]})})(),t})();var ru=class{};var oF=(()=>{let e=class{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(he(n=>n instanceof kn),Et(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Wa(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return ie(o).pipe(gn())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=S(null);let s=o.pipe(te(a=>a===null?S(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ie([s,a]).pipe(gn())}else return s})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(ln),h(Za),h(Ne),h(ru),h(op))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Bw=new y(""),sF=(()=>{let e=class{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof es?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof kn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof _r&&n.code===0&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Yc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Yc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){Ua()}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function aF(t){return t.routerState.root}function au(t,e){return{\u0275kind:t,\u0275providers:e}}function cF(){let t=E(Ue);return e=>{let r=t.get(on);if(e!==r.components[0])return;let n=t.get(ln),i=t.get(Uw);t.get(cp)===1&&n.initialNavigation(),t.get($w,null,F.Optional)?.setUpPreloading(),t.get(Bw,null,F.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Uw=new y("",{factory:()=>new $}),cp=new y("",{providedIn:"root",factory:()=>1});function uF(){return au(2,[{provide:cp,useValue:0},{provide:Ga,multi:!0,deps:[Ue],useFactory:e=>{let r=e.get(jv,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(ln),o=e.get(Uw);Vw(i,()=>{n(!0)}),e.get(sp).afterPreactivation=()=>(n(!0),o.closed?S(void 0):o),i.initialNavigation()}))}}])}function lF(){return au(3,[{provide:Ga,multi:!0,useFactory:()=>{let e=E(ln);return()=>{e.setUpLocationChangeListener()}}},{provide:cp,useValue:2}])}var $w=new y("");function dF(t){return au(0,[{provide:$w,useExisting:oF},{provide:ru,useExisting:t}])}function fF(){return au(8,[rw,{provide:ou,useExisting:rw}])}var fw=new y("ROUTER_FORROOT_GUARD"),hF=[tc,{provide:iu,useClass:Qo},ln,ns,{provide:wr,useFactory:aF,deps:[ln]},op,[]];function pF(){return new Yi("Router",ln)}var O4=(()=>{let e=class{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[hF,[],{provide:nu,multi:!0,useValue:n},{provide:fw,useFactory:vF,deps:[[ln,new rr,new io]]},{provide:ap,useValue:i||{}},i?.useHash?gF():yF(),mF(),i?.preloadingStrategy?dF(i.preloadingStrategy).\u0275providers:[],{provide:Yi,multi:!0,useFactory:pF},i?.initialNavigation?bF(i):[],i?.bindToComponentInputs?fF().\u0275providers:[],_F()]}}static forChild(n){return{ngModule:e,providers:[{provide:nu,multi:!0,useValue:n}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(fw,8))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();function mF(){return{provide:Bw,useFactory:()=>{let t=E(Hv),e=E(P),r=E(ap),n=E(sp),i=E(iu);return r.scrollOffset&&t.setOffset(r.scrollOffset),new sF(i,n,t,e,r)}}}function gF(){return{provide:an,useClass:Bv}}function yF(){return{provide:an,useClass:Jd}}function vF(t){return"guarded"}function bF(t){return[t.initialNavigation==="disabled"?lF().\u0275providers:[],t.initialNavigation==="enabledBlocking"?uF().\u0275providers:[]]}var hw=new y("");function _F(){return[{provide:hw,useFactory:cF},{provide:Xa,multi:!0,useExisting:hw}]}function L4(t){let e={};e[t.name]=t.params;for(let r in t.events){let n=`${t.name}${r[0].toUpperCase()}${r.slice(1)}`;e[n]=vh()}return e}var cu=class extends Error{constructor(){super(...arguments),this.name=this.constructor.name}};var Dr=class{constructor(e,r={}){this.identifier=e,this.entities=r}identify(e){return this.identifier(e)}all(){return Object.values(this.entities)}retrieve(e){let r=this.entities[e];if(!r)throw new os(e);return r}query(e){return this.all().filter(e)}queryOne(e){return this.all().find(e)??null}insert(...e){let r=e.reduce((i,o)=>{let s=this.identify(o);if(s in i)throw new up(s,o);return Y(_({},i),{[s]:o})},{}),n=_(_({},this.entities),r);return new Dr(this.identifier,n)}update(e,r){let n=this.entities[e];if(!n)throw new os(e);let i=_(_({},n),r),o=Y(_({},this.entities),{[e]:i});return new Dr(this.identifier,o)}upsert(...e){let r=e.reduce((n,i)=>{let o=this.identify(i);return Y(_({},n),{[o]:i})},this.entities);return new Dr(this.identifier,r)}delete(...e){let r=_({},this.entities);return e.forEach(n=>{if(!(n in r))throw new os(n);delete r[n]}),new Dr(this.identifier,r)}toString(){return JSON.stringify(this.entities)}toJSON(){return this.entities}},uu=class extends cu{},up=class extends uu{constructor(e,r){let n=JSON.stringify(r),i=`Entity duplicate + before dispatching the action. For example, someAction should be someAction().`);if(typeof n>"u")throw new TypeError("Actions must be objects");if(typeof n.type>"u")throw new TypeError("Actions must have a type property");super.next(n)}complete(){}ngOnDestroy(){super.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),FR=[hi],L_=new y("@ngrx/store Internal Root Guard"),w_=new y("@ngrx/store Internal Initial State"),_h=new y("@ngrx/store Initial State"),j_=new y("@ngrx/store Reducer Factory"),D_=new y("@ngrx/store Internal Reducer Factory Provider"),V_=new y("@ngrx/store Initial Reducers"),fh=new y("@ngrx/store Internal Initial Reducers"),E_=new y("@ngrx/store Store Features"),C_=new y("@ngrx/store Internal Store Reducers"),hh=new y("@ngrx/store Internal Feature Reducers"),S_=new y("@ngrx/store Internal Feature Configs"),B_=new y("@ngrx/store Internal Store Features"),I_=new y("@ngrx/store Internal Feature Reducers Token"),U_=new y("@ngrx/store Feature Reducers"),T_=new y("@ngrx/store User Provided Meta Reducers"),jc=new y("@ngrx/store Meta Reducers"),M_=new y("@ngrx/store Internal Resolved Meta Reducers"),A_=new y("@ngrx/store User Runtime Checks Config"),x_=new y("@ngrx/store Internal User Runtime Checks Config"),zo=new y("@ngrx/store Internal Runtime Checks"),wh=new y("@ngrx/store Check if Action types are unique"),Q8=new y("@ngrx/store Root Store Provider"),X8=new y("@ngrx/store Feature State Provider");function Dh(t,e={}){let r=Object.keys(t),n={};for(let o=0;or!==e).reduce((r,n)=>Object.assign(r,{[n]:t[n]}),{})}function $_(...t){return function(e){if(t.length===0)return e;let r=t[t.length-1];return t.slice(0,-1).reduceRight((i,o)=>o(i),r(e))}}function H_(t,e){return Array.isArray(e)&&e.length>0&&(t=$_.apply(null,[...e,t])),(r,n)=>{let i=t(r);return(o,s)=>(o=o===void 0?n:o,i(o,s))}}function PR(t){let e=Array.isArray(t)&&t.length>0?$_(...t):r=>r;return(r,n)=>(r=e(r),(i,o)=>(i=i===void 0?n:i,r(i,o)))}var Wo=class extends M{},Vc=class extends hi{},LR="@ngrx/store/update-reducers",Bc=(()=>{let e=class extends ae{get currentReducers(){return this.reducers}constructor(n,i,o,s){super(s(o,i)),this.dispatcher=n,this.initialState=i,this.reducers=o,this.reducerFactory=s}addFeature(n){this.addFeatures([n])}addFeatures(n){let i=n.reduce((o,{reducers:s,reducerFactory:a,metaReducers:c,initialState:u,key:l})=>{let d=typeof s=="function"?PR(c)(s,u):H_(a,c)(s,u);return o[l]=d,o},{});this.addReducers(i)}removeFeature(n){this.removeFeatures([n])}removeFeatures(n){this.removeReducers(n.map(i=>i.key))}addReducer(n,i){this.addReducers({[n]:i})}addReducers(n){this.reducers=_(_({},this.reducers),n),this.updateReducers(Object.keys(n))}removeReducer(n){this.removeReducers([n])}removeReducers(n){n.forEach(i=>{this.reducers=kR(this.reducers,i)}),this.updateReducers(n)}updateReducers(n){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:LR,features:n})}ngOnDestroy(){this.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Vc),h(_h),h(V_),h(j_))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),jR=[Bc,{provide:Wo,useExisting:Bc},{provide:Vc,useExisting:hi}],Eh=(()=>{let e=class extends ${ngOnDestroy(){this.complete()}},t=e;return(()=>{e.\u0275fac=function(){let n;return function(o){return(n||(n=to(e)))(o||e)}}()})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),VR=[Eh],Uc=class extends M{},R_=(()=>{let e=class extends ae{constructor(n,i,o,s){super(s);let c=n.pipe($n(Du)).pipe(Ps(i)),u={state:s},l=c.pipe(ki(BR,u));this.stateSubscription=l.subscribe(({state:d,action:f})=>{this.next(d),o.next(f)}),this.state=lh(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}},t=e;return(()=>{e.INIT=P_})(),(()=>{e.\u0275fac=function(i){return new(i||e)(h(hi),h(Wo),h(Eh),h(_h))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function BR(t={state:void 0},[e,r]){let{state:n}=t;return{state:r(n,e),action:e}}var UR=[R_,{provide:Uc,useExisting:R_}],Ch=(()=>{let e=class extends M{constructor(n,i,o){super(),this.actionsObserver=i,this.reducerManager=o,this.source=n,this.state=n.state}select(n,...i){return HR.call(null,n,...i)(this)}selectSignal(n,i){return xa(()=>n(this.state()),{equal:i?.equal||((o,s)=>o===s)})}lift(n){let i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=n,i}dispatch(n){this.actionsObserver.next(n)}next(n){this.actionsObserver.next(n)}error(n){this.actionsObserver.error(n)}complete(){this.actionsObserver.complete()}addReducer(n,i){this.reducerManager.addReducer(n,i)}removeReducer(n){this.reducerManager.removeReducer(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(Uc),h(hi),h(Bc))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})(),$R=[Ch];function HR(t,e,...r){return function(i){let o;if(typeof t=="string"){let s=[e,...r].filter(Boolean);o=i.pipe(Au(t,...s))}else if(typeof t=="function")o=i.pipe(R(s=>t(s,e)));else throw new TypeError(`Unexpected type '${typeof t}' in select operator, expected 'string' or 'function'`);return o.pipe(Kt())}}var Sh="https://ngrx.io/guide/store/configuration/runtime-checks";function N_(t){return t===void 0}function O_(t){return t===null}function z_(t){return Array.isArray(t)}function zR(t){return typeof t=="string"}function WR(t){return typeof t=="boolean"}function qR(t){return typeof t=="number"}function W_(t){return typeof t=="object"&&t!==null}function GR(t){return W_(t)&&!z_(t)}function q_(t){if(!GR(t))return!1;let e=Object.getPrototypeOf(t);return e===Object.prototype||e===null}function mh(t){return typeof t=="function"}function KR(t){return mh(t)&&t.hasOwnProperty("\u0275cmp")}function ZR(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var YR=!1;function QR(){return YR}function F_(t,e){return t===e}function XR(t,e,r){for(let n=0;ns(t));return n.memoized.apply(null,o)}let i=e.map(o=>o(t,r));return n.memoized.apply(null,[...i,r])}function eN(t,e={stateFn:JR}){return function(...r){let n=r;if(Array.isArray(n[0])){let[l,...d]=n;n=[...l,...d]}else n.length===1&&nN(n[0])&&(n=rN(n[0]));let i=n.slice(0,n.length-1),o=n[n.length-1],s=i.filter(l=>l.release&&typeof l.release=="function"),a=t(function(...l){return o.apply(null,l)}),c=G_(function(l,d){return e.stateFn.apply(null,[l,i,d,a])});function u(){c.reset(),a.reset(),s.forEach(l=>l.release())}return Object.assign(c.memoized,{release:u,projector:a.memoized,setResult:c.setResult,clearResult:c.clearResult})}}function tN(t){return K_(e=>{let r=e[t];return!QR()&&$d()&&!(t in e)&&console.warn(`@ngrx/store: The feature name "${t}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${t}', ...) or StoreModule.forFeature('${t}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),r},e=>e)}function nN(t){return!!t&&typeof t=="object"&&Object.values(t).every(e=>typeof e=="function")}function rN(t){let e=Object.values(t),r=Object.keys(t),n=(...i)=>r.reduce((o,s,a)=>Y(_({},o),{[s]:i[a]}),{});return[...e,n]}function J8(t){let{name:e,reducer:r,extraSelectors:n}=t,i=tN(e),o=iN(i,r),s=_({[`select${bh(e)}State`]:i},o),a=n?n(s):{};return _(_({name:e,reducer:r},s),a)}function iN(t,e){let r=oN(e);return(q_(r)?Object.keys(r):[]).reduce((i,o)=>Y(_({},i),{[`select${bh(o)}`]:K_(t,s=>s?.[o])}),{})}function oN(t){return t(void 0,{type:"@ngrx/feature/init"})}function sN(t){return t instanceof y?E(t):t}function aN(t,e){return e.map((r,n)=>{if(t[n]instanceof y){let i=E(t[n]);return{key:r.key,reducerFactory:i.reducerFactory?i.reducerFactory:Dh,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return r})}function cN(t){return t.map(e=>e instanceof y?E(e):e)}function Z_(t){return typeof t=="function"?t():t}function uN(t,e){return t.concat(e)}function lN(){if(E(Ch,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function dN(t,e){return function(r,n){let i=e.action(n)?gh(n):n,o=t(r,i);return e.state()?gh(o):o}}function gh(t){Object.freeze(t);let e=mh(t);return Object.getOwnPropertyNames(t).forEach(r=>{if(!r.startsWith("\u0275")&&ZR(t,r)&&(!e||r!=="caller"&&r!=="callee"&&r!=="arguments")){let n=t[r];(W_(n)||mh(n))&&!Object.isFrozen(n)&&gh(n)}}),t}function fN(t,e){return function(r,n){if(e.action(n)){let o=yh(n);k_(o,"action")}let i=t(r,n);if(e.state()){let o=yh(i);k_(o,"state")}return i}}function yh(t,e=[]){return(N_(t)||O_(t))&&e.length===0?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;let o=t[i];return KR(o)?n:N_(o)||O_(o)||qR(o)||WR(o)||zR(o)||z_(o)?!1:q_(o)?yh(o,[...e,i]):{path:[...e,i],value:o}},!1)}function k_(t,e){if(t===!1)return;let r=t.path.join("."),n=new Error(`Detected unserializable ${e} at "${r}". ${Sh}#strict${e}serializability`);throw n.value=t.value,n.unserializablePath=r,n}function hN(t,e){return function(r,n){if(e.action(n)&&!P.isInAngularZone())throw new Error(`Action '${n.type}' running outside NgZone. ${Sh}#strictactionwithinngzone`);return t(r,n)}}function pN(t){return $d()?_({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function mN({strictActionSerializability:t,strictStateSerializability:e}){return r=>t||e?fN(r,{action:n=>t&&!Ih(n),state:()=>e}):r}function gN({strictActionImmutability:t,strictStateImmutability:e}){return r=>t||e?dN(r,{action:n=>t&&!Ih(n),state:()=>e}):r}function Ih(t){return t.type.startsWith("@ngrx")}function yN({strictActionWithinNgZone:t}){return e=>t?hN(e,{action:r=>t&&!Ih(r)}):e}function vN(t){return[{provide:x_,useValue:t},{provide:A_,useFactory:bN,deps:[x_]},{provide:zo,deps:[A_],useFactory:pN},{provide:jc,multi:!0,deps:[zo],useFactory:gN},{provide:jc,multi:!0,deps:[zo],useFactory:mN},{provide:jc,multi:!0,deps:[zo],useFactory:yN}]}function Y_(){return[{provide:wh,multi:!0,deps:[zo],useFactory:_N}]}function bN(t){return t}function _N(t){if(!t.strictActionTypeUniqueness)return;let e=Object.entries(ph).filter(([,r])=>r>1).map(([r])=>r);if(e.length)throw new Error(`Action types are registered more than once, ${e.map(r=>`"${r}"`).join(", ")}. ${Sh}#strictactiontypeuniqueness`)}function wN(t={},e={}){return[{provide:L_,useFactory:lN},{provide:w_,useValue:e.initialState},{provide:_h,useFactory:Z_,deps:[w_]},{provide:fh,useValue:t},{provide:C_,useExisting:t instanceof y?t:fh},{provide:V_,deps:[fh,[new hd(C_)]],useFactory:sN},{provide:T_,useValue:e.metaReducers?e.metaReducers:[]},{provide:M_,deps:[jc,T_],useFactory:uN},{provide:D_,useValue:e.reducerFactory?e.reducerFactory:Dh},{provide:j_,deps:[D_,M_],useFactory:H_},FR,jR,VR,UR,$R,vN(e.runtimeChecks),Y_()]}function DN(t,e,r={}){return[{provide:S_,multi:!0,useValue:t instanceof Object?{}:r},{provide:E_,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:!(r instanceof y)&&r.reducerFactory?r.reducerFactory:Dh,metaReducers:!(r instanceof y)&&r.metaReducers?r.metaReducers:[],initialState:!(r instanceof y)&&r.initialState?r.initialState:void 0}},{provide:B_,deps:[S_,E_],useFactory:aN},{provide:hh,multi:!0,useValue:t instanceof Object?t.reducer:e},{provide:I_,multi:!0,useExisting:e instanceof y?e:hh},{provide:U_,multi:!0,deps:[hh,[new hd(I_)]],useFactory:cN},Y_()]}var Q_=(()=>{let e=class{constructor(n,i,o,s,a,c){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(hi),h(Wo),h(Eh),h(Ch),h(L_,8),h(wh,8))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),EN=(()=>{let e=class{constructor(n,i,o,s,a){this.features=n,this.featureReducers=i,this.reducerManager=o;let c=n.map((u,l)=>{let f=i.shift()[l];return Y(_({},u),{reducers:f,initialState:Z_(u.initialState)})});o.addFeatures(c)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(B_),h(U_),h(Bc),h(Q_),h(wh,8))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})(),e4=(()=>{let e=class{static forRoot(n,i){return{ngModule:Q_,providers:[...wN(n,i)]}}static forFeature(n,i,o={}){return{ngModule:EN,providers:[...DN(n,i,o)]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();function t4(...t){let e=t.pop(),r=t.map(n=>n.type);return{reducer:e,types:r}}function n4(t,...e){let r=new Map;for(let n of e)for(let i of n.types){let o=r.get(i);if(o){let s=(a,c)=>n.reducer(o(a,c),c);r.set(i,s)}else r.set(i,n.reducer)}return function(n=t,i){let o=r.get(i.type);return o?o(n,i):n}}var U="primary",Yo=Symbol("RouteTitle"),Rh=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function _i(t){return new Rh(t)}function CN(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function pw(t){return t.length>0?t[t.length-1]:null}function On(t){return xi(t)?t:ei(t)?ie(Promise.resolve(t)):S(t)}var IN={exact:gw,subset:yw},mw={exact:TN,subset:MN,ignored:()=>!0};function X_(t,e,r){return IN[r.paths](t.root,e.root,r.matrixParams)&&mw[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function TN(t,e){return Ht(t,e)}function gw(t,e,r){if(!br(t.segments,e.segments)||!zc(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!gw(t.children[n],e.children[n],r))return!1;return!0}function MN(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>hw(t[r],e[r]))}function yw(t,e,r){return vw(t,e,e.segments,r)}function vw(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!br(i,r)||e.hasChildren()||!zc(i,r,n))}else if(t.segments.length===r.length){if(!br(t.segments,r)||!zc(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!yw(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!br(t.segments,i)||!zc(t.segments,i,n)||!t.children[U]?!1:vw(t.children[U],e,o,n)}}function zc(t,e,r){return e.every((n,i)=>mw[r](t[i].parameters,n.parameters))}var Fn=class{constructor(e=new Z([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){return RN.serialize(this)}},Z=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wc(this)}},vr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=_i(this.parameters)),this._parameterMap}toString(){return _w(this)}};function AN(t,e){return br(t,e)&&t.every((r,n)=>Ht(r.parameters,e[n].parameters))}function br(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function xN(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===U&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==U&&(r=r.concat(e(i,n)))}),r}var iu=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>new Qo)()},providedIn:"root"})})(),t})(),Qo=class{parse(e){let r=new Oh(e);return new Fn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${qo(e.root,!0)}`,n=FN(e.queryParams),i=typeof e.fragment=="string"?`#${NN(e.fragment)}`:"";return`${r}${n}${i}`}},RN=new Qo;function Wc(t){return t.segments.map(e=>_w(e)).join("/")}function qo(t,e){if(!t.hasChildren())return Wc(t);if(e){let r=t.children[U]?qo(t.children[U],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==U&&n.push(`${i}:${qo(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=xN(t,(n,i)=>i===U?[qo(t.children[U],!1)]:[`${i}:${qo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[U]!=null?`${Wc(t)}/${r[0]}`:`${Wc(t)}/(${r.join("//")})`}}function bw(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $c(t){return bw(t).replace(/%3B/gi,";")}function NN(t){return encodeURI(t)}function Nh(t){return bw(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qc(t){return decodeURIComponent(t)}function J_(t){return qc(t.replace(/\+/g,"%20"))}function _w(t){return`${Nh(t.path)}${ON(t.parameters)}`}function ON(t){return Object.keys(t).map(e=>`;${Nh(e)}=${Nh(t[e])}`).join("")}function FN(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(i=>`${$c(r)}=${$c(i)}`).join("&"):`${$c(r)}=${$c(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var kN=/^[^\/()?;#]+/;function Th(t){let e=t.match(kN);return e?e[0]:""}var PN=/^[^\/()?;=#]+/;function LN(t){let e=t.match(PN);return e?e[0]:""}var jN=/^[^=?&#]+/;function VN(t){let e=t.match(jN);return e?e[0]:""}var BN=/^[^&#]+/;function UN(t){let e=t.match(BN);return e?e[0]:""}var Oh=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Z([],{}):new Z([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[U]=new Z(e,r)),n}parseSegment(){let e=Th(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new vr(qc(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=LN(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Th(this.remaining);i&&(n=i,this.capture(n))}e[qc(r)]=qc(n)}parseQueryParam(e){let r=VN(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=UN(this.remaining);s&&(n=s,this.capture(n))}let i=J_(r),o=J_(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Th(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=U);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[U]:new Z([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function ww(t){return t.segments.length>0?new Z([],{[U]:t}):t}function Dw(t){let e={};for(let n of Object.keys(t.children)){let i=t.children[n],o=Dw(i);if(n===U&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new Z(t.segments,e);return $N(r)}function $N(t){if(t.numberOfChildren===1&&t.children[U]){let e=t.children[U];return new Z(t.segments.concat(e.segments),e.children)}return t}function wi(t){return t instanceof Fn}function HN(t,e,r=null,n=null){let i=Ew(t);return Cw(i,e,r,n)}function Ew(t){let e;function r(o){let s={};for(let c of o.children){let u=r(c);s[c.outlet]=u}let a=new Z(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=ww(n);return e??i}function Cw(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Mh(i,i,i,r,n);let o=zN(e);if(o.toRoot())return Mh(i,i,new Z([],{}),r,n);let s=WN(o,i,t),a=s.processChildren?Ko(s.segmentGroup,s.index,o.commands):Iw(s.segmentGroup,s.index,o.commands);return Mh(i,s.segmentGroup,a,r,n)}function Gc(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Xo(t){return typeof t=="object"&&t!=null&&t.outlets}function Mh(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Sw(t,e,r);let a=ww(Dw(s));return new Fn(a,o,i)}function Sw(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Sw(o,e,r)}),new Z(t.segments,n)}var Kc=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Gc(n[0]))throw new v(4003,!1);let i=n.find(Xo);if(i&&i!==pw(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zN(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Kc(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Kc(r,e,n)}var gi=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function WN(t,e,r){if(t.isAbsolute)return new gi(e,!0,0);if(!r)return new gi(e,!1,NaN);if(r.parent===null)return new gi(r,!0,0);let n=Gc(t.commands[0])?0:1,i=r.segments.length-1+n;return qN(r,i,t.numberOfDoubleDots)}function qN(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new v(4005,!1);i=n.segments.length}return new gi(n,!1,i-o)}function GN(t){return Xo(t[0])?t[0].outlets:{[U]:t}}function Iw(t,e,r){if(t||(t=new Z([],{})),t.segments.length===0&&t.hasChildren())return Ko(t,e,r);let n=KN(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Iw(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new Z(t.segments,i)}}function KN(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Xo(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!tw(c,u,s))return o;n+=2}else{if(!tw(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Fh(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Fh(new Z([],{}),0,n))}),e}function ew(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function tw(t,e,r){return t==r.path&&Ht(e,r.parameters)}var Jo="imperative",it=class{constructor(e,r){this.id=e,this.url=r}},es=class extends it{constructor(e,r,n="imperative",i=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},kn=class extends it{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Di=class extends it{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},_r=class extends it{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=16}},Zc=class extends it{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},kh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ph=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lh=class extends it{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},jh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bh=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Uh=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},$h=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hh=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zh=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wh=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yc=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}};var qh=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ns,this.attachRef=null}},ns=(()=>{let e=class{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new qh,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Qc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Gh(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Gh(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Kh(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Kh(e,this._root).map(r=>r.value)}};function Gh(t,e){if(t===e.value)return e;for(let r of e.children){let n=Gh(t,r);if(n)return n}return null}function Kh(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Kh(t,r);if(n.length)return n.unshift(e),n}return[]}var bt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function mi(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Xc=class extends Qc{constructor(e,r){super(e),this.snapshot=r,np(this,e)}toString(){return this.snapshot.toString()}};function Tw(t,e){let r=YN(t,e),n=new ae([new vr("",{})]),i=new ae({}),o=new ae({}),s=new ae({}),a=new ae(""),c=new wr(n,i,s,a,o,U,e,r.root);return c.snapshot=r.root,new Xc(new bt(c,[]),r)}function YN(t,e){let r={},n={},i={},o="",s=new yi([],r,i,o,n,U,e,null,{});return new Jc("",new bt(s,[]))}var wr=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[Yo]))??S(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(R(e=>_i(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(R(e=>_i(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Mw(t,e="emptyOnly"){let r=t.pathFromRoot,n=0;if(e!=="always")for(n=r.length-1;n>=1;){let i=r[n],o=r[n-1];if(i.routeConfig&&i.routeConfig.path==="")n--;else if(!o.component)n--;else break}return QN(r.slice(n))}function QN(t){return t.reduce((e,r)=>{let n=_(_({},e.params),r.params),i=_(_({},e.data),r.data),o=_(_(_(_({},r.data),e.resolve),r.routeConfig?.data),r._resolvedData);return{params:n,data:i,resolve:o}},{params:{},data:{},resolve:{}})}var yi=class{get title(){return this.data?.[Yo]}constructor(e,r,n,i,o,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_i(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Jc=class extends Qc{constructor(e,r){super(r),this.url=e,np(this,r)}toString(){return Aw(this._root)}};function np(t,e){e.value._routerState=t,e.children.forEach(r=>np(t,r))}function Aw(t){let e=t.children.length>0?` { ${t.children.map(Aw).join(", ")} } `:"";return`${t.value}${e}`}function Ah(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Ht(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Ht(e.params,r.params)||t.paramsSubject.next(r.params),SN(e.url,r.url)||t.urlSubject.next(r.url),Ht(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Zh(t,e){let r=Ht(t.params,e.params)&&AN(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Zh(t.parent,e.parent))}var XN=(()=>{let e=class{constructor(){this.activated=null,this._activatedRoute=null,this.name=U,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=E(ns),this.location=E($e),this.changeDetector=E(ur),this.environmentInjector=E(Ne),this.inputBinder=E(ou,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Yh(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[nn]})})(),t})(),Yh=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===wr?this.route:e===ns?this.childContexts:this.parent.get(e,r)}},ou=new y(""),nw=(()=>{let e=class{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=Hn([i.queryParams,i.params,i.data]).pipe(De(([s,a,c],u)=>(c=_(_(_({},s),a),c),u===0?S(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Mv(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function JN(t,e,r){let n=ts(t,e._root,r?r._root:void 0);return new Xc(n,e)}function ts(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=eO(t,e,r);return new bt(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ts(t,a)),s}}let n=tO(e.value),i=e.children.map(o=>ts(t,o));return new bt(n,i)}}function eO(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ts(t,n,i);return ts(t,n)})}function tO(t){return new wr(new ae(t.url),new ae(t.params),new ae(t.queryParams),new ae(t.fragment),new ae(t.data),t.outlet,t.component,t)}var xw="ngNavigationCancelingError";function Rw(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=wi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Nw(!1,0,e);return i.url=r,i.navigationBehaviorOptions=n,i}function Nw(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[xw]=!0,n.cancellationCode=e,r&&(n.url=r),n}function rw(t){return Ow(t)&&wi(t.url)}function Ow(t){return t&&t[xw]}var nO=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=Ot({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ld],decls:1,vars:0,template:function(i,o){i&1&&Mn(0,"router-outlet")},dependencies:[XN],encapsulation:2})})(),t})();function rO(t,e){return t.providers&&!t._injector&&(t._injector=Wa(t.providers,e,`Route: ${t.path}`)),t._injector??e}function rp(t){let e=t.children&&t.children.map(rp),r=e?Y(_({},t),{children:e}):_({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==U&&(r.component=nO),r}function _t(t){return t.outlet||U}function iO(t,e){let r=t.filter(n=>_t(n)===e);return r.push(...t.filter(n=>_t(n)!==e)),r}function rs(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var oO=(t,e,r,n)=>R(i=>(new Qh(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Qh=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Ah(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=mi(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=mi(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=mi(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=mi(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Wh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Hh(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Ah(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ah(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=rs(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},eu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},vi=class{constructor(e,r){this.component=e,this.route=r}};function sO(t,e,r){let n=t._root,i=e?e._root:null;return Go(n,i,r,[n.value])}function aO(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Ci(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Bm(t)?t:e.get(t):n}function Go(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=mi(e);return t.children.forEach(s=>{cO(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Zo(a,r.getContext(s),i)),i}function cO(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=uO(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new eu(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Go(t,e,a?a.children:null,n,i):Go(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new vi(a.outlet.component,s))}else s&&Zo(e,a,i),i.canActivateChecks.push(new eu(n)),o.component?Go(t,null,a?a.children:null,n,i):Go(t,null,r,n,i);return i}function uO(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!br(t.url,e.url);case"pathParamsOrQueryParamsChange":return!br(t.url,e.url)||!Ht(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zh(t,e)||!Ht(t.queryParams,e.queryParams);case"paramsChange":default:return!Zh(t,e)}}function Zo(t,e,r){let n=mi(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Zo(s,e.children.getContext(o),r):Zo(s,null,r):Zo(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new vi(e.outlet.component,i)):r.canDeactivateChecks.push(new vi(null,i)):r.canDeactivateChecks.push(new vi(null,i))}function is(t){return typeof t=="function"}function lO(t){return typeof t=="boolean"}function dO(t){return t&&is(t.canLoad)}function fO(t){return t&&is(t.canActivate)}function hO(t){return t&&is(t.canActivateChild)}function pO(t){return t&&is(t.canDeactivate)}function mO(t){return t&&is(t.canMatch)}function Fw(t){return t instanceof dt||t?.name==="EmptyError"}var Hc=Symbol("INITIAL_VALUE");function Ei(){return De(t=>Hn(t.map(e=>e.pipe(ve(1),Zt(Hc)))).pipe(R(e=>{for(let r of e)if(r!==!0){if(r===Hc)return Hc;if(r===!1||r instanceof Fn)return r}return!0}),he(e=>e!==Hc),ve(1)))}function gO(t,e){return te(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?S(Y(_({},r),{guardsResult:!0})):yO(s,n,i,t).pipe(te(a=>a&&lO(a)?vO(n,o,t,e):S(a)),R(a=>Y(_({},r),{guardsResult:a})))})}function yO(t,e,r,n){return ie(t).pipe(te(i=>EO(i.component,i.route,r,e,n)),Qe(i=>i!==!0,!0))}function vO(t,e,r,n){return ie(e).pipe(Et(i=>Ze(_O(i.route.parent,n),bO(i.route,n),DO(t,i.path,r),wO(t,i.route,r))),Qe(i=>i!==!0,!0))}function bO(t,e){return t!==null&&e&&e(new zh(t)),S(!0)}function _O(t,e){return t!==null&&e&&e(new $h(t)),S(!0)}function wO(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return S(!0);let i=n.map(o=>Rs(()=>{let s=rs(e)??r,a=Ci(o,s),c=fO(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t));return On(c).pipe(Qe())}));return S(i).pipe(Ei())}function DO(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>aO(s)).filter(s=>s!==null).map(s=>Rs(()=>{let a=s.guards.map(c=>{let u=rs(s.node)??r,l=Ci(c,u),d=hO(l)?l.canActivateChild(n,t):u.runInContext(()=>l(n,t));return On(d).pipe(Qe())});return S(a).pipe(Ei())}));return S(o).pipe(Ei())}function EO(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let s=o.map(a=>{let c=rs(e)??i,u=Ci(a,c),l=pO(u)?u.canDeactivate(t,e,r,n):c.runInContext(()=>u(t,e,r,n));return On(l).pipe(Qe())});return S(s).pipe(Ei())}function CO(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return S(!0);let o=i.map(s=>{let a=Ci(s,t),c=dO(a)?a.canLoad(e,r):t.runInContext(()=>a(e,r));return On(c)});return S(o).pipe(Ei(),kw(n))}function kw(t){return gu(ne(e=>{if(wi(e))throw Rw(t,e)}),R(e=>e===!0))}function SO(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return S(!0);let o=i.map(s=>{let a=Ci(s,t),c=mO(a)?a.canMatch(e,r):t.runInContext(()=>a(e,r));return On(c)});return S(o).pipe(Ei(),kw(n))}var bi=class{constructor(e){this.segmentGroup=e||null}},tu=class{constructor(e){this.urlTree=e}};function pi(t){return lt(new bi(t))}function iw(t){return lt(new tu(t))}function IO(t){return lt(new v(4e3,!1))}function TO(t){return lt(Nw(!1,3))}var Xh=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}noMatchError(e){return new v(4002,!1)}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return S(n);if(i.numberOfChildren>1||!i.children[U])return IO(e.redirectTo);i=i.children[U]}}applyRedirectCommands(e,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n)}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new Fn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new Z(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Jh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function MO(t,e,r,n,i){let o=ip(t,e,r);return o.matched?(n=rO(e,n),SO(n,e,r,i).pipe(R(s=>s===!0?o:_({},Jh)))):S(o)}function ip(t,e,r){if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?_({},Jh):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||CN)(r,t,e);if(!i)return _({},Jh);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?_(_({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ow(t,e,r,n){return r.length>0&&RO(t,r,n)?{segmentGroup:new Z(e,xO(n,new Z(r,t.children))),slicedSegments:[]}:r.length===0&&NO(t,r,n)?{segmentGroup:new Z(t.segments,AO(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new Z(t.segments,t.children),slicedSegments:r}}function AO(t,e,r,n,i){let o={};for(let s of n)if(su(t,r,s)&&!i[_t(s)]){let a=new Z([],{});o[_t(s)]=a}return _(_({},i),o)}function xO(t,e){let r={};r[U]=e;for(let n of t)if(n.path===""&&_t(n)!==U){let i=new Z([],{});r[_t(n)]=i}return r}function RO(t,e,r){return r.some(n=>su(t,e,n)&&_t(n)!==U)}function NO(t,e,r){return r.some(n=>su(t,e,n))}function su(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function OO(t,e,r,n){return _t(t)!==n&&(n===U||!su(e,r,t))?!1:t.path==="**"?!0:ip(e,t,r).matched}function FO(t,e,r){return e.length===0&&!t.children[r]}function kO(t,e,r,n,i,o,s="emptyOnly"){return new ep(t,e,r,n,i,s,o).recognize()}var ep=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new Xh(this.urlSerializer,this.urlTree)}noMatchError(e){return new v(4002,!1)}recognize(){let e=ow(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,U).pipe(Ye(r=>{if(r instanceof tu)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof bi?this.noMatchError(r):r}),R(r=>{let n=new yi([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,{},U,this.rootComponentType,null,{}),i=new bt(n,r),o=new Jc("",i),s=HN(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e.root,U).pipe(Ye(n=>{throw n instanceof bi?this.noMatchError(n):n}))}inheritParamsAndData(e){let r=e.value,n=Mw(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),e.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0)}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return ie(i).pipe(Et(o=>{let s=n.children[o],a=iO(r,o);return this.processSegmentGroup(e,a,s,o)}),ki((o,s)=>(o.push(...s),o)),vn(null),Mu(),te(o=>{if(o===null)return pi(n);let s=Pw(o);return PO(s),S(s)}))}processSegment(e,r,n,i,o,s){return ie(r).pipe(Et(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(Ye(c=>{if(c instanceof bi)return S(null);throw c}))),Qe(a=>!!a),Ye(a=>{if(Fw(a))return FO(n,i,o)?S([]):pi(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return OO(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):pi(i):pi(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){return i.path==="**"?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,n,i){let o=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?iw(o):this.applyRedirects.lineralizeSegments(n,o).pipe(te(s=>{let a=new Z(s,{});return this.processSegment(e,r,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:c,remainingSegments:u,positionalParamSegments:l}=ip(r,i,o);if(!a)return pi(r);let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,l);return i.redirectTo.startsWith("/")?iw(d):this.applyRedirects.lineralizeSegments(i,d).pipe(te(f=>this.processSegment(e,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a;if(n.path==="**"){let c=i.length>0?pw(i).parameters:{},u=new yi(i,c,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,sw(n),_t(n),n.component??n._loadedComponent??null,n,aw(n));a=S({snapshot:u,consumedSegments:[],remainingSegments:[]}),r.children={}}else a=MO(r,n,i,e,this.urlSerializer).pipe(R(({matched:c,consumedSegments:u,remainingSegments:l,parameters:d})=>c?{snapshot:new yi(u,d,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,sw(n),_t(n),n.component??n._loadedComponent??null,n,aw(n)),consumedSegments:u,remainingSegments:l}:null));return a.pipe(De(c=>c===null?pi(r):(e=n._injector??e,this.getChildConfig(e,n,i).pipe(De(({routes:u})=>{let l=n._loadedInjector??e,{snapshot:d,consumedSegments:f,remainingSegments:p}=c,{segmentGroup:m,slicedSegments:g}=ow(r,f,p,u);if(g.length===0&&m.hasChildren())return this.processChildren(l,u,m).pipe(R(D=>D===null?null:[new bt(d,D)]));if(u.length===0&&g.length===0)return S([new bt(d,[])]);let w=_t(n)===o;return this.processSegment(l,u,m,g,w?U:o,!0).pipe(R(D=>[new bt(d,D)]))})))))}getChildConfig(e,r,n){return r.children?S({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?S({routes:r._loadedRoutes,injector:r._loadedInjector}):CO(e,r,n,this.urlSerializer).pipe(te(i=>i?this.configLoader.loadChildren(e,r).pipe(ne(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):TO(r))):S({routes:[],injector:e})}};function PO(t){t.sort((e,r)=>e.value.outlet===U?-1:r.value.outlet===U?1:e.value.outlet.localeCompare(r.value.outlet))}function LO(t){let e=t.value.routeConfig;return e&&e.path===""}function Pw(t){let e=[],r=new Set;for(let n of t){if(!LO(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Pw(n.children);e.push(new bt(n.value,i))}return e.filter(n=>!r.has(n))}function sw(t){return t.data||{}}function aw(t){return t.resolve||{}}function jO(t,e,r,n,i,o){return te(s=>kO(t,e,r,n,s.extractedUrl,i,o).pipe(R(({state:a,tree:c})=>Y(_({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function VO(t,e){return te(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return S(r);let o=0;return ie(i).pipe(Et(s=>BO(s.route,n,t,e)),ne(()=>o++),Rr(1),te(s=>o===i.length?S(r):Ie))})}function BO(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!cw(i)&&(o[Yo]=i.title),UO(o,t,e,n).pipe(R(s=>(t._resolvedData=s,t.data=Mw(t,r).resolve,i&&cw(i)&&(t.data[Yo]=i.title),null)))}function UO(t,e,r,n){let i=$O(t);if(i.length===0)return S({});let o={};return ie(i).pipe(te(s=>HO(t[s],e,r,n).pipe(Qe(),ne(a=>{o[s]=a}))),Rr(1),Oi(o),Ye(s=>Fw(s)?Ie:lt(s)))}function $O(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function HO(t,e,r,n){let i=rs(e)??n,o=Ci(t,i),s=o.resolve?o.resolve(e,r):i.runInContext(()=>o(e,r));return On(s)}function cw(t){return typeof t.title=="string"||t.title===null}function xh(t){return De(e=>{let r=t(e);return r?ie(r).pipe(R(()=>e)):S(e)})}var nu=new y("ROUTES"),op=(()=>{let e=class{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(Za)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=On(n.loadComponent()).pipe(R(uw),ne(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Ct(()=>{this.componentLoaders.delete(n)})),o=new qt(i,()=>new $).pipe(Ir());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return S({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(R(c=>{this.onLoadEndListener&&this.onLoadEndListener(i);let u,l,d=!1;return Array.isArray(c)?(l=c,d=!0):(u=c.create(n).injector,l=u.get(nu,[],F.Self|F.Optional).flat()),{routes:l.map(rp),injector:u}}),Ct(()=>{this.childrenLoaders.delete(i)})),a=new qt(s,()=>new $).pipe(Ir());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(n){return On(n()).pipe(R(uw),te(i=>i instanceof zi||Array.isArray(i)?S(i):ie(this.compiler.compileModuleAsync(i))))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function zO(t){return t&&typeof t=="object"&&"default"in t}function uw(t){return zO(t)?t.default:t}var sp=(()=>{let e=class{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new $,this.configLoader=E(op),this.environmentInjector=E(Ne),this.urlSerializer=E(iu),this.rootContexts=E(ns),this.inputBindingEnabled=E(ou,{optional:!0})!==null,this.navigationId=0,this.afterPreactivation=()=>S(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Bh(o)),i=o=>this.events.next(new Uh(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(Y(_(_({},this.transitions.value),n),{id:i}))}setupNavigations(n){return this.transitions=new ae({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Jo,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(he(i=>i.id!==0),R(i=>Y(_({},i),{extractedUrl:n.urlHandlingStrategy.extract(i.rawUrl)})),De(i=>{let o=!1,s=!1;return S(i).pipe(ne(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Y(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),De(a=>{let c=n.browserUrlTree.toString(),u=!n.navigated||a.extractedUrl.toString()!==c||c!==n.currentUrlTree.toString(),l=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new _r(a.id,n.serializeUrl(i.rawUrl),d,0)),n.rawUrlTree=a.rawUrl,a.resolve(null),Ie}if(n.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return lw(a.source)&&(n.browserUrlTree=a.extractedUrl),S(a).pipe(De(d=>{let f=this.transitions?.getValue();return this.events.next(new es(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Ie:Promise.resolve(d)}),jO(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),ne(d=>{if(i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=Y(_({},this.currentNavigation),{finalUrl:d.urlAfterRedirects}),n.urlUpdateStrategy==="eager"){if(!d.extras.skipLocationChange){let p=n.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);n.setBrowserUrl(p,d)}n.browserUrlTree=d.urlAfterRedirects}let f=new kh(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(u&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){let{id:d,extractedUrl:f,source:p,restoredState:m,extras:g}=a,w=new es(d,this.urlSerializer.serialize(f),p,m);this.events.next(w);let D=Tw(f,this.rootComponentType).snapshot;return i=Y(_({},a),{targetSnapshot:D,urlAfterRedirects:f,extras:Y(_({},g),{skipLocationChange:!1,replaceUrl:!1})}),S(i)}else{let d="";return this.events.next(new _r(a.id,n.serializeUrl(i.extractedUrl),d,1)),n.rawUrlTree=a.rawUrl,a.resolve(null),Ie}}),ne(a=>{let c=new Ph(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),R(a=>(i=Y(_({},a),{guards:sO(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),gO(this.environmentInjector,a=>this.events.next(a)),ne(a=>{if(i.guardsResult=a.guardsResult,wi(a.guardsResult))throw Rw(this.urlSerializer,a.guardsResult);let c=new Lh(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),he(a=>a.guardsResult?!0:(n.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),xh(a=>{if(a.guards.canActivateChecks.length)return S(a).pipe(ne(c=>{let u=new jh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),De(c=>{let u=!1;return S(c).pipe(VO(n.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>u=!0,complete:()=>{u||(n.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ne(c=>{let u=new Vh(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),xh(a=>{let c=u=>{let l=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(u.routeConfig).pipe(ne(d=>{u.component=d}),R(()=>{})));for(let d of u.children)l.push(...c(d));return l};return Hn(c(a.targetSnapshot.root)).pipe(vn(),ve(1))}),xh(()=>this.afterPreactivation()),R(a=>{let c=JN(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i=Y(_({},a),{targetRouterState:c}),i}),ne(a=>{n.currentUrlTree=a.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),n.routerState=a.targetRouterState,n.urlUpdateStrategy==="deferred"&&(a.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,a),n.browserUrlTree=a.urlAfterRedirects)}),oO(this.rootContexts,n.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ve(1),ne({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new kn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Ct(()=>{if(!o&&!s){let a="";this.cancelNavigationTransition(i,a,1)}this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Ye(a=>{if(s=!0,Ow(a)){rw(a)||(n.navigated=!0,n.restoreHistory(i,!0));let c=new Di(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(c),!rw(a))i.resolve(!1);else{let u=n.urlHandlingStrategy.merge(a.url,n.rawUrlTree),l={skipLocationChange:i.extras.skipLocationChange,replaceUrl:n.urlUpdateStrategy==="eager"||lw(i.source)};n.scheduleNavigation(u,Jo,null,l,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}else{n.restoreHistory(i,!0);let c=new Zc(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(c);try{i.resolve(n.errorHandler(a))}catch(u){i.reject(u)}}return Ie}))}))}cancelNavigationTransition(n,i,o){let s=new Di(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function lw(t){return t!==Jo}var Lw=(()=>{let e=class{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===U);return i}getResolvedTitleForRoute(n){return n.data[Yo]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(WO))()},providedIn:"root"})})(),t})(),WO=(()=>{let e=class extends Lw{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(gf))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),qO=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(GO))()},providedIn:"root"})})(),t})(),tp=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},GO=(()=>{let e=class extends tp{},t=e;return(()=>{e.\u0275fac=function(){let n;return function(o){return(n||(n=to(e)))(o||e)}}()})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),ap=new y("",{providedIn:"root",factory:()=>({})}),KO=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:function(){return(()=>E(ZO))()},providedIn:"root"})})(),t})(),ZO=(()=>{let e=class{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),qe=(()=>(qe=qe||{},qe[qe.COMPLETE=0]="COMPLETE",qe[qe.FAILED=1]="FAILED",qe[qe.REDIRECTING=2]="REDIRECTING",qe))();function jw(t,e){t.events.pipe(he(r=>r instanceof kn||r instanceof Di||r instanceof Zc||r instanceof _r),R(r=>r instanceof kn||r instanceof _r?qe.COMPLETE:(r instanceof Di?r.code===0||r.code===1:!1)?qe.REDIRECTING:qe.FAILED),he(r=>r!==qe.REDIRECTING),ve(1)).subscribe(()=>{e()})}function YO(t){throw t}function QO(t,e,r){return e.parse("/")}var XO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},JO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ln=(()=>{let e=class{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if(this.canceledNavigationResolution==="computed")return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=E(ri),this.isNgZoneEnabled=!1,this.options=E(ap,{optional:!0})||{},this.pendingTasks=E(ii),this.errorHandler=this.options.errorHandler||YO,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||QO,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=E(KO),this.routeReuseStrategy=E(qO),this.titleStrategy=E(Lw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=E(nu,{optional:!0})?.flat()??[],this.navigationTransitions=E(sp),this.urlSerializer=E(iu),this.location=E(tc),this.componentInputBindingEnabled=!!E(ou,{optional:!0}),this.isNgZoneEnabled=E(P)instanceof P&&P.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Fn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Tw(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){let n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Jo,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{let i=n.type==="popstate"?"popstate":"hashchange";i==="popstate"&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,i,n.state)},0)}))}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=_({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=_(_({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let p=o?o.snapshot:this.routerState.snapshot.root;f=Ew(p)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return Cw(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=wi(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Jo,null,i)}navigate(n,i={skipLocationChange:!1}){return eF(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let i;try{i=this.urlSerializer.parse(n)}catch(o){i=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return i}isActive(n,i){let o;if(i===!0?o=_({},XO):i===!1?o=_({},JO):o=i,wi(n))return X_(this.currentUrlTree,n,o);let s=this.parseUrl(n);return X_(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.keys(n).reduce((i,o)=>{let s=n[o];return s!=null&&(i[o]=s),i},{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,p)=>{c=f,u=p});let d=this.pendingTasks.add();return jw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=_(_({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=_(_({},i.extras.state),this.generateNgRouterState(i.id,(this.browserPageId??0)+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId??this.currentPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&s===0&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function eF(t){for(let e=0;e{let e=class{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new $,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof kn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:uy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(x(ln),x(wr),no("tabindex"),x(uo),x(le),x(an))}})(),(()=>{e.\u0275dir=me({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&za("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&jt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",vo],skipLocationChange:["skipLocationChange","skipLocationChange",vo],replaceUrl:["replaceUrl","replaceUrl",vo],routerLink:"routerLink"},standalone:!0,features:[Ad,nn]})})(),t})();var ru=class{};var tF=(()=>{let e=class{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(he(n=>n instanceof kn),Et(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Wa(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return ie(o).pipe(gn())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=S(null);let s=o.pipe(te(a=>a===null?S(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ie([s,a]).pipe(gn())}else return s})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(ln),h(Za),h(Ne),h(ru),h(op))}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Vw=new y(""),nF=(()=>{let e=class{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof es?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof kn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof _r&&n.code===0&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Yc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Yc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){Ua()}})(),(()=>{e.\u0275prov=b({token:e,factory:e.\u0275fac})})(),t})();function rF(t){return t.routerState.root}function au(t,e){return{\u0275kind:t,\u0275providers:e}}function iF(){let t=E(Ue);return e=>{let r=t.get(on);if(e!==r.components[0])return;let n=t.get(ln),i=t.get(Bw);t.get(cp)===1&&n.initialNavigation(),t.get(Uw,null,F.Optional)?.setUpPreloading(),t.get(Vw,null,F.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Bw=new y("",{factory:()=>new $}),cp=new y("",{providedIn:"root",factory:()=>1});function oF(){return au(2,[{provide:cp,useValue:0},{provide:Ga,multi:!0,deps:[Ue],useFactory:e=>{let r=e.get(Lv,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(ln),o=e.get(Bw);jw(i,()=>{n(!0)}),e.get(sp).afterPreactivation=()=>(n(!0),o.closed?S(void 0):o),i.initialNavigation()}))}}])}function sF(){return au(3,[{provide:Ga,multi:!0,useFactory:()=>{let e=E(ln);return()=>{e.setUpLocationChangeListener()}}},{provide:cp,useValue:2}])}var Uw=new y("");function aF(t){return au(0,[{provide:Uw,useExisting:tF},{provide:ru,useExisting:t}])}function cF(){return au(8,[nw,{provide:ou,useExisting:nw}])}var dw=new y("ROUTER_FORROOT_GUARD"),uF=[tc,{provide:iu,useClass:Qo},ln,ns,{provide:wr,useFactory:rF,deps:[ln]},op,[]];function lF(){return new Yi("Router",ln)}var D4=(()=>{let e=class{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[uF,[],{provide:nu,multi:!0,useValue:n},{provide:dw,useFactory:pF,deps:[[ln,new rr,new io]]},{provide:ap,useValue:i||{}},i?.useHash?fF():hF(),dF(),i?.preloadingStrategy?aF(i.preloadingStrategy).\u0275providers:[],{provide:Yi,multi:!0,useFactory:lF},i?.initialNavigation?mF(i):[],i?.bindToComponentInputs?cF().\u0275providers:[],gF()]}}static forChild(n){return{ngModule:e,providers:[{provide:nu,multi:!0,useValue:n}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(h(dw,8))}})(),(()=>{e.\u0275mod=G({type:e})})(),(()=>{e.\u0275inj=q({})})(),t})();function dF(){return{provide:Vw,useFactory:()=>{let t=E($v),e=E(P),r=E(ap),n=E(sp),i=E(iu);return r.scrollOffset&&t.setOffset(r.scrollOffset),new nF(i,n,t,e,r)}}}function fF(){return{provide:an,useClass:Vv}}function hF(){return{provide:an,useClass:Jd}}function pF(t){return"guarded"}function mF(t){return[t.initialNavigation==="disabled"?sF().\u0275providers:[],t.initialNavigation==="enabledBlocking"?oF().\u0275providers:[]]}var fw=new y("");function gF(){return[{provide:fw,useFactory:iF},{provide:Xa,multi:!0,useExisting:fw}]}function I4(t){let e={};e[t.name]=t.params;for(let r in t.events){let n=`${t.name}${r[0].toUpperCase()}${r.slice(1)}`;e[n]=vh()}return e}var cu=class extends Error{constructor(){super(...arguments),this.name=this.constructor.name}};var Dr=class{constructor(e,r={}){this.identifier=e,this.entities=r}identify(e){return this.identifier(e)}all(){return Object.values(this.entities)}retrieve(e){let r=this.entities[e];if(!r)throw new os(e);return r}query(e){return this.all().filter(e)}queryOne(e){return this.all().find(e)??null}insert(...e){let r=e.reduce((i,o)=>{let s=this.identify(o);if(s in i)throw new up(s,o);return Y(_({},i),{[s]:o})},{}),n=_(_({},this.entities),r);return new Dr(this.identifier,n)}update(e,r){let n=this.entities[e];if(!n)throw new os(e);let i=_(_({},n),r),o=Y(_({},this.entities),{[e]:i});return new Dr(this.identifier,o)}upsert(...e){let r=e.reduce((n,i)=>{let o=this.identify(i);return Y(_({},n),{[o]:i})},this.entities);return new Dr(this.identifier,r)}delete(...e){let r=_({},this.entities);return e.forEach(n=>{if(!(n in r))throw new os(n);delete r[n]}),new Dr(this.identifier,r)}toString(){return JSON.stringify(this.entities)}toJSON(){return this.entities}},uu=class extends cu{},up=class extends uu{constructor(e,r){let n=JSON.stringify(r),i=`Entity duplicate Identity: ${e} Entity: ${n}`;super(i)}},os=class extends uu{constructor(e){let r=`Entity not found -Identity: ${e}`;super(r)}};export{J as a,T as b,Zw as c,$ as d,ae as e,Bn as f,Cp as g,Du as h,Ie as i,$n as j,ie as k,S as l,lt as m,aD as n,uD as o,R as p,Hn as q,te as r,Ze as s,Rs as t,Su as u,Ri as v,Ni as w,Iu as x,SD as y,he as z,TD as A,AD as B,Ye as C,Et as D,yn as E,ve as F,Fs as G,qp as H,RD as I,Kt as J,FD as K,Fi as L,kD as M,Qe as N,PD as O,LD as P,Kp as Q,jD as R,ki as S,bn as T,Zp as U,Nr as V,Zt as W,De as X,Yt as Y,VD as Z,ne as _,Ps as $,Lm as aa,v as ba,b as ca,q as da,h as ea,E as fa,Ot as ga,G as ha,me as ia,Qm as ja,xa as ka,td as la,nn as ma,T$ as na,M$ as oa,A$ as pa,to as qa,no as ra,_C as sa,y as ta,ao as ua,Pt as va,Lt as wa,co as xa,Va as ya,le as za,uo as Aa,Ve as Ba,lo as Ca,Ue as Da,x as Ea,Ua as Fa,Tn as Ga,x$ as Ha,jt as Ia,HS as Ja,N$ as Ka,po as La,or as Ma,sr as Na,Mn as Oa,Gy as Pa,Ky as Qa,YS as Ra,O$ as Sa,ei as Ta,za as Ua,XS as Va,eI as Wa,ar as Xa,cr as Ya,nI as Za,rI as _a,Fd as $a,tt as ab,F$ as bb,DI as cb,CI as db,kd as eb,k$ as fb,ov as gb,SI as hb,Pd as ib,Ld as jb,P$ as kb,L$ as lb,j$ as mb,V$ as nb,B$ as ob,U$ as pb,ce as qb,Cn as rb,Nt as sb,$e as tb,ti as ub,mo as vb,ZI as wb,ni as xb,z$ as yb,Ga as zb,P as Ab,on as Bb,ur as Cb,vo as Db,lr as Eb,W as Fb,tc as Gb,lH as Hb,dH as Ib,fH as Jb,hH as Kb,Uv as Lb,pH as Mb,mH as Nb,gH as Ob,yH as Pb,ef as Qb,$v as Rb,MH as Sb,BH as Tb,sb as Ub,UH as Vb,yf as Wb,He as Xb,ai as Yb,QH as Zb,lb as _b,AM as $b,An as ac,db as bc,fc as cc,Bt as dc,To as ec,vf as fc,zH as gc,Rz as hc,mb as ic,vb as jc,Uz as kc,iA as lc,oA as mc,o3 as nc,_b as oc,wb as pc,sA as qc,s3 as rc,Sf as sc,If as tc,a3 as uc,Tf as vc,c3 as wc,az as xc,ci as yc,fb as zc,yz as Ac,vz as Bc,hb as Cc,bz as Dc,l3 as Ec,d3 as Fc,f3 as Gc,Af as Hc,h3 as Ic,p3 as Jc,m3 as Kc,g3 as Lc,y3 as Mc,v3 as Nc,b3 as Oc,N3 as Pc,r8 as Qc,i8 as Rc,vt as Sc,f_ as Tc,kc as Uc,h_ as Vc,o8 as Wc,s8 as Xc,a8 as Yc,c8 as Zc,u8 as _c,l8 as $c,sh as ad,dR as bd,$o as cd,p_ as dd,d8 as ed,f8 as fd,h8 as gd,p8 as hd,m8 as id,g8 as jd,y8 as kd,yR as ld,j8 as md,V8 as nd,AR as od,z8 as pd,W8 as qd,xR as rd,RR as sd,lh as td,FR as ud,vh as vd,s4 as wd,a4 as xd,L_ as yd,hi as zd,_h as Ad,Wo as Bd,Vc as Cd,UR as Dd,Eh as Ed,Uc as Fd,Ch as Gd,Z_ as Hd,l4 as Id,X_ as Jd,TN as Kd,d4 as Ld,f4 as Md,h4 as Nd,cu as Od,es as Pd,kn as Qd,ns as Rd,wr as Sd,nO as Td,jw as Ud,ZO as Vd,ln as Wd,N4 as Xd,O4 as Yd,L4 as Zd,Dr as _d,os as $d}; +Identity: ${e}`;super(r)}};export{J as a,M as b,Kw as c,$ as d,ae as e,Bn as f,Cp as g,Du as h,Ie as i,$n as j,ie as k,S as l,lt as m,sD as n,cD as o,R as p,Hn as q,te as r,Ze as s,Rs as t,Su as u,Ri as v,Ni as w,Iu as x,CD as y,he as z,SD as A,Ye as B,Et as C,yn as D,ve as E,Fs as F,Wp as G,TD as H,Kt as I,xD as J,Fi as K,RD as L,Qe as M,ND as N,OD as O,Gp as P,FD as Q,ki as R,bn as S,Kp as T,Nr as U,Zt as V,De as W,Yt as X,kD as Y,ne as Z,Ps as _,Pm as $,v as aa,b as ba,q as ca,h as da,E as ea,Ot as fa,G as ga,me as ha,Ym as ia,xa as ja,td as ka,nn as la,g$ as ma,y$ as na,v$ as oa,to as pa,no as qa,gC as ra,y as sa,ao as ta,Pt as ua,Lt as va,co as wa,Va as xa,le as ya,uo as za,Ve as Aa,lo as Ba,Ue as Ca,x as Da,Ua as Ea,Tn as Fa,b$ as Ga,jt as Ha,VS as Ia,w$ as Ja,po as Ka,or as La,sr as Ma,Mn as Na,qy as Oa,Gy as Pa,qS as Qa,D$ as Ra,ei as Sa,za as Ta,KS as Ua,YS as Va,ar as Wa,cr as Xa,XS as Ya,JS as Za,Fd as _a,tt as $a,E$ as ab,vI as bb,_I as cb,kd as db,C$ as eb,iv as fb,wI as gb,Pd as hb,Ld as ib,S$ as jb,I$ as kb,T$ as lb,M$ as mb,A$ as nb,x$ as ob,ce as pb,Cn as qb,Nt as rb,$e as sb,ti as tb,mo as ub,WI as vb,ni as wb,O$ as xb,Ga as yb,P as zb,on as Ab,ur as Bb,vo as Cb,lr as Db,W as Eb,tc as Fb,J$ as Gb,eH as Hb,tH as Ib,nH as Jb,Bv as Kb,rH as Lb,iH as Mb,oH as Nb,sH as Ob,ef as Pb,Uv as Qb,yH as Rb,AH as Sb,ob as Tb,xH as Ub,yf as Vb,He as Wb,ai as Xb,BH as Yb,ub as Zb,SM as _b,An as $b,lb as ac,fc as bc,Bt as cc,To as dc,vf as ec,OH as fc,_z as gc,pb as hc,yb as ic,xz as jc,eA as kc,tA as lc,Kz as mc,bb as nc,_b as oc,nA as pc,Zz as qc,Sf as rc,If as sc,Yz as tc,Tf as uc,Qz as vc,YH as wc,ci as xc,db as yc,sz as zc,az as Ac,fb as Bc,cz as Cc,Jz as Dc,e3 as Ec,t3 as Fc,Af as Gc,n3 as Hc,r3 as Ic,i3 as Jc,o3 as Kc,s3 as Lc,a3 as Mc,c3 as Nc,w3 as Oc,q3 as Pc,G3 as Qc,vt as Rc,d_ as Sc,kc as Tc,f_ as Uc,K3 as Vc,Z3 as Wc,Y3 as Xc,Q3 as Yc,X3 as Zc,J3 as _c,sh as $c,aR as ad,$o as bd,h_ as cd,e8 as dd,t8 as ed,n8 as fd,r8 as gd,i8 as hd,o8 as id,s8 as jd,hR as kd,T8 as ld,M8 as md,SR as nd,O8 as od,F8 as pd,IR as qd,TR as rd,lh as sd,xR as td,vh as ud,Z8 as vd,Y8 as wd,P_ as xd,hi as yd,_h as zd,Wo as Ad,Vc as Bd,LR as Cd,Eh as Dd,Uc as Ed,Ch as Fd,K_ as Gd,J8 as Hd,Q_ as Id,EN as Jd,e4 as Kd,t4 as Ld,n4 as Md,cu as Nd,es as Od,kn as Pd,ns as Qd,wr as Rd,XN as Sd,Lw as Td,WO as Ud,ln as Vd,w4 as Wd,D4 as Xd,I4 as Yd,Dr as Zd,os as _d}; diff --git a/compose.module-7PAFICHY.js b/compose.module-WI5XLJWY.js similarity index 97% rename from compose.module-7PAFICHY.js rename to compose.module-WI5XLJWY.js index 78d5620..0292602 100644 --- a/compose.module-7PAFICHY.js +++ b/compose.module-WI5XLJWY.js @@ -1 +1 @@ -import{a as oe,b as ei,c as ti,d as Ie,e as Ee}from"./chunk-BQG6VIZI.js";import{a as Xt,b as Zt,c as Jt}from"./chunk-EFASKN6N.js";import{i as Ft,j as Ye,k as ve,l as We}from"./chunk-HDMEYBD3.js";import{a as qt,b as Se,c as we,d as Kt,e as Qt,f as U,g as $t,h as xe,i as Ut}from"./chunk-IKTP4ODH.js";import{$a as _t,Ab as fe,Bc as Rt,Ca as u,Cb as W,Cc as Pt,Ea as r,Ec as ze,F as V,Fb as vt,Fc as qe,Ga as P,Hb as Ct,Hc as te,Ia as w,Ic as Ce,J as ht,Ja as v,Jb as Mt,Jc as Me,Ka as Ne,Kb as Ot,La as m,Lb as St,Lc as Bt,Ma as p,Mb as wt,Na as h,Nb as xt,Nc as Nt,Oa as C,Pa as ut,Pb as It,Qa as gt,Qb as K,Sa as He,Sc as F,Sd as Wt,Tc as Ke,Ua as g,Uc as Qe,Vc as ie,W as ee,Wa as x,Wc as ne,X as Pe,Xa as G,Xb as Et,Xc as ae,Xd as zt,Y as M,Ya as B,Yc as z,Yd as it,ab as N,ad as $e,bd as Ue,cb as E,cc as je,cd as Xe,d as A,da as O,db as me,dc as b,dd as Ze,e as le,eb as ue,ec as kt,ed as Je,fa as Fe,fb as Ve,fd as et,ga as D,gb as ge,gd as Q,ha as S,hd as $,ia as q,ib as Y,id as tt,jd as se,kb as ft,kd as Oe,lc as Tt,ma as Be,mc as Ge,md as Ht,na as ce,nb as yt,nd as Vt,oa as de,ob as bt,oc as At,od as jt,p as H,pc as Lt,pd as Gt,q as dt,qa as pe,qb as k,qd as Yt,ra as he,t as pt,ta as R,ub as f,uc as Dt,vb as _e,wa as mt,wb as T,x as L,xb as y,xc as ye,z as Re,za as j,zc as be}from"./chunk-KBDKS3MK.js";import"./chunk-3J24ZBPC.js";var xi=["*"];var Ii=new R("MatChipRemove"),ai=new R("MatChipAvatar"),Ei=new R("MatChipTrailingIcon"),nt=class{constructor(n){this._elementRef=n}},ki=ne(Qe(ie(nt),"primary"),-1),si=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[Y([{provide:ai,useExisting:n}])]})})(),a})();var rt=(()=>{let n=class extends ki{get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){let t=b(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return this._value!==void 0?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=b(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=b(e)}get removable(){return this._removable}set removable(e){this._removable=b(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}constructor(e,t,i,s,o,d,c,_){super(e),this._ngZone=t,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new A,this._onBlur=new A,this.selectionChange=new k,this.destroyed=new k,this.removed=new k,this._addHostClassName(),this._chipRippleTarget=d.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new $e(this,t,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=s||{},this._animationsDisabled=c==="NoopAnimations",this.tabIndex=_!=null&&parseInt(_)||-1}_addHostClassName(){let e="mat-basic-chip",t=this._elementRef.nativeElement;if(t.hasAttribute(e)||t.tagName.toLowerCase()===e){t.classList.add(e);return}else t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault();break}}_blur(){this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(fe),r(Et),r(Ue,8),r(W),r(vt),r(mt,8),he("tabindex"))}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,i,s){if(t&1&&(T(s,ai,5),T(s,Ei,5),T(s,Ii,5)),t&2){let o;f(o=y())&&(i.avatar=o.first),f(o=y())&&(i.trailingIcon=o.first),f(o=y())&&(i.removeIcon=o.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(t,i){t&1&&g("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),t&2&&(w("tabindex",i.disabled?null:i.tabIndex)("role",i.role)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),N("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[P]})})(),a})();var Ti=new R("mat-chips-default-options"),Ai=ae(class{constructor(a,n,l,e){this._defaultErrorStateMatcher=a,this._parentForm=n,this._parentFormGroup=l,this.ngControl=e,this.stateChanges=new A}}),Li=0,at=class{constructor(n,l){this.source=n,this.value=l}},oi=(()=>{let n=class extends Ai{get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(e){this._explicitRole=e}get multiple(){return this._multiple}set multiple(e){this._multiple=b(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||this.chips.length===0)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=b(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=b(e),this._syncChipsState()}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return L(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return L(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return L(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return L(...this.chips.map(e=>e.destroyed))}constructor(e,t,i,s,o,d,c){super(d,s,o,c),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new A,this._uid=`mat-chip-list-${Li++}`,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(_,J)=>_===J,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new k,this.valueChange=new k,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this._keyManager=new Lt(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(M(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.subscribe(()=>this._allowFocusEscape()),this.chips.changes.pipe(ee(null),M(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new be(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){let t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(this.chips.length===0?-1:0)}_updateFocusForDestroyedChips(){if(this._lastDestroyedChipIndex!=null)if(this.chips.length){let e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&ei.deselect()),Array.isArray(e))e.forEach(i=>this._selectValue(i,t)),this._sortValues();else{let i=this._selectValue(e,t);i&&t&&this._keyManager.setActiveItem(i)}}_selectValue(e,t=!0){let i=this.chips.find(s=>s.value!=null&&this._compareWith(s.value,e));return i&&(t?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;Array.isArray(this.selected)?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.change.emit(new at(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){this._tabIndex!==-1&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{let t=e.chip,i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&t._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(ye,8),r(U,8),r(xe,8),r(z),r(we,10))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-chip-list"]],contentQueries:function(t,i,s){if(t&1&&T(s,rt,5),t&2){let o;f(o=y())&&(i.chips=o)}},hostAttrs:["ngSkipHydration","",1,"mat-chip-list"],hostVars:14,hostBindings:function(t,i){t&1&&g("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(o){return i._keydown(o)}),t&2&&(ge("id",i._uid),w("tabindex",i.disabled?null:i._tabIndex)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),N("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[Y([{provide:oe,useExisting:n}]),P],ngContentSelectors:xi,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,i){t&1&&(G(),p(0,"div",0),B(1),h())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0})})(),a})();var ri=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[z,{provide:Ti,useValue:{separatorKeyCodes:[13]}}],imports:[F]})})(),a})();function Pi(a,n){if(a&1&&C(0,"mat-pseudo-checkbox",5),a&2){let l=x();m("state",l.selected?"checked":"unchecked")("disabled",l.disabled)}}function Fi(a,n){if(a&1&&(p(0,"span",6),E(1),h()),a&2){let l=x();u(1),ue("(",l.group.label,")")}}var Bi=["*"];var ke=(()=>{let n=class extends tt{constructor(e,t,i,s){super(e,t,i,s)}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(Q,8),r($,8))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,i){t&1&&g("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),t&2&&(ge("id",i.id),w("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),N("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[P],ngContentSelectors:Bi,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,i){t&1&&(G(),v(0,Pi,1,2,"mat-pseudo-checkbox",0),p(1,"span",1,2),B(3),h(),v(4,Fi,2,1,"span",3),C(5,"div",4)),t&2&&(m("ngIf",i.multiple),u(4),m("ngIf",i.group&&i.group._inert),u(1),m("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xe,Ot,Je],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0})})(),a})(),lt=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[Ze,K,F,et]})})(),a})();var Gi=["trigger"],Yi=["panel"];var pi=0,hi=new R("mat-select-scroll-strategy");function Wi(a){return()=>a.scrollStrategies.reposition()}var zi=new R("MAT_SELECT_CONFIG"),mi={provide:hi,deps:[Ft],useFactory:Wi},ui=new R("MatSelectTrigger");var qi=ie(ne(Ke(ae(class{constructor(a,n,l,e,t){this._elementRef=a,this._defaultErrorStateMatcher=n,this._parentForm=l,this._parentFormGroup=e,this.ngControl=t,this.stateChanges=new A}})))),gi=(()=>{let n=class extends qi{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=b(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=b(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=kt(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,t,i,s,o,d,c,_,J,Ae,Mi,Oi,Si,Le){super(o,s,c,_,Ae),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=d,this._parentFormField=J,this._liveAnnouncer=Si,this._defaultOptions=Le,this._panelOpen=!1,this._compareWith=(I,De)=>I===De,this._uid=`mat-select-${pi++}`,this._triggerAriaLabelledBy=null,this._destroy=new A,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${pi++}`,this._panelDoneAnimatingStream=new A,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=pt(()=>{let I=this.options;return I?I.changes.pipe(ee(I),Pe(()=>L(...I.map(De=>De.onSelectionChange)))):this._ngZone.onStable.pipe(V(1),Pe(()=>this.optionSelectionChanges))}),this.openedChange=new k,this._openedStream=this.openedChange.pipe(Re(I=>I),H(()=>{})),this._closedStream=this.openedChange.pipe(Re(I=>!I),H(()=>{})),this.selectionChange=new k,this.valueChange=new k,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),Le?.typeaheadDebounceInterval!=null&&(this._typeaheadDebounceInterval=Le.typeaheadDebounceInterval),this._scrollStrategyFactory=Oi,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Mi)||0,this.id=this.id}ngOnInit(){this._selectionModel=new be(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ht(),M(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(M(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ee(null),M(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&Ge(this._trackedModal,"aria-owns",t),Tt(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Ge(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,s=t===13||t===32,o=this._keyManager;if(!o.isTyping()&&s&&!je(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;o.onKeydown(e);let c=this.selected;c&&d!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,s=i===40||i===38,o=t.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(!o&&(i===13||i===32)&&t.activeItem&&!je(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!o&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let d=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(d?c.select():c.deselect())})}else{let d=t.activeItemIndex;t.onKeydown(e),this._multiple&&s&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==d&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(V(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new At(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=L(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(M(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),L(...this.options.map(t=>t._stateChanges)).pipe(M(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t=null;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(Rt),r(W),r(fe),r(z),r(j),r(ye,8),r(U,8),r(xe,8),r(ei,8),r(we,10),he("tabindex"),r(hi),r(Dt),r(zi,8))}})(),(()=>{n.\u0275dir=q({type:n,viewQuery:function(t,i){if(t&1&&(_e(Gi,5),_e(Yi,5),_e(ve,5)),t&2){let s;f(s=y())&&(i.trigger=s.first),f(s=y())&&(i.panel=s.first),f(s=y())&&(i._overlayDir=s.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[P,Be]})})(),a})();function Ki(a,n){if(a&1&&(p(0,"span",8),E(1),h()),a&2){let l=x();u(1),me(l.placeholder)}}function Qi(a,n){if(a&1&&(p(0,"span",12),E(1),h()),a&2){let l=x(2);u(1),me(l.triggerValue)}}function $i(a,n){a&1&&B(0,0,["*ngSwitchCase","true"])}function Ui(a,n){if(a&1&&(p(0,"span",9),v(1,Qi,2,1,"span",10),v(2,$i,1,0,"ng-content",11),h()),a&2){let l=x();m("ngSwitch",!!l.customTrigger),u(2),m("ngSwitchCase",!0)}}function Xi(a,n){if(a&1){let l=He();p(0,"div",13)(1,"div",14,15),g("@transformPanel.done",function(t){ce(l);let i=x();return de(i._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){ce(l);let i=x();return de(i._handleKeydown(t))}),B(3,1),h()()}if(a&2){let l=x();m("@transformPanelWrap",void 0),u(1),Ve("mat-select-panel ",l._getPanelTheme(),""),_t("transform-origin",l._transformOrigin)("font-size",l._triggerFontSize,"px"),m("ngClass",l.panelClass)("@transformPanel",l.multiple?"showing-multiple":"showing"),w("id",l.id+"-panel")("aria-multiselectable",l.multiple)("aria-label",l.ariaLabel||null)("aria-labelledby",l._getPanelAriaLabelledby())}}var Zi=[[["mat-select-trigger"]],"*"],Ji=["mat-select-trigger","*"],_i={transformPanelWrap:ze("transformPanelWrap",[Me("* => void",Nt("@transformPanel",[Bt()],{optional:!0}))]),transformPanel:ze("transformPanel",[Ce("void",te({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ce("showing",te({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ce("showing-multiple",te({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Me("void => *",qe("120ms cubic-bezier(0, 0, 0.2, 1)")),Me("* => void",qe("100ms 25ms linear",te({opacity:0})))])},re=256,Z=16,en=Z*2,tn=3,fi=Z*1.5+16,Te=8,ct=class{constructor(n,l){this.source=n,this.value=l}};var yi=(()=>{let n=class extends gi{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,i){let s=this._getItemHeight(),o=s*e,d=s/2,c=o-t+d;return Math.min(Math.max(0,c),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(M(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){let t=se(e,this.options,this.optionGroups),i=this._getItemHeight();e===0&&t===1?this.panel.nativeElement.scrollTop=0:this.panel.nativeElement.scrollTop=Oe((e+t)*i,i,this.panel.nativeElement.scrollTop,re)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new ct(this,e)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){let e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),i=this._isRtl(),s=this.multiple?fi+Z:Z*2,o;if(this.multiple)o=fi;else if(this.disableOptionCentering)o=Z;else{let _=this._selectionModel.selected[0]||this.options.first;o=_&&_.group?en:Z}i||(o*=-1);let d=0-(e.left+o-(i?s:0)),c=e.right+o-t.width+(i?0:s);d>0?o+=d+Te:c>0&&(o-=c+Te),this._overlayDir.offsetX=Math.round(o),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,i){let s=this._getItemHeight(),o=(s-this._triggerRect.height)/2,d=Math.floor(re/s),c;if(this.disableOptionCentering)return 0;if(this._scrollTop===0)c=e*s;else if(this._scrollTop===i){let _=this._getItemCount()-d,J=e-_,Ae=s-(this._getItemCount()*s-re)%s;c=J*s+Ae}else c=t-s/2;return Math.round(c*-1-o)}_checkOverlayWithinViewport(e){let t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-Te,o=i.height-this._triggerRect.bottom-Te,d=Math.abs(this._offsetY),_=Math.min(this._getItemCount()*t,re)-d-this._triggerRect.height;_>o?this._adjustPanelUp(_,o):d>s?this._adjustPanelDown(d,s,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){let i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,i){let s=Math.round(e-t);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i){this._scrollTop=i,this._offsetY=0,this._transformOrigin="50% top 0px";return}}_calculateOverlayPosition(){let e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,re),o=t*e-i,d;this.empty?d=0:d=Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),d+=se(d,this.options,this.optionGroups);let c=i/2;this._scrollTop=this._calculateOverlayScroll(d,c,o),this._offsetY=this._calculateOverlayOffsetY(d,c,o),this._checkOverlayWithinViewport(o)}_getOriginBasedOnOption(){let e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return this._triggerFontSize*tn}_getItemCount(){return this.options.length+this.optionGroups.length}},a=n;return(()=>{n.\u0275fac=function(){let e;return function(i){return(e||(e=pe(n)))(i||n)}}()})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-select"]],contentQueries:function(t,i,s){if(t&1&&(T(s,ui,5),T(s,ke,5),T(s,$,5)),t&2){let o;f(o=y())&&(i.customTrigger=o.first),f(o=y())&&(i.options=o),f(o=y())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(t,i){t&1&&g("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(w("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),N("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Y([{provide:oe,useExisting:n},{provide:Q,useExisting:n}]),P],ngContentSelectors:Ji,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,i){if(t&1&&(G(Zi),p(0,"div",0,1),g("click",function(){return i.toggle()}),p(3,"div",2),v(4,Ki,2,1,"span",3),v(5,Ui,3,2,"span",4),h(),p(6,"div",5),C(7,"div",6),h()(),v(8,Xi,4,14,"ng-template",7),g("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),t&2){let s=Ne(1);w("aria-owns",i.panelOpen?i.id+"-panel":null),u(3),m("ngSwitch",i.empty),w("id",i._valueId),u(1),m("ngSwitchCase",!0),u(1),m("ngSwitchCase",!1),u(3),m("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",i._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Ct,St,wt,xt,ve,Ye],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[_i.transformPanelWrap,_i.transformPanel]},changeDetection:0})})(),a})(),bi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[mi],imports:[K,We,lt,F,Pt,Ie,lt,F]})})(),a})();function an(a,n){if(a&1&&(p(0,"mat-option",17),E(1),h()),a&2){let l=n.$implicit,e=n.index;m("value",e),u(1),ue(" ",l," ")}}var sn=function(){return["AngularFan@gmail.com","MaterialFan@gmail.com"]},vi=(()=>{let n=class{constructor(){this.route=Fe(Wt),this.navService=Fe(Jt),this.subject$=new le(""),this.senderEmail$=new le(0),this.content$=new le(""),this.mailId$=this.route.queryParams.pipe(H(e=>e.reply)),this.backUrl$=dt([this.mailId$,this.navService.currActiveItem$.pipe(H(e=>e?.url))]).pipe(H(([e,t])=>t?e?`${t}/${e}`:t:"/"))}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["rpl-compose"]],decls:26,vars:8,consts:[["ngForm",""],[1,"subject-line"],["mat-icon-button","","matTooltip","Close",3,"routerLink"],["fontSet","filled","fontIcon","close"],["name","subject","type","text","placeholder","Subject",3,"ngModel","ngModelChange"],["mat-icon-button","","matTooltip","send"],["svgIcon","send"],[1,"sender-line"],["name","senderEmail",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"recipient-line"],["matChipAvatar","","src","assets/demo/avatar-1.jpg","alt","Avatar"],["matChipAvatar","","src","assets/demo/avatar-2.jpg","alt","Avatar"],["mat-icon-button","","matTooltip","Add recipient"],["fontSet","filled","fontIcon","add_circle_outline"],[1,"content-section"],["name","content","placeholder","New Message...",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){t&1&&(ut(0,0),p(1,"rpl-header",1)(2,"a",2),yt(3,"async"),C(4,"mat-icon",3),h(),p(5,"input",4),g("ngModelChange",function(o){return i.subject$.next(o)}),h(),p(6,"button",5),C(7,"mat-icon",6),h()(),p(8,"div",7)(9,"mat-form-field")(10,"mat-select",8),g("ngModelChange",function(o){return i.senderEmail$.next(o)}),v(11,an,2,2,"mat-option",9),h()()(),p(12,"div",10)(13,"mat-chip-list")(14,"mat-chip"),C(15,"img",11),p(16,"span"),E(17,"Recipient1"),h()(),p(18,"mat-chip"),C(19,"img",12),p(20,"span"),E(21,"Recipient2"),h()()(),p(22,"button",13),C(23,"mat-icon",14),h()(),p(24,"div",15)(25,"textarea",16),g("ngModelChange",function(o){return i.content$.next(o)}),h()(),gt()),t&2&&(u(2),m("routerLink",bt(3,5,i.backUrl$)),u(3),m("ngModel",i.subject$.value),u(5),m("ngModel",i.senderEmail$.value),u(1),m("ngForOf",ft(7,sn)),u(14),m("ngModel",i.content$.value))},dependencies:[Mt,zt,qt,Kt,Qt,$t,U,jt,Gt,oi,rt,si,ti,Xt,Ht,yi,ke,Ee,It],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.recipient-line[_ngcontent-%COMP%], .sender-line[_ngcontent-%COMP%], .subject-line[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.subject-line[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:16px;font-weight:700;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.sender-line[_ngcontent-%COMP%]{padding:0 16px}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:1em}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{visibility:hidden}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]:has(:focus-visible) .mat-form-field-underline{visibility:visible}.recipient-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{width:0;flex-grow:1}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{min-height:initial;height:28px;background-color:#eef1f3;font-size:14px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:active{box-shadow:none}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] [matChipAvatar][_ngcontent-%COMP%]{margin-left:0;width:28px;height:28px}.content-section[_ngcontent-%COMP%]{height:0;flex-grow:1;padding:16px}.content-section[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),a})();var rn=[{path:"",component:vi,title:"Compose",data:{animationId:"compose"}}],Ci=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[it.forChild(rn),it]})})(),a})();var Os=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[K,Ci,Ut,Yt,ri,Ie,Zt,Vt,bi,Ee]})})(),a})();export{Os as ComposeModule}; +import{a as oe,b as ei,c as ti,d as Ie,e as Ee}from"./chunk-75RAGE5M.js";import{a as Xt,b as Zt,c as Jt}from"./chunk-E7R3WNTA.js";import{i as Ft,j as Ye,k as ve,l as We}from"./chunk-JYLXIIJ3.js";import{a as qt,b as Se,c as we,d as Kt,e as Qt,f as U,g as $t,h as xe,i as Ut}from"./chunk-RTHH4LAA.js";import{$a as N,$c as $e,Ac as Rt,Ba as u,Bb as W,Bc as Pt,Da as r,Dc as ze,E as V,Eb as vt,Ec as qe,Fa as P,Gb as Ct,Gc as te,Ha as w,Hc as Ce,I as ht,Ia as v,Ib as Mt,Ic as Me,Ja as Ne,Jb as Ot,Ka as m,Kb as St,Kc as Bt,La as p,Lb as wt,Ma as h,Mb as xt,Mc as Nt,Na as C,Oa as ut,Ob as It,Pa as gt,Pb as K,Ra as He,Rc as F,Rd as Wt,Sc as Ke,Ta as g,Tc as Qe,Uc as ie,V as ee,Va as x,Vc as ne,W as Pe,Wa as G,Wb as Et,Wc as ae,Wd as zt,X as M,Xa as B,Xc as z,Xd as it,_a as _t,ad as Ue,bb as E,bc as je,bd as Xe,ca as O,cb as me,cc as b,cd as Ze,d as A,db as ue,dc as kt,dd as Je,e as le,ea as Fe,eb as Ve,ed as et,fa as D,fb as ge,fd as Q,ga as S,gd as $,ha as q,hb as Y,hd as tt,id as se,jb as ft,jd as Oe,kc as Tt,la as Be,lc as Ge,ld as Ht,ma as ce,mb as yt,md as Vt,na as de,nb as bt,nc as At,nd as jt,oc as Lt,od as Gt,p as H,pa as pe,pb as k,pd as Yt,q as dt,qa as he,sa as R,t as pt,tb as f,tc as Dt,ub as _e,va as mt,vb as T,wb as y,wc as ye,x as L,ya as j,yc as be,z as Re,zb as fe}from"./chunk-VGXZBCX5.js";import"./chunk-OROYKVKJ.js";var xi=["*"];var Ii=new R("MatChipRemove"),ai=new R("MatChipAvatar"),Ei=new R("MatChipTrailingIcon"),nt=class{constructor(n){this._elementRef=n}},ki=ne(Qe(ie(nt),"primary"),-1),si=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[Y([{provide:ai,useExisting:n}])]})})(),a})();var rt=(()=>{let n=class extends ki{get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){let t=b(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return this._value!==void 0?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=b(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=b(e)}get removable(){return this._removable}set removable(e){this._removable=b(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}constructor(e,t,i,s,o,d,c,_){super(e),this._ngZone=t,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new A,this._onBlur=new A,this.selectionChange=new k,this.destroyed=new k,this.removed=new k,this._addHostClassName(),this._chipRippleTarget=d.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new $e(this,t,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=s||{},this._animationsDisabled=c==="NoopAnimations",this.tabIndex=_!=null&&parseInt(_)||-1}_addHostClassName(){let e="mat-basic-chip",t=this._elementRef.nativeElement;if(t.hasAttribute(e)||t.tagName.toLowerCase()===e){t.classList.add(e);return}else t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault();break}}_blur(){this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(fe),r(Et),r(Ue,8),r(W),r(vt),r(mt,8),he("tabindex"))}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,i,s){if(t&1&&(T(s,ai,5),T(s,Ei,5),T(s,Ii,5)),t&2){let o;f(o=y())&&(i.avatar=o.first),f(o=y())&&(i.trailingIcon=o.first),f(o=y())&&(i.removeIcon=o.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(t,i){t&1&&g("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),t&2&&(w("tabindex",i.disabled?null:i.tabIndex)("role",i.role)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),N("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[P]})})(),a})();var Ti=new R("mat-chips-default-options"),Ai=ae(class{constructor(a,n,l,e){this._defaultErrorStateMatcher=a,this._parentForm=n,this._parentFormGroup=l,this.ngControl=e,this.stateChanges=new A}}),Li=0,at=class{constructor(n,l){this.source=n,this.value=l}},oi=(()=>{let n=class extends Ai{get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(e){this._explicitRole=e}get multiple(){return this._multiple}set multiple(e){this._multiple=b(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||this.chips.length===0)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=b(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=b(e),this._syncChipsState()}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return L(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return L(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return L(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return L(...this.chips.map(e=>e.destroyed))}constructor(e,t,i,s,o,d,c){super(d,s,o,c),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new A,this._uid=`mat-chip-list-${Li++}`,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(_,J)=>_===J,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new k,this.valueChange=new k,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this._keyManager=new Lt(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(M(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.subscribe(()=>this._allowFocusEscape()),this.chips.changes.pipe(ee(null),M(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new be(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){let t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(this.chips.length===0?-1:0)}_updateFocusForDestroyedChips(){if(this._lastDestroyedChipIndex!=null)if(this.chips.length){let e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&ei.deselect()),Array.isArray(e))e.forEach(i=>this._selectValue(i,t)),this._sortValues();else{let i=this._selectValue(e,t);i&&t&&this._keyManager.setActiveItem(i)}}_selectValue(e,t=!0){let i=this.chips.find(s=>s.value!=null&&this._compareWith(s.value,e));return i&&(t?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;Array.isArray(this.selected)?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.change.emit(new at(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){this._tabIndex!==-1&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{let t=e.chip,i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&t._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(ye,8),r(U,8),r(xe,8),r(z),r(we,10))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-chip-list"]],contentQueries:function(t,i,s){if(t&1&&T(s,rt,5),t&2){let o;f(o=y())&&(i.chips=o)}},hostAttrs:["ngSkipHydration","",1,"mat-chip-list"],hostVars:14,hostBindings:function(t,i){t&1&&g("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(o){return i._keydown(o)}),t&2&&(ge("id",i._uid),w("tabindex",i.disabled?null:i._tabIndex)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),N("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[Y([{provide:oe,useExisting:n}]),P],ngContentSelectors:xi,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,i){t&1&&(G(),p(0,"div",0),B(1),h())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0})})(),a})();var ri=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[z,{provide:Ti,useValue:{separatorKeyCodes:[13]}}],imports:[F]})})(),a})();function Pi(a,n){if(a&1&&C(0,"mat-pseudo-checkbox",5),a&2){let l=x();m("state",l.selected?"checked":"unchecked")("disabled",l.disabled)}}function Fi(a,n){if(a&1&&(p(0,"span",6),E(1),h()),a&2){let l=x();u(1),ue("(",l.group.label,")")}}var Bi=["*"];var ke=(()=>{let n=class extends tt{constructor(e,t,i,s){super(e,t,i,s)}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(Q,8),r($,8))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,i){t&1&&g("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),t&2&&(ge("id",i.id),w("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),N("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[P],ngContentSelectors:Bi,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,i){t&1&&(G(),v(0,Pi,1,2,"mat-pseudo-checkbox",0),p(1,"span",1,2),B(3),h(),v(4,Fi,2,1,"span",3),C(5,"div",4)),t&2&&(m("ngIf",i.multiple),u(4),m("ngIf",i.group&&i.group._inert),u(1),m("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xe,Ot,Je],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0})})(),a})(),lt=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[Ze,K,F,et]})})(),a})();var Gi=["trigger"],Yi=["panel"];var pi=0,hi=new R("mat-select-scroll-strategy");function Wi(a){return()=>a.scrollStrategies.reposition()}var zi=new R("MAT_SELECT_CONFIG"),mi={provide:hi,deps:[Ft],useFactory:Wi},ui=new R("MatSelectTrigger");var qi=ie(ne(Ke(ae(class{constructor(a,n,l,e,t){this._elementRef=a,this._defaultErrorStateMatcher=n,this._parentForm=l,this._parentFormGroup=e,this.ngControl=t,this.stateChanges=new A}})))),gi=(()=>{let n=class extends qi{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=b(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=b(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=kt(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,t,i,s,o,d,c,_,J,Ae,Mi,Oi,Si,Le){super(o,s,c,_,Ae),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=d,this._parentFormField=J,this._liveAnnouncer=Si,this._defaultOptions=Le,this._panelOpen=!1,this._compareWith=(I,De)=>I===De,this._uid=`mat-select-${pi++}`,this._triggerAriaLabelledBy=null,this._destroy=new A,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${pi++}`,this._panelDoneAnimatingStream=new A,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=pt(()=>{let I=this.options;return I?I.changes.pipe(ee(I),Pe(()=>L(...I.map(De=>De.onSelectionChange)))):this._ngZone.onStable.pipe(V(1),Pe(()=>this.optionSelectionChanges))}),this.openedChange=new k,this._openedStream=this.openedChange.pipe(Re(I=>I),H(()=>{})),this._closedStream=this.openedChange.pipe(Re(I=>!I),H(()=>{})),this.selectionChange=new k,this.valueChange=new k,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),Le?.typeaheadDebounceInterval!=null&&(this._typeaheadDebounceInterval=Le.typeaheadDebounceInterval),this._scrollStrategyFactory=Oi,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Mi)||0,this.id=this.id}ngOnInit(){this._selectionModel=new be(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ht(),M(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(M(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ee(null),M(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&Ge(this._trackedModal,"aria-owns",t),Tt(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Ge(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,s=t===13||t===32,o=this._keyManager;if(!o.isTyping()&&s&&!je(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;o.onKeydown(e);let c=this.selected;c&&d!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,s=i===40||i===38,o=t.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(!o&&(i===13||i===32)&&t.activeItem&&!je(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!o&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let d=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(d?c.select():c.deselect())})}else{let d=t.activeItemIndex;t.onKeydown(e),this._multiple&&s&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==d&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(V(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new At(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=L(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(M(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),L(...this.options.map(t=>t._stateChanges)).pipe(M(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t=null;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(Rt),r(W),r(fe),r(z),r(j),r(ye,8),r(U,8),r(xe,8),r(ei,8),r(we,10),he("tabindex"),r(hi),r(Dt),r(zi,8))}})(),(()=>{n.\u0275dir=q({type:n,viewQuery:function(t,i){if(t&1&&(_e(Gi,5),_e(Yi,5),_e(ve,5)),t&2){let s;f(s=y())&&(i.trigger=s.first),f(s=y())&&(i.panel=s.first),f(s=y())&&(i._overlayDir=s.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[P,Be]})})(),a})();function Ki(a,n){if(a&1&&(p(0,"span",8),E(1),h()),a&2){let l=x();u(1),me(l.placeholder)}}function Qi(a,n){if(a&1&&(p(0,"span",12),E(1),h()),a&2){let l=x(2);u(1),me(l.triggerValue)}}function $i(a,n){a&1&&B(0,0,["*ngSwitchCase","true"])}function Ui(a,n){if(a&1&&(p(0,"span",9),v(1,Qi,2,1,"span",10),v(2,$i,1,0,"ng-content",11),h()),a&2){let l=x();m("ngSwitch",!!l.customTrigger),u(2),m("ngSwitchCase",!0)}}function Xi(a,n){if(a&1){let l=He();p(0,"div",13)(1,"div",14,15),g("@transformPanel.done",function(t){ce(l);let i=x();return de(i._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){ce(l);let i=x();return de(i._handleKeydown(t))}),B(3,1),h()()}if(a&2){let l=x();m("@transformPanelWrap",void 0),u(1),Ve("mat-select-panel ",l._getPanelTheme(),""),_t("transform-origin",l._transformOrigin)("font-size",l._triggerFontSize,"px"),m("ngClass",l.panelClass)("@transformPanel",l.multiple?"showing-multiple":"showing"),w("id",l.id+"-panel")("aria-multiselectable",l.multiple)("aria-label",l.ariaLabel||null)("aria-labelledby",l._getPanelAriaLabelledby())}}var Zi=[[["mat-select-trigger"]],"*"],Ji=["mat-select-trigger","*"],_i={transformPanelWrap:ze("transformPanelWrap",[Me("* => void",Nt("@transformPanel",[Bt()],{optional:!0}))]),transformPanel:ze("transformPanel",[Ce("void",te({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ce("showing",te({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ce("showing-multiple",te({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Me("void => *",qe("120ms cubic-bezier(0, 0, 0.2, 1)")),Me("* => void",qe("100ms 25ms linear",te({opacity:0})))])},re=256,Z=16,en=Z*2,tn=3,fi=Z*1.5+16,Te=8,ct=class{constructor(n,l){this.source=n,this.value=l}};var yi=(()=>{let n=class extends gi{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,i){let s=this._getItemHeight(),o=s*e,d=s/2,c=o-t+d;return Math.min(Math.max(0,c),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(M(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){let t=se(e,this.options,this.optionGroups),i=this._getItemHeight();e===0&&t===1?this.panel.nativeElement.scrollTop=0:this.panel.nativeElement.scrollTop=Oe((e+t)*i,i,this.panel.nativeElement.scrollTop,re)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new ct(this,e)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){let e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),i=this._isRtl(),s=this.multiple?fi+Z:Z*2,o;if(this.multiple)o=fi;else if(this.disableOptionCentering)o=Z;else{let _=this._selectionModel.selected[0]||this.options.first;o=_&&_.group?en:Z}i||(o*=-1);let d=0-(e.left+o-(i?s:0)),c=e.right+o-t.width+(i?0:s);d>0?o+=d+Te:c>0&&(o-=c+Te),this._overlayDir.offsetX=Math.round(o),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,i){let s=this._getItemHeight(),o=(s-this._triggerRect.height)/2,d=Math.floor(re/s),c;if(this.disableOptionCentering)return 0;if(this._scrollTop===0)c=e*s;else if(this._scrollTop===i){let _=this._getItemCount()-d,J=e-_,Ae=s-(this._getItemCount()*s-re)%s;c=J*s+Ae}else c=t-s/2;return Math.round(c*-1-o)}_checkOverlayWithinViewport(e){let t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-Te,o=i.height-this._triggerRect.bottom-Te,d=Math.abs(this._offsetY),_=Math.min(this._getItemCount()*t,re)-d-this._triggerRect.height;_>o?this._adjustPanelUp(_,o):d>s?this._adjustPanelDown(d,s,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){let i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,i){let s=Math.round(e-t);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i){this._scrollTop=i,this._offsetY=0,this._transformOrigin="50% top 0px";return}}_calculateOverlayPosition(){let e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,re),o=t*e-i,d;this.empty?d=0:d=Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),d+=se(d,this.options,this.optionGroups);let c=i/2;this._scrollTop=this._calculateOverlayScroll(d,c,o),this._offsetY=this._calculateOverlayOffsetY(d,c,o),this._checkOverlayWithinViewport(o)}_getOriginBasedOnOption(){let e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return this._triggerFontSize*tn}_getItemCount(){return this.options.length+this.optionGroups.length}},a=n;return(()=>{n.\u0275fac=function(){let e;return function(i){return(e||(e=pe(n)))(i||n)}}()})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-select"]],contentQueries:function(t,i,s){if(t&1&&(T(s,ui,5),T(s,ke,5),T(s,$,5)),t&2){let o;f(o=y())&&(i.customTrigger=o.first),f(o=y())&&(i.options=o),f(o=y())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(t,i){t&1&&g("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(w("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),N("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Y([{provide:oe,useExisting:n},{provide:Q,useExisting:n}]),P],ngContentSelectors:Ji,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,i){if(t&1&&(G(Zi),p(0,"div",0,1),g("click",function(){return i.toggle()}),p(3,"div",2),v(4,Ki,2,1,"span",3),v(5,Ui,3,2,"span",4),h(),p(6,"div",5),C(7,"div",6),h()(),v(8,Xi,4,14,"ng-template",7),g("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),t&2){let s=Ne(1);w("aria-owns",i.panelOpen?i.id+"-panel":null),u(3),m("ngSwitch",i.empty),w("id",i._valueId),u(1),m("ngSwitchCase",!0),u(1),m("ngSwitchCase",!1),u(3),m("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",i._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Ct,St,wt,xt,ve,Ye],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[_i.transformPanelWrap,_i.transformPanel]},changeDetection:0})})(),a})(),bi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[mi],imports:[K,We,lt,F,Pt,Ie,lt,F]})})(),a})();function an(a,n){if(a&1&&(p(0,"mat-option",17),E(1),h()),a&2){let l=n.$implicit,e=n.index;m("value",e),u(1),ue(" ",l," ")}}var sn=function(){return["AngularFan@gmail.com","MaterialFan@gmail.com"]},vi=(()=>{let n=class{constructor(){this.route=Fe(Wt),this.navService=Fe(Jt),this.subject$=new le(""),this.senderEmail$=new le(0),this.content$=new le(""),this.mailId$=this.route.queryParams.pipe(H(e=>e.reply)),this.backUrl$=dt([this.mailId$,this.navService.currActiveItem$.pipe(H(e=>e?.url))]).pipe(H(([e,t])=>t?e?`${t}/${e}`:t:"/"))}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["rpl-compose"]],decls:26,vars:8,consts:[["ngForm",""],[1,"subject-line"],["mat-icon-button","","matTooltip","Close",3,"routerLink"],["fontSet","filled","fontIcon","close"],["name","subject","type","text","placeholder","Subject",3,"ngModel","ngModelChange"],["mat-icon-button","","matTooltip","send"],["svgIcon","send"],[1,"sender-line"],["name","senderEmail",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"recipient-line"],["matChipAvatar","","src","assets/demo/avatar-1.jpg","alt","Avatar"],["matChipAvatar","","src","assets/demo/avatar-2.jpg","alt","Avatar"],["mat-icon-button","","matTooltip","Add recipient"],["fontSet","filled","fontIcon","add_circle_outline"],[1,"content-section"],["name","content","placeholder","New Message...",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){t&1&&(ut(0,0),p(1,"rpl-header",1)(2,"a",2),yt(3,"async"),C(4,"mat-icon",3),h(),p(5,"input",4),g("ngModelChange",function(o){return i.subject$.next(o)}),h(),p(6,"button",5),C(7,"mat-icon",6),h()(),p(8,"div",7)(9,"mat-form-field")(10,"mat-select",8),g("ngModelChange",function(o){return i.senderEmail$.next(o)}),v(11,an,2,2,"mat-option",9),h()()(),p(12,"div",10)(13,"mat-chip-list")(14,"mat-chip"),C(15,"img",11),p(16,"span"),E(17,"Recipient1"),h()(),p(18,"mat-chip"),C(19,"img",12),p(20,"span"),E(21,"Recipient2"),h()()(),p(22,"button",13),C(23,"mat-icon",14),h()(),p(24,"div",15)(25,"textarea",16),g("ngModelChange",function(o){return i.content$.next(o)}),h()(),gt()),t&2&&(u(2),m("routerLink",bt(3,5,i.backUrl$)),u(3),m("ngModel",i.subject$.value),u(5),m("ngModel",i.senderEmail$.value),u(1),m("ngForOf",ft(7,sn)),u(14),m("ngModel",i.content$.value))},dependencies:[Mt,zt,qt,Kt,Qt,$t,U,jt,Gt,oi,rt,si,ti,Xt,Ht,yi,ke,Ee,It],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.recipient-line[_ngcontent-%COMP%], .sender-line[_ngcontent-%COMP%], .subject-line[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.subject-line[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:16px;font-weight:700;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.sender-line[_ngcontent-%COMP%]{padding:0 16px}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:1em}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{visibility:hidden}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]:has(:focus-visible) .mat-form-field-underline{visibility:visible}.recipient-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{width:0;flex-grow:1}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{min-height:initial;height:28px;background-color:#eef1f3;font-size:14px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:active{box-shadow:none}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] [matChipAvatar][_ngcontent-%COMP%]{margin-left:0;width:28px;height:28px}.content-section[_ngcontent-%COMP%]{height:0;flex-grow:1;padding:16px}.content-section[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),a})();var rn=[{path:"",component:vi,title:"Compose",data:{animationId:"compose"}}],Ci=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[it.forChild(rn),it]})})(),a})();var Os=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[K,Ci,Ut,Yt,ri,Ie,Zt,Vt,bi,Ee]})})(),a})();export{Os as ComposeModule}; diff --git a/index.html b/index.html index dea8857..4e5a3ee 100644 --- a/index.html +++ b/index.html @@ -8,11 +8,11 @@ - + - + diff --git a/mails.module-76TMCKA4.js b/mails.module-BAAX3Y6N.js similarity index 54% rename from mails.module-76TMCKA4.js rename to mails.module-BAAX3Y6N.js index 7b6ade3..9dd9b0d 100644 --- a/mails.module-76TMCKA4.js +++ b/mails.module-BAAX3Y6N.js @@ -1,3 +1,3 @@ -import{b as Mi,c as yi,d as vi,e as Be,f as Ii,g as Pi,i as Fi,j as Bi,k as ji,l as $i}from"./chunk-KJC4PF6B.js";import{a as me,b as pe,d as ue}from"./chunk-SCW2PD66.js";import{b as Pt}from"./chunk-2SKRDM35.js";import{c as Vi}from"./chunk-JWYHAYBW.js";import{a as le,b as Xi,c as ce,d as Zi}from"./chunk-GQLKKIYV.js";import{a as Si,b as je,c as Di,d as $t,e as wi,f as Ti,g as k,h as Oi,i as Ai,j as Ri,k as E,l as Ei,o as Ve,q as It}from"./chunk-3XARSZJN.js";import{a as Wi}from"./chunk-MVUL6ZIM.js";import{b as Ji,c as F,d as Ht}from"./chunk-LJ7UDTCX.js";import{d as Yi,f as qi,g as zi}from"./chunk-IJYCWCJA.js";import"./chunk-C6VMUQFT.js";import{a as Y,b as Gi,c as Ki}from"./chunk-EFASKN6N.js";import{b as pi,f as ui,i as oe,l as ke,m as Vt,n as it,p as N}from"./chunk-HDMEYBD3.js";import"./chunk-IKTP4ODH.js";import{$ as Zt,Ab as Bt,Ca as c,Cb as ct,Cc as mi,D as Ge,Da as Te,Ea as y,Ec as vt,F as Gt,Fb as ii,Fc as Ct,Ga as J,Gc as Ne,Gd as T,H as ut,Ha as We,Hb as Re,Hc as Q,Ia as G,Ib as ni,Ic as Fe,Ja as d,Jb as ne,Jc as tt,Ka as Jt,Kb as w,Kc as di,La as s,Ma as p,Mc as ae,N as De,Na as u,Nc as fi,Oa as f,Oc as hi,Pa as P,Pb as L,Pd as Hi,Q as we,Qa as S,Qb as Z,Qc as mt,Ra as Ze,Sa as lt,Sc as re,Sd as se,Tc as gi,U as Xt,Ua as O,Vc as _i,W as Wt,Wa as h,Wd as Qi,X as z,Xa as Nt,Xd as xt,Y as K,Ya as _t,Yb as oi,Yd as $e,Za as X,Zd as Ui,_ as Xe,a as qt,ab as Mt,c as Pe,ca as dt,cb as b,cc as ai,cd as bt,d as pt,da as at,db as W,dc as Ee,dd as jt,e as ze,eb as H,f as nt,fa as m,g as Se,ga as _,ha as rt,hb as Ke,ia as kt,ib as te,ja as ft,jb as ee,kb as Je,l as Lt,lb as ti,md as U,n as zt,na as $,nb as M,nd as Ci,oa as V,ob as v,od as et,p as g,pa as Kt,pb as Oe,pc as ri,pd as bi,q as j,qa as ht,qb as D,qd as xi,rb as ei,sb as Ae,sc as si,ta as st,tb as yt,tc as li,td as Li,ub as x,vb as A,vc as Le,vd as ki,wb as ie,wd as Ni,x as ot,xb as I,xc as ci,yb as Ft,z as R,za as gt}from"./chunk-KBDKS3MK.js";import{a as qe,j as Yt}from"./chunk-3J24ZBPC.js";var jn=["mat-menu-item",""];function $n(o,i){o&1&&(Kt(),p(0,"svg",3),f(1,"polygon",4),u())}var Vn=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Hn=["mat-icon, [matMenuItemIcon]","*"];var de=new st("MAT_MENU_PANEL"),Qn=_i(gi(class{})),Dt=(()=>{let i=class extends Qn{constructor(t,e,n,a,l){super(),this._elementRef=t,this._document=e,this._focusMonitor=n,this._parentMenu=a,this._changeDetectorRef=l,this.role="menuitem",this._hovered=new pt,this._focused=new pt,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),e=t.querySelectorAll("mat-icon, .material-icons");for(let n=0;n{i.\u0275fac=function(e){return new(e||i)(y(gt),y(ii),y(Le),y(de,8),y(ct))}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(e,n){e&1&&O("click",function(l){return n._checkDisabled(l)})("mouseenter",function(){return n._handleMouseEnter()}),e&2&&(G("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled)("disabled",n.disabled||null),Mt("mat-mdc-menu-item-highlighted",n._highlighted)("mat-mdc-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[J],attrs:jn,ngContentSelectors:Hn,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Nt(Vn),_t(0),p(1,"span",0),_t(2,1),u(),f(3,"div",1),d(4,$n,2,0,"svg",2)),e&2&&(c(3),s("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),s("ngIf",n._triggersSubmenu))},dependencies:[w,bt],encapsulation:2,changeDetection:0})})(),o})();var an=new st("MatMenuContent");var Qt={transformMenu:vt("transformMenu",[Fe("void",Q({opacity:0,transform:"scale(0.8)"})),tt("void => enter",Ct("120ms cubic-bezier(0, 0, 0.2, 1)",Q({opacity:1,transform:"scale(1)"}))),tt("* => void",Ct("100ms 25ms linear",Q({opacity:0})))]),fadeInItems:vt("fadeInItems",[Fe("showing",Q({opacity:1})),tt("void => *",[Q({opacity:0}),Ct("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},xa=Qt.fadeInItems,Ia=Qt.transformMenu,Un=0,He=new st("mat-menu-default-options",{providedIn:"root",factory:Yn});function Yn(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var St=(()=>{let i=class{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Ee(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Ee(t)}set panelClass(t){let e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(n=>{this._classList[n]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(n=>{this._classList[n]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,e,n,a){this._elementRef=t,this._ngZone=e,this._changeDetectorRef=a,this._directDescendantItems=new ei,this._classList={},this._panelAnimationState="void",this._animationDone=new pt,this.closed=new D,this.close=this.closed,this.panelId=`mat-menu-panel-${Un++}`,this.overlayPanelClass=n.overlayPanelClass||"",this._xPosition=n.xPosition,this._yPosition=n.yPosition,this.backdropClass=n.backdropClass,this._overlapTrigger=n.overlapTrigger,this._hasBackdrop=n.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ri(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Wt(this._directDescendantItems),z(t=>ot(...t.map(e=>e._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let e=this._keyManager;if(this._panelAnimationState==="enter"&&e.activeItem?._hasFocus()){let n=t.toArray(),a=Math.max(0,Math.min(n.length-1,e.activeItemIndex||0));n[a]&&!n[a].disabled?e.setActiveItem(a):e.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Wt(this._directDescendantItems),z(e=>ot(...e.map(n=>n._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let e=t.keyCode,n=this._keyManager;switch(e){case 27:ai(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(e===38||e===40)&&n.setFocusOrigin("keyboard"),n.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Gt(1)).subscribe(()=>{let e=null;if(this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!e||!e.contains(document.activeElement)){let n=this._keyManager;n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&e&&e.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,a=Object.keys(this._classList).find(l=>l.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){let n=this._classList;n["mat-menu-before"]=t==="before",n["mat-menu-after"]=t==="after",n["mat-menu-above"]=e==="above",n["mat-menu-below"]=e==="below",this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Wt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(y(gt),y(Bt),y(He),y(ct))}})(),(()=>{i.\u0275dir=kt({type:i,contentQueries:function(e,n,a){if(e&1&&(ie(a,an,5),ie(a,Dt,5),ie(a,Dt,4)),e&2){let l;x(l=I())&&(n.lazyContent=l.first),x(l=I())&&(n._allItems=l),x(l=I())&&(n.items=l)}},viewQuery:function(e,n){if(e&1&&A(Ae,5),e&2){let a;x(a=I())&&(n.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})})(),o})();var rn=new st("mat-menu-scroll-strategy");function qn(o){return()=>o.scrollStrategies.reposition()}var sn={provide:rn,deps:[oe],useFactory:qn},tn=oi({passive:!0});var ln=(()=>{let i=class{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(e=>{this._destroyMenu(e),(e==="click"||e==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(e)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,e,n,a,l,B,Tt,Ot,At){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=B,this._dir=Tt,this._focusMonitor=Ot,this._ngZone=At,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=qt.EMPTY,this._hoverSubscription=qt.EMPTY,this._menuCloseSubscription=qt.EMPTY,this._changeDetectorRef=m(ct),this._handleTouchStart=Rt=>{li(Rt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new D,this.onMenuOpen=this.menuOpened,this.menuClosed=new D,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=l instanceof St?l:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,tn)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,tn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let e=this._createOverlay(t),n=e.getConfig(),a=n.positionStrategy;this._setPosition(t,a),n.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,e.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof St&&(t._startAnimation(),t._directDescendantItems.changes.pipe(K(t.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,e instanceof St?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(R(n=>n.toState==="void"),Gt(1),K(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let e=0,n=t.parentMenu;for(;n;)e++,n=n.parentMenu;t.setElevation(e)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let e=this._getOverlayConfig(t);this._subscribeToPositions(t,e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new ui({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,e){t.setPositionClasses&&e.positionChanges.subscribe(n=>{let a=n.connectionPair.overlayX==="start"?"after":"before",l=n.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(a,l)):t.setPositionClasses(a,l)})}_setPosition(t,e){let[n,a]=t.xPosition==="before"?["end","start"]:["start","end"],[l,B]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[Tt,Ot]=[l,B],[At,Rt]=[n,a],Et=0;if(this.triggersSubmenu()){if(Rt=n=t.xPosition==="before"?"start":"end",a=At=n==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Et=l==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(Tt=l==="top"?"bottom":"top",Ot=B==="top"?"bottom":"top");e.withPositions([{originX:n,originY:Tt,overlayX:At,overlayY:l,offsetY:Et},{originX:a,originY:Tt,overlayX:Rt,overlayY:l,offsetY:Et},{originX:n,originY:Ot,overlayX:At,overlayY:B,offsetY:-Et},{originX:a,originY:Ot,overlayX:Rt,overlayY:B,offsetY:-Et}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Lt(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(R(l=>l!==this._menuItemInstance),R(()=>this._menuOpen)):Lt();return ot(t,n,a,e)}_handleMousedown(t){si(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let e=t.keyCode;(e===13||e===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===39&&this.dir==="ltr"||e===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(R(t=>t===this._menuItemInstance&&!t.disabled),ut(0,Se)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof St&&this.menu._isAnimating?this.menu._animationDone.pipe(Gt(1),ut(0,Se),K(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new pi(t.templateRef,this._viewContainerRef)),this._portal}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(y(oe),y(gt),y(yt),y(rn),y(de,8),y(Dt,10),y(ci,8),y(Le),y(Bt))}})(),(()=>{i.\u0275dir=kt({type:i,hostVars:3,hostBindings:function(e,n){e&1&&O("click",function(l){return n._handleClick(l)})("mousedown",function(l){return n._handleMousedown(l)})("keydown",function(l){return n._handleKeydown(l)}),e&2&&G("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})})(),o})();function zn(o,i){if(o&1){let r=lt();p(0,"div",0),O("keydown",function(e){$(r);let n=h();return V(n._handleKeydown(e))})("click",function(){$(r);let e=h();return V(e.closed.emit("click"))})("@transformMenu.start",function(e){$(r);let n=h();return V(n._onAnimationStart(e))})("@transformMenu.done",function(e){$(r);let n=h();return V(n._onAnimationDone(e))}),p(1,"div",1),_t(2),u()()}if(o&2){let r=h();s("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),G("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var cn=["*"],Gn=["mat-menu-item",""];function Xn(o,i){o&1&&(Kt(),p(0,"svg",2),f(1,"polygon",3),u())}var fe=(()=>{let i=class extends St{constructor(t,e,n,a){super(t,e,n,a),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(y(gt),y(Bt),y(He),y(ct))}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(e,n){e&2&&G("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[te([{provide:de,useExisting:i}]),J],ngContentSelectors:cn,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,n){e&1&&(Nt(),d(0,zn,3,6,"ng-template"))},dependencies:[Re],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Qt.transformMenu,Qt.fadeInItems]},changeDetection:0})})(),o})(),mn=(()=>{let i=class extends Dt{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=ht(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(e,n){e&2&&(G("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled.toString())("disabled",n.disabled||null),Mt("mat-menu-item",!0)("mat-menu-item-highlighted",n._highlighted)("mat-menu-item-submenu-trigger",n._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[te([{provide:Dt,useExisting:i}]),J],attrs:Gn,ngContentSelectors:cn,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Nt(),_t(0),f(1,"div",0),d(2,Xn,2,0,"svg",1)),e&2&&(c(1),s("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),s("ngIf",n._triggersSubmenu))},dependencies:[w,bt],encapsulation:2,changeDetection:0})})(),o})(),pn=(()=>{let i=class extends ln{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=ht(i)))(n||i)}}()})(),(()=>{i.\u0275dir=kt({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[J]})})(),o})();var un=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=rt({type:i})})(),(()=>{i.\u0275inj=at({providers:[sn],imports:[Z,re,jt,ke,mi,re]})})(),o})();var fn=(()=>{let i=class{transform(t,e){return t.sort((n,a)=>n.id===e?-1/0:a.id===e?1/0:n.name?a.name?n.name.localeCompare(a.name):-1:1)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=ft({name:"contactSort",type:i,pure:!0,standalone:!0})})(),o})();var hn=(()=>{let i=class{transform(t,e){let a=(Array.isArray(t)?t:[t]).map(l=>l.id===e?"me":l.name??l.email);if(a.length){if(a.length===1)return a[0];if(a.length===2)return`${a[0]} and ${a[1]}`}else return"";return`${a.slice(0,-1).join(", ")}, and ${a.at(-1)}`}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=ft({name:"contactStringify",type:i,pure:!0,standalone:!0})})(),o})();var gn=(()=>{let i=class{transform(t){return t.snippet??this.generateSnippetFromContent(t.content)}generateSnippetFromContent(t){return t.replace(/\s+/gu," ").slice(0,100)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=ft({name:"mailSnippet",type:i,pure:!0,standalone:!0})})(),o})();var Jn=["container"],he=(()=>{let i=class{set contentInput(t){this.content$.next(t)}set containerInput(t){this.container$.next(t)}constructor(){this.content$=new nt(1),this.container$=new nt(1),j([this.content$,this.container$]).subscribe(([t,e])=>{e.nativeElement.innerHTML=t})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-html-renderer"]],viewQuery:function(e,n){if(e&1&&A(Jn,5),e&2){let a;x(a=I())&&(n.containerInput=a.first)}},inputs:{contentInput:["content","contentInput"]},standalone:!0,features:[ee],decls:2,vars:0,consts:[[1,"container"],["container",""]],template:function(e,n){e&1&&f(0,"div",0,1)},dependencies:[Z],styles:[`:host{display:contents} +import{b as Mi,c as yi,d as vi,e as Be,f as Ii,g as Pi,i as Fi,j as Bi,k as ji,l as $i}from"./chunk-N7M2F6P2.js";import{a as me,b as pe,c as ue}from"./chunk-CW6XQTGJ.js";import"./chunk-T3VJN7I3.js";import{b as Pt}from"./chunk-5RPBRSJY.js";import{c as Vi}from"./chunk-6Q7PW4SA.js";import{a as le,b as Xi,c as ce,d as Zi}from"./chunk-ESQOXLFI.js";import{a as Si,b as je,c as Di,d as $t,e as wi,f as Ti,g as k,h as Oi,i as Ai,j as Ri,k as E,l as Ei,o as Ve,q as It}from"./chunk-MXV4FMBH.js";import{a as Wi}from"./chunk-3UZNBURP.js";import{b as Ji,c as F,d as Ht}from"./chunk-5SE4VJ2X.js";import{d as Yi,f as qi,g as zi}from"./chunk-5S2TY6JK.js";import"./chunk-FB6BMVSR.js";import{a as Y,b as Gi,c as Ki}from"./chunk-E7R3WNTA.js";import{b as pi,f as ui,i as oe,l as ke,m as Vt,n as it,p as N}from"./chunk-JYLXIIJ3.js";import"./chunk-RTHH4LAA.js";import{$a as Mt,Ba as c,Bb as ct,Bc as mi,C as Ge,Ca as Te,Da as y,Dc as vt,E as Gt,Eb as ii,Ec as Ct,Fa as J,Fc as Ne,Fd as T,G as ut,Ga as We,Gb as Re,Gc as Q,Ha as G,Hb as ni,Hc as Fe,Ia as d,Ib as ne,Ic as tt,Ja as Jt,Jb as w,Jc as di,Ka as s,La as p,Lc as ae,M as De,Ma as u,Mc as fi,Na as f,Nc as hi,Oa as P,Ob as L,Od as Hi,P as we,Pa as S,Pb as Z,Pc as mt,Qa as Ze,Ra as lt,Rc as re,Rd as se,Sc as gi,T as Xt,Ta as O,Uc as _i,V as Wt,Va as h,Vd as Qi,W as z,Wa as Nt,Wd as xt,X as K,Xa as _t,Xb as oi,Xd as $e,Ya as X,Yd as Ui,Z as Xe,_ as Zt,a as qt,ba as dt,bb as b,bc as ai,bd as bt,c as Pe,ca as at,cb as W,cc as Ee,cd as jt,d as pt,db as H,e as ze,ea as m,f as nt,fa as _,g as Se,ga as rt,gb as Ke,ha as kt,hb as te,ia as ft,ib as ee,jb as Je,kb as ti,l as Lt,ld as U,ma as $,mb as M,md as Ci,n as zt,na as V,nb as v,nd as et,oa as Kt,ob as Oe,oc as ri,od as bi,p as g,pa as ht,pb as D,pd as xi,q as j,qb as ei,rb as Ae,rc as si,sa as st,sb as yt,sc as li,sd as Li,tb as x,ub as A,uc as Le,ud as ki,vb as ie,vd as Ni,wb as I,wc as ci,x as ot,xb as Ft,ya as gt,z as R,zb as Bt}from"./chunk-VGXZBCX5.js";import{a as qe,i as Yt}from"./chunk-OROYKVKJ.js";var jn=["mat-menu-item",""];function $n(o,i){o&1&&(Kt(),p(0,"svg",3),f(1,"polygon",4),u())}var Vn=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Hn=["mat-icon, [matMenuItemIcon]","*"];var de=new st("MAT_MENU_PANEL"),Qn=_i(gi(class{})),Dt=(()=>{let i=class extends Qn{constructor(t,e,n,a,l){super(),this._elementRef=t,this._document=e,this._focusMonitor=n,this._parentMenu=a,this._changeDetectorRef=l,this.role="menuitem",this._hovered=new pt,this._focused=new pt,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),e=t.querySelectorAll("mat-icon, .material-icons");for(let n=0;n{i.\u0275fac=function(e){return new(e||i)(y(gt),y(ii),y(Le),y(de,8),y(ct))}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(e,n){e&1&&O("click",function(l){return n._checkDisabled(l)})("mouseenter",function(){return n._handleMouseEnter()}),e&2&&(G("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled)("disabled",n.disabled||null),Mt("mat-mdc-menu-item-highlighted",n._highlighted)("mat-mdc-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[J],attrs:jn,ngContentSelectors:Hn,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Nt(Vn),_t(0),p(1,"span",0),_t(2,1),u(),f(3,"div",1),d(4,$n,2,0,"svg",2)),e&2&&(c(3),s("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),s("ngIf",n._triggersSubmenu))},dependencies:[w,bt],encapsulation:2,changeDetection:0})})(),o})();var an=new st("MatMenuContent");var Qt={transformMenu:vt("transformMenu",[Fe("void",Q({opacity:0,transform:"scale(0.8)"})),tt("void => enter",Ct("120ms cubic-bezier(0, 0, 0.2, 1)",Q({opacity:1,transform:"scale(1)"}))),tt("* => void",Ct("100ms 25ms linear",Q({opacity:0})))]),fadeInItems:vt("fadeInItems",[Fe("showing",Q({opacity:1})),tt("void => *",[Q({opacity:0}),Ct("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},xa=Qt.fadeInItems,Ia=Qt.transformMenu,Un=0,He=new st("mat-menu-default-options",{providedIn:"root",factory:Yn});function Yn(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var St=(()=>{let i=class{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Ee(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Ee(t)}set panelClass(t){let e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(n=>{this._classList[n]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(n=>{this._classList[n]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,e,n,a){this._elementRef=t,this._ngZone=e,this._changeDetectorRef=a,this._directDescendantItems=new ei,this._classList={},this._panelAnimationState="void",this._animationDone=new pt,this.closed=new D,this.close=this.closed,this.panelId=`mat-menu-panel-${Un++}`,this.overlayPanelClass=n.overlayPanelClass||"",this._xPosition=n.xPosition,this._yPosition=n.yPosition,this.backdropClass=n.backdropClass,this._overlapTrigger=n.overlapTrigger,this._hasBackdrop=n.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ri(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Wt(this._directDescendantItems),z(t=>ot(...t.map(e=>e._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let e=this._keyManager;if(this._panelAnimationState==="enter"&&e.activeItem?._hasFocus()){let n=t.toArray(),a=Math.max(0,Math.min(n.length-1,e.activeItemIndex||0));n[a]&&!n[a].disabled?e.setActiveItem(a):e.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Wt(this._directDescendantItems),z(e=>ot(...e.map(n=>n._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let e=t.keyCode,n=this._keyManager;switch(e){case 27:ai(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(e===38||e===40)&&n.setFocusOrigin("keyboard"),n.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Gt(1)).subscribe(()=>{let e=null;if(this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!e||!e.contains(document.activeElement)){let n=this._keyManager;n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&e&&e.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,a=Object.keys(this._classList).find(l=>l.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){let n=this._classList;n["mat-menu-before"]=t==="before",n["mat-menu-after"]=t==="after",n["mat-menu-above"]=e==="above",n["mat-menu-below"]=e==="below",this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Wt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(y(gt),y(Bt),y(He),y(ct))}})(),(()=>{i.\u0275dir=kt({type:i,contentQueries:function(e,n,a){if(e&1&&(ie(a,an,5),ie(a,Dt,5),ie(a,Dt,4)),e&2){let l;x(l=I())&&(n.lazyContent=l.first),x(l=I())&&(n._allItems=l),x(l=I())&&(n.items=l)}},viewQuery:function(e,n){if(e&1&&A(Ae,5),e&2){let a;x(a=I())&&(n.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})})(),o})();var rn=new st("mat-menu-scroll-strategy");function qn(o){return()=>o.scrollStrategies.reposition()}var sn={provide:rn,deps:[oe],useFactory:qn},tn=oi({passive:!0});var ln=(()=>{let i=class{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(e=>{this._destroyMenu(e),(e==="click"||e==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(e)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,e,n,a,l,B,Tt,Ot,At){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=B,this._dir=Tt,this._focusMonitor=Ot,this._ngZone=At,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=qt.EMPTY,this._hoverSubscription=qt.EMPTY,this._menuCloseSubscription=qt.EMPTY,this._changeDetectorRef=m(ct),this._handleTouchStart=Rt=>{li(Rt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new D,this.onMenuOpen=this.menuOpened,this.menuClosed=new D,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=l instanceof St?l:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,tn)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,tn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let e=this._createOverlay(t),n=e.getConfig(),a=n.positionStrategy;this._setPosition(t,a),n.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,e.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof St&&(t._startAnimation(),t._directDescendantItems.changes.pipe(K(t.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,e instanceof St?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(R(n=>n.toState==="void"),Gt(1),K(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let e=0,n=t.parentMenu;for(;n;)e++,n=n.parentMenu;t.setElevation(e)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let e=this._getOverlayConfig(t);this._subscribeToPositions(t,e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new ui({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,e){t.setPositionClasses&&e.positionChanges.subscribe(n=>{let a=n.connectionPair.overlayX==="start"?"after":"before",l=n.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(a,l)):t.setPositionClasses(a,l)})}_setPosition(t,e){let[n,a]=t.xPosition==="before"?["end","start"]:["start","end"],[l,B]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[Tt,Ot]=[l,B],[At,Rt]=[n,a],Et=0;if(this.triggersSubmenu()){if(Rt=n=t.xPosition==="before"?"start":"end",a=At=n==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Et=l==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(Tt=l==="top"?"bottom":"top",Ot=B==="top"?"bottom":"top");e.withPositions([{originX:n,originY:Tt,overlayX:At,overlayY:l,offsetY:Et},{originX:a,originY:Tt,overlayX:Rt,overlayY:l,offsetY:Et},{originX:n,originY:Ot,overlayX:At,overlayY:B,offsetY:-Et},{originX:a,originY:Ot,overlayX:Rt,overlayY:B,offsetY:-Et}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Lt(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(R(l=>l!==this._menuItemInstance),R(()=>this._menuOpen)):Lt();return ot(t,n,a,e)}_handleMousedown(t){si(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let e=t.keyCode;(e===13||e===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===39&&this.dir==="ltr"||e===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(R(t=>t===this._menuItemInstance&&!t.disabled),ut(0,Se)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof St&&this.menu._isAnimating?this.menu._animationDone.pipe(Gt(1),ut(0,Se),K(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new pi(t.templateRef,this._viewContainerRef)),this._portal}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(y(oe),y(gt),y(yt),y(rn),y(de,8),y(Dt,10),y(ci,8),y(Le),y(Bt))}})(),(()=>{i.\u0275dir=kt({type:i,hostVars:3,hostBindings:function(e,n){e&1&&O("click",function(l){return n._handleClick(l)})("mousedown",function(l){return n._handleMousedown(l)})("keydown",function(l){return n._handleKeydown(l)}),e&2&&G("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})})(),o})();function zn(o,i){if(o&1){let r=lt();p(0,"div",0),O("keydown",function(e){$(r);let n=h();return V(n._handleKeydown(e))})("click",function(){$(r);let e=h();return V(e.closed.emit("click"))})("@transformMenu.start",function(e){$(r);let n=h();return V(n._onAnimationStart(e))})("@transformMenu.done",function(e){$(r);let n=h();return V(n._onAnimationDone(e))}),p(1,"div",1),_t(2),u()()}if(o&2){let r=h();s("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),G("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var cn=["*"],Gn=["mat-menu-item",""];function Xn(o,i){o&1&&(Kt(),p(0,"svg",2),f(1,"polygon",3),u())}var fe=(()=>{let i=class extends St{constructor(t,e,n,a){super(t,e,n,a),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(y(gt),y(Bt),y(He),y(ct))}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(e,n){e&2&&G("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[te([{provide:de,useExisting:i}]),J],ngContentSelectors:cn,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,n){e&1&&(Nt(),d(0,zn,3,6,"ng-template"))},dependencies:[Re],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Qt.transformMenu,Qt.fadeInItems]},changeDetection:0})})(),o})(),mn=(()=>{let i=class extends Dt{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=ht(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(e,n){e&2&&(G("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled.toString())("disabled",n.disabled||null),Mt("mat-menu-item",!0)("mat-menu-item-highlighted",n._highlighted)("mat-menu-item-submenu-trigger",n._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[te([{provide:Dt,useExisting:i}]),J],attrs:Gn,ngContentSelectors:cn,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Nt(),_t(0),f(1,"div",0),d(2,Xn,2,0,"svg",1)),e&2&&(c(1),s("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),s("ngIf",n._triggersSubmenu))},dependencies:[w,bt],encapsulation:2,changeDetection:0})})(),o})(),pn=(()=>{let i=class extends ln{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=ht(i)))(n||i)}}()})(),(()=>{i.\u0275dir=kt({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[J]})})(),o})();var un=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=rt({type:i})})(),(()=>{i.\u0275inj=at({providers:[sn],imports:[Z,re,jt,ke,mi,re]})})(),o})();var fn=(()=>{let i=class{transform(t,e){return t.sort((n,a)=>n.id===e?-1/0:a.id===e?1/0:n.name?a.name?n.name.localeCompare(a.name):-1:1)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=ft({name:"contactSort",type:i,pure:!0,standalone:!0})})(),o})();var hn=(()=>{let i=class{transform(t,e){let a=(Array.isArray(t)?t:[t]).map(l=>l.id===e?"me":l.name??l.email);if(a.length){if(a.length===1)return a[0];if(a.length===2)return`${a[0]} and ${a[1]}`}else return"";return`${a.slice(0,-1).join(", ")}, and ${a.at(-1)}`}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=ft({name:"contactStringify",type:i,pure:!0,standalone:!0})})(),o})();var gn=(()=>{let i=class{transform(t){return t.snippet??this.generateSnippetFromContent(t.content)}generateSnippetFromContent(t){return t.replace(/\s+/gu," ").slice(0,100)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=ft({name:"mailSnippet",type:i,pure:!0,standalone:!0})})(),o})();var Jn=["container"],he=(()=>{let i=class{set contentInput(t){this.content$.next(t)}set containerInput(t){this.container$.next(t)}constructor(){this.content$=new nt(1),this.container$=new nt(1),j([this.content$,this.container$]).subscribe(([t,e])=>{e.nativeElement.innerHTML=t})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-html-renderer"]],viewQuery:function(e,n){if(e&1&&A(Jn,5),e&2){let a;x(a=I())&&(n.containerInput=a.first)}},inputs:{contentInput:["content","contentInput"]},standalone:!0,features:[ee],decls:2,vars:0,consts:[[1,"container"],["container",""]],template:function(e,n){e&1&&f(0,"div",0,1)},dependencies:[Z],styles:[`:host{display:contents} `],encapsulation:3,changeDetection:0})})(),o})();function ao(o,i){if(o&1&&(P(0),p(1,"div",14),b(2),u(),S()),o&2){let r=h();c(2),W(r.mail.content)}}function ro(o,i){if(o&1&&(P(0),f(1,"rpl-html-renderer",15),S()),o&2){let r=h();c(1),s("content",r.mail.content)}}var Mn=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail"]],inputs:{user:"user",mail:"mail",sender:"sender",recipients:"recipients"},decls:26,vars:16,consts:[["rplLayoutContent",""],[1,"wrapper"],["lpjNode","",1,"title-line"],[1,"subject"],["mat-icon-button","","routerLink","..","matTooltip","Back"],["fontSet","filled","fontIcon","expand_more"],["lpjNode","",1,"info-line"],[1,"left-group"],[1,"mat-body-1"],[1,"mat-small"],[1,"right-group"],[3,"lpjNode","contact"],["lpjNode","",1,"content"],[4,"ngIf"],[1,"text"],[1,"html",3,"content"]],template:function(e,n){if(e&1&&(p(0,"rpl-scrollable-area",0)(1,"div",1)(2,"div",2)(3,"div",3),b(4),u(),p(5,"a",4),f(6,"mat-icon",5),u()(),p(7,"div",6)(8,"div",7)(9,"div",8)(10,"span"),b(11),u(),b(12," - "),p(13,"span"),b(14),M(15,"readableDate"),u()(),p(16,"div",9)(17,"span"),b(18),M(19,"contactStringify"),M(20,"contactSort"),u()()(),p(21,"div",10),f(22,"rpl-avatar",11),u()(),p(23,"div",12),d(24,ao,3,1,"ng-container",13),d(25,ro,2,1,"ng-container",13),u()()()),e&2){let a;c(4),H(" ",n.mail.subject," "),c(7),W((a=n.sender.name)!==null&&a!==void 0?a:n.sender.email),c(3),W(v(15,8,n.mail.sentAt)),c(4),H(" To ",Oe(19,10,Oe(20,13,n.recipients,n.user.id),n.user.id)," "),c(4),X("lpjNode","mail-",n.mail.id,"-avatar"),s("contact",n.sender),c(2),s("ngIf",n.mail.contentType==="plain-text"),c(1),s("ngIf",n.mail.contentType==="html")}},dependencies:[w,xt,bi,Y,U,E,k,Pt,pe,le,he,ue,fn,hn],styles:["[_nghost-%COMP%]{display:block;background-color:#fff}rpl-scrollable-area[_ngcontent-%COMP%]{height:100%}.wrapper[_ngcontent-%COMP%]{height:100%;padding:16px}.tablet-portrait[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:32px 16px}.title-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.title-line[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:32px;font-family:Work Sans,sans-serif;letter-spacing:normal}.info-line[_ngcontent-%COMP%]{margin-top:8px;display:flex;align-items:center}.info-line[_ngcontent-%COMP%] .left-group[_ngcontent-%COMP%]{flex-grow:1}.content[_ngcontent-%COMP%]{margin-top:16px}.content[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{white-space:pre-line}"],changeDetection:0})})(),o})();var ye=Ni({source:"feature/mails",events:qe({},Ui({name:"openMoveMailDialog",params:ki(),events:{}}))});var yn=(()=>{let i=class{constructor(){this.store=m(T),this.moveMailButtonClick=new D,this.toggleMailReadStatusButtonClick=new D,this.moveMailButtonClick.subscribe(()=>{let t=ye.openMoveMailDialog;this.store.dispatch(t({mail:this.mail}))}),this.toggleMailReadStatusButtonClick.subscribe(()=>{let t=F.toggleMailReadStatus;this.store.dispatch(t({mail:this.mail}))})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-action-menu-def"]],viewQuery:function(e,n){if(e&1&&A(fe,5),e&2){let a;x(a=I())&&(n.menuRef=a.first)}},inputs:{mail:"mail",currentMailbox:"currentMailbox"},decls:5,vars:1,consts:[["mat-menu-item","",3,"click"]],template:function(e,n){e&1&&(p(0,"mat-menu")(1,"button",0),O("click",function(){return n.moveMailButtonClick.emit()}),b(2,"Move to..."),u(),p(3,"button",0),O("click",function(){return n.toggleMailReadStatusButtonClick.emit()}),b(4),u()()),e&2&&(c(4),H(" ",n.mail.isRead?"Mark as unread":"Mark as read"," "))},dependencies:[fe,mn],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var ve=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-action-menu-button"]],inputs:{mail:"mail",currentMailbox:"currentMailbox"},decls:4,vars:3,consts:[["mat-icon-button","","matTooltip","More actions",3,"matMenuTriggerFor"],["fontSet","filled","fontIcon","more_vert"],[3,"mail","currentMailbox"],["menuDef",""]],template:function(e,n){if(e&1&&(p(0,"button",0),f(1,"mat-icon",1),u(),f(2,"rpl-mail-action-menu-def",2,3)),e&2){let a=Jt(3);s("matMenuTriggerFor",a.menuRef),c(2),s("mail",n.mail)("currentMailbox",n.currentMailbox)}},dependencies:[et,Y,pn,U,yn],styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px}"],changeDetection:0})})(),o})();var Ce=(()=>{let i=class{constructor(){this.store=m(T),this.click=new D,this.click.subscribe(()=>{let t=F.toggleMailStarredStatus({mail:this.mail});this.store.dispatch(t)})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-star-button"]],inputs:{mail:"mail"},decls:2,vars:2,consts:[["mat-icon-button","",3,"color","matTooltip","click"],["svgIcon","star"]],template:function(e,n){e&1&&(p(0,"button",0),O("click",function(){return n.click.emit()}),f(1,"mat-icon",1),u()),e&2&&s("color",n.mail.isStarred?"accent":void 0)("matTooltip",n.mail.isStarred?"Mark as not starred":"Mark as starred")},dependencies:[et,Y,U],styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px}"],changeDetection:0})})(),o})();function co(o,i){if(o&1){let r=lt();p(0,"button",1),O("click",function(){$(r);let e=h();return V(e.click.emit())}),f(1,"mat-icon",2),u()}if(o&2){let r=i.ngIf;s("matTooltip",r==="delete"?"Delete permanently":"Move to Trash")}}var be=(()=>{let i=class{set mailInput(t){this.mail$.next(t)}constructor(){this.store=m(T),this.trashMailbox$=this.store.select(N.selectSystemMailboxesIndexedByName).pipe(g(t=>t[Vt.Trash])),this.mail$=new ze(null),this.click=new D,this.actionType$=j([this.trashMailbox$,this.mail$.pipe(R(Boolean))]).pipe(g(([t,e])=>e.mailbox===t.id),g(t=>t?"delete":"move-to-trash")),this.click.pipe(Zt(this.mail$.pipe(R(Boolean)),this.trashMailbox$,this.actionType$),Xe(([,t,e,n])=>{if(n==="delete")this.store.dispatch(F.deleteMail({mail:t}));else if(n==="move-to-trash"){let a=F.moveMailToMailbox,l=a({mail:t,mailbox:e});this.store.dispatch(l)}else throw new Error(`Unknown action: ${n}`)})).subscribe()}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-delete-button"]],inputs:{mailInput:["mail","mailInput"]},decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["svgIcon","delete"]],template:function(e,n){e&1&&(d(0,co,2,1,"button",0),M(1,"async")),e&2&&s("ngIf",v(1,1,n.actionType$))},dependencies:[w,et,Y,U,L],styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px}"],changeDetection:0})})(),o})();var po=["anchor"];function uo(o,i){if(o&1&&(P(0),f(1,"rpl-mail-star-button",14)(2,"rpl-mail-delete-button",14)(3,"rpl-mail-action-menu-button",15),S()),o&2){let r=h(2);c(1),s("mail",r.mail),c(1),s("mail",r.mail),c(1),s("mail",r.mail)("currentMailbox",r.currentMailbox)}}function fo(o,i){if(o&1&&(p(0,"div",16),b(1),M(2,"mailSnippet"),u()),o&2){let r=h(2);c(1),W(v(2,1,r.mail))}}function ho(o,i){if(o&1&&(P(0),f(1,"div",1)(2,"div",2),p(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"span"),b(8),u(),b(9," - "),p(10,"span"),b(11),M(12,"readableDate"),u()(),p(13,"div",7)(14,"a",8,9),b(16),u()()(),p(17,"div",10),O("click",function(t){return t.stopPropagation()}),d(18,uo,4,4,"ng-container",0),p(19,"button",11),f(20,"rpl-avatar",12),u()()(),d(21,fo,3,3,"div",13),u(),S()),o&2){let r=i.ngIf,t=h(),e,n;c(8),W((e=r.name)!==null&&e!==void 0?e:r.email),c(3),W(v(12,8,t.mail.sentAt)),c(3),X("routerLink","./",t.mail.id,""),c(2),W((n=t.mail.subject)!==null&&n!==void 0?n:"(no subject)"),c(2),s("ngIf",t.breakpoints()["tablet-portrait"]),c(1),X("lpjNode","mail-",t.mail.id,"-avatar"),c(1),s("contact",r),c(1),s("ngIf",!t.mail.isRead)}}var xe=(()=>{let i=class{constructor(){this.breakpoints=It()}get mailIsRead(){return this.mail.isRead}get mailIsStared(){return this.mail.isStarred}onClick(){this.anchorElementRef.nativeElement.click()}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-card"]],viewQuery:function(e,n){if(e&1&&A(po,5),e&2){let a;x(a=I())&&(n.anchorElementRef=a.first)}},hostVars:4,hostBindings:function(e,n){e&1&&O("click",function(){return n.onClick()}),e&2&&Mt("read",n.mailIsRead)("starred",n.mailIsStared)},inputs:{mail:"mail",currentMailbox:"currentMailbox"},decls:3,vars:5,consts:[[4,"ngIf"],[1,"overlay"],["matRipple","",1,"ripple"],[1,"content"],[1,"headline"],["lpjNode","",1,"titles"],[1,"subtitle"],[1,"title"],[3,"routerLink"],["anchor",""],["lpjNode","",1,"actions",3,"click"],["mat-icon-button","","matTooltip","Show details",1,"avatar-button",3,"lpjNode"],[3,"contact"],["class","overview",4,"ngIf"],[3,"mail"],[3,"mail","currentMailbox"],[1,"overview"]],template:function(e,n){e&1&&(d(0,ho,22,10,"ng-container",0),M(1,"async"),M(2,"contactFromMailParticipant")),e&2&&s("ngIf",v(1,1,v(2,3,n.mail.sender)))},dependencies:[w,xt,et,Y,bt,E,k,le,Ce,be,ve,L,ue,gn,me],styles:["[_nghost-%COMP%]{display:block;position:relative;background-color:#f9aa33;cursor:pointer}.ripple[_ngcontent-%COMP%], .overlay[_ngcontent-%COMP%]{position:absolute;inset:0}.content[_ngcontent-%COMP%] .overview[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.overlay[_ngcontent-%COMP%]{background-color:#000;opacity:0}[_nghost-%COMP%]:hover .overlay[_ngcontent-%COMP%]{opacity:.04}.content[_ngcontent-%COMP%]{padding:16px;background-color:#fff}.tablet-portrait[_nghost-%COMP%] .content[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .content[_ngcontent-%COMP%]{padding:24px}.starred[_nghost-%COMP%] .content[_ngcontent-%COMP%]{border-top-left-radius:24px}.tablet-portrait .starred[_nghost-%COMP%] .content[_ngcontent-%COMP%]{border-top-left-radius:initial}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%]{width:0;flex-grow:1;display:flex;flex-direction:column;gap:4px}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.read[_nghost-%COMP%] .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#0000008a}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{text-decoration:underline}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;gap:8px}.read[_nghost-%COMP%] .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#0000008a}[_nghost-%COMP%]:hover .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .avatar-button[_ngcontent-%COMP%]{background-color:#fff}.content[_ngcontent-%COMP%] .overview[_ngcontent-%COMP%]{margin-top:8px;height:20px;white-space:pre}"],changeDetection:0})})(),o})();var In=(()=>{let i=class{constructor(){this.node$=new nt(1)}set nodeInput(t){this.node$.next(t)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-card-animation-presence"]],viewQuery:function(e,n){if(e&1&&A($t,5),e&2){let a;x(a=I())&&(n.nodeInput=a.first)}},inputs:{mail:"mail"},decls:1,vars:1,consts:[["lpjNode","",3,"mail"]],template:function(e,n){e&1&&f(0,"rpl-mail-card",0),e&2&&s("mail",n.mail)},dependencies:[E,k,xe],styles:["[_nghost-%COMP%]{display:block}rpl-mail-card[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),o})();function go(o,i){if(o&1&&(P(0),f(1,"rpl-mail-card",2),S()),o&2){let r=i.$implicit,t=h();c(1),X("lpjNode","mail-",r.id,""),s("mail",r)("currentMailbox",t.currentMailbox)}}var _o=function(o){return{duration:250,easing:o}},Pn=(()=>{let i=class{constructor(){this.AnimationCurves=mt,this.mails=[],this.mailTracker=(t,e)=>e.id}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-card-list"]],inputs:{mails:"mails",currentMailbox:"currentMailbox"},decls:2,vars:6,consts:[["lpjNode","mail-card-list",1,"content",3,"lpjAnimation","lpjAnimationTrigger"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mail","currentMailbox","lpjNode"]],template:function(e,n){e&1&&(p(0,"div",0),d(1,go,2,3,"ng-container",1),u()),e&2&&(s("lpjAnimation",ti(4,_o,n.AnimationCurves.STANDARD_CURVE))("lpjAnimationTrigger",n.mails),c(1),s("ngForOf",n.mails)("ngForTrackBy",n.mailTracker))},dependencies:[ne,E,wi,k,Oi,Ai,Ri,xe],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:4px}.content[_ngcontent-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var wt=new st("POPUP_REF"),Ie=class{constructor(){this.popupRef=m(wt)}};function yo(o,i){if(o&1&&(p(0,"h2"),b(1),u()),o&2){let r=h(),t;c(1),H(" ",(t=r.popupRef.input.title)!==null&&t!==void 0?t:"Mailboxes",` `)}}function vo(o,i){if(o&1){let r=lt();p(0,"button",2),O("click",function(){let n=$(r).$implicit,a=h();return a.popupRef.output(n),V(a.popupRef.close())}),b(1),u()}if(o&2){let r=i.$implicit;c(1),H(" ",r.name," ")}}var Sn=(()=>{let i=class extends Ie{constructor(){super(...arguments),this.store=m(T),this.mailboxes$=this.store.select(N.selectMailboxes).pipe(g(t=>{let e=this.popupRef.input.current;return e?t.query(n=>n.id!==e.id):t.all()}))}},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=ht(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mailbox-selection-popup"]],features:[J],decls:4,vars:4,consts:[[4,"ngIf"],["mat-list-item","",3,"click",4,"ngFor","ngForOf"],["mat-list-item","",3,"click"]],template:function(e,n){e&1&&(d(0,yo,2,1,"h2",0),p(1,"mat-action-list"),d(2,vo,2,1,"button",1),M(3,"async"),u()),e&2&&(s("ngIf",n.popupRef.appearance==="dialog"),c(2),s("ngForOf",v(3,2,n.mailboxes$)))},dependencies:[ne,w,Yi,qi,L],styles:["[_nghost-%COMP%]{display:block}[data-appearance=dialog] [_nghost-%COMP%]{width:240px}"],changeDetection:0})})(),o})();var Dn=(()=>{let i=class{fromDialogRef(t,e){let n=new D,a=n.pipe(K(e.afterClosed()));return{input:t.input,appearance:"dialog",event$:ot(e.afterClosed().pipe(g(()=>({type:"close"}))),e.afterOpened().pipe(g(()=>({type:"display"}))),a.pipe(g(l=>({type:"output",payload:l})))),output:l=>{n.emit(l)},close:()=>{e.close()}}}fromBottomSheetRef(t,e){let n=new pt;return{input:t.input,appearance:"bottom-sheet",event$:ot(e.afterDismissed().pipe(g(()=>({type:"close"}))),e.afterOpened().pipe(g(()=>({type:"display"}))),n.pipe(g(a=>({type:"output",payload:a})))),output:a=>{n.next(a)},close:()=>{n.complete(),e.dismiss()}}}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=dt({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();function Co(o,i){o&1&&Ze(0)}var Qe=(()=>{let i=class{constructor(){this.viewContainer=m(yt),this.context=m(Ii,{optional:!0})??m(Mi),this.dialogOrBottomSheetRef=m(Be,{optional:!0})??m(yi),this.popupRefFactory=m(Dn),this.popupRef=this.createPopupRef(),this.contentType=this.context.content,this.contentInjector=this.createContentInjector()}createContentInjector(){return Te.create({parent:this.viewContainer.injector,providers:[{provide:wt,useValue:this.popupRef}]})}createPopupRef(){return this.dialogOrBottomSheetRef instanceof Be?this.popupRefFactory.fromDialogRef(this.context,this.dialogOrBottomSheetRef):this.popupRefFactory.fromBottomSheetRef(this.context,this.dialogOrBottomSheetRef)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-popup-container"]],hostVars:1,hostBindings:function(e,n){e&2&&G("data-appearance",n.popupRef.appearance)},standalone:!0,features:[ee],decls:1,vars:2,consts:[[4,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(e,n){e&1&&d(0,Co,1,0,"ng-container",0),e&2&&s("ngComponentOutlet",n.contentType)("ngComponentOutletInjector",n.contentInjector)},dependencies:[Z,ni],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var wn=(()=>{let i=class{constructor(){this.dialogService=m(Pi),this.bottomSheetService=m(vi),this.breakpoints=It()}popup(t,e){return this.breakpoints()["tablet-portrait"]?this.popupDialog(t,e):this.popupBottomSheet(t,e)}popupDialog(t,e){return this.dialogService.open(Qe,{data:{content:t,input:e}}).componentInstance.contentInjector.get(wt)}popupBottomSheet(t,e){return this.bottomSheetService.open(Qe,{data:{content:t,input:e}}).instance.contentInjector.get(wt)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=dt({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();var Tn=(()=>{let i=class{constructor(){this.actions=m(Bi),this.store=m(T),this.popupService=m(wn),this.openMoveMailDialog=Fi(()=>this.actions.pipe(ji(ye.openMoveMailDialog),Zt(this.store.select(N.selectMailboxes)),Ge(([{mail:t},e])=>{let n=t.mailbox?e.retrieve(t.mailbox):void 0;return this.popupService.popupDialog(Sn,{title:"Move to",current:n}).event$.pipe(g(l=>l.type==="output"?l.payload:null),R(Boolean),g(l=>F.moveMailToMailbox({mail:t,mailbox:l})))})))}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=dt({token:i,factory:i.\u0275fac})})(),o})();var bo=["replyIcon"],xo=["bottomActions"];function Io(o,i){if(o&1&&(P(0),f(1,"rpl-mail",3),S()),o&2){let r=i.ngIf,t=h().ngIf,e=h().ngIf,n=h();c(1),X("lpjNode","mail-",n.mail.id,""),s("user",e)("mail",n.mail)("sender",t)("recipients",r)}}var Po=function(){return[]};function So(o,i){if(o&1&&(P(0),d(1,Io,2,5,"ng-container",0),M(2,"async"),M(3,"contactFromMailParticipant"),S()),o&2){let r=h(2),t;c(1),s("ngIf",v(2,1,v(3,3,(t=r.mail.recipients)!==null&&t!==void 0?t:Je(5,Po))))}}function Do(o,i){if(o&1&&(P(0),d(1,So,4,6,"ng-container",0),M(2,"async"),M(3,"contactFromMailParticipant"),S()),o&2){let r=h();c(1),s("ngIf",v(2,1,v(3,3,r.mail.sender)))}}function wo(o,i){if(o&1&&f(0,"rpl-mail-star-button",4)(1,"rpl-mail-delete-button",5)(2,"rpl-mail-action-menu-button",6),o&2){let r=h();s("mail",r.mail),c(1),s("mail",r.mail),c(1),s("mail",r.mail)("currentMailbox",r.mailboxAsEntity)}}function To(o,i){o&1&&f(0,"mat-icon",7)}var On=(()=>{let i=class{ngAfterViewInit(){this.viewInit.emit(),this.viewInit.complete()}ngOnDestroy(){this.destroy.emit(),this.destroy.complete()}get mailboxAsEntity(){return typeof this.mailbox=="object"?this.mailbox:void 0}constructor(){this.store=m(T),this.route=m(se),this.bottomNavService=m(Wi),this.navFabService=m(Zi),this.user=this.store.selectSignal(Ji.selectCurrent),this.viewInit=new D,this.destroy=new D,this.viewInit.pipe(ut(0)).subscribe(()=>{this.bottomNavService.useActions(this.navBottomActionsTemplate),this.navFabService.useConfig({text:"Reply",icon:this.navFabIconTemplate,link:"/compose",linkParams:{reply:this.route.snapshot.params.mailId}})}),j([this.bottomNavService.actions$.pipe(De()),this.navFabService.config$.pipe(De()),this.destroy.pipe(ut(0))]).subscribe(([t,e])=>{this.bottomNavService.useActions(t),this.navFabService.useConfig(e)})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-detail-layout"]],viewQuery:function(e,n){if(e&1&&(A(bo,5),A(xo,5)),e&2){let a;x(a=I())&&(n.navFabIconTemplate=a.first),x(a=I())&&(n.navBottomActionsTemplate=a.first)}},inputs:{mail:"mail",mailbox:"mailbox"},decls:5,vars:1,consts:[[4,"ngIf"],["bottomActions",""],["replyIcon",""],["data-route-animation-target","",3,"user","mail","sender","recipients","lpjNode"],[3,"mail"],["routerLink","..",3,"mail"],[3,"mail","currentMailbox"],["svgIcon","reply"]],template:function(e,n){e&1&&(d(0,Do,4,5,"ng-container",0),d(1,wo,3,4,"ng-template",null,1,Ft),d(3,To,1,0,"ng-template",null,2,Ft)),e&2&&s("ngIf",n.user())},dependencies:[w,xt,U,E,k,Mn,Ce,be,ve,L,me],styles:["[_nghost-%COMP%]{display:contents}rpl-mail[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;height:calc(100% - 8px);padding:4px;z-index:1}.tablet-portrait[_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%]{grid-column:col-2/col-12}.laptop[_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%]{grid-column:col-4/col-12}"],changeDetection:0})})(),o})();function Ao(o,i){if(o&1&&(f(0,"rpl-mail-card-list",6),M(1,"async")),o&2){let r=h().ngIf,t=h(3),e;s("mails",r)("currentMailbox",(e=v(1,2,t.mailboxAsEntity$))!==null&&e!==void 0?e:void 0)}}function Ro(o,i){if(o&1&&(p(0,"div",7),b(1),u()),o&2){let r=h(3).ngIf;c(1),H("Empty in ",r,"")}}function Eo(o,i){if(o&1&&(P(0),d(1,Ao,2,4,"rpl-mail-card-list",4),d(2,Ro,2,1,"ng-template",null,5,Ft),S()),o&2){let r=i.ngIf,t=Jt(3);c(1),s("ngIf",r.length)("ngIfElse",t)}}function Lo(o,i){if(o&1&&(p(0,"rpl-scrollable-area",3),d(1,Eo,4,2,"ng-container",0),M(2,"async"),u()),o&2){let r=h(2);c(1),s("ngIf",v(2,1,r.mails$))}}function ko(o,i){if(o&1&&(P(0),d(1,Lo,3,3,"rpl-scrollable-area",2),S()),o&2){let r=i.ngIf;c(1),s("rplReattachOnChange",r)}}function No(o,i){o&1&&(p(0,"div",8),f(1,"rpl-search-button"),u())}var Ue=di([fi(":enter rpl-mail-card",[Q({opacity:0}),Q({transform:"scale(92%)"}),hi(25,[Ct(`225ms ${mt.DECELERATION_CURVE}`),Q({opacity:1,transform:"scale(1)"})])],{optional:!0})]),An=(()=>{let i=class{constructor(){this.store=m(T),this.navService=m(Ki),this.breakpoints=It(),this.activeNavItemIndex=Li(this.navService.activeItemIndex$,{requireSync:!0}),this.mailbox$=new nt(1),this.mailboxName$=this.mailbox$.pipe(g(t=>typeof t=="string"?t:t.name)),this.mailboxAsEntity$=this.mailbox$.pipe(g(t=>typeof t=="string"?null:t)),this.mails$=this.mailbox$.pipe(z(t=>typeof t=="string"?this.queryVirtualMailboxMails(t):this.queryRegularMailboxMails(t)),g(t=>t.sort((e,n)=>n.sentAt.getTime()-e.sentAt.getTime())),Xt(1))}set mailbox(t){this.mailbox$.next(t)}queryVirtualMailboxMails(t){let e=this.store.select(Ht.selectMails);if(t===it.Starred)return j([e,this.store.select(N.selectSystemMailboxesIndexedByName)]).pipe(g(([n,a])=>n.query(l=>l.isStarred&&l.mailbox!==a[Vt.Trash].id&&l.mailbox!==a[Vt.Spam].id)));if(t===it.Sent)return e.pipe(g(n=>n.query(a=>a.type==="sent")));if(t===it.Drafts)return e.pipe(g(n=>n.query(a=>a.type==="draft")));throw new Error(`Invalid virtual mailbox: ${t}`)}queryRegularMailboxMails(t){return this.store.select(Ht.selectMails).pipe(g(e=>e.query(n=>n.mailbox===t.id)))}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mail-list-layout"]],hostVars:2,hostBindings:function(e,n){e&2&&Ke("@host-entrance",void 0)("@host-mailboxChange",n.activeNavItemIndex())},inputs:{mailbox:"mailbox"},decls:3,vars:4,consts:[[4,"ngIf"],["class","actions",4,"ngIf"],["class","content","rplLayoutContent","","data-route-animation-target","",4,"rplReattachOnChange"],["rplLayoutContent","","data-route-animation-target","",1,"content"],["class","list",3,"mails","currentMailbox",4,"ngIf","ngIfElse"],["empty",""],[1,"list",3,"mails","currentMailbox"],[1,"empty-prompt"],[1,"actions"]],template:function(e,n){e&1&&(d(0,ko,2,1,"ng-container",0),M(1,"async"),d(2,No,2,0,"div",1)),e&2&&(s("ngIf",v(1,2,n.mailboxName$)),c(2),s("ngIf",n.breakpoints()["tablet-portrait"]))},dependencies:[w,ce,Pt,pe,Xi,Pn,L],styles:["[_nghost-%COMP%]{display:contents}.content[_ngcontent-%COMP%]{position:relative;grid-row:1;grid-column:margin-left/margin-right}.tablet-portrait[_nghost-%COMP%] .content[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .content[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] .content[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] .content[_ngcontent-%COMP%]{grid-column:col-3/col-11}.laptop[_nghost-%COMP%] .content[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] .content[_ngcontent-%COMP%]{grid-column:col-5/col-11}.content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{margin:4px}.tablet-portrait[_nghost-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{margin:32px 0}.content[_ngcontent-%COMP%] .empty-prompt[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.tablet-portrait[_nghost-%COMP%] .actions[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{position:absolute;top:16px;right:0}.tablet-landscape[_nghost-%COMP%] .actions[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{position:initial;grid-row:1;grid-column:col-12;padding:16px 0}"],data:{animation:[vt("host-entrance",[tt(":enter",[ae(Ue)])]),vt("host-mailboxChange",[tt(":increment",[Ne([Ve.apply("y","forward"),ae(Ue)])]),tt(":decrement",[Ne([Ve.apply("y","backward"),ae(Ue)])])])]},changeDetection:0})})(),o})();var Bo=["listLayoutNode"],jo=["detailLayoutNode"];function $o(o,i){if(o&1&&f(0,"rpl-mail-detail-layout",5,6),o&2){let r=i.ngIf,t=h().ngIf;s("mailbox",t)("mail",r)}}function Vo(o,i){if(o&1&&(P(0),f(1,"rpl-mail-list-layout",2,3),d(3,$o,2,2,"rpl-mail-detail-layout",4),M(4,"async"),S()),o&2){let r=i.ngIf,t=h(2);c(1),s("mailbox",r),c(2),s("ngIf",v(4,2,t.mail$))}}function Ho(o,i){if(o&1&&(P(0),d(1,Vo,5,4,"ng-container",1),M(2,"async"),S()),o&2){let r=h();c(1),s("ngIf",v(2,1,r.mailbox$))}}var Rn=(()=>{let i=class{constructor(){this.store=m(T),this.router=m(Qi),this.route=m(se),this.hostNode=m($t),this.layoutSnapper=m(Si),this.layoutAnimator=m(Di),this.viewContainer=m(yt),this.mailId$=this.route.params.pipe(g(t=>t.mailId)),this.mail$=j([this.mailId$,this.store.select(Ht.selectMails)]).pipe(g(([t,e])=>t?e.retrieve(t):null),Xt(1)),this.mailboxName$=this.route.params.pipe(g(t=>t.mailboxName)),this.mailbox$=this.mailboxName$.pipe(z(t=>Object.values(it).includes(t)?Lt(t):this.store.select(N.selectMailboxes).pipe(g(e=>{let n=e.queryOne(a=>a.name===t);if(!n)throw new Error(`Missing mailbox ${t}`);return n})))),this.listLayoutSnapshots=new je,this.detailLayoutSnapshots=new je,this.destroy$=new D,m($t,{self:!0}).identifyAs("mails")}ngAfterViewInit(){this.router.events.pipe(K(this.destroy$),R(t=>t instanceof Hi)).subscribe(()=>{this.updateSnapshots()}),this.mail$.pipe(we(),g(([t,e])=>!t&&e?e:null),R(Boolean),z(t=>Yt(this,null,function*(){if(yield this.initiateListToDetailLayoutAnimation(),t.isRead)return;let e=F.toggleMailReadStatus({mail:t,to:"read"});this.store.dispatch(e)}))).subscribe(),this.mail$.pipe(we(),R(([t,e])=>!!t&&!e),g(([t])=>t),z(t=>this.initiateDetailToListLayoutAnimation(t))).subscribe()}ngOnDestroy(){this.destroy$.emit()}updateSnapshots(){this.listLayoutSnapshots=this.layoutSnapper.snapshotTree(this.listLayoutNode,{measure:!0}),this.detailLayoutNode&&(this.detailLayoutSnapshots=this.layoutSnapper.snapshotTree(this.detailLayoutNode,{measure:!0}))}initiateListToDetailLayoutAnimation(){return Yt(this,null,function*(){yield zt(Pe()),yield this.layoutAnimator.animate({root:this.hostNode,from:this.listLayoutSnapshots,duration:250,easing:mt.STANDARD_CURVE,estimation:!0})})}initiateDetailToListLayoutAnimation(t){return Yt(this,null,function*(){let e=this.listLayoutSnapshots.get(`mail-${t.id}`);if(!e)return;let n=In,a=this.viewContainer.createComponent(n);a.setInput("mail",t);let l=a.location.nativeElement;l.style.position="fixed",l.style.top=e.boundingBox.top+"px",l.style.left=e.boundingBox.left+"px",l.style.width=e.boundingBox.width()+"px",l.style.height=e.boundingBox.height()+"px",yield zt(Pe());let B=yield zt(a.instance.node$);B.identifyAs(`mail-${t.id}`),B.attach(this.hostNode),this.listLayoutNode.deactivate(),yield this.layoutAnimator.animate({root:this.hostNode,from:this.detailLayoutSnapshots,duration:250,easing:mt.STANDARD_CURVE,estimation:!0}),B.detach(),a.destroy(),this.listLayoutNode.activate()})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=_({type:i,selectors:[["rpl-mails"]],viewQuery:function(e,n){if(e&1&&(A(Bo,5),A(jo,5)),e&2){let a;x(a=I())&&(n.listLayoutNode=a.first),x(a=I())&&(n.detailLayoutNode=a.first)}},features:[We([E])],decls:1,vars:0,consts:[[4,"lpjAnimationScope"],[4,"ngIf"],["lpjNode","list-layout",3,"mailbox"],["listLayoutNode","lpjNode"],["lpjNode","detail-layout",3,"mailbox","mail",4,"ngIf"],["lpjNode","detail-layout",3,"mailbox","mail"],["detailLayoutNode","lpjNode"]],template:function(e,n){e&1&&d(0,Ho,3,3,"ng-container",0)},dependencies:[w,E,Ti,k,An,On,L],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var Uo=o=>{let i=m(T),r=o.params.mailboxName;return Object.values(it).includes(r)?!0:i.select(N.selectMailboxes).pipe(g(e=>!!e.queryOne(n=>n.name===r)))},Yo=[{path:"mailboxes/:mailboxName/mails",canActivate:[Uo],title:o=>o.params.mailboxName,children:[{matcher:o=>o.length===0?{consumed:o,posParams:{}}:o.length===1?{consumed:o,posParams:{mailId:o[0]}}:null,component:Rn}]}],En=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=rt({type:i})})(),(()=>{i.\u0275inj=at({imports:[$e.forChild(Yo),$e]})})(),o})();var ac=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=rt({type:i})})(),(()=>{i.\u0275inj=at({imports:[Z,En,$i.forFeature(Tn),xi,Gi,un,zi,jt,Ci,Ei,Vi,ce,Pt,he]})})(),o})();export{ac as MailsModule}; diff --git a/main.3SDPOVGH.js b/main.3SDPOVGH.js new file mode 100644 index 0000000..ef838dc --- /dev/null +++ b/main.3SDPOVGH.js @@ -0,0 +1,40 @@ +import{a as Me,b as mi}from"./chunk-MOR4BE3D.js";import{a as Zo,h as Jo,i as X,j as Mt,k as z,l as ar,m as sr}from"./chunk-N7M2F6P2.js";import{a as fr}from"./chunk-T3VJN7I3.js";import{c as cr}from"./chunk-6Q7PW4SA.js";import{a as bn,b as Ue}from"./chunk-ITNV32XJ.js";import{l as Qo,m as mr,p as gr,q as xn}from"./chunk-MXV4FMBH.js";import{a as Ct,b as Mn,c as k,d as _n}from"./chunk-5SE4VJ2X.js";import{a as le}from"./chunk-FB6BMVSR.js";import{a as oi,b as Vo,c as Wo,d as un,e as ri,f as Xo,i as hn,l as ai,m as _t,o as yn,p as He}from"./chunk-JYLXIIJ3.js";import{A as mo,Aa as ko,Ab as No,Ad as nr,B as ot,Ba as yt,Bb as jo,Bd as ir,C as At,Ca as Yt,Cd as ui,D as go,Da as zt,Dc as Be,Dd as or,E as ut,Eb as ln,Ec as ee,Ed as rr,Fa as cn,Fc as Go,Fd as vt,G as vo,Gc as Xt,Ha as ti,Hc as si,Ia as Qt,Ic as xe,Jb as ve,K as wt,Ka as te,Kc as ci,Kd as ce,La as Vt,M as xo,Ma as Wt,Mc as be,Na as Rt,Nd as fe,Ob as Fo,Oc as qo,Pb as Le,Pc as fi,Pd as lr,Q as bo,Qb as ii,R as yo,Ra as je,Rb as $o,Rc as li,S as Mo,Sb as Lo,Sd as dr,T as _o,Ta as ge,Tb as Bo,Td as pr,U as To,Ua as ei,Ub as Uo,Ud as ur,V as an,Va as re,Vb as Ho,Vd as hr,W as J,Wb as Yo,X as Pt,Xd as hi,Z as Jt,_ as Ht,ab as Oo,b as ao,ba as b,bb as ae,ca as ht,cb as Fe,d as Ut,da as U,db as ni,e as so,ea as y,f as co,fa as Dt,ga as mt,gb as $e,h as fo,ha as Co,i as he,ib as Io,ic as dn,j as lo,jc as zo,kd as di,l as C,ld as Ko,m as po,ma as Re,mb as Eo,md as mn,n as me,na as Ne,nb as Ao,nd as gn,o as uo,p as M,pa as gt,pd as ye,rb as wo,s as ho,sa as et,sd as tr,t as Kn,ta as sn,tb as Po,tc as pn,ua as Qn,ub as Do,v as Jn,w as Zt,wb as Ro,x as Et,xd as pi,y as Kt,ya as So,yb as se,yd as vn,z as W,zb as fn,zd as er}from"./chunk-VGXZBCX5.js";import{a as V,b as at,c as oo,d as ro,i as rn}from"./chunk-OROYKVKJ.js";var vr=oo((ec,Tn)=>{(function(n,t,p,e){"use strict";var o=["","webkit","Moz","MS","ms","o"],s=t.createElement("div"),l="function",f=Math.round,v=Math.abs,_=Date.now;function R(i,r,a){return setTimeout(ct(i,a),r)}function x(i,r,a){return Array.isArray(i)?(I(i,a[r],a),!0):!1}function I(i,r,a){var c;if(i)if(i.forEach)i.forEach(r,a);else if(i.length!==e)for(c=0;c\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",D=n.console&&(n.console.warn||n.console.log);return D&&D.call(n.console,c,m),i.apply(this,arguments)}}var w;typeof Object.assign!="function"?w=function(r){if(r===e||r===null)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(r),c=1;c-1}function pt(i){return i.trim().split(/\s+/g)}function Nt(i,r,a){if(i.indexOf&&!a)return i.indexOf(r);for(var c=0;cft[r]}):c=c.sort()),c}function u(i,r){for(var a,c,d=r[0].toUpperCase()+r.slice(1),m=0;m1&&!a.firstMultiple?a.firstMultiple=Ui(r):d===1&&(a.firstMultiple=!1);var m=a.firstInput,D=a.firstMultiple,it=D?D.center:m.center,rt=r.center=Hi(c);r.timeStamp=_(),r.deltaTime=r.timeStamp-m.timeStamp,r.angle=Un(it,rt),r.distance=Ze(it,rt),Ya(a,r),r.offsetDirection=zi(r.deltaX,r.deltaY);var ft=Yi(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=ft.x,r.overallVelocityY=ft.y,r.overallVelocity=v(ft.x)>v(ft.y)?ft.x:ft.y,r.scale=D?Wa(D.pointers,c):1,r.rotation=D?Va(D.pointers,c):0,r.maxPointers=a.prevInput?r.pointers.length>a.prevInput.maxPointers?r.pointers.length:a.prevInput.maxPointers:r.pointers.length,za(a,r);var It=i.element;F(r.srcEvent.target,It)&&(It=r.srcEvent.target),r.target=It}function Ya(i,r){var a=r.center,c=i.offsetDelta||{},d=i.prevDelta||{},m=i.prevInput||{};(r.eventType===q||m.eventType===Y)&&(d=i.prevDelta={x:m.deltaX||0,y:m.deltaY||0},c=i.offsetDelta={x:a.x,y:a.y}),r.deltaX=d.x+(a.x-c.x),r.deltaY=d.y+(a.y-c.y)}function za(i,r){var a=i.lastInterval||r,c=r.timeStamp-a.timeStamp,d,m,D,it;if(r.eventType!=tt&&(c>ne||a.velocity===e)){var rt=r.deltaX-a.deltaX,ft=r.deltaY-a.deltaY,It=Yi(c,rt,ft);m=It.x,D=It.y,d=v(It.x)>v(It.y)?It.x:It.y,it=zi(rt,ft),i.lastInterval=r}else d=a.velocity,m=a.velocityX,D=a.velocityY,it=a.direction;r.velocity=d,r.velocityX=m,r.velocityY=D,r.direction=it}function Ui(i){for(var r=[],a=0;a=v(r)?i<0?Oe:Ie:r<0?Ee:Ae}function Ze(i,r,a){a||(a=Bi);var c=r[a[0]]-i[a[0]],d=r[a[1]]-i[a[1]];return Math.sqrt(c*c+d*d)}function Un(i,r,a){a||(a=Bi);var c=r[a[0]]-i[a[0]],d=r[a[1]]-i[a[1]];return Math.atan2(d,c)*180/Math.PI}function Va(i,r){return Un(r[1],r[0],qe)+Un(i[1],i[0],qe)}function Wa(i,r){return Ze(r[0],r[1],qe)/Ze(i[0],i[1],qe)}var Xa={mousedown:q,mousemove:K,mouseup:Y},Ga="mousedown",qa="mousemove mouseup";function Ke(){this.evEl=Ga,this.evWin=qa,this.pressed=!1,xt.apply(this,arguments)}B(Ke,xt,{handler:function(r){var a=Xa[r.type];a&q&&r.button===0&&(this.pressed=!0),a&K&&r.which!==1&&(a=Y),this.pressed&&(a&Y&&(this.pressed=!1),this.callback(this.manager,a,{pointers:[r],changedPointers:[r],pointerType:St,srcEvent:r}))}});var Za={pointerdown:q,pointermove:K,pointerup:Y,pointercancel:tt,pointerout:tt},Ka={2:Z,3:lt,4:St,5:jt},Vi="pointerdown",Wi="pointermove pointerup pointercancel";n.MSPointerEvent&&!n.PointerEvent&&(Vi="MSPointerDown",Wi="MSPointerMove MSPointerUp MSPointerCancel");function Hn(){this.evEl=Vi,this.evWin=Wi,xt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}B(Hn,xt,{handler:function(r){var a=this.store,c=!1,d=r.type.toLowerCase().replace("ms",""),m=Za[d],D=Ka[r.pointerType]||r.pointerType,it=D==Z,rt=Nt(a,r.pointerId,"pointerId");m&q&&(r.button===0||it)?rt<0&&(a.push(r),rt=a.length-1):m&(Y|tt)&&(c=!0),!(rt<0)&&(a[rt]=r,this.callback(this.manager,m,{pointers:a,changedPointers:[r],pointerType:D,srcEvent:r}),c&&a.splice(rt,1))}});var Ja={touchstart:q,touchmove:K,touchend:Y,touchcancel:tt},Qa="touchstart",ts="touchstart touchmove touchend touchcancel";function Xi(){this.evTarget=Qa,this.evWin=ts,this.started=!1,xt.apply(this,arguments)}B(Xi,xt,{handler:function(r){var a=Ja[r.type];if(a===q&&(this.started=!0),!!this.started){var c=es.call(this,r,a);a&(Y|tt)&&c[0].length-c[1].length===0&&(this.started=!1),this.callback(this.manager,a,{pointers:c[0],changedPointers:c[1],pointerType:Z,srcEvent:r})}}});function es(i,r){var a=O(i.touches),c=O(i.changedTouches);return r&(Y|tt)&&(a=g(a.concat(c),"identifier",!0)),[a,c]}var ns={touchstart:q,touchmove:K,touchend:Y,touchcancel:tt},is="touchstart touchmove touchend touchcancel";function Je(){this.evTarget=is,this.targetIds={},xt.apply(this,arguments)}B(Je,xt,{handler:function(r){var a=ns[r.type],c=os.call(this,r,a);c&&this.callback(this.manager,a,{pointers:c[0],changedPointers:c[1],pointerType:Z,srcEvent:r})}});function os(i,r){var a=O(i.touches),c=this.targetIds;if(r&(q|K)&&a.length===1)return c[a[0].identifier]=!0,[a,a];var d,m,D=O(i.changedTouches),it=[],rt=this.target;if(m=a.filter(function(ft){return F(ft.target,rt)}),r===q)for(d=0;d-1&&c.splice(m,1)};setTimeout(d,rs)}}function ss(i){for(var r=i.srcEvent.clientX,a=i.srcEvent.clientY,c=0;c-1&&this.requireFail.splice(r,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(i){return!!this.simultaneous[i.id]},emit:function(i){var r=this,a=this.state;function c(d){r.manager.emit(d,i)}a=qt&&c(r.options.event+to(a))},tryEmit:function(i){if(this.canEmit())return this.emit(i);this.state=Ot},canEmit:function(){for(var i=0;ir.threshold&&d&r.direction},attrTest:function(i){return Tt.prototype.attrTest.call(this,i)&&(this.state&bt||!(this.state&bt)&&this.directionTest(i))},emit:function(i){this.pX=i.deltaX,this.pY=i.deltaY;var r=eo(i.direction);r&&(i.additionalEvent=this.options.event+r),this._super.emit.call(this,i)}});function Wn(){Tt.apply(this,arguments)}B(Wn,Tt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[oe]},attrTest:function(i){return this._super.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||this.state&bt)},emit:function(i){if(i.scale!==1){var r=i.scale<1?"in":"out";i.additionalEvent=this.options.event+r}this._super.emit.call(this,i)}});function Xn(){Lt.apply(this,arguments),this._timer=null,this._input=null}B(Xn,Lt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Qi]},process:function(i){var r=this.options,a=i.pointers.length===r.pointers,c=i.distancer.time;if(this._input=i,!c||!a||i.eventType&(Y|tt)&&!d)this.reset();else if(i.eventType&q)this.reset(),this._timer=R(function(){this.state=$t,this.tryEmit()},r.time,this);else if(i.eventType&Y)return $t;return Ot},reset:function(){clearTimeout(this._timer)},emit:function(i){this.state===$t&&(i&&i.eventType&Y?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=_(),this.manager.emit(this.options.event,this._input)))}});function Gn(){Tt.apply(this,arguments)}B(Gn,Tt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[oe]},attrTest:function(i){return this._super.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||this.state&bt)}});function qn(){Tt.apply(this,arguments)}B(qn,Tt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:kt|ie,pointers:1},getTouchAction:function(){return nn.prototype.getTouchAction.call(this)},attrTest:function(i){var r=this.options.direction,a;return r&(kt|ie)?a=i.overallVelocity:r&kt?a=i.overallVelocityX:r&ie&&(a=i.overallVelocityY),this._super.attrTest.call(this,i)&&r&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers==this.options.pointers&&v(a)>this.options.velocity&&i.eventType&Y},emit:function(i){var r=eo(i.offsetDirection);r&&this.manager.emit(this.options.event+r,i),this.manager.emit(this.options.event,i)}});function on(){Lt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}B(on,Lt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[zn]},process:function(i){var r=this.options,a=i.pointers.length===r.pointers,c=i.distance{(function(n,t){typeof Ni=="object"&&typeof ji<"u"?ji.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis<"u"?globalThis:n||self).dayjs=t()})(Ni,function(){"use strict";var n=1e3,t=6e4,p=36e5,e="millisecond",o="second",s="minute",l="hour",f="day",v="week",_="month",R="quarter",x="year",I="date",nt="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,dt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var g=["th","st","nd","rd"],u=O%100;return"["+O+(g[(u-20)%10]||g[u]||g[0])+"]"}},B=function(O,g,u){var T=String(O);return!T||T.length>=g?O:""+Array(g+1-T.length).join(u)+O},ct={s:B,z:function(O){var g=-O.utcOffset(),u=Math.abs(g),T=Math.floor(u/60),h=u%60;return(g<=0?"+":"-")+B(T,2,"0")+":"+B(h,2,"0")},m:function O(g,u){if(g.date()1)return O(A[0])}else{var H=g.name;j[H]=g,h=H}return!T&&h&&(st=h),h||!T&&st},F=function(O,g){if(L(O))return O.clone();var u=typeof g=="object"?g:{};return u.date=O,u.args=arguments,new pt(u)},S=ct;S.l=N,S.i=L,S.w=function(O,g){return F(O,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var pt=function(){function O(u){this.$L=N(u.locale,null,!0),this.parse(u)}var g=O.prototype;return g.parse=function(u){this.$d=function(T){var h=T.date,E=T.utc;if(h===null)return new Date(NaN);if(S.u(h))return new Date;if(h instanceof Date)return new Date(h);if(typeof h=="string"&&!/Z$/i.test(h)){var A=h.match(w);if(A){var H=A[2]-1||0,G=(A[7]||"0").substring(0,3);return E?new Date(Date.UTC(A[1],H,A[3]||1,A[4]||0,A[5]||0,A[6]||0,G)):new Date(A[1],H,A[3]||1,A[4]||0,A[5]||0,A[6]||0,G)}}return new Date(h)}(u),this.$x=u.x||{},this.init()},g.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return this.$d.toString()!==nt},g.isSame=function(u,T){var h=F(u);return this.startOf(T)<=h&&h<=this.endOf(T)},g.isAfter=function(u,T){return F(u)this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,gs))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},_e=new et("MatSnackBarData"),de=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}};var gi={snackBarState:Be("state",[si("void, hidden",Xt({transform:"scale(0.8)",opacity:0})),si("visible",Xt({transform:"scale(1)",opacity:1})),xe("* => visible",ee("150ms cubic-bezier(0, 0, 0.2, 1)")),xe("* => void, * => hidden",ee("75ms cubic-bezier(0.4, 0.0, 1, 1)",Xt({opacity:0})))])},vs=0,vi=(()=>{let t=class extends Wo{constructor(e,o,s,l,f){super(),this._ngZone=e,this._elementRef=o,this._changeDetectorRef=s,this._platform=l,this.snackBarConfig=f,this._document=y(ln),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new Ut,this._onExit=new Ut,this._onEnter=new Ut,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${vs++}`,this.attachDomPortal=v=>{this._assertNotAttached();let _=this._portalOutlet.attachDomPortal(v);return this._afterPortalAttached(),_},f.politeness==="assertive"&&!f.announcementMessage?this._live="assertive":f.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let o=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),o}attachTemplatePortal(e){this._assertNotAttached();let o=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),o}onAnimationEnd(e){let{fromState:o,toState:s}=e;if((s==="void"&&o!=="void"||s==="hidden")&&this._completeExit(),s==="visible"){let l=this._onEnter;this._ngZone.run(()=>{l.next(),l.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(ut(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){let e=this._elementRef.nativeElement,o=this.snackBarConfig.panelClass;o&&(Array.isArray(o)?o.forEach(s=>e.classList.add(s)):e.classList.add(o)),this._exposeToModals()}_exposeToModals(){let e=this._liveElementId,o=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s{let o=e.getAttribute("aria-owns");if(o){let s=o.replace(this._liveElementId,"").trim();s.length>0?e.setAttribute("aria-owns",s):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),o=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&o){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute("aria-hidden"),o.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(zt(fn),zt(So),zt(jo),zt(Yo),zt(de))}})(),(()=>{t.\u0275dir=Co({type:t,viewQuery:function(o,s){if(o&1&&Do(un,7),o&2){let l;Po(l=Ro())&&(s._portalOutlet=l.first)}},features:[cn]})})(),n})();function xr(){return new de}var Cn=new et("mat-snack-bar-default-options",{providedIn:"root",factory:xr}),xi=(()=>{let t=class{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,o,s,l,f,v){this._overlay=e,this._live=o,this._injector=s,this._breakpointObserver=l,this._parentSnackBar=f,this._defaultConfig=v,this._snackBarRefAtThisLevel=null}openFromComponent(e,o){return this._attach(e,o)}openFromTemplate(e,o){return this._attach(e,o)}open(e,o="",s){let l=V(V({},this._defaultConfig),s);return l.data={message:e,action:o},l.announcementMessage===e&&(l.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,l)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,o){let s=o&&o.viewContainerRef&&o.viewContainerRef.injector,l=Yt.create({parent:s||this._injector,providers:[{provide:de,useValue:o}]}),f=new oi(this.snackBarContainerComponent,o.viewContainerRef,l),v=e.attach(f);return v.instance.snackBarConfig=o,v.instance}_attach(e,o){let s=V(V(V({},new de),this._defaultConfig),o),l=this._createOverlay(s),f=this._attachSnackBarContainer(l,s),v=new Gt(f,l);if(e instanceof wo){let _=new Vo(e,null,{$implicit:s.data,snackBarRef:v});v.instance=f.attachTemplatePortal(_)}else{let _=this._createInjector(s,v),R=new oi(e,void 0,_),x=f.attachComponentPortal(R);v.instance=x.instance}return this._breakpointObserver.observe(zo.HandsetPortrait).pipe(Pt(l.detachments())).subscribe(_=>{l.overlayElement.classList.toggle(this.handsetCssClass,_.matches)}),s.announcementMessage&&f._onAnnounce.subscribe(()=>{this._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(v,s),this._openedSnackBarRef=v,this._openedSnackBarRef}_animateSnackBar(e,o){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),o.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),o.duration&&o.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(o.duration))}_createOverlay(e){let o=new Xo;o.direction=e.direction;let s=this._overlay.position().global(),l=e.direction==="rtl",f=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!l||e.horizontalPosition==="end"&&l,v=!f&&e.horizontalPosition!=="center";return f?s.left("0"):v?s.right("0"):s.centerHorizontally(),e.verticalPosition==="top"?s.top("0"):s.bottom("0"),o.positionStrategy=s,this._overlay.create(o)}_createInjector(e,o){let s=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Yt.create({parent:s||this._injector,providers:[{provide:Gt,useValue:o},{provide:_e,useValue:e.data}]})}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(U(hn),U(pn),U(Yt),U(dn),U(t,12),U(Cn))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();function ys(n,t){if(n&1){let p=je();Vt(0,"div",2)(1,"button",3),ge("click",function(){Re(p);let o=re();return Ne(o.action())}),ae(2),Wt()()}if(n&2){let p=re();yt(2),Fe(p.data.action)}}function Ms(n,t){}var _s=(()=>{let t=class{constructor(e,o){this.snackBarRef=e,this.data=o}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(zt(Gt),zt(_e))}})(),(()=>{t.\u0275cmp=Dt({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(o,s){o&1&&(Vt(0,"span",0),ae(1),Wt(),Qt(2,ys,3,1,"div",1)),o&2&&(yt(1),Fe(s.data.message),yt(1),te("ngIf",s.hasAction))},dependencies:[ve,gn],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0})})(),n})(),Ts=(()=>{let t=class extends vi{_afterPortalAttached(){super._afterPortalAttached(),this.snackBarConfig.horizontalPosition==="center"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),this.snackBarConfig.verticalPosition==="top"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}},n=t;return(()=>{t.\u0275fac=function(){let e;return function(s){return(e||(e=gt(t)))(s||t)}}()})(),(()=>{t.\u0275cmp=Dt({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(o,s){o&1&&ei("@state.done",function(f){return s.onAnimationEnd(f)}),o&2&&$e("@state",s._animationState)},features:[cn],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(o,s){o&1&&(Vt(0,"div",0),Qt(1,Ms,0,0,"ng-template",1),Wt(),Rt(2,"div")),o&2&&(yt(2),ti("aria-live",s._live)("role",s._role)("id",s._liveElementId))},dependencies:[un],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[gi.snackBarState]}})})(),n})(),bi=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275mod=mt({type:t})})(),(()=>{t.\u0275inj=ht({imports:[ai,ri,Le,ye,li,li]})})(),n})(),yr=(()=>{let t=class extends xi{constructor(e,o,s,l,f,v){super(e,o,s,l,f,v),this.simpleSnackBarComponent=_s,this.snackBarContainerComponent=Ts,this.handsetCssClass="mat-snack-bar-handset"}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(U(hn),U(pn),U(Yt),U(dn),U(t,12),U(Cn))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:bi})})(),n})();var ze="Service workers are disabled or not supported by this browser";function Cs(n){return Kn(()=>po(new Error(n)))}var Te=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=Cs(ze);else{let e=Jn(t,"controllerchange").pipe(M(()=>t.controller)),o=Kn(()=>C(t.controller)),s=ho(o,e);this.worker=s.pipe(W(R=>!!R)),this.registration=this.worker.pipe(J(()=>t.getRegistration()));let _=Jn(t,"message").pipe(M(R=>R.data)).pipe(W(R=>R&&R.type)).pipe(bo());_.connect(),this.events=_}}postMessage(t,p){return this.worker.pipe(ut(1),Jt(e=>{e.postMessage(V({action:t},p))})).toPromise().then(()=>{})}postMessageWithOperation(t,p,e){let o=this.waitForOperationCompleted(e),s=this.postMessage(t,p);return Promise.all([s,o]).then(([,l])=>l)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let p;return typeof t=="string"?p=e=>e.type===t:p=e=>t.includes(e.type),this.events.pipe(W(p))}nextEventOfType(t){return this.eventsOfType(t).pipe(ut(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(W(p=>p.nonce===t),ut(1),M(p=>{if(p.result!==void 0)return p.result;throw new Error(p.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Cr=(()=>{let t=class{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new Ut,!e.isEnabled){this.messages=Kt,this.notificationClicks=Kt,this.subscription=Kt;return}this.messages=this.sw.eventsOfType("PUSH").pipe(M(s=>s.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(M(s=>s.data)),this.pushManager=this.sw.registration.pipe(M(s=>s.pushManager));let o=this.pushManager.pipe(J(s=>s.getSubscription()));this.subscription=Et(o,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(ze));let o={userVisibleOnly:!0},s=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),l=new Uint8Array(new ArrayBuffer(s.length));for(let f=0;ff.subscribe(o)),ut(1)).toPromise().then(f=>(this.subscriptionChanges.next(f),f))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(ze));let e=o=>{if(o===null)throw new Error("Not subscribed to push notifications.");return o.unsubscribe().then(s=>{if(!s)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(ut(1),J(e)).toPromise()}decodeBase64(e){return atob(e)}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(U(Te))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})(),Sr=(()=>{let t=class{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=Kt,this.available=Kt,this.activated=Kt,this.unrecoverable=Kt;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(W(o=>o.type==="VERSION_READY"),M(o=>({type:"UPDATE_AVAILABLE",current:o.currentVersion,available:o.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(ze));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(ze));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(U(Te))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var Mr=new et("NGSW_REGISTER_SCRIPT");function Ss(n,t,p,e){return()=>{if(!(ii(e)&&"serviceWorker"in navigator&&p.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let o;if(typeof p.registrationStrategy=="function")o=p.registrationStrategy();else{let[l,...f]=(p.registrationStrategy||"registerWhenStable:30000").split(":");switch(l){case"registerImmediately":o=C(null);break;case"registerWithDelay":o=_r(+f[0]||0);break;case"registerWhenStable":o=f[0]?Et(Tr(n),_r(+f[0])):Tr(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${p.registrationStrategy}`)}}n.get(fn).runOutsideAngular(()=>o.pipe(ut(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:p.scope}).catch(l=>console.error("Service worker registration failed with:",l))))}}function _r(n){return C(null).pipe(vo(n))}function Tr(n){return n.get(No).isStable.pipe(W(p=>p))}function ks(n,t){return new Te(ii(t)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Ye=class{};function Os(n,t={}){return sn([Cr,Sr,{provide:Mr,useValue:n},{provide:Ye,useValue:t},{provide:Te,useFactory:ks,deps:[Ye,Qn]},{provide:se,useFactory:Ss,deps:[Yt,Mr,Ye,Qn],multi:!0}])}var kr=(()=>{let t=class{static register(e,o={}){return{ngModule:t,providers:[Os(e,o)]}}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275mod=mt({type:t})})(),(()=>{t.\u0275inj=ht({providers:[Cr,Sr]})})(),n})();var We="PERFORM_ACTION",Is="REFRESH",Dr="RESET",Rr="ROLLBACK",Nr="COMMIT",jr="SWEEP",Fr="TOGGLE_ACTION",$r="SET_ACTIONS_ACTIVE",Lr="JUMP_TO_STATE",Br="JUMP_TO_ACTION",Pi="IMPORT_STATE",Ur="LOCK_CHANGES",Hr="PAUSE_RECORDING",Ce=class{constructor(t,p){if(this.action=t,this.timestamp=p,this.type=We,typeof t.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},yi=class{constructor(){this.type=Is}},Mi=class{constructor(t){this.timestamp=t,this.type=Dr}},_i=class{constructor(t){this.timestamp=t,this.type=Rr}},Ti=class{constructor(t){this.timestamp=t,this.type=Nr}},Ci=class{constructor(){this.type=jr}},Si=class{constructor(t){this.id=t,this.type=Fr}},Or=class{constructor(t,p,e=!0){this.start=t,this.end=p,this.active=e,this.type=$r}},ki=class{constructor(t){this.index=t,this.type=Lr}},Oi=class{constructor(t){this.actionId=t,this.type=Br}},Ii=class{constructor(t){this.nextLiftedState=t,this.type=Pi}},Ei=class{constructor(t){this.status=t,this.type=Ur}},Ai=class{constructor(t){this.status=t,this.type=Hr}},Ir=class{constructor(){this.maxAge=!1}},In=new et("@ngrx/store-devtools Options"),Er=new et("@ngrx/store-devtools Initial Config");function Yr(){return null}var Es="NgRx Store DevTools";function As(n){let t={maxAge:!1,monitor:Yr,actionSanitizer:void 0,stateSanitizer:void 0,name:Es,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},p=typeof n=="function"?n():n,e=p.logOnly?{pause:!0,export:!0,test:!0}:!1,o=p.features||e||t.features;o.import===!0&&(o.import="custom");let s=Object.assign({},t,{features:o},p);if(s.maxAge&&s.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${s.maxAge}`);return s}function Ar(n,t){return n.filter(p=>t.indexOf(p)<0)}function zr(n){let{computedStates:t,currentStateIndex:p}=n;if(p>=t.length){let{state:o}=t[t.length-1];return o}let{state:e}=t[p];return e}function Gc(n){return n.actionsById[n.nextActionId-1]}function Ve(n){return new Ce(n,+Date.now())}function ws(n,t){return Object.keys(t).reduce((p,e)=>{let o=Number(e);return p[o]=Vr(n,t[o],o),p},{})}function Vr(n,t,p){return at(V({},t),{action:n(t.action,p)})}function Ps(n,t){return t.map((p,e)=>({state:Wr(n,p.state,e),error:p.error}))}function Wr(n,t,p){return n(t,p)}function Xr(n){return n.predicate||n.actionsSafelist||n.actionsBlocklist}function Ds(n,t,p,e){let o=[],s={},l=[];return n.stagedActionIds.forEach((f,v)=>{let _=n.actionsById[f];_&&(v&&Di(n.computedStates[v],_,t,p,e)||(s[f]=_,o.push(f),l.push(n.computedStates[v])))}),at(V({},n),{stagedActionIds:o,actionsById:s,computedStates:l})}function Di(n,t,p,e,o){let s=p&&!p(n,t.action),l=e&&!t.action.type.match(e.map(v=>wr(v)).join("|")),f=o&&t.action.type.match(o.map(v=>wr(v)).join("|"));return s||l||f}function wr(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var En=(()=>{let t=class extends vn{},n=t;return(()=>{t.\u0275fac=function(){let e;return function(s){return(e||(e=gt(t)))(s||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})(),Sn={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},wi=new et("@ngrx/store-devtools Redux Devtools Extension"),Gr=(()=>{let _DevtoolsExtension=class{constructor(n,t,p){this.config=t,this.dispatcher=p,this.devtoolsExtension=n,this.createActionStreams()}notify(n,t){if(this.devtoolsExtension)if(n.type===We){if(t.isLocked||t.isPaused)return;let p=zr(t);if(Xr(this.config)&&Di(p,n,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let e=this.config.stateSanitizer?Wr(this.config.stateSanitizer,p,t.currentStateIndex):p,o=this.config.actionSanitizer?Vr(this.config.actionSanitizer,n,t.nextActionId):n;this.sendToReduxDevtools(()=>this.extensionConnection.send(o,e))}else{let p=at(V({},t),{stagedActionIds:t.stagedActionIds,actionsById:this.config.actionSanitizer?ws(this.config.actionSanitizer,t.actionsById):t.actionsById,computedStates:this.config.stateSanitizer?Ps(this.config.stateSanitizer,t.computedStates):t.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,p,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new ao(n=>{let t=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=t,t.init(),t.subscribe(p=>n.next(p)),t.unsubscribe}):he}createActionStreams(){let n=this.createChangesObservable().pipe(Mo()),t=n.pipe(W(f=>f.type===Sn.START)),p=n.pipe(W(f=>f.type===Sn.STOP)),e=n.pipe(W(f=>f.type===Sn.DISPATCH),M(f=>this.unwrapAction(f.payload)),At(f=>f.type===Pi?this.dispatcher.pipe(W(v=>v.type===ui),uo(1e3),go(1e3),M(()=>f),ot(()=>C(f)),ut(1)):C(f))),s=n.pipe(W(f=>f.type===Sn.ACTION),M(f=>this.unwrapAction(f.payload))).pipe(Pt(p)),l=e.pipe(Pt(p));this.start$=t.pipe(Pt(p)),this.actions$=this.start$.pipe(J(()=>s)),this.liftedActions$=this.start$.pipe(J(()=>l))}unwrapAction(action){return typeof action=="string"?eval(`(${action})`):action}getExtensionConfig(n){let t={name:n.name,features:n.features,serialize:n.serialize,autoPause:n.autoPause??!1,trace:n.trace??!1,traceLimit:n.traceLimit??75};return n.maxAge!==!1&&(t.maxAge=n.maxAge),t}sendToReduxDevtools(n){try{n()}catch(t){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",t)}}},DevtoolsExtension=_DevtoolsExtension;return(()=>{_DevtoolsExtension.\u0275fac=function(t){return new(t||_DevtoolsExtension)(U(wi),U(In),U(En))}})(),(()=>{_DevtoolsExtension.\u0275prov=b({token:_DevtoolsExtension,factory:_DevtoolsExtension.\u0275fac})})(),DevtoolsExtension})(),On={type:pi},Rs="@ngrx/store-devtools/recompute",Ns={type:Rs};function qr(n,t,p,e,o){if(e)return{state:p,error:"Interrupted by an error up the chain"};let s=p,l;try{s=n(p,t)}catch(f){l=f.toString(),o.handleError(f)}return{state:s,error:l}}function kn(n,t,p,e,o,s,l,f,v){if(t>=n.length&&n.length===s.length)return n;let _=n.slice(0,t),R=s.length-(v?1:0);for(let x=t;x-1?w:qr(p,nt,P,dt,f);_.push(ct)}return v&&_.push(n[n.length-1]),_}function js(n,t){return{monitorState:t(void 0,{}),nextActionId:1,actionsById:{0:Ve(On)},stagedActionIds:[0],skippedActionIds:[],committedState:n,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function Fs(n,t,p,e,o={}){return s=>(l,f)=>{let{monitorState:v,actionsById:_,nextActionId:R,stagedActionIds:x,skippedActionIds:I,committedState:nt,currentStateIndex:w,computedStates:P,isLocked:dt,isPaused:B}=l||t;l||(_=Object.create(_));function ct(L){let N=L,F=x.slice(1,N+1);for(let S=0;SF.indexOf(S)===-1),x=[0,...x.slice(N+1)],nt=P[N].state,P=P.slice(N),w=w>N?w-N:0}function st(){_={0:Ve(On)},R=1,x=[0],I=[],nt=P[w].state,w=0,P=[]}let j=0;switch(f.type){case Ur:{dt=f.status,j=1/0;break}case Hr:{B=f.status,B?(x=[...x,R],_[R]=new Ce({type:"@ngrx/devtools/pause"},+Date.now()),R++,j=x.length-1,P=P.concat(P[P.length-1]),w===x.length-2&&w++,j=1/0):st();break}case Dr:{_={0:Ve(On)},R=1,x=[0],I=[],nt=n,w=0,P=[];break}case Nr:{st();break}case Rr:{_={0:Ve(On)},R=1,x=[0],I=[],w=0,P=[];break}case Fr:{let{id:L}=f;I.indexOf(L)===-1?I=[L,...I]:I=I.filter(F=>F!==L),j=x.indexOf(L);break}case $r:{let{start:L,end:N,active:F}=f,S=[];for(let pt=L;pto.maxAge&&(P=kn(P,j,s,nt,_,x,I,p,B),ct(x.length-o.maxAge),j=1/0);break}case ui:{if(P.filter(N=>N.error).length>0)j=0,o.maxAge&&x.length>o.maxAge&&(P=kn(P,j,s,nt,_,x,I,p,B),ct(x.length-o.maxAge),j=1/0);else{if(!B&&!dt){w===x.length-1&&w++;let N=R++;_[N]=new Ce(f,+Date.now()),x=[...x,N],j=x.length-1,P=kn(P,j,s,nt,_,x,I,p,B)}P=P.map(N=>at(V({},N),{state:s(N.state,Ns)})),w=x.length-1,o.maxAge&&x.length>o.maxAge&&ct(x.length-o.maxAge),j=1/0}break}default:{j=1/0;break}}return P=kn(P,j,s,nt,_,x,I,p,B),v=e(v,f),{monitorState:v,actionsById:_,nextActionId:R,stagedActionIds:x,skippedActionIds:I,committedState:nt,currentStateIndex:w,computedStates:P,isLocked:dt,isPaused:B}}}var Pr=(()=>{let t=class{constructor(e,o,s,l,f,v,_,R){let x=js(_,R.monitor),I=Fs(_,x,v,R.monitor,R),nt=Et(Et(o.asObservable().pipe(To(1)),l.actions$).pipe(M(Ve)),e,l.liftedActions$).pipe(lo(fo)),w=s.pipe(M(I)),P=new co(1),dt=nt.pipe(Ht(w),yo(({state:j},[L,N])=>{let F=N(j,L);return L.type!==We&&Xr(R)&&(F=Ds(F,R.predicate,R.actionsSafelist,R.actionsBlocklist)),l.notify(L,F),{state:F,action:L}},{state:x,action:null})).subscribe(({state:j,action:L})=>{if(P.next(j),L.type===We){let N=L.action;f.next(N)}}),B=l.start$.subscribe(()=>{this.refresh()}),ct=P.asObservable(),st=ct.pipe(M(zr));Object.defineProperty(st,"state",{value:tr(st,{manualCleanup:!0,requireSync:!0})}),this.extensionStartSubscription=B,this.stateSubscription=dt,this.dispatcher=e,this.liftedState=ct,this.state=st}dispatch(e){this.dispatcher.next(e)}next(e){this.dispatcher.next(e)}error(e){}complete(){}performAction(e){this.dispatch(new Ce(e,+Date.now()))}refresh(){this.dispatch(new yi)}reset(){this.dispatch(new Mi(+Date.now()))}rollback(){this.dispatch(new _i(+Date.now()))}commit(){this.dispatch(new Ti(+Date.now()))}sweep(){this.dispatch(new Ci)}toggleAction(e){this.dispatch(new Si(e))}jumpToAction(e){this.dispatch(new Oi(e))}jumpToState(e){this.dispatch(new ki(e))}importState(e){this.dispatch(new Ii(e))}lockChanges(e){this.dispatch(new Ei(e))}pauseRecording(e){this.dispatch(new Ai(e))}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(U(En),U(vn),U(nr),U(Gr),U(or),U(ko),U(er),U(In))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})(),$s=new et("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function Ls(n,t){return!!n||t.monitor!==Yr}function Bs(){let n="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[n]<"u"?window[n]:null}function Us(n={}){return sn([Gr,En,Pr,{provide:Er,useValue:n},{provide:$s,deps:[wi,In],useFactory:Ls},{provide:wi,useFactory:Bs},{provide:In,deps:[Er],useFactory:As},{provide:rr,deps:[Pr],useFactory:Hs},{provide:ir,useExisting:En}])}function Hs(n){return n.state}var Zr=(()=>{let t=class{static instrument(e={}){return{ngModule:t,providers:[Us(e)]}}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275mod=mt({type:t})})(),(()=>{t.\u0275inj=ht({})})(),n})();var An=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var pe=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})(),wn=class extends fe{};var Pn=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var Dn=(()=>{let t=class extends Pn{},n=t;return(()=>{t.\u0275fac=function(){let e;return function(s){return(e||(e=gt(t)))(s||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var Xe=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})(),Rn=class extends fe{};var Nn=(()=>{let t=class extends Pn{},n=t;return(()=>{t.\u0275fac=function(){let e;return function(s){return(e||(e=gt(t)))(s||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var jn=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var Ys={token:"demo",issuedAt:new Date,lifespan:99999999999},Kr=(()=>{let t=class{requestAuthorization(){return C(Ys)}revokeAuthorization(){return C(void 0)}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();function Se(n){let t=y(n);return t.create.bind(t)}var Jr=(()=>{let t=class{create(e){return{id:e.id??e.name,name:e.name,email:e.email??this.generateEmail(e.name),avatarUrl:e.avatarUrl}}generateEmail(e){return e.replace(/\s+/gu,"").toLowerCase()+"@example.com"}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})();var Qr=new et("DEMO_CONTACTS",{providedIn:"root",factory:()=>{let n=Se(Jr);return[n({id:"",name:"Demo User",email:"demo@reply.io",avatarUrl:"assets/demo/avatar-1.jpg"}),n({name:"Google Express",email:"express@google.com",avatarUrl:"assets/demo/avatar-express.png"}),n({name:"Ali Connors",email:"ali.connors@gmail.com",avatarUrl:"assets/demo/avatar-2.jpg"}),n({name:"Sandra Adams",email:"sandra.adams@gmail.com",avatarUrl:"assets/demo/avatar-3.jpg"}),n({name:"Trevor Hansen",email:"trevor.hansen@gmail.com",avatarUrl:"assets/demo/avatar-4.jpg"}),n({name:"Britta Holt",email:"britta.holt@gmail.com",avatarUrl:"assets/demo/avatar-5.jpg"}),n({name:"Josh Dillinger",email:"josh.dillinger@gmail.com",avatarUrl:"assets/demo/avatar-6.jpg"}),n({name:"Google Play",email:"play@google.com"})]}});var ta="",ea=(()=>{let t=class{constructor(){this.contacts=y(Qr)}loadContacts(){return C(this.contacts)}loadContact(e){return C(null).pipe(M(()=>{let o=this.contacts.find(s=>s.id===e);if(!o)throw new wn(`Contact ${e} not found`);return o}))}loadUser(){return this.loadContact("")}obtainSyncToken(){return C(ta)}syncChanges(){return C({changes:[],syncToken:ta})}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var na=(()=>{let t=class{constructor(){this.nextId=1,this.now=fr()}create(e){return e.content=this.trimContent(e.content),{id:e.id??String(this.nextId++),subject:e.subject,sender:this.participantFromEmail(e.sender),recipients:e.recipients.map(this.participantFromEmail),snippet:e.content.split(` +`)[0],content:e.content,contentType:"plain-text",sentAt:e.sentAt(this.now).toDate(),isStarred:e.isStarred??!1,isRead:e.isRead??!1,type:"received",mailbox:e.mailbox}}trimContent(e){return e.split(` +`).map(s=>s.trim()).join(` +`).trim()}participantFromEmail(e){return{email:e}}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})();var ia=new et("DEMO_MAILS",{providedIn:"root",factory:()=>{let n=Se(na);return[n({subject:"Package shipped!",sender:"express@google.com",recipients:["demo@reply.io"],content:` + Cucumber Mask Facial has shipped. + + Keep an eye out for a package to arrive between this Thursday and next Tuesday. If for any reason you don't receive your package before the end of next week, please reach out to us for details on your shipment. + + As always, thank you for shopping with us and we hope you love our specially formulated Cucumber Mask!`,sentAt:t=>t.subtract(15,"minutes"),mailbox:_t.Inbox}),n({subject:"Brunch this weekend?",sender:"ali.connors@gmail.com",recipients:["demo@reply.io"],content:` + I'll be in your neighborhood doing errands and was hoping to catch you for a coffee this Saturday. If you don't have anything scheduled, it would be great to see you! It feels like its been forever. + + If we do get a chance to get together, remind me to tell you about Kim. She stopped over at the house to say hey to the kids and told me all about her trip to Mexico. + + Talk to you soon, + + Ali`,sentAt:t=>t.subtract(25,"minutes"),mailbox:_t.Inbox}),n({subject:"Bonjour from Paris",sender:"sandra.adams@gmail.com",recipients:["demo@reply.io"],content:` + Here are some great shots from my trip...`,sentAt:t=>t.subtract(6,"hours"),mailbox:_t.Inbox}),n({subject:"High school reunion?",sender:"trevor.hansen@gmail.com",recipients:["demo@reply.io","ali.connors@gmail.com","sandra.adams@gmail.com"],content:` + Hi friends, + + I was at the grocery store on Sunday night.. when I ran into Genie Williams! I almost didn't recognize her afer 20 years! + + Anyway, it turns out she is on the organizing committee for the high school reunion this fall. I don't know if you were planning on going or not, but she could definitely use our help in trying to track down lots of missing alums. If you can make it, we're doing a little phone-tree party at her place next Saturday, hoping that if we can find one person, a few more will...`,sentAt:t=>t.subtract(12,"hours"),isStarred:!0,mailbox:_t.Inbox}),n({subject:"Recipe to try",sender:"britta.holt@gmail.com",recipients:["demo@reply.io"],content:` + Raspberry Pie: We should make this pie recipe tonight! The filling is very quick to put together.`,sentAt:t=>t.subtract(18,"hours"),isRead:!0,mailbox:_t.Inbox}),n({subject:"Parent Teacher Conference",sender:"josh.dillinger@gmail.com",recipients:["demo@reply.io"],content:` + Dear Parent, + + A Parent Teacher Conference is planned for your child on Tuesday, March 3rd at 3:30pm. + + Please contact the school if you have any questions.`,sentAt:t=>t.subtract(1,"month").subtract(28,"day"),isStarred:!0,isRead:!0,mailbox:_t.Inbox}),n({subject:"Brazil trip",sender:"britta.holt@gmail.com",recipients:["demo@reply.io"],content:` + Thought we might be able to go over some details about our upcoming vacation. + + I've been doing a bit of research and have come across a few paces in Northern Brazil that I think we should check out. One, the north has some of the most predictable wind on the planet. I'd love to get out on the ocean and kitesurf for a couple of days if we're going to be anywhere near or around Taiba. I hear it's beautiful there and if you're up for it, I'd love to go. Other than that, I haven't spent too much time looking into places along our road trip route. I'm assuming we can find places to stay and things to do as we drive and find places we think look interesting. But... I know you're more of a planner, so if you have ideas or places in mind, lets jot some ideas down! + + Maybe we can jump on the phone later today if you have a second.`,sentAt:t=>t.subtract(9,"hours"),isRead:!0,mailbox:_t.Inbox}),n({subject:"Delivered",sender:"express@google.com",recipients:["demo@reply.io"],content:` + Your package has been delivered to the target address. For more information, please visit our official website.`,sentAt:t=>t.subtract(15,"hours"),mailbox:_t.Inbox}),n({subject:"Your update on the Google Play Store is live!",sender:"play@google.com",recipients:["demo@reply.io"],content:` + Your update is now live on the Play Store and available for your alpha users to start testing. + + Your alpha testers will be automatically notified. If you'd rather send them a link directly, go to your Google Play Console and follow the instructions for obtaining an open alpha testing link.`,sentAt:t=>t.subtract(1,"year").subtract(10,"days"),mailbox:_t.Trash})]}});var oa="",ra=(()=>{let t=class{constructor(){this.mails=y(ia)}loadMailPage(){return C({results:this.mails})}loadMail(e){return C(null).pipe(M(()=>{let o=this.mails.find(s=>s.id===e);if(!o)throw new Rn(`Mail ${e} not found`);return o}))}obtainSyncToken(){return C(oa)}syncChanges(){return C({changes:[],syncToken:oa})}markMailAsStarred(e){return C(at(V({},e),{isStarred:!0}))}markMailAsNotStarred(e){return C(at(V({},e),{isStarred:!1}))}markMailAsRead(e){return C(at(V({},e),{isRead:!0}))}markMailAsUnread(e){return C(at(V({},e),{isRead:!1}))}moveMail(e,o){return C(at(V({},e),{mailbox:o?.id}))}deleteMail(){return C(void 0)}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var aa=(()=>{let t=class{create(e){return{id:e.id??e.name,name:e.name}}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})();var sa=new et("DEMO_MAILBOXES",{providedIn:"root",factory:()=>{let n=Se(aa);return[...Object.values(_t).map(t=>n({name:t})),n({name:"Receipts"}),n({name:"Pine Elementary"}),n({name:"Taxes"}),n({name:"Vacation"}),n({name:"Mortgage"}),n({name:"Freelance"})]}});var Fn=class{constructor(){this.mailboxes=y(sa)}loadMailboxes(){return C(this.mailboxes)}};var Ri=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275mod=mt({type:t})})(),(()=>{t.\u0275inj=ht({providers:[{provide:se,useFactory:()=>{let e=y(ln);return()=>{let o=e.createElement("div");o.innerText="DEMO",o.style.position="fixed",o.style.bottom="0",o.style.right="0",o.style.padding="4px 8px",o.style.color="white",o.style.backgroundColor="black",o.style.opacity="60%",o.style.zIndex="10000",o.style.pointerEvents="none",e.body.appendChild(o)}},multi:!0},{provide:An,useClass:Kr},{provide:pe,useClass:ea},{provide:Dn,useExisting:pe},{provide:jn,useClass:Fn},{provide:Xe,useClass:ra},{provide:Nn,useExisting:Xe}]})})(),n})();var ke={production:!0,backend:Ri};var Ge=new et("APP_PREPARER");var ca=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275cmp=Dt({type:t,selectors:[["rpl-launch-screen"]],decls:2,vars:0,consts:[[1,"logo"],[1,"dot-pulse"]],template:function(o,s){o&1&&Rt(0,"rpl-logo",0)(1,"div",1)},dependencies:[bn],styles:['@charset "UTF-8";.dot-elastic[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-elastic 1s infinite linear}.dot-elastic[_ngcontent-%COMP%]:before, .dot-elastic[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-elastic[_ngcontent-%COMP%]:before{left:-15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-elastic-before 1s infinite linear}.dot-elastic[_ngcontent-%COMP%]:after{left:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-elastic-after 1s infinite linear}@keyframes _ngcontent-%COMP%_dot-elastic-before{0%{transform:scale(1)}25%{transform:scaleY(1.5)}50%{transform:scaleY(.67)}75%{transform:scale(1)}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_dot-elastic{0%{transform:scale(1)}25%{transform:scale(1)}50%{transform:scaleY(1.5)}75%{transform:scale(1)}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_dot-elastic-after{0%{transform:scale(1)}25%{transform:scale(1)}50%{transform:scaleY(.67)}75%{transform:scaleY(1.5)}to{transform:scale(1)}}.dot-pulse[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9999px 0 0 -5px;animation:_ngcontent-%COMP%_dot-pulse 1.5s infinite linear;animation-delay:.25s}.dot-pulse[_ngcontent-%COMP%]:before, .dot-pulse[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-pulse[_ngcontent-%COMP%]:before{box-shadow:9984px 0 0 -5px;animation:_ngcontent-%COMP%_dot-pulse-before 1.5s infinite linear;animation-delay:0s}.dot-pulse[_ngcontent-%COMP%]:after{box-shadow:10014px 0 0 -5px;animation:_ngcontent-%COMP%_dot-pulse-after 1.5s infinite linear;animation-delay:.5s}@keyframes _ngcontent-%COMP%_dot-pulse-before{0%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}60%,to{box-shadow:9984px 0 0 -5px}}@keyframes _ngcontent-%COMP%_dot-pulse{0%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}60%,to{box-shadow:9999px 0 0 -5px}}@keyframes _ngcontent-%COMP%_dot-pulse-after{0%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}60%,to{box-shadow:10014px 0 0 -5px}}.dot-flashing[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-flashing 1s infinite linear alternate;animation-delay:.5s}.dot-flashing[_ngcontent-%COMP%]:before, .dot-flashing[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-flashing[_ngcontent-%COMP%]:before{left:-15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-flashing 1s infinite alternate;animation-delay:0s}.dot-flashing[_ngcontent-%COMP%]:after{left:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-flashing 1s infinite alternate;animation-delay:1s}@keyframes _ngcontent-%COMP%_dot-flashing{0%{background-color:#fff}50%,to{background-color:#fff3}}.dot-collision[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-collision[_ngcontent-%COMP%]:before, .dot-collision[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-collision[_ngcontent-%COMP%]:before{left:-10px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-collision-before 2s infinite ease-in}.dot-collision[_ngcontent-%COMP%]:after{left:10px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-collision-after 2s infinite ease-in;animation-delay:1s}@keyframes _ngcontent-%COMP%_dot-collision-before{0%,50%,75%,to{transform:translate(0)}25%{transform:translate(-15px)}}@keyframes _ngcontent-%COMP%_dot-collision-after{0%,50%,75%,to{transform:translate(0)}25%{transform:translate(15px)}}.dot-revolution[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-revolution[_ngcontent-%COMP%]:before, .dot-revolution[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute}.dot-revolution[_ngcontent-%COMP%]:before{left:0;top:-15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform-origin:5px 20px;animation:_ngcontent-%COMP%_dot-revolution 1.4s linear infinite}.dot-revolution[_ngcontent-%COMP%]:after{left:0;top:-30px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform-origin:5px 35px;animation:_ngcontent-%COMP%_dot-revolution 1s linear infinite}@keyframes _ngcontent-%COMP%_dot-revolution{0%{transform:rotate(0) translateZ(0)}to{transform:rotate(360deg) translateZ(0)}}.dot-carousel[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-carousel 1.5s infinite linear}@keyframes _ngcontent-%COMP%_dot-carousel{0%{box-shadow:9984px 0 0 -1px #ffffffde,9999px 0 0 1px #ffffffde,10014px 0 0 -1px #ffffffde}50%{box-shadow:10014px 0 0 -1px #ffffffde,9984px 0 0 -1px #ffffffde,9999px 0 0 1px #ffffffde}to{box-shadow:9999px 0 0 1px #ffffffde,10014px 0 0 -1px #ffffffde,9984px 0 0 -1px #ffffffde}}.dot-typing[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-typing 1.5s infinite linear}@keyframes _ngcontent-%COMP%_dot-typing{0%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}16.667%{box-shadow:9984px -10px #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}33.333%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}50%{box-shadow:9984px 0 #ffffffde,9999px -10px #ffffffde,10014px 0 #ffffffde}66.667%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}83.333%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px -10px #ffffffde}to{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}}.dot-windmill[_ngcontent-%COMP%]{position:relative;top:-10px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform-origin:5px 15px;animation:_ngcontent-%COMP%_dot-windmill 2s infinite linear}.dot-windmill[_ngcontent-%COMP%]:before, .dot-windmill[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute}.dot-windmill[_ngcontent-%COMP%]:before{left:-8.66254px;top:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-windmill[_ngcontent-%COMP%]:after{left:8.66254px;top:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}@keyframes _ngcontent-%COMP%_dot-windmill{0%{transform:rotate(0) translateZ(0)}to{transform:rotate(720deg) translateZ(0)}}.dot-bricks[_ngcontent-%COMP%]{position:relative;top:8px;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-bricks 2s infinite ease}@keyframes _ngcontent-%COMP%_dot-bricks{0%{box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde}8.333%{box-shadow:10007px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde}16.667%{box-shadow:10007px -16px #ffffffde,9991px -16px #ffffffde,10007px 0 #ffffffde}25%{box-shadow:10007px -16px #ffffffde,9991px -16px #ffffffde,9991px 0 #ffffffde}33.333%{box-shadow:10007px 0 #ffffffde,9991px -16px #ffffffde,9991px 0 #ffffffde}41.667%{box-shadow:10007px 0 #ffffffde,10007px -16px #ffffffde,9991px 0 #ffffffde}50%{box-shadow:10007px 0 #ffffffde,10007px -16px #ffffffde,9991px -16px #ffffffde}58.333%{box-shadow:9991px 0 #ffffffde,10007px -16px #ffffffde,9991px -16px #ffffffde}66.666%{box-shadow:9991px 0 #ffffffde,10007px 0 #ffffffde,9991px -16px #ffffffde}75%{box-shadow:9991px 0 #ffffffde,10007px 0 #ffffffde,10007px -16px #ffffffde}83.333%{box-shadow:9991px -16px #ffffffde,10007px 0 #ffffffde,10007px -16px #ffffffde}91.667%{box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px -16px #ffffffde}to{box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde}}.dot-floating[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-floating 3s infinite cubic-bezier(.15,.6,.9,.1)}.dot-floating[_ngcontent-%COMP%]:before, .dot-floating[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-floating[_ngcontent-%COMP%]:before{left:-12px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-floating-before 3s infinite ease-in-out}.dot-floating[_ngcontent-%COMP%]:after{left:-24px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-floating-after 3s infinite cubic-bezier(.4,0,1,1)}@keyframes _ngcontent-%COMP%_dot-floating{0%{left:calc(-50% - 5px)}75%{left:calc(50% + 105px)}to{left:calc(50% + 105px)}}@keyframes _ngcontent-%COMP%_dot-floating-before{0%{left:-50px}50%{left:-12px}75%{left:-50px}to{left:-50px}}@keyframes _ngcontent-%COMP%_dot-floating-after{0%{left:-100px}50%{left:-24px}75%{left:-100px}to{left:-100px}}.dot-fire[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9999px 22.5px 0 -5px #ffffffde;animation:_ngcontent-%COMP%_dot-fire 1.5s infinite linear;animation-delay:-.85s}.dot-fire[_ngcontent-%COMP%]:before, .dot-fire[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-fire[_ngcontent-%COMP%]:before{box-shadow:9999px 22.5px 0 -5px #ffffffde;animation:_ngcontent-%COMP%_dot-fire 1.5s infinite linear;animation-delay:-1.85s}.dot-fire[_ngcontent-%COMP%]:after{box-shadow:9999px 22.5px 0 -5px #ffffffde;animation:_ngcontent-%COMP%_dot-fire 1.5s infinite linear;animation-delay:-2.85s}@keyframes _ngcontent-%COMP%_dot-fire{1%{box-shadow:9999px 22.5px 0 -5px #ffffffde}50%{box-shadow:9999px -5.625px 0 2px #ffffffde}to{box-shadow:9999px -22.5px 0 -5px #ffffffde}}.dot-spin[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:transparent;color:transparent;box-shadow:0 -18px #fff,12.727926px -12.727926px #fff,18px 0 #fff,12.727926px 12.727926px #fff0,0 18px #fff0,-12.727926px 12.727926px #fff0,-18px 0 #fff0,-12.727926px -12.727926px #fff0;animation:_ngcontent-%COMP%_dot-spin 1.5s infinite linear}@keyframes _ngcontent-%COMP%_dot-spin{0%,to{box-shadow:0 -18px #fff,12.727926px -12.727926px #fff,18px 0 #fff,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}12.5%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px #fff,18px 0 #fff,12.727926px 12.727926px #fff,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}25%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 #fff,12.727926px 12.727926px #fff,0 18px #fff,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}37.5%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px #fff,0 18px #fff,-12.727926px 12.727926px #fff,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}50%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px #fff,-12.727926px 12.727926px #fff,-18px 0 #fff,-12.727926px -12.727926px 0 -5px #fff0}62.5%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px #fff,-18px 0 #fff,-12.727926px -12.727926px #fff}75%{box-shadow:0 -18px #fff,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 #fff,-12.727926px -12.727926px #fff}87.5%{box-shadow:0 -18px #fff,12.727926px -12.727926px #fff,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px #fff}}.dot-falling[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9999px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-falling 1s infinite linear;animation-delay:.1s}.dot-falling[_ngcontent-%COMP%]:before, .dot-falling[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-falling[_ngcontent-%COMP%]:before{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-falling-before 1s infinite linear;animation-delay:0s}.dot-falling[_ngcontent-%COMP%]:after{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-falling-after 1s infinite linear;animation-delay:.2s}@keyframes _ngcontent-%COMP%_dot-falling{0%{box-shadow:9999px -15px #fff0}25%,50%,75%{box-shadow:9999px 0 #fff}to{box-shadow:9999px 15px #fff0}}@keyframes _ngcontent-%COMP%_dot-falling-before{0%{box-shadow:9984px -15px #fff0}25%,50%,75%{box-shadow:9984px 0 #fff}to{box-shadow:9984px 15px #fff0}}@keyframes _ngcontent-%COMP%_dot-falling-after{0%{box-shadow:10014px -15px #fff0}25%,50%,75%{box-shadow:10014px 0 #fff}to{box-shadow:10014px 15px #fff0}}.dot-stretching[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform:scale(1.25);animation:_ngcontent-%COMP%_dot-stretching 2s infinite ease-in}.dot-stretching[_ngcontent-%COMP%]:before, .dot-stretching[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-stretching[_ngcontent-%COMP%]:before{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-stretching-before 2s infinite ease-in}.dot-stretching[_ngcontent-%COMP%]:after{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-stretching-after 2s infinite ease-in}@keyframes _ngcontent-%COMP%_dot-stretching{0%{transform:scale(1.25)}50%,60%{transform:scale(.8)}to{transform:scale(1.25)}}@keyframes _ngcontent-%COMP%_dot-stretching-before{0%{transform:translate(0) scale(.7)}50%,60%{transform:translate(-20px) scale(1)}to{transform:translate(0) scale(.7)}}@keyframes _ngcontent-%COMP%_dot-stretching-after{0%{transform:translate(0) scale(.7)}50%,60%{transform:translate(20px) scale(1)}to{transform:translate(0) scale(.7)}}.dot-gathering[_ngcontent-%COMP%]{position:relative;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;margin:-1px 0;filter:blur(2px)}.dot-gathering[_ngcontent-%COMP%]:before, .dot-gathering[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;left:-50px;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;opacity:0;filter:blur(2px);animation:_ngcontent-%COMP%_dot-gathering 2s infinite ease-in}.dot-gathering[_ngcontent-%COMP%]:after{animation-delay:.5s}@keyframes _ngcontent-%COMP%_dot-gathering{0%{opacity:0;transform:translate(0)}35%,60%{opacity:1;transform:translate(50px)}to{opacity:0;transform:translate(100px)}}.dot-hourglass[_ngcontent-%COMP%]{position:relative;top:-15px;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;margin:-1px 0;filter:blur(2px);transform-origin:5px 20px;animation:_ngcontent-%COMP%_dot-hourglass 2.4s infinite ease-in-out;animation-delay:.6s}.dot-hourglass[_ngcontent-%COMP%]:before, .dot-hourglass[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;left:0;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;filter:blur(2px)}.dot-hourglass[_ngcontent-%COMP%]:before{top:30px}.dot-hourglass[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_dot-hourglass-after 2.4s infinite cubic-bezier(.65,.05,.36,1)}@keyframes _ngcontent-%COMP%_dot-hourglass{0%{transform:rotate(0)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(360deg)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_dot-hourglass-after{0%{transform:translateY(0)}25%{transform:translateY(30px)}50%{transform:translateY(30px)}75%{transform:translateY(0)}to{transform:translateY(0)}}.dot-overtaking[_ngcontent-%COMP%]{position:relative;width:12px;height:12px;border-radius:6px;background-color:transparent;color:#000;margin:-1px 0;box-shadow:0 -20px;filter:blur(2px);animation:_ngcontent-%COMP%_dot-overtaking 2s infinite cubic-bezier(.2,.6,.8,.2)}.dot-overtaking[_ngcontent-%COMP%]:before, .dot-overtaking[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;left:0;width:12px;height:12px;border-radius:6px;background-color:transparent;color:#000;box-shadow:0 -20px;filter:blur(2px)}.dot-overtaking[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_dot-overtaking 2s infinite cubic-bezier(.2,.6,.8,.2);animation-delay:.3s}.dot-overtaking[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_dot-overtaking 1.5s infinite cubic-bezier(.2,.6,.8,.2);animation-delay:.6s}@keyframes _ngcontent-%COMP%_dot-overtaking{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dot-shuttle[_ngcontent-%COMP%]{position:relative;left:-15px;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;margin:-1px 0;filter:blur(2px)}.dot-shuttle[_ngcontent-%COMP%]:before, .dot-shuttle[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;filter:blur(2px)}.dot-shuttle[_ngcontent-%COMP%]:before{left:15px;animation:_ngcontent-%COMP%_dot-shuttle 2s infinite ease-out}.dot-shuttle[_ngcontent-%COMP%]:after{left:30px}@keyframes _ngcontent-%COMP%_dot-shuttle{0%,50%,to{transform:translate(0)}25%{transform:translate(-45px)}75%{transform:translate(45px)}}.dot-bouncing[_ngcontent-%COMP%]{position:relative;height:10px;font-size:10px}.dot-bouncing[_ngcontent-%COMP%]:before{content:"\\26bd\\1f3c0\\1f3d0";display:inline-block;position:relative;animation:_ngcontent-%COMP%_dot-bouncing 1s infinite}@keyframes _ngcontent-%COMP%_dot-bouncing{0%{top:-20px;animation-timing-function:ease-in}34%{transform:scale(1)}35%{top:20px;animation-timing-function:ease-out;transform:scale(1.5,.5)}45%{transform:scale(1)}90%{top:-20px}to{top:-20px}}.dot-rolling[_ngcontent-%COMP%]{position:relative;height:10px;font-size:10px}.dot-rolling[_ngcontent-%COMP%]:before{content:"\\26bd";display:inline-block;position:relative;transform:translate(-25px);animation:_ngcontent-%COMP%_dot-rolling 3s infinite}@keyframes _ngcontent-%COMP%_dot-rolling{0%{content:"\\26bd";transform:translate(-25px) rotate(0)}16.667%{content:"\\26bd";transform:translate(25px) rotate(720deg)}33.333%{content:"\\26bd";transform:translate(-25px) rotate(0)}34.333%{content:"\\1f3c0";transform:translate(-25px) rotate(0)}50%{content:"\\1f3c0";transform:translate(25px) rotate(720deg)}66.667%{content:"\\1f3c0";transform:translate(-25px) rotate(0)}67.667%{content:"\\1f3d0";transform:translate(-25px) rotate(0)}83.333%{content:"\\1f3d0";transform:translate(25px) rotate(720deg)}to{content:"\\1f3d0";transform:translate(-25px) rotate(0)}}[_nghost-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding-bottom:8vh;color:#ffffffde;background-color:#344955}.logo[_ngcontent-%COMP%]{width:96px}'],changeDetection:0})})(),n})();function Ws(n,t){n&1&&Rt(0,"rpl-launch-screen",1),n&2&&te("@launchScreen",void 0)}var fa=(()=>{let t=class{constructor(){this.animationId=mr(),this.breakpoints=xn(),this.router=y(hr),this.store=y(vt),this.preparers=[...y(Ge),()=>this.router.events.pipe(W(e=>e instanceof lr),xo()),()=>Zt(500)],this.prepared$=Et(...this.preparers.map(e=>e()??C(null))).pipe(mo(this.preparers.length),M(()=>!0),ut(1),an(!1),_o(1))}get breakpointsClassBindings(){return this.breakpoints()}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275cmp=Dt({type:t,selectors:[["rpl-root"]],hostVars:3,hostBindings:function(o,s){o&2&&($e("@routes",s.animationId()),Oo(s.breakpointsClassBindings))},decls:3,vars:3,consts:[["class","launch-screen",4,"ngIf"],[1,"launch-screen"]],template:function(o,s){o&1&&(Rt(0,"router-outlet"),Qt(1,Ws,1,1,"rpl-launch-screen",0),Eo(2,"async")),o&2&&(yt(1),te("ngIf",!Ao(2,1,s.prepared$)))},dependencies:[ve,dr,ca,Fo],styles:['[_nghost-%COMP%]{display:grid;height:100%;background-color:#edf0f2;column-gap:8px;grid-template-rows:100%;grid-template-columns:[margin-left] 0px repeat(4,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 .";overflow:hidden}.tablet-portrait[_nghost-%COMP%]{column-gap:32px;grid-template-columns:[margin-left] 0px repeat(8,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 ."}.tablet-landscape[_nghost-%COMP%]{grid-template-columns:[margin-left] 0px repeat(12,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 col-9 col-10 col-11 col-12 ."}.launch-screen[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;z-index:1000}'],data:{animation:[Be("routes",[xe("auth => main",[Go([be(":leave [data-route-animation-target]",[ee("50ms linear"),Xt({opacity:0})]),be(":enter rpl-side-nav:not(.expanded)",[Xt({transform:"translateX(-100%)"}),ee(`225ms 50ms ${fi.DECELERATION_CURVE}`)],{optional:!0}),be(":enter rpl-bottom-nav > .content, :enter rpl-bottom-nav > .background",[Xt({transform:"translateY(100%)"}),ee(`225ms 50ms ${fi.DECELERATION_CURVE}`)],{optional:!0}),be(":enter rpl-bottom-nav @*",[ci()],{optional:!0}),be(":enter rpl-mail-list-layout",[ci({delay:"50ms"})])])])]),Be("launchScreen",[xe(":leave",[ee("50ms linear"),Xt({opacity:0})])])]},changeDetection:0})})(),n})();var Gs=()=>y(vt).select(Ue.selectAuthenticated).pipe(M(n=>!!n)),qs=()=>y(vt).select(Ue.selectAuthenticated).pipe(M(n=>!n)),Zs=[{path:"",canMatch:[qs],children:[{path:"auth",data:{animationId:"auth"},loadChildren:()=>import("./auth.module-2VAZSUEG.js").then(n=>n.AuthModule)},{path:"**",redirectTo:"auth"}]},{path:"",canMatch:[Gs],children:[{path:"",pathMatch:"full",redirectTo:"mailboxes/Inbox/mails"},{path:"",data:{animationId:"main"},loadChildren:()=>import("./main.module-VRBQ7ISX.js").then(n=>n.MainModule)},{path:"**",redirectTo:"mailboxes/Inbox/mails"}]}],Ks=(()=>{let t=class extends ur{buildTitle(e){let o=super.buildTitle(e);return o&&`${o} | Reply`}},n=t;return(()=>{t.\u0275fac=function(){let e;return function(s){return(e||(e=gt(t)))(s||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})(),la=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275mod=mt({type:t})})(),(()=>{t.\u0275inj=ht({providers:[{provide:pr,useClass:Ks}],imports:[hi.forRoot(Zs),hi]})})(),n})();var $i=ro(da());var pa=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:function(e){return Js.\u0275fac(e)},providedIn:"root"})})(),n})(),Js=(()=>{let t=class{identify(e){return e.email}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var $n=new et("LOCAL_STORAGE");var ua,ha=(()=>{let t=class{constructor(){this.storage=y($n),this.value$=new so(void 0),this[ua]=()=>this.value$.pipe(W(e=>e!==void 0),an(this.get()))}set(e){this.storage.setItem(this.key,this.stringify(e)),this.value$.next(e)}get(){if(this.value$.value!==void 0)return this.value$.value;let e=this.storage.getItem(this.key),o=e?this.parse(e):null;return this.value$.next(o),o}clear(){this.storage.removeItem(this.key),this.value$.next(null)}parse(e){return JSON.parse(e)}stringify(e){return JSON.stringify(e)}},n=t;return(()=>{ua=Symbol.observable})(),(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var ma=(()=>{let t=class{constructor(){this.accounts=y(Qs)}list(){let e=this.accounts.get();return e||(e=[],this.accounts.set(e)),[...e]}create(e){let o=this.list();o.push(e),this.accounts.set(o)}patch(e,o){let s=this.list();if(s.findIndex(v=>v.id===e)<0)throw new Ln;let f=s.map(v=>v.id===e?at(V(V({},v),o),{id:v.id}):v);this.accounts.set(f)}put(e){let s=this.list().find(l=>l.id===e.id);return s?this.patch(s.id,e):this.create(e)}delete(e){let o=this.list(),s=o.findIndex(l=>l.id===e);if(s<0)throw new Ln;o.splice(s,1),this.accounts.set(o)}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Fi=class extends fe{},Ln=class extends Fi{},Qs=(()=>{let t=class extends ha{constructor(){super(...arguments),this.key="accounts"}parse(e){return JSON.parse(e).map(s=>({id:s.id,profile:s.profile,authorizedAt:new Date(s.authorizedAt)}))}},n=t;return(()=>{t.\u0275fac=function(){let e;return function(s){return(e||(e=gt(t)))(s||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})();var Bn=(()=>{let t=class{constructor(){this.identifier=y(pa),this.resource=y(ma)}loadAccounts(){return C(null).pipe(M(()=>this.resource.list()))}saveAccount(e){return C(null).pipe(M(()=>({id:this.identifier.identify(e),profile:e.id,authorizedAt:new Date})),Jt(o=>this.resource.put(o)))}revokeAccount(e){return C(null).pipe(M(()=>at(V({},e),{revokedAt:new Date})),Jt(o=>this.resource.patch(o.id,o)))}deleteAccount(e){return C(null).pipe(Jt(()=>this.resource.delete(e.id)),M(()=>{}))}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})();var ga=(()=>{let t=class{constructor(){this.actions$=y(Mt),this.authService=y(An),this.contactService=y(pe),this.accountService=y(Bn),this.authenticate=X(()=>this.actions$.pipe(z(le.authenticate),At(e=>this.authService.requestAuthorization(e.hint).pipe(J(o=>o?C(null).pipe(At(()=>this.contactService.loadUser()),sr(s=>this.accountService.saveAccount(s)),M(([s,l])=>({authorization:o,user:s,account:l})),M(s=>le.authenticateCompleted({params:e,result:s}))):C(le.authenticateCancelled({params:e}))),ot(o=>C(le.authenticateFailed({params:e,error:o}))))))),this.authenticationExpirer=X(()=>this.actions$.pipe(z(le.authenticateCompleted),J(({result:{authorization:e},params:o})=>{let l=(0,$i.default)(e.issuedAt).add(e.lifespan,"seconds"),f=()=>(0,$i.default)().add(1,"minute").isAfter(l),v=30*1e3;return Zt(v,v).pipe(W(()=>f()),M(()=>le.authenticateExpired({params:o})))})))}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var va=(()=>{let t=class{constructor(){this.actions$=y(Mt),this.accountService=y(Bn),this.loadAccounts=X(()=>this.actions$.pipe(z(Me.loadAccounts),wt(()=>this.accountService.loadAccounts().pipe(M(e=>Me.loadAccountsCompleted({result:e})),ot(e=>C(Me.loadAccountsFailed({error:e})))))))}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var xa,ba,ya=(()=>{let t=class{constructor(){this.store=y(vt),this.actions$=y(Mt),this.contactService=y(pe),this.contactSyncService=y(Dn),this[xa]=X(()=>this.actions$.pipe(z(Ct.loadContacts),wt(()=>rn(this,null,function*(){try{let e=this.contactSyncService.obtainSyncToken(),o=yield me(e),s=this.contactService.loadContacts(),f=yield me(s);return Ct.loadContactsCompleted({result:{results:f,syncToken:o}})}catch(e){return Ct.loadContactsFailed({error:e})}})))),this[ba]=X(()=>this.actions$.pipe(z(Ct.syncContactChanges),Ht(this.store.select(Mn.selectSyncToken)),wt(([,e])=>e?this.contactSyncService.syncChanges(e).pipe(M(o=>Ct.syncContactChangesCompleted({result:o})),ot(o=>C(Ct.syncContactChangesFailed({error:o})))):he))),this.syncContactChangesAtIntervalsAfterContactsLoaded=X(()=>this.actions$.pipe(z(Ct.loadContactsCompleted),J(()=>Zt(1e3*60,1e3*60).pipe(M(()=>Ct.syncContactChanges())))))}},n=t;return(()=>{xa=Ct.loadContacts.type,ba=Ct.syncContactChanges.type})(),(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var Ma,_a,Ta,Ca,Sa,ka,Oa=(()=>{let t=class{constructor(){this.store=y(vt),this.actions$=y(Mt),this.mailService=y(Xe),this.mailSyncService=y(Nn),this[Ma]=X(()=>this.actions$.pipe(z(k.loadMails),wt(()=>rn(this,null,function*(){try{let e=this.mailSyncService.obtainSyncToken(),o=yield me(e),s=this.mailService.loadMailPage(),f=(yield me(s)).results;return k.loadMailsCompleted({result:{mails:f,syncToken:o}})}catch(e){return k.loadMailsFailed({error:e})}})))),this[_a]=X(()=>this.actions$.pipe(z(k.toggleMailStarredStatus),At(e=>(e.mail.isStarred?this.mailService.markMailAsNotStarred(e.mail):this.mailService.markMailAsStarred(e.mail)).pipe(Pt(this.actions$.pipe(z(k.toggleMailStarredStatus),W(({mail:s})=>s.id===e.mail.id))),M(s=>k.toggleMailStarredStatusCompleted({params:e,result:s})),ot(s=>C(k.toggleMailStarredStatusFailed({params:e,error:s}))))))),this[Ta]=X(()=>this.actions$.pipe(z(k.toggleMailReadStatus),At(e=>((e.mail.isRead?"unread":"read")==="read"?this.mailService.markMailAsRead(e.mail):this.mailService.markMailAsUnread(e.mail)).pipe(Pt(this.actions$.pipe(z(k.toggleMailReadStatus),W(({mail:l})=>l.id===e.mail.id))),M(l=>k.toggleMailReadStatusCompleted({params:e,result:l})),ot(l=>C(k.toggleMailReadStatusFailed({params:e,error:l}))))))),this[Ca]=X(()=>this.actions$.pipe(z(k.moveMailToMailbox),At(e=>this.mailService.moveMail(e.mail,e.mailbox).pipe(Pt(this.actions$.pipe(z(k.moveMailToMailbox),W(({mail:o})=>o.id===e.mail.id))),M(o=>k.moveMailToMailboxCompleted({params:e,result:o})),ot(o=>C(k.moveMailToMailboxFailed({params:e,error:o}))))))),this[Sa]=X(()=>this.actions$.pipe(z(k.deleteMail),At(e=>this.mailService.deleteMail(e.mail).pipe(M(()=>k.deleteMailCompleted({params:e})),ot(o=>C(k.deleteMailFailed({params:e,error:o}))))))),this[ka]=X(()=>this.actions$.pipe(z(k.syncMailChanges),Ht(this.store.select(_n.selectSyncToken)),wt(([,e])=>e?this.mailSyncService.syncChanges(e).pipe(M(o=>k.syncMailChangesCompleted({result:o})),ot(o=>C(k.syncMailChangesFailed({error:o})))):he))),this.syncMailChangesAtIntervalsAfterMailsLoaded=X(()=>this.actions$.pipe(z(k.loadMailsCompleted),J(()=>Zt(1e3*60,1e3*60).pipe(M(()=>k.syncMailChanges())))))}},n=t;return(()=>{Ma=k.loadMails.type,_a=k.toggleMailStarredStatus.type,Ta=k.toggleMailReadStatus.type,Ca=k.moveMailToMailbox.type,Sa=k.deleteMail.type,ka=k.syncMailChanges.type})(),(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();function tc(n,t){if(n&1){let p=je();Vt(0,"button",4),ge("click",function(){Re(p);let o=re();return Ne(o.snackbarRef.dismissWithAction())}),ae(1),Wt()}if(n&2){let p=re();yt(1),ni(" ",p.context.action,` +`)}}var Ia=(()=>{let t=class{constructor(){this.context=y(_e),this.snackbarRef=y(Gt)}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275cmp=Dt({type:t,selectors:[["rpl-snackbar-content"]],standalone:!0,features:[Io],decls:5,vars:2,consts:[[1,"text"],["mat-button","","color","accent",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["fontSet","filled","fontIcon","close"],["mat-button","","color","accent",3,"click"]],template:function(o,s){o&1&&(Vt(0,"div",0),ae(1),Wt(),Qt(2,tc,2,1,"button",1),Vt(3,"button",2),ge("click",function(){return s.snackbarRef.dismiss()}),Rt(4,"mat-icon",3),Wt()),o&2&&(yt(1),Fe(s.context.message),yt(1),te("ngIf",s.context.action))},dependencies:[Le,ve,ye,gn,mn,Ko],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:8px}.text[_ngcontent-%COMP%]{flex:1}button[_ngcontent-%COMP%]{text-transform:uppercase}"],changeDetection:0})})(),n})();var Ea=(()=>{let t=class{constructor(){this.snackbarService=y(yr),this.breakpoints=xn()}notify(e,o){let s=this.snackbarService.openFromComponent(Ia,V({data:{message:e,action:o},duration:3e4},this.breakpoints()["tablet-portrait"]?{verticalPosition:"bottom",horizontalPosition:"right",panelClass:["snackbar-notification-panel"]}:{verticalPosition:"bottom",horizontalPosition:"center",panelClass:["snackbar-notification-panel","centered"]}));return{event$:Et(s.afterOpened().pipe(M(()=>({type:"display"}))),s.afterDismissed().pipe(M(()=>({type:"dismiss"}))),s.onAction().pipe(M(()=>({type:"action"})))),dismiss(){s.dismiss()}}}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})();var Aa=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:function(o){let s=null;return o?s=new(o||t):s=U(Ea),s},providedIn:"root"})})(),n})();var wa,Pa,Da,Ra,Na,ja,Fa=(()=>{let t=class{constructor(){this.store=y(vt),this.actions$=y(Mt),this.notifier=y(Aa),this[wa]=X(()=>this.actions$.pipe(z(k.toggleMailStarredStatusFailed),J(({params:{mail:e}})=>this.notifier.notify("Failed to update starred status","Retry").event$.pipe(W(o=>o.type==="action"),M(()=>k.toggleMailStarredStatus({mail:e})))))),this[Pa]=X(()=>this.actions$.pipe(z(k.toggleMailReadStatusFailed),J(({params:e})=>{let o=e.mail.isRead?"unread":"read";return this.notifier.notify(`Failed to mark mail as ${o}`,"Retry").event$.pipe(W(s=>s.type==="action"),M(()=>k.toggleMailReadStatus(e)))}))),this[Da]=X(()=>this.actions$.pipe(z(k.moveMailToMailbox),Ht(this.store.select(He.selectMailboxes)),J(([e,o])=>{let{mail:s,mailbox:l}=e,f=s.mailbox?o.retrieve(s.mailbox):null,v=l?`Mail moved into ${l.name}`:f?`Mail moved out from ${f.name}`:"Mail moved";return this.notifier.notify(v,"Undo").event$.pipe(W(_=>_.type==="action"),M(()=>k.moveMailToMailbox({mail:at(V({},s),{mailbox:l?.id}),mailbox:f})))}))),this[Ra]=X(()=>this.actions$.pipe(z(k.moveMailToMailboxFailed),Ht(this.store.select(He.selectMailboxes)),J(([{params:e},o])=>{let{mail:s,mailbox:l}=e,f=s.mailbox?o.retrieve(s.mailbox):null,v=l?`Failed to move mail into ${l.name}`:f?`Failed to move mail out from ${f.name}`:"Failed to move mail";return this.notifier.notify(v,"Retry").event$.pipe(M(()=>k.moveMailToMailbox(e)))}))),this[Na]=X(()=>this.actions$.pipe(z(k.deleteMail),Jt(()=>this.notifier.notify("Mail deleted permanently")),M(()=>null)),{dispatch:!1}),this[ja]=X(()=>this.actions$.pipe(z(k.deleteMailFailed),J(({params:e})=>this.notifier.notify("Failed to delete mail","Retry").event$.pipe(W(o=>o.type==="action"),M(()=>k.deleteMail(e))))))}},n=t;return(()=>{wa=k.toggleMailStarredStatusFailed.type,Pa=k.toggleMailReadStatusFailed.type,Da=k.moveMailToMailbox.type,Ra=k.moveMailToMailboxFailed.type,Na=k.deleteMail.type,ja=k.deleteMailFailed.type})(),(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var $a=(()=>{let t=class{constructor(){this.actions$=y(Mt),this.mailboxService=y(jn),this.loadMailboxes=X(()=>this.actions$.pipe(z(yn.loadMailboxes),wt(()=>this.mailboxService.loadMailboxes().pipe(M(e=>yn.loadMailboxesCompleted({result:e})),ot(e=>C(yn.loadMailboxesFailed({error:e})))))))}},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),n})();var La=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275mod=mt({type:t,bootstrap:[fa]})})(),(()=>{t.\u0275inj=ht({providers:[{provide:$n,useValue:window.localStorage},{provide:se,multi:!0,useFactory:(e=y(gr))=>()=>e.applyConfig({["tablet-portrait"]:"(min-width: 600px)",["tablet-landscape"]:"(min-width: 905px)",laptop:"(min-width: 1240px)",desktop:"(min-width: 1440px)"})},{provide:se,multi:!0,useFactory:()=>{let e=y(di),o=y(Ho),s=l=>o.bypassSecurityTrustResourceUrl(l);return()=>{e.setDefaultFontSetClass(),e.registerFontClassAlias("filled","material-icons mat-ligature-font"),e.addSvgIconSet(s("assets/icons.svg"))}}},{provide:Ge,multi:!0,useFactory:()=>{let e=y(di);return()=>(()=>e.getNamedSvgIcon("").pipe(ot(()=>C(null))))()}},{provide:Ge,multi:!0,useFactory:()=>{let e=y(vt);return e.dispatch(Me.loadAccounts()),()=>e.select(mi.selectAccountsLoadingStatus).pipe(M(o=>o.type==="completed"))}}],imports:[Bo,qo,kr.register("ngsw-worker.js",{enabled:ke.production,registrationStrategy:"registerWhenStable:30000"}),Uo,$o,Qo.forRoot(),cr.forRoot(),ce.forRoot(),ce.forFeature(Ue),ce.forFeature(mi),ce.forFeature(Mn),ce.forFeature(_n),ce.forFeature(He),ar.forRoot(ga,va,ya,Oa,Fa,$a),Zr.instrument({maxAge:25,logOnly:ke.production}),ke.backend,mn,bi,Jo,Zo,ye,la,bn]})})(),n})();ke.production&&void 0;Lo().bootstrapModule(La).catch(n=>console.error(n)); diff --git a/main.PQEVK7QX.js b/main.PQEVK7QX.js deleted file mode 100644 index 33cc443..0000000 --- a/main.PQEVK7QX.js +++ /dev/null @@ -1,5 +0,0 @@ -import{a as Ie,b as Fi}from"./chunk-CQOBEFKW.js";import{a as vr,h as br,i as Z,j as St,k as G,l as Ir,m as kr}from"./chunk-KJC4PF6B.js";import{c as Er}from"./chunk-JWYHAYBW.js";import{a as Dn,b as Ze}from"./chunk-V5CHA6ZC.js";import{l as yr,m as Nr,p as Lr,q as Pn}from"./chunk-3XARSZJN.js";import{a as Ot,b as Nn,c as O,d as Ln}from"./chunk-LJ7UDTCX.js";import{a as ue}from"./chunk-C6VMUQFT.js";import{a as Ai,b as dr,c as ur,d as An,e as Ii,f as hr,i as In,l as ki,m as wn,o as Rn,p as Ke}from"./chunk-HDMEYBD3.js";import{$ as Xt,A as Fo,Ab as Et,Ad as _r,B as jo,Ba as Wo,Bb as nr,Bd as Tr,C as q,Ca as Ct,Cb as ir,Cd as Cr,D as dt,Da as qt,Dd as Ni,E as $o,Ea as Zt,Ec as qe,Ed as Sr,F as mt,Fb as Tn,Fc as ae,Fd as Ar,Ga as _n,Gc as mr,Gd as bt,H as Bo,Hc as Qt,Ia as Mi,Ic as Ei,Ja as oe,Jc as Ce,Kb as Te,L as Lt,La as re,Lc as Oi,Ld as de,Ma as Kt,N as bn,Na as Jt,Nc as Se,Oa as $t,Od as At,Pb as or,Pc as gr,Qb as Xe,Qc as wi,Qd as Or,R as Uo,Rb as Si,S as Ho,Sa as ze,Sb as rr,Sc as Pi,T as Yo,Tb as ar,Td as wr,U as Me,Ua as _e,Ub as sr,Ud as Pr,V as zo,Va as _i,Vb as cr,Vd as Dr,W as yn,Wa as le,Wb as fr,Wd as Rr,X as H,Xb as lr,Y as Ft,Yd as Li,_ as Tt,b as vn,bb as Xo,ca as b,cb as pe,d as Wt,da as gt,db as Ve,e as wo,ea as Y,eb as Ti,f as Po,fa as m,ga as jt,h as Do,ha as vt,hb as Ge,i as be,ia as Vo,j as Ro,jb as qo,jc as Cn,kc as pr,l as P,ld as Di,m as xn,md as xr,n as ye,na as He,nb as Zo,nd as kn,o as No,oa as Ye,ob as Ko,od as En,p as u,q as _t,qa as xt,qb as Ci,qd as Ae,s as Lo,sb as Jo,t as xi,ta as rt,td as Mr,ua as Mn,ub as Qo,uc as Sn,v as bi,va as yi,vb as tr,w as ne,x as Nt,xb as er,y as ie,yd as Ri,z as X,za as Go,zb as We,zd as On}from"./chunk-KBDKS3MK.js";import{a as N,b as kt,c as Oo,d as gn,e as vi,j as xe}from"./chunk-3J24ZBPC.js";var Fr=gn((Ac,Fn)=>{(function(i,t,p,e){"use strict";var n=["","webkit","Moz","MS","ms","o"],a=t.createElement("div"),f="function",c=Math.round,g=Math.abs,T=Date.now;function C(o,r,s){return setTimeout(nt(o,s),r)}function v(o,r,s){return Array.isArray(o)?(h(o,s[r],s),!0):!1}function h(o,r,s){var l;if(o)if(o.forEach)o.forEach(r,s);else if(o.length!==e)for(l=0;l\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",j=i.console&&(i.console.warn||i.console.log);return j&&j.call(i.console,l,M),o.apply(this,arguments)}}var A;typeof Object.assign!="function"?A=function(r){if(r===e||r===null)throw new TypeError("Cannot convert undefined or null to object");for(var s=Object(r),l=1;l-1}function ht(o){return o.trim().split(/\s+/g)}function Ut(o,r,s){if(o.indexOf&&!s)return o.indexOf(r);for(var l=0;lpt[r]}):l=l.sort()),l}function x(o,r){for(var s,l,d=r[0].toUpperCase()+r.slice(1),M=0;M1&&!s.firstMultiple?s.firstMultiple=uo(r):d===1&&(s.firstMultiple=!1);var M=s.firstInput,j=s.firstMultiple,ct=j?j.center:M.center,lt=r.center=ho(l);r.timeStamp=T(),r.deltaTime=r.timeStamp-M.timeStamp,r.angle=si(ct,lt),r.distance=cn(ct,lt),us(s,r),r.offsetDirection=go(r.deltaX,r.deltaY);var pt=mo(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=pt.x,r.overallVelocityY=pt.y,r.overallVelocity=g(pt.x)>g(pt.y)?pt.x:pt.y,r.scale=j?gs(j.pointers,l):1,r.rotation=j?ms(j.pointers,l):0,r.maxPointers=s.prevInput?r.pointers.length>s.prevInput.maxPointers?r.pointers.length:s.prevInput.maxPointers:r.pointers.length,hs(s,r);var Rt=o.element;U(r.srcEvent.target,Rt)&&(Rt=r.srcEvent.target),r.target=Rt}function us(o,r){var s=r.center,l=o.offsetDelta||{},d=o.prevDelta||{},M=o.prevInput||{};(r.eventType===J||M.eventType===V)&&(d=o.prevDelta={x:M.deltaX||0,y:M.deltaY||0},l=o.offsetDelta={x:s.x,y:s.y}),r.deltaX=d.x+(s.x-l.x),r.deltaY=d.y+(s.y-l.y)}function hs(o,r){var s=o.lastInterval||r,l=r.timeStamp-s.timeStamp,d,M,j,ct;if(r.eventType!=ot&&(l>se||s.velocity===e)){var lt=r.deltaX-s.deltaX,pt=r.deltaY-s.deltaY,Rt=mo(l,lt,pt);M=Rt.x,j=Rt.y,d=g(Rt.x)>g(Rt.y)?Rt.x:Rt.y,ct=go(lt,pt),o.lastInterval=r}else d=s.velocity,M=s.velocityX,j=s.velocityY,ct=s.direction;r.velocity=d,r.velocityX=M,r.velocityY=j,r.direction=ct}function uo(o){for(var r=[],s=0;s=g(r)?o<0?Ne:Le:r<0?Fe:je}function cn(o,r,s){s||(s=po);var l=r[s[0]]-o[s[0]],d=r[s[1]]-o[s[1]];return Math.sqrt(l*l+d*d)}function si(o,r,s){s||(s=po);var l=r[s[0]]-o[s[0]],d=r[s[1]]-o[s[1]];return Math.atan2(d,l)*180/Math.PI}function ms(o,r){return si(r[1],r[0],sn)+si(o[1],o[0],sn)}function gs(o,r){return cn(r[0],r[1],sn)/cn(o[0],o[1],sn)}var vs={mousedown:J,mousemove:et,mouseup:V},xs="mousedown",bs="mousemove mouseup";function fn(){this.evEl=xs,this.evWin=bs,this.pressed=!1,yt.apply(this,arguments)}L(fn,yt,{handler:function(r){var s=vs[r.type];s&J&&r.button===0&&(this.pressed=!0),s&et&&r.which!==1&&(s=V),this.pressed&&(s&V&&(this.pressed=!1),this.callback(this.manager,s,{pointers:[r],changedPointers:[r],pointerType:wt,srcEvent:r}))}});var ys={pointerdown:J,pointermove:et,pointerup:V,pointercancel:ot,pointerout:ot},Ms={2:tt,3:ut,4:wt,5:Ht},vo="pointerdown",xo="pointermove pointerup pointercancel";i.MSPointerEvent&&!i.PointerEvent&&(vo="MSPointerDown",xo="MSPointerMove MSPointerUp MSPointerCancel");function ci(){this.evEl=vo,this.evWin=xo,yt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}L(ci,yt,{handler:function(r){var s=this.store,l=!1,d=r.type.toLowerCase().replace("ms",""),M=ys[d],j=Ms[r.pointerType]||r.pointerType,ct=j==tt,lt=Ut(s,r.pointerId,"pointerId");M&J&&(r.button===0||ct)?lt<0&&(s.push(r),lt=s.length-1):M&(V|ot)&&(l=!0),!(lt<0)&&(s[lt]=r,this.callback(this.manager,M,{pointers:s,changedPointers:[r],pointerType:j,srcEvent:r}),l&&s.splice(lt,1))}});var _s={touchstart:J,touchmove:et,touchend:V,touchcancel:ot},Ts="touchstart",Cs="touchstart touchmove touchend touchcancel";function bo(){this.evTarget=Ts,this.evWin=Cs,this.started=!1,yt.apply(this,arguments)}L(bo,yt,{handler:function(r){var s=_s[r.type];if(s===J&&(this.started=!0),!!this.started){var l=Ss.call(this,r,s);s&(V|ot)&&l[0].length-l[1].length===0&&(this.started=!1),this.callback(this.manager,s,{pointers:l[0],changedPointers:l[1],pointerType:tt,srcEvent:r})}}});function Ss(o,r){var s=w(o.touches),l=w(o.changedTouches);return r&(V|ot)&&(s=_(s.concat(l),"identifier",!0)),[s,l]}var As={touchstart:J,touchmove:et,touchend:V,touchcancel:ot},Is="touchstart touchmove touchend touchcancel";function ln(){this.evTarget=Is,this.targetIds={},yt.apply(this,arguments)}L(ln,yt,{handler:function(r){var s=As[r.type],l=ks.call(this,r,s);l&&this.callback(this.manager,s,{pointers:l[0],changedPointers:l[1],pointerType:tt,srcEvent:r})}});function ks(o,r){var s=w(o.touches),l=this.targetIds;if(r&(J|et)&&s.length===1)return l[s[0].identifier]=!0,[s,s];var d,M,j=w(o.changedTouches),ct=[],lt=this.target;if(M=s.filter(function(pt){return U(pt.target,lt)}),r===J)for(d=0;d-1&&l.splice(M,1)};setTimeout(d,Es)}}function ws(o){for(var r=o.srcEvent.clientX,s=o.srcEvent.clientY,l=0;l-1&&this.requireFail.splice(r,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(o){return!!this.simultaneous[o.id]},emit:function(o){var r=this,s=this.state;function l(d){r.manager.emit(d,o)}s=ee&&l(r.options.event+Ao(s))},tryEmit:function(o){if(this.canEmit())return this.emit(o);this.state=Dt},canEmit:function(){for(var o=0;or.threshold&&d&r.direction},attrTest:function(o){return It.prototype.attrTest.call(this,o)&&(this.state&Mt||!(this.state&Mt)&&this.directionTest(o))},emit:function(o){this.pX=o.deltaX,this.pY=o.deltaY;var r=Io(o.direction);r&&(o.additionalEvent=this.options.event+r),this._super.emit.call(this,o)}});function di(){It.apply(this,arguments)}L(di,It,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[fe]},attrTest:function(o){return this._super.attrTest.call(this,o)&&(Math.abs(o.scale-1)>this.options.threshold||this.state&Mt)},emit:function(o){if(o.scale!==1){var r=o.scale<1?"in":"out";o.additionalEvent=this.options.event+r}this._super.emit.call(this,o)}});function ui(){Vt.apply(this,arguments),this._timer=null,this._input=null}L(ui,Vt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[So]},process:function(o){var r=this.options,s=o.pointers.length===r.pointers,l=o.distancer.time;if(this._input=o,!l||!s||o.eventType&(V|ot)&&!d)this.reset();else if(o.eventType&J)this.reset(),this._timer=C(function(){this.state=zt,this.tryEmit()},r.time,this);else if(o.eventType&V)return zt;return Dt},reset:function(){clearTimeout(this._timer)},emit:function(o){this.state===zt&&(o&&o.eventType&V?this.manager.emit(this.options.event+"up",o):(this._input.timeStamp=T(),this.manager.emit(this.options.event,this._input)))}});function hi(){It.apply(this,arguments)}L(hi,It,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[fe]},attrTest:function(o){return this._super.attrTest.call(this,o)&&(Math.abs(o.rotation)>this.options.threshold||this.state&Mt)}});function mi(){It.apply(this,arguments)}L(mi,It,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Pt|ce,pointers:1},getTouchAction:function(){return hn.prototype.getTouchAction.call(this)},attrTest:function(o){var r=this.options.direction,s;return r&(Pt|ce)?s=o.overallVelocity:r&Pt?s=o.overallVelocityX:r&ce&&(s=o.overallVelocityY),this._super.attrTest.call(this,o)&&r&o.offsetDirection&&o.distance>this.options.threshold&&o.maxPointers==this.options.pointers&&g(s)>this.options.velocity&&o.eventType&V},emit:function(o){var r=Io(o.offsetDirection);r&&this.manager.emit(this.options.event+r,o),this.manager.emit(this.options.event,o)}});function mn(){Vt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}L(mn,Vt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[li]},process:function(o){var r=this.options,s=o.pointers.length===r.pointers,l=o.distance{(function(i){var t=typeof ti=="object"&&ti,p=typeof an=="object"&&an&&an.exports==t&&an,e=typeof global=="object"&&global;(e.global===e||e.window===e)&&(i=e);var n=function(h){this.message=h};n.prototype=new Error,n.prototype.name="InvalidCharacterError";var a=function(h){throw new n(h)},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,g=function(h){h=String(h).replace(c,"");var W=h.length;W%4==0&&(h=h.replace(/==?$/,""),W=h.length),(W%4==1||/[^+a-zA-Z0-9/]/.test(h))&&a("Invalid character: the string to be decoded is not correctly encoded.");for(var A=0,I,Q,L="",nt=-1;++nt>(-2*A&6)));return L},T=function(h){h=String(h),/[^\0-\xFF]/.test(h)&&a("The string to be encoded contains characters outside of the Latin1 range.");for(var W=h.length%3,A="",I=-1,Q,L,nt,ft,k,B=h.length-W;++I>18&63)+f.charAt(k>>12&63)+f.charAt(k>>6&63)+f.charAt(k&63);return W==2?(Q=h.charCodeAt(I)<<8,L=h.charCodeAt(++I),k=Q+L,A+=f.charAt(k>>10)+f.charAt(k>>4&63)+f.charAt(k<<2&63)+"="):W==1&&(k=h.charCodeAt(I),A+=f.charAt(k>>2)+f.charAt(k<<4&63)+"=="),A},C={encode:T,decode:g,version:"0.1.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return C});else if(t&&!t.nodeType)if(p)p.exports=C;else for(var v in C)C.hasOwnProperty(v)&&(t[v]=C[v]);else i.base64=C})(ti)});var Aa=gn((jl,Sa)=>{var hc=Ta().decode;function Ca(i){return i?decodeURIComponent(escape(hc(i.replace(/\-/g,"+").replace(/\_/g,"/")))):""}function ei(i){return i?i.reduce(function(t,p){return t[p.name.toLowerCase()]=p.value,t},{}):{}}Sa.exports=function(t){var p={id:t.id,threadId:t.threadId,labelIds:t.labelIds,snippet:t.snippet,historyId:t.historyId};t.internalDate&&(p.internalDate=parseInt(t.internalDate));var e=t.payload;if(!e)return p;var n=ei(e.headers);p.headers=n;for(var a=[e],f=!1;a.length!==0;){var c=a.shift();if(c.parts&&(a=a.concat(c.parts)),f&&(n=ei(c.headers)),!!c.body){var g=c.mimeType&&c.mimeType.indexOf("text/html")!==-1,T=c.mimeType&&c.mimeType.indexOf("text/plain")!==-1,C=!!(c.body.attachmentId||n["content-disposition"]&&n["content-disposition"].toLowerCase().indexOf("attachment")!==-1),v=n["content-disposition"]&&n["content-disposition"].toLowerCase().indexOf("inline")!==-1;if(g&&!C)p.textHtml=Ca(c.body.data);else if(T&&!C)p.textPlain=Ca(c.body.data);else if(C){var h=c.body;p.attachments||(p.attachments=[]),p.attachments.push({filename:c.filename,mimeType:c.mimeType,size:h.size,attachmentId:h.attachmentId,headers:ei(c.headers)})}else if(v){var h=c.body;p.inline||(p.inline=[]),p.inline.push({filename:c.filename,mimeType:c.mimeType,size:h.size,attachmentId:h.attachmentId,headers:ei(c.headers)})}f=!0}}return p}});var Na=gn((ao,so)=>{(function(i,t){typeof ao=="object"&&typeof so<"u"?so.exports=t():typeof define=="function"&&define.amd?define(t):(i=typeof globalThis<"u"?globalThis:i||self).dayjs=t()})(ao,function(){"use strict";var i=1e3,t=6e4,p=36e5,e="millisecond",n="second",a="minute",f="hour",c="day",g="week",T="month",C="quarter",v="year",h="date",W="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Q={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(w){var _=["th","st","nd","rd"],x=w%100;return"["+w+(_[(x-20)%10]||_[x]||_[0])+"]"}},L=function(w,_,x){var S=String(w);return!S||S.length>=_?w:""+Array(_+1-S.length).join(x)+w},nt={s:L,z:function(w){var _=-w.utcOffset(),x=Math.abs(_),S=Math.floor(x/60),y=x%60;return(_<=0?"+":"-")+L(S,2,"0")+":"+L(y,2,"0")},m:function w(_,x){if(_.date()1)return w(R[0])}else{var z=_.name;k[z]=_,y=z}return!S&&y&&(ft=y),y||!S&&ft},U=function(w,_){if(B(w))return w.clone();var x=typeof _=="object"?_:{};return x.date=w,x.args=arguments,new ht(x)},E=nt;E.l=$,E.i=B,E.w=function(w,_){return U(w,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var ht=function(){function w(x){this.$L=$(x.locale,null,!0),this.parse(x)}var _=w.prototype;return _.parse=function(x){this.$d=function(S){var y=S.date,D=S.utc;if(y===null)return new Date(NaN);if(E.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var R=y.match(A);if(R){var z=R[2]-1||0,K=(R[7]||"0").substring(0,3);return D?new Date(Date.UTC(R[1],z,R[3]||1,R[4]||0,R[5]||0,R[6]||0,K)):new Date(R[1],z,R[3]||1,R[4]||0,R[5]||0,R[6]||0,K)}}return new Date(y)}(x),this.$x=x.x||{},this.init()},_.init=function(){var x=this.$d;this.$y=x.getFullYear(),this.$M=x.getMonth(),this.$D=x.getDate(),this.$W=x.getDay(),this.$H=x.getHours(),this.$m=x.getMinutes(),this.$s=x.getSeconds(),this.$ms=x.getMilliseconds()},_.$utils=function(){return E},_.isValid=function(){return this.$d.toString()!==W},_.isSame=function(x,S){var y=U(x);return this.startOf(S)<=y&&y<=this.endOf(S)},_.isAfter=function(x,S){return U(x)this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,Bs))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},ke=new rt("MatSnackBarData"),he=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}};var ji={snackBarState:qe("state",[Ei("void, hidden",Qt({transform:"scale(0.8)",opacity:0})),Ei("visible",Qt({transform:"scale(1)",opacity:1})),Ce("* => visible",ae("150ms cubic-bezier(0, 0, 0.2, 1)")),Ce("* => void, * => hidden",ae("75ms cubic-bezier(0.4, 0.0, 1, 1)",Qt({opacity:0})))])},Us=0,$i=(()=>{let t=class extends ur{constructor(e,n,a,f,c){super(),this._ngZone=e,this._elementRef=n,this._changeDetectorRef=a,this._platform=f,this.snackBarConfig=c,this._document=m(Tn),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new Wt,this._onExit=new Wt,this._onEnter=new Wt,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${Us++}`,this.attachDomPortal=g=>{this._assertNotAttached();let T=this._portalOutlet.attachDomPortal(g);return this._afterPortalAttached(),T},c.politeness==="assertive"&&!c.announcementMessage?this._live="assertive":c.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}onAnimationEnd(e){let{fromState:n,toState:a}=e;if((a==="void"&&n!=="void"||a==="hidden")&&this._completeExit(),a==="visible"){let f=this._onEnter;this._ngZone.run(()=>{f.next(),f.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(mt(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){let e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(a=>e.classList.add(a)):e.classList.add(n)),this._exposeToModals()}_exposeToModals(){let e=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a{let n=e.getAttribute("aria-owns");if(n){let a=n.replace(this._liveElementId,"").trim();a.length>0?e.setAttribute("aria-owns",a):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&n){let a=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(a=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),a?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)(Zt(Et),Zt(Go),Zt(ir),Zt(lr),Zt(he))}})(),(()=>{t.\u0275dir=Vo({type:t,viewQuery:function(n,a){if(n&1&&tr(An,7),n&2){let f;Qo(f=er())&&(a._portalOutlet=f.first)}},features:[_n]})})(),i})();function jr(){return new he}var jn=new rt("mat-snack-bar-default-options",{providedIn:"root",factory:jr}),Bi=(()=>{let t=class{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,n,a,f,c,g){this._overlay=e,this._live=n,this._injector=a,this._breakpointObserver=f,this._parentSnackBar=c,this._defaultConfig=g,this._snackBarRefAtThisLevel=null}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",a){let f=N(N({},this._defaultConfig),a);return f.data={message:e,action:n},f.announcementMessage===e&&(f.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,f)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){let a=n&&n.viewContainerRef&&n.viewContainerRef.injector,f=qt.create({parent:a||this._injector,providers:[{provide:he,useValue:n}]}),c=new Ai(this.snackBarContainerComponent,n.viewContainerRef,f),g=e.attach(c);return g.instance.snackBarConfig=n,g.instance}_attach(e,n){let a=N(N(N({},new he),this._defaultConfig),n),f=this._createOverlay(a),c=this._attachSnackBarContainer(f,a),g=new te(c,f);if(e instanceof Jo){let T=new dr(e,null,{$implicit:a.data,snackBarRef:g});g.instance=c.attachTemplatePortal(T)}else{let T=this._createInjector(a,g),C=new Ai(e,void 0,T),v=c.attachComponentPortal(C);g.instance=v.instance}return this._breakpointObserver.observe(pr.HandsetPortrait).pipe(Ft(f.detachments())).subscribe(T=>{f.overlayElement.classList.toggle(this.handsetCssClass,T.matches)}),a.announcementMessage&&c._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(g,a),this._openedSnackBarRef=g,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration))}_createOverlay(e){let n=new hr;n.direction=e.direction;let a=this._overlay.position().global(),f=e.direction==="rtl",c=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!f||e.horizontalPosition==="end"&&f,g=!c&&e.horizontalPosition!=="center";return c?a.left("0"):g?a.right("0"):a.centerHorizontally(),e.verticalPosition==="top"?a.top("0"):a.bottom("0"),n.positionStrategy=a,this._overlay.create(n)}_createInjector(e,n){let a=e&&e.viewContainerRef&&e.viewContainerRef.injector;return qt.create({parent:a||this._injector,providers:[{provide:te,useValue:n},{provide:ke,useValue:e.data}]})}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)(Y(In),Y(Sn),Y(qt),Y(Cn),Y(t,12),Y(jn))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();function zs(i,t){if(i&1){let p=ze();Kt(0,"div",2)(1,"button",3),_e("click",function(){He(p);let n=le();return Ye(n.action())}),pe(2),Jt()()}if(i&2){let p=le();Ct(2),Ve(p.data.action)}}function Vs(i,t){}var Gs=(()=>{let t=class{constructor(e,n){this.snackBarRef=e,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)(Zt(te),Zt(ke))}})(),(()=>{t.\u0275cmp=jt({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(n,a){n&1&&(Kt(0,"span",0),pe(1),Jt(),oe(2,zs,3,1,"div",1)),n&2&&(Ct(1),Ve(a.data.message),Ct(1),re("ngIf",a.hasAction))},dependencies:[Te,En],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0})})(),i})(),Ws=(()=>{let t=class extends $i{_afterPortalAttached(){super._afterPortalAttached(),this.snackBarConfig.horizontalPosition==="center"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),this.snackBarConfig.verticalPosition==="top"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}},i=t;return(()=>{t.\u0275fac=function(){let e;return function(a){return(e||(e=xt(t)))(a||t)}}()})(),(()=>{t.\u0275cmp=jt({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(n,a){n&1&&_i("@state.done",function(c){return a.onAnimationEnd(c)}),n&2&&Ge("@state",a._animationState)},features:[_n],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,a){n&1&&(Kt(0,"div",0),oe(1,Vs,0,0,"ng-template",1),Jt(),$t(2,"div")),n&2&&(Ct(2),Mi("aria-live",a._live)("role",a._role)("id",a._liveElementId))},dependencies:[An],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[ji.snackBarState]}})})(),i})(),Ui=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=vt({type:t})})(),(()=>{t.\u0275inj=gt({imports:[ki,Ii,Xe,Ae,Pi,Pi]})})(),i})(),Br=(()=>{let t=class extends Bi{constructor(e,n,a,f,c,g){super(e,n,a,f,c,g),this.simpleSnackBarComponent=Gs,this.snackBarContainerComponent=Ws,this.handsetCssClass="mat-snack-bar-handset"}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)(Y(In),Y(Sn),Y(qt),Y(Cn),Y(t,12),Y(jn))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:Ui})})(),i})();var Qe="Service workers are disabled or not supported by this browser";function Xs(i){return xi(()=>xn(new Error(i)))}var Ee=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=Xs(Qe);else{let e=bi(t,"controllerchange").pipe(u(()=>t.controller)),n=xi(()=>P(t.controller)),a=Lo(n,e);this.worker=a.pipe(X(C=>!!C)),this.registration=this.worker.pipe(H(()=>t.getRegistration()));let T=bi(t,"message").pipe(u(C=>C.data)).pipe(X(C=>C&&C.type)).pipe(Uo());T.connect(),this.events=T}}postMessage(t,p){return this.worker.pipe(mt(1),Tt(e=>{e.postMessage(N({action:t},p))})).toPromise().then(()=>{})}postMessageWithOperation(t,p,e){let n=this.waitForOperationCompleted(e),a=this.postMessage(t,p);return Promise.all([a,n]).then(([,f])=>f)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let p;return typeof t=="string"?p=e=>e.type===t:p=e=>t.includes(e.type),this.events.pipe(X(p))}nextEventOfType(t){return this.eventsOfType(t).pipe(mt(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(X(p=>p.nonce===t),mt(1),u(p=>{if(p.result!==void 0)return p.result;throw new Error(p.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},zr=(()=>{let t=class{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new Wt,!e.isEnabled){this.messages=ie,this.notificationClicks=ie,this.subscription=ie;return}this.messages=this.sw.eventsOfType("PUSH").pipe(u(a=>a.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(u(a=>a.data)),this.pushManager=this.sw.registration.pipe(u(a=>a.pushManager));let n=this.pushManager.pipe(H(a=>a.getSubscription()));this.subscription=Nt(n,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Qe));let n={userVisibleOnly:!0},a=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),f=new Uint8Array(new ArrayBuffer(a.length));for(let c=0;cc.subscribe(n)),mt(1)).toPromise().then(c=>(this.subscriptionChanges.next(c),c))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Qe));let e=n=>{if(n===null)throw new Error("Not subscribed to push notifications.");return n.unsubscribe().then(a=>{if(!a)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(mt(1),H(e)).toPromise()}decodeBase64(e){return atob(e)}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)(Y(Ee))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),Vr=(()=>{let t=class{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=ie,this.available=ie,this.activated=ie,this.unrecoverable=ie;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(X(n=>n.type==="VERSION_READY"),u(n=>({type:"UPDATE_AVAILABLE",current:n.currentVersion,available:n.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Qe));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Qe));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)(Y(Ee))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Ur=new rt("NGSW_REGISTER_SCRIPT");function qs(i,t,p,e){return()=>{if(!(Si(e)&&"serviceWorker"in navigator&&p.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let n;if(typeof p.registrationStrategy=="function")n=p.registrationStrategy();else{let[f,...c]=(p.registrationStrategy||"registerWhenStable:30000").split(":");switch(f){case"registerImmediately":n=P(null);break;case"registerWithDelay":n=Hr(+c[0]||0);break;case"registerWhenStable":n=c[0]?Nt(Yr(i),Hr(+c[0])):Yr(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${p.registrationStrategy}`)}}i.get(Et).runOutsideAngular(()=>n.pipe(mt(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:p.scope}).catch(f=>console.error("Service worker registration failed with:",f))))}}function Hr(i){return P(null).pipe(Bo(i))}function Yr(i){return i.get(nr).isStable.pipe(X(p=>p))}function Zs(i,t){return new Ee(Si(t)&&i.enabled!==!1?navigator.serviceWorker:void 0)}var Je=class{};function Ks(i,t={}){return Mn([zr,Vr,{provide:Ur,useValue:i},{provide:Je,useValue:t},{provide:Ee,useFactory:Zs,deps:[Je,yi]},{provide:We,useFactory:qs,deps:[qt,Ur,Je,yi],multi:!0}])}var Gr=(()=>{let t=class{static register(e,n={}){return{ngModule:t,providers:[Ks(e,n)]}}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=vt({type:t})})(),(()=>{t.\u0275inj=gt({providers:[zr,Vr]})})(),i})();var en="PERFORM_ACTION",Js="REFRESH",Qr="RESET",ta="ROLLBACK",ea="COMMIT",na="SWEEP",ia="TOGGLE_ACTION",oa="SET_ACTIONS_ACTIVE",ra="JUMP_TO_STATE",aa="JUMP_TO_ACTION",to="IMPORT_STATE",sa="LOCK_CHANGES",ca="PAUSE_RECORDING",Oe=class{constructor(t,p){if(this.action=t,this.timestamp=p,this.type=en,typeof t.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},Hi=class{constructor(){this.type=Js}},Yi=class{constructor(t){this.timestamp=t,this.type=Qr}},zi=class{constructor(t){this.timestamp=t,this.type=ta}},Vi=class{constructor(t){this.timestamp=t,this.type=ea}},Gi=class{constructor(){this.type=na}},Wi=class{constructor(t){this.id=t,this.type=ia}},Wr=class{constructor(t,p,e=!0){this.start=t,this.end=p,this.active=e,this.type=oa}},Xi=class{constructor(t){this.index=t,this.type=ra}},qi=class{constructor(t){this.actionId=t,this.type=aa}},Zi=class{constructor(t){this.nextLiftedState=t,this.type=to}},Ki=class{constructor(t){this.status=t,this.type=sa}},Ji=class{constructor(t){this.status=t,this.type=ca}},Xr=class{constructor(){this.maxAge=!1}},Hn=new rt("@ngrx/store-devtools Options"),qr=new rt("@ngrx/store-devtools Initial Config");function fa(){return null}var Qs="NgRx Store DevTools";function tc(i){let t={maxAge:!1,monitor:fa,actionSanitizer:void 0,stateSanitizer:void 0,name:Qs,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},p=typeof i=="function"?i():i,e=p.logOnly?{pause:!0,export:!0,test:!0}:!1,n=p.features||e||t.features;n.import===!0&&(n.import="custom");let a=Object.assign({},t,{features:n},p);if(a.maxAge&&a.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${a.maxAge}`);return a}function Zr(i,t){return i.filter(p=>t.indexOf(p)<0)}function la(i){let{computedStates:t,currentStateIndex:p}=i;if(p>=t.length){let{state:n}=t[t.length-1];return n}let{state:e}=t[p];return e}function yf(i){return i.actionsById[i.nextActionId-1]}function tn(i){return new Oe(i,+Date.now())}function ec(i,t){return Object.keys(t).reduce((p,e)=>{let n=Number(e);return p[n]=pa(i,t[n],n),p},{})}function pa(i,t,p){return kt(N({},t),{action:i(t.action,p)})}function nc(i,t){return t.map((p,e)=>({state:da(i,p.state,e),error:p.error}))}function da(i,t,p){return i(t,p)}function ua(i){return i.predicate||i.actionsSafelist||i.actionsBlocklist}function ic(i,t,p,e){let n=[],a={},f=[];return i.stagedActionIds.forEach((c,g)=>{let T=i.actionsById[c];T&&(g&&eo(i.computedStates[g],T,t,p,e)||(a[c]=T,n.push(c),f.push(i.computedStates[g])))}),kt(N({},i),{stagedActionIds:n,actionsById:a,computedStates:f})}function eo(i,t,p,e,n){let a=p&&!p(i,t.action),f=e&&!t.action.type.match(e.map(g=>Kr(g)).join("|")),c=n&&t.action.type.match(n.map(g=>Kr(g)).join("|"));return a||f||c}function Kr(i){return i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var Yn=(()=>{let t=class extends On{},i=t;return(()=>{t.\u0275fac=function(){let e;return function(a){return(e||(e=xt(t)))(a||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),$n={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},Qi=new rt("@ngrx/store-devtools Redux Devtools Extension"),ha=(()=>{let _DevtoolsExtension=class{constructor(i,t,p){this.config=t,this.dispatcher=p,this.devtoolsExtension=i,this.createActionStreams()}notify(i,t){if(this.devtoolsExtension)if(i.type===en){if(t.isLocked||t.isPaused)return;let p=la(t);if(ua(this.config)&&eo(p,i,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let e=this.config.stateSanitizer?da(this.config.stateSanitizer,p,t.currentStateIndex):p,n=this.config.actionSanitizer?pa(this.config.actionSanitizer,i,t.nextActionId):i;this.sendToReduxDevtools(()=>this.extensionConnection.send(n,e))}else{let p=kt(N({},t),{stagedActionIds:t.stagedActionIds,actionsById:this.config.actionSanitizer?ec(this.config.actionSanitizer,t.actionsById):t.actionsById,computedStates:this.config.stateSanitizer?nc(this.config.stateSanitizer,t.computedStates):t.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,p,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new vn(i=>{let t=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=t,t.init(),t.subscribe(p=>i.next(p)),t.unsubscribe}):be}createActionStreams(){let i=this.createChangesObservable().pipe(Yo()),t=i.pipe(X(c=>c.type===$n.START)),p=i.pipe(X(c=>c.type===$n.STOP)),e=i.pipe(X(c=>c.type===$n.DISPATCH),u(c=>this.unwrapAction(c.payload)),dt(c=>c.type===to?this.dispatcher.pipe(X(g=>g.type===Ni),No(1e3),$o(1e3),u(()=>c),q(()=>P(c)),mt(1)):P(c))),a=i.pipe(X(c=>c.type===$n.ACTION),u(c=>this.unwrapAction(c.payload))).pipe(Ft(p)),f=e.pipe(Ft(p));this.start$=t.pipe(Ft(p)),this.actions$=this.start$.pipe(H(()=>a)),this.liftedActions$=this.start$.pipe(H(()=>f))}unwrapAction(action){return typeof action=="string"?eval(`(${action})`):action}getExtensionConfig(i){let t={name:i.name,features:i.features,serialize:i.serialize,autoPause:i.autoPause??!1,trace:i.trace??!1,traceLimit:i.traceLimit??75};return i.maxAge!==!1&&(t.maxAge=i.maxAge),t}sendToReduxDevtools(i){try{i()}catch(t){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",t)}}},DevtoolsExtension=_DevtoolsExtension;return(()=>{_DevtoolsExtension.\u0275fac=function(t){return new(t||_DevtoolsExtension)(Y(Qi),Y(Hn),Y(Yn))}})(),(()=>{_DevtoolsExtension.\u0275prov=b({token:_DevtoolsExtension,factory:_DevtoolsExtension.\u0275fac})})(),DevtoolsExtension})(),Un={type:Ri},oc="@ngrx/store-devtools/recompute",rc={type:oc};function ma(i,t,p,e,n){if(e)return{state:p,error:"Interrupted by an error up the chain"};let a=p,f;try{a=i(p,t)}catch(c){f=c.toString(),n.handleError(c)}return{state:a,error:f}}function Bn(i,t,p,e,n,a,f,c,g){if(t>=i.length&&i.length===a.length)return i;let T=i.slice(0,t),C=a.length-(g?1:0);for(let v=t;v-1?A:ma(p,W,I,Q,c);T.push(nt)}return g&&T.push(i[i.length-1]),T}function ac(i,t){return{monitorState:t(void 0,{}),nextActionId:1,actionsById:{0:tn(Un)},stagedActionIds:[0],skippedActionIds:[],committedState:i,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function sc(i,t,p,e,n={}){return a=>(f,c)=>{let{monitorState:g,actionsById:T,nextActionId:C,stagedActionIds:v,skippedActionIds:h,committedState:W,currentStateIndex:A,computedStates:I,isLocked:Q,isPaused:L}=f||t;f||(T=Object.create(T));function nt(B){let $=B,U=v.slice(1,$+1);for(let E=0;EU.indexOf(E)===-1),v=[0,...v.slice($+1)],W=I[$].state,I=I.slice($),A=A>$?A-$:0}function ft(){T={0:tn(Un)},C=1,v=[0],h=[],W=I[A].state,A=0,I=[]}let k=0;switch(c.type){case sa:{Q=c.status,k=1/0;break}case ca:{L=c.status,L?(v=[...v,C],T[C]=new Oe({type:"@ngrx/devtools/pause"},+Date.now()),C++,k=v.length-1,I=I.concat(I[I.length-1]),A===v.length-2&&A++,k=1/0):ft();break}case Qr:{T={0:tn(Un)},C=1,v=[0],h=[],W=i,A=0,I=[];break}case ea:{ft();break}case ta:{T={0:tn(Un)},C=1,v=[0],h=[],A=0,I=[];break}case ia:{let{id:B}=c;h.indexOf(B)===-1?h=[B,...h]:h=h.filter(U=>U!==B),k=v.indexOf(B);break}case oa:{let{start:B,end:$,active:U}=c,E=[];for(let ht=B;ht<$;ht++)E.push(ht);U?h=Zr(h,E):h=[...h,...E],k=v.indexOf(B);break}case ra:{A=c.index,k=1/0;break}case aa:{let B=v.indexOf(c.actionId);B!==-1&&(A=B),k=1/0;break}case na:{v=Zr(v,h),h=[],A=Math.min(A,v.length-1);break}case en:{if(Q)return f||t;if(L||f&&eo(f.computedStates[A],c,n.predicate,n.actionsSafelist,n.actionsBlocklist)){let $=I[I.length-1];I=[...I.slice(0,-1),ma(a,c.action,$.state,$.error,p)],k=1/0;break}n.maxAge&&v.length===n.maxAge&&nt(1),A===v.length-1&&A++;let B=C++;T[B]=c,v=[...v,B],k=v.length-1;break}case to:{({monitorState:g,actionsById:T,nextActionId:C,stagedActionIds:v,skippedActionIds:h,committedState:W,currentStateIndex:A,computedStates:I,isLocked:Q,isPaused:L}=c.nextLiftedState);break}case Ri:{k=0,n.maxAge&&v.length>n.maxAge&&(I=Bn(I,k,a,W,T,v,h,p,L),nt(v.length-n.maxAge),k=1/0);break}case Ni:{if(I.filter($=>$.error).length>0)k=0,n.maxAge&&v.length>n.maxAge&&(I=Bn(I,k,a,W,T,v,h,p,L),nt(v.length-n.maxAge),k=1/0);else{if(!L&&!Q){A===v.length-1&&A++;let $=C++;T[$]=new Oe(c,+Date.now()),v=[...v,$],k=v.length-1,I=Bn(I,k,a,W,T,v,h,p,L)}I=I.map($=>kt(N({},$),{state:a($.state,rc)})),A=v.length-1,n.maxAge&&v.length>n.maxAge&&nt(v.length-n.maxAge),k=1/0}break}default:{k=1/0;break}}return I=Bn(I,k,a,W,T,v,h,p,L),g=e(g,c),{monitorState:g,actionsById:T,nextActionId:C,stagedActionIds:v,skippedActionIds:h,committedState:W,currentStateIndex:A,computedStates:I,isLocked:Q,isPaused:L}}}var Jr=(()=>{let t=class{constructor(e,n,a,f,c,g,T,C){let v=ac(T,C.monitor),h=sc(T,v,g,C.monitor,C),W=Nt(Nt(n.asObservable().pipe(zo(1)),f.actions$).pipe(u(tn)),e,f.liftedActions$).pipe(Ro(Do)),A=a.pipe(u(h)),I=new Po(1),Q=W.pipe(Xt(A),Ho(({state:k},[B,$])=>{let U=$(k,B);return B.type!==en&&ua(C)&&(U=ic(U,C.predicate,C.actionsSafelist,C.actionsBlocklist)),f.notify(B,U),{state:U,action:B}},{state:v,action:null})).subscribe(({state:k,action:B})=>{if(I.next(k),B.type===en){let $=B.action;c.next($)}}),L=f.start$.subscribe(()=>{this.refresh()}),nt=I.asObservable(),ft=nt.pipe(u(la));Object.defineProperty(ft,"state",{value:Mr(ft,{manualCleanup:!0,requireSync:!0})}),this.extensionStartSubscription=L,this.stateSubscription=Q,this.dispatcher=e,this.liftedState=nt,this.state=ft}dispatch(e){this.dispatcher.next(e)}next(e){this.dispatcher.next(e)}error(e){}complete(){}performAction(e){this.dispatch(new Oe(e,+Date.now()))}refresh(){this.dispatch(new Hi)}reset(){this.dispatch(new Yi(+Date.now()))}rollback(){this.dispatch(new zi(+Date.now()))}commit(){this.dispatch(new Vi(+Date.now()))}sweep(){this.dispatch(new Gi)}toggleAction(e){this.dispatch(new Wi(e))}jumpToAction(e){this.dispatch(new qi(e))}jumpToState(e){this.dispatch(new Xi(e))}importState(e){this.dispatch(new Zi(e))}lockChanges(e){this.dispatch(new Ki(e))}pauseRecording(e){this.dispatch(new Ji(e))}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)(Y(Yn),Y(On),Y(Tr),Y(ha),Y(Sr),Y(Wo),Y(_r),Y(Hn))}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),cc=new rt("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function fc(i,t){return!!i||t.monitor!==fa}function lc(){let i="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[i]<"u"?window[i]:null}function pc(i={}){return Mn([ha,Yn,Jr,{provide:qr,useValue:i},{provide:cc,deps:[Qi,Hn],useFactory:fc},{provide:Qi,useFactory:lc},{provide:Hn,deps:[qr],useFactory:tc},{provide:Ar,deps:[Jr],useFactory:dc},{provide:Cr,useExisting:Yn}])}function dc(i){return i.state}var ga=(()=>{let t=class{static instrument(e={}){return{ngModule:t,providers:[pc(e)]}}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=vt({type:t})})(),(()=>{t.\u0275inj=gt({})})(),i})();var zn=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Vn=(()=>{let t=class extends zn{},i=t;return(()=>{t.\u0275fac=function(){let e;return function(a){return(e||(e=xt(t)))(a||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Gn=(()=>{let t=class extends zn{},i=t;return(()=>{t.\u0275fac=function(){let e;return function(a){return(e||(e=xt(t)))(a||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Wn=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var me=new rt("APP_PREPARER");var we=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),nn=class extends At{};var Pe=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Xn=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();function ge(i,t){return new Promise((p,e)=>{t.then(n=>i.run(()=>p(n)),n=>i.run(()=>e(n)))})}var va=(()=>{let t=class{constructor(){this.document=m(Tn)}load(e){return new vn(n=>{let a=this.document.createElement("script");return a.src=e,a.addEventListener("load",()=>{n.next(),n.complete()}),a.addEventListener("error",f=>{n.error(f.error)}),this.document.head.appendChild(a),()=>a.remove()})}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})();var De=new rt("GOOGLE_APIS",{providedIn:"root",factory:()=>{let i=m(va),t=m(Et);return _t([i.load("https://apis.google.com/js/api.js").pipe(dt(()=>{let p=new Promise(e=>gapi.load("client",e));return ge(t,p)}),dt(()=>{let p=gapi.client.init({discoveryDocs:["https://www.googleapis.com/discovery/v1/apis/gmail/v1/rest","https://www.googleapis.com/discovery/v1/apis/people/v1/rest"]});return ge(t,p)})),i.load("https://accounts.google.com/gsi/client")]).pipe(Tt(()=>Et.assertInAngularZone()),u(()=>({gmail:gapi.client.gmail,people:gapi.client.people,oauth2:google.accounts.oauth2})),Me(1))}});var qn=new rt("GOOGLE_CLIENT_ID");var uc=["https://mail.google.com/","https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/contacts.readonly","https://www.googleapis.com/auth/contacts.other.readonly","https://www.googleapis.com/auth/directory.readonly"],xa=(()=>{let t=class{constructor(){this.zone=m(Et),this.apis$=m(De),this.clientId=m(qn),this.tokenClient$=this.apis$.pipe(u(e=>e.oauth2.initTokenClient({client_id:this.clientId,scope:uc.join(" "),prompt:"",callback:n=>this.tokenClientRespond.next(n),error_callback:n=>this.tokenClientError.next(n)})),Me(1)),this.tokenClientRespond=new Ci,this.tokenClientError=new Ci}requestAuthorization(e){return this.tokenClient$.pipe(Tt(n=>n.requestAccessToken({hint:e})),H(()=>Fo(this.tokenClientRespond.pipe(u(n=>({token:n.access_token,issuedAt:new Date,lifespan:+n.expires_in}))),this.tokenClientError.pipe(u(()=>null))).pipe(bn())))}revokeAuthorization(e){return this.apis$.pipe(u(n=>n.oauth2.revoke),u(n=>new Promise(a=>n(e.token,a))),H(n=>ge(this.zone,n)))}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();function at(i){let t=m(De),p=m(Et),e=t.pipe(u(a=>i(a)));return(...a)=>e.pipe(dt(f=>xe(this,null,function*(){let c=f(...a);return(yield ge(p,c)).result})),q(f=>xn(()=>new io(f))))}var no=class extends At{},io=class extends no{constructor(t){let{status:p,result:e}=t;super(`[${p}] -${JSON.stringify(e,null,2)}`),this.response=t}isBadRequest(){return this.response.status===400}isUnauthorized(){return this.response.status===401}isPermissionDenied(){return this.response.status===403}isNotFound(){return this.response.status===404}isQuotaExceeded(){return this.response.status===429}};var Bt="names,photos,emailAddresses",on=["READ_SOURCE_TYPE_CONTACT","READ_SOURCE_TYPE_PROFILE","READ_SOURCE_TYPE_DOMAIN_CONTACT"],rn=["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE","DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT"];function Kn(i,t){for(let p of t){let e=i,n=p.split(".");for(let[a,f]of n.entries())if(e=e[f],e==null){let c=n.slice(0,a+1).join(".");throw new Zn(p,c,e)}}return i}function st(i,t){let p=i,e=t.split(".");for(let[n,a]of e.entries())if(p=p[a],p==null){let f=e.slice(0,n+1).join(".");throw new Zn(t,f,p)}return p}var Zn=class extends At{constructor(t,p,e){let n=`When asserting path "${t}", "${p}" is "${e}"`;super(n)}};var Jn=(()=>{let t=class{resolvePerson(e){let{resourceName:n,names:a,photos:f,emailAddresses:c}=e,g=n?.split("/").pop();if(!g){let h="Failed to parse person resource name";throw new oo(h)}let T=a?.find(h=>h.metadata?.primary)?.displayName,C=f?.find(h=>h.metadata?.primary),v=c?.find(h=>h.metadata?.primary)?.value;return N(N(N({id:g},T&&{name:T}),v&&{email:v}),C&&{avatarUrl:C.url})}resolveFullPerson(e){let n=this.resolvePerson(e);return Kn(n,["email"])}resolveFullPersonOrNull(e){try{return this.resolveFullPerson(e)}catch{return null}}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})(),oo=class extends At{};var ba=(()=>{let t=class{constructor(){this.personResolver=m(Jn),this.peopleGetApi=at(e=>e.people.people.get),this.contactListApi=at(e=>e.people.people.connections.list),this.dirListApi=at(e=>e.people.people.listDirectoryPeople),this.otherContactListApi=at(e=>e.people.otherContacts.list)}loadContacts(){return _t([this.contactListApi({resourceName:"people/me",personFields:Bt,sources:on}).pipe(u(e=>e.connections??[])),this.otherContactListApi({readMask:Bt}).pipe(u(e=>e.otherContacts??[])),this.dirListApi({readMask:Bt,sources:rn}).pipe(u(e=>e.people??[]),q(()=>P([])))]).pipe(u(e=>e.flat()),u(e=>e.flatMap(n=>this.personResolver.resolveFullPersonOrNull(n)??[])))}loadContact(e){return this.peopleGetApi({resourceName:`people/${e}`,personFields:Bt}).pipe(u(n=>this.personResolver.resolveFullPerson(n)))}loadUser(){return this.loadContact("me")}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Qn=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),ya=(()=>{let t=class{aggregate(e){return JSON.stringify(e)}separate(e){return JSON.parse(e)}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();function Ma(){return m(Qn)}var _a=(()=>{let t=class{constructor(){this.personResolver=m(Jn),this.tokenAggregator=Ma(),this.contactListApi=at(e=>e.people.people.connections.list),this.dirListApi=at(e=>e.people.people.listDirectoryPeople),this.otherContactListApi=at(e=>e.people.otherContacts.list)}obtainSyncToken(){return _t([this.obtainContactSyncToken(),this.obtainOtherContactSyncToken(),this.obtainDirectorySyncToken()]).pipe(u(([e,n,a])=>this.tokenAggregator.aggregate({contactSyncToken:e,otherContactSyncToken:n,directorySyncToken:a})))}obtainContactSyncToken(e){return this.contactListApi({resourceName:"people/me",personFields:Bt,sources:on,requestSyncToken:!0,pageToken:e,fields:"nextPageToken,nextSyncToken"}).pipe(H(({nextPageToken:n,nextSyncToken:a})=>{if(a)return P(a);if(n)return this.obtainContactSyncToken(n);throw new nn("Invalid response")}))}obtainOtherContactSyncToken(e){return this.otherContactListApi({readMask:Bt,requestSyncToken:!0,pageToken:e,fields:"nextPageToken,nextSyncToken"}).pipe(H(({nextPageToken:n,nextSyncToken:a})=>{if(a)return P(a);if(n)return this.obtainOtherContactSyncToken(n);throw new nn("Invalid response")}))}obtainDirectorySyncToken(){return this.dirListApi({readMask:Bt,sources:rn,requestSyncToken:!0,pageSize:10,fields:"nextSyncToken"}).pipe(u(e=>st(e,"nextSyncToken")),q(()=>P(null)))}syncChanges(e){let n=this.tokenAggregator.separate(e),a=Bt+",metadata";return _t([this.contactListApi({resourceName:"people/me",personFields:a,sources:on,syncToken:n.contactSyncToken,requestSyncToken:!0}),this.otherContactListApi({readMask:a,syncToken:n.otherContactSyncToken,requestSyncToken:!0}),n.directorySyncToken?this.dirListApi({readMask:a,sources:rn,syncToken:n.directorySyncToken,requestSyncToken:!0}).pipe(q(()=>P(null))):P(null)]).pipe(u(([f,c,g])=>({changes:[f.connections??[],c.otherContacts??[],g?.people??[]].flat().map(T=>this.resolvePersonIntoSyncChange(T)),syncToken:this.tokenAggregator.aggregate({contactSyncToken:st(f,"nextSyncToken"),otherContactSyncToken:st(c,"nextSyncToken"),directorySyncToken:g?.nextSyncToken??null})})))}resolvePersonIntoSyncChange(e){if(e.metadata?.deleted)return{type:"deletion",id:this.personResolver.resolvePerson(e).id};let n=this.personResolver.resolveFullPerson(e);return{type:"creation-or-update",id:n.id,payload:n}}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Ia=vi(Aa());var ni=new rt("GMAIL_SYSTEM_MAILBOXES",{providedIn:"root",factory:()=>[{id:"INBOX",name:wn.Inbox},{id:"TRASH",name:wn.Trash},{id:"SPAM",name:wn.Spam}]});var ka=(()=>{let t=class{constructor(){this.systemMailboxes=m(ni)}parseMessage(e){let n=(0,Ia.default)(e);return N(N(N(N(N(N(N(N({id:n.id},n.headers?.subject&&{subject:n.headers?.subject}),n.headers?.from&&{sender:this.parseEmailAddressString(n.headers.from)}),n.headers?.to&&{recipients:n.headers.to.split(",").map(a=>a.trim()).map(a=>this.parseEmailAddressString(a))}),n.internalDate&&{sentAt:new Date(Number(n.internalDate))}),n.snippet&&{snippet:n.snippet}),n.textPlain&&{content:n.textPlain,contentType:"plain-text"}),n.textHtml&&{content:n.textHtml,contentType:"html"}),n.labelIds&&{isStarred:n.labelIds.includes("STARRED"),isRead:!n.labelIds.includes("UNREAD"),type:this.parseLabelIdsIntoMailType(n.labelIds),mailbox:this.parseLabelIdsIntoMailboxId(n.labelIds)??void 0})}parseEmailAddressString(e){let n=e.match(/^(.+?)\s+<(.+?)>$/u);if(!n)return{email:e};let[,a,f]=n;return{name:a,email:f}}parseLabelIdsIntoMailType(e){return e.includes("SENT")?"sent":e.includes("DRAFT")?"draft":"received"}parseLabelIdsIntoMailboxId(e){let n=this.systemMailboxes.map(f=>f.id);return e.find(f=>n.includes(f)||f.startsWith("Label_"))??null}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})();var ii=(()=>{let t=class{constructor(){this.messageParser=m(ka)}resolveMessage(e){let c=this.messageParser.parseMessage(e),{sender:n,recipients:a}=c,f=Oo(c,["sender","recipients"]);return N(N(N({},f),n&&{sender:n}),a&&{recipients:a})}resolveFullMessage(e){let n=this.resolveMessage(e);return Kn(n,["sender","sentAt","content","contentType","isStarred","isRead","type"])}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})();var Ea=(()=>{let t=class{constructor(){this.messageResolver=m(ii),this.messageListApi=at(e=>e.gmail.users.messages.list),this.messageGetApi=at(e=>e.gmail.users.messages.get),this.messageModifyApi=at(e=>e.gmail.users.messages.modify),this.messageDeleteApi=at(e=>e.gmail.users.messages.delete)}loadMailPage(e){return this.messageListApi({userId:"me",pageToken:e,includeSpamTrash:!0}).pipe(H(n=>{let a=n.messages??[];return _t(a.map(c=>this.loadMail(st(c,"id")))).pipe(u(c=>({results:c,nextPageToken:n.nextPageToken})))}))}loadMail(e){return this.messageGetApi({userId:"me",id:e}).pipe(u(n=>this.messageResolver.resolveFullMessage(n)))}markMailAsStarred(e){return this.updateMail(e,{addLabelIds:["STARRED"]})}markMailAsNotStarred(e){return this.updateMail(e,{removeLabelIds:["STARRED"]})}markMailAsRead(e){return this.updateMail(e,{removeLabelIds:["UNREAD"]})}markMailAsUnread(e){return this.updateMail(e,{addLabelIds:["UNREAD"]})}moveMail(e,n){return this.updateMail(e,{removeLabelIds:e.mailbox?[e.mailbox]:[],addLabelIds:n?[n.id]:[]})}deleteMail(e){return this.messageDeleteApi({userId:"me",id:e.id}).pipe(u(()=>{}))}updateMail(e,n){return this.messageModifyApi({userId:"me",id:e.id},n).pipe(u(a=>this.messageResolver.resolveMessage(a)),u(a=>N(N({},e),a)))}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Oa=(()=>{let t=class{constructor(){this.messageResolver=m(ii),this.mailService=m(Pe),this.messageGetApi=at(e=>e.gmail.users.messages.get),this.messageListApi=at(e=>e.gmail.users.messages.list),this.historyListApi=at(e=>e.gmail.users.history.list)}obtainSyncToken(){return this.messageListApi({userId:"me",maxResults:1,includeSpamTrash:!0}).pipe(u(e=>e.messages??[]),u(e=>st(e[0],"id")),H(e=>this.messageGetApi({userId:"me",id:e,fields:"historyId"})),u(e=>st(e,"historyId")))}syncChanges(e){return this.loadHistoryPages(e)}loadHistoryPages(e,n){return this.historyListApi({userId:"me",startHistoryId:e,pageToken:n}).pipe(H(a=>{let c=(a.history??[]).map(C=>this.resolveHistory(C)),g=st(a,"historyId");return c.length?_t(c).pipe(u(C=>({changes:C.flat(),syncToken:g})),H(C=>a.nextPageToken?this.loadHistoryPages(e,a.nextPageToken).pipe(u(v=>({changes:[...C.changes,...v.changes],syncToken:C.syncToken}))):P(C))):P({changes:[],syncToken:g})}))}resolveHistory(e){let n=[];return[...e.labelsAdded??[],...e.labelsRemoved??[]].forEach(a=>{let f=st(a,"message"),c=this.messageResolver.resolveMessage(f);n.push(P({type:"update",id:c.id,payload:c}))}),e.messagesAdded?.forEach(a=>{let f=st(a,"message"),c=this.mailService.loadMail(st(f,"id"));n.push(c.pipe(u(g=>({type:"creation",id:g.id,payload:g})),q(()=>P(null))))}),e.messagesDeleted?.forEach(a=>{let f=st(a,"message");n.push(P({type:"deletion",id:st(f,"id")}))}),n.length?_t(n).pipe(u(a=>a.filter(f=>!!f))):P([])}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var wa=(()=>{let t=class{constructor(){this.systemMailboxes=m(ni),this.labelListApi=at(e=>e.gmail.users.labels.list)}loadMailboxes(){return this.labelListApi({userId:"me"}).pipe(u(e=>st(e,"labels")),u(e=>this.parseLabels(e)),u(e=>[...this.systemMailboxes,...e]))}parseLabels(e){return e.map(a=>this.parseLabel(a)).filter(a=>!!a)}parseLabel(e){return e.type==="system"?null:{id:st(e,"id"),name:st(e,"name")}}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var ro=(()=>{let t=class{static configure(e){return{ngModule:t,providers:[{provide:qn,useValue:e.clientId}]}}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=vt({type:t})})(),(()=>{t.\u0275inj=gt({providers:[{provide:Qn,useClass:ya},{provide:me,useFactory:()=>{let e=m(De);return()=>e},multi:!0},{provide:Wn,useClass:xa},{provide:we,useClass:ba},{provide:Vn,useClass:_a},{provide:Pe,useClass:Ea},{provide:Gn,useClass:Oa},{provide:Xn,useClass:wa}]})})(),i})();var Re={production:!0,backend:ro.configure({clientId:"126727577801-phhoo29ubi9s8t4hmo9n456fduh8du74.apps.googleusercontent.com"})};var Pa=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=jt({type:t,selectors:[["rpl-launch-screen"]],decls:2,vars:0,consts:[[1,"logo"],[1,"dot-pulse"]],template:function(n,a){n&1&&$t(0,"rpl-logo",0)(1,"div",1)},dependencies:[Dn],styles:['@charset "UTF-8";.dot-elastic[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-elastic 1s infinite linear}.dot-elastic[_ngcontent-%COMP%]:before, .dot-elastic[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-elastic[_ngcontent-%COMP%]:before{left:-15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-elastic-before 1s infinite linear}.dot-elastic[_ngcontent-%COMP%]:after{left:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-elastic-after 1s infinite linear}@keyframes _ngcontent-%COMP%_dot-elastic-before{0%{transform:scale(1)}25%{transform:scaleY(1.5)}50%{transform:scaleY(.67)}75%{transform:scale(1)}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_dot-elastic{0%{transform:scale(1)}25%{transform:scale(1)}50%{transform:scaleY(1.5)}75%{transform:scale(1)}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_dot-elastic-after{0%{transform:scale(1)}25%{transform:scale(1)}50%{transform:scaleY(.67)}75%{transform:scaleY(1.5)}to{transform:scale(1)}}.dot-pulse[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9999px 0 0 -5px;animation:_ngcontent-%COMP%_dot-pulse 1.5s infinite linear;animation-delay:.25s}.dot-pulse[_ngcontent-%COMP%]:before, .dot-pulse[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-pulse[_ngcontent-%COMP%]:before{box-shadow:9984px 0 0 -5px;animation:_ngcontent-%COMP%_dot-pulse-before 1.5s infinite linear;animation-delay:0s}.dot-pulse[_ngcontent-%COMP%]:after{box-shadow:10014px 0 0 -5px;animation:_ngcontent-%COMP%_dot-pulse-after 1.5s infinite linear;animation-delay:.5s}@keyframes _ngcontent-%COMP%_dot-pulse-before{0%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}60%,to{box-shadow:9984px 0 0 -5px}}@keyframes _ngcontent-%COMP%_dot-pulse{0%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}60%,to{box-shadow:9999px 0 0 -5px}}@keyframes _ngcontent-%COMP%_dot-pulse-after{0%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}60%,to{box-shadow:10014px 0 0 -5px}}.dot-flashing[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-flashing 1s infinite linear alternate;animation-delay:.5s}.dot-flashing[_ngcontent-%COMP%]:before, .dot-flashing[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-flashing[_ngcontent-%COMP%]:before{left:-15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-flashing 1s infinite alternate;animation-delay:0s}.dot-flashing[_ngcontent-%COMP%]:after{left:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-flashing 1s infinite alternate;animation-delay:1s}@keyframes _ngcontent-%COMP%_dot-flashing{0%{background-color:#fff}50%,to{background-color:#fff3}}.dot-collision[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-collision[_ngcontent-%COMP%]:before, .dot-collision[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-collision[_ngcontent-%COMP%]:before{left:-10px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-collision-before 2s infinite ease-in}.dot-collision[_ngcontent-%COMP%]:after{left:10px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-collision-after 2s infinite ease-in;animation-delay:1s}@keyframes _ngcontent-%COMP%_dot-collision-before{0%,50%,75%,to{transform:translate(0)}25%{transform:translate(-15px)}}@keyframes _ngcontent-%COMP%_dot-collision-after{0%,50%,75%,to{transform:translate(0)}25%{transform:translate(15px)}}.dot-revolution[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-revolution[_ngcontent-%COMP%]:before, .dot-revolution[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute}.dot-revolution[_ngcontent-%COMP%]:before{left:0;top:-15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform-origin:5px 20px;animation:_ngcontent-%COMP%_dot-revolution 1.4s linear infinite}.dot-revolution[_ngcontent-%COMP%]:after{left:0;top:-30px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform-origin:5px 35px;animation:_ngcontent-%COMP%_dot-revolution 1s linear infinite}@keyframes _ngcontent-%COMP%_dot-revolution{0%{transform:rotate(0) translateZ(0)}to{transform:rotate(360deg) translateZ(0)}}.dot-carousel[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-carousel 1.5s infinite linear}@keyframes _ngcontent-%COMP%_dot-carousel{0%{box-shadow:9984px 0 0 -1px #ffffffde,9999px 0 0 1px #ffffffde,10014px 0 0 -1px #ffffffde}50%{box-shadow:10014px 0 0 -1px #ffffffde,9984px 0 0 -1px #ffffffde,9999px 0 0 1px #ffffffde}to{box-shadow:9999px 0 0 1px #ffffffde,10014px 0 0 -1px #ffffffde,9984px 0 0 -1px #ffffffde}}.dot-typing[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-typing 1.5s infinite linear}@keyframes _ngcontent-%COMP%_dot-typing{0%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}16.667%{box-shadow:9984px -10px #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}33.333%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}50%{box-shadow:9984px 0 #ffffffde,9999px -10px #ffffffde,10014px 0 #ffffffde}66.667%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}83.333%{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px -10px #ffffffde}to{box-shadow:9984px 0 #ffffffde,9999px 0 #ffffffde,10014px 0 #ffffffde}}.dot-windmill[_ngcontent-%COMP%]{position:relative;top:-10px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform-origin:5px 15px;animation:_ngcontent-%COMP%_dot-windmill 2s infinite linear}.dot-windmill[_ngcontent-%COMP%]:before, .dot-windmill[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute}.dot-windmill[_ngcontent-%COMP%]:before{left:-8.66254px;top:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-windmill[_ngcontent-%COMP%]:after{left:8.66254px;top:15px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}@keyframes _ngcontent-%COMP%_dot-windmill{0%{transform:rotate(0) translateZ(0)}to{transform:rotate(720deg) translateZ(0)}}.dot-bricks[_ngcontent-%COMP%]{position:relative;top:8px;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-bricks 2s infinite ease}@keyframes _ngcontent-%COMP%_dot-bricks{0%{box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde}8.333%{box-shadow:10007px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde}16.667%{box-shadow:10007px -16px #ffffffde,9991px -16px #ffffffde,10007px 0 #ffffffde}25%{box-shadow:10007px -16px #ffffffde,9991px -16px #ffffffde,9991px 0 #ffffffde}33.333%{box-shadow:10007px 0 #ffffffde,9991px -16px #ffffffde,9991px 0 #ffffffde}41.667%{box-shadow:10007px 0 #ffffffde,10007px -16px #ffffffde,9991px 0 #ffffffde}50%{box-shadow:10007px 0 #ffffffde,10007px -16px #ffffffde,9991px -16px #ffffffde}58.333%{box-shadow:9991px 0 #ffffffde,10007px -16px #ffffffde,9991px -16px #ffffffde}66.666%{box-shadow:9991px 0 #ffffffde,10007px 0 #ffffffde,9991px -16px #ffffffde}75%{box-shadow:9991px 0 #ffffffde,10007px 0 #ffffffde,10007px -16px #ffffffde}83.333%{box-shadow:9991px -16px #ffffffde,10007px 0 #ffffffde,10007px -16px #ffffffde}91.667%{box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px -16px #ffffffde}to{box-shadow:9991px -16px #ffffffde,9991px 0 #ffffffde,10007px 0 #ffffffde}}.dot-floating[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-floating 3s infinite cubic-bezier(.15,.6,.9,.1)}.dot-floating[_ngcontent-%COMP%]:before, .dot-floating[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-floating[_ngcontent-%COMP%]:before{left:-12px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-floating-before 3s infinite ease-in-out}.dot-floating[_ngcontent-%COMP%]:after{left:-24px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-floating-after 3s infinite cubic-bezier(.4,0,1,1)}@keyframes _ngcontent-%COMP%_dot-floating{0%{left:calc(-50% - 5px)}75%{left:calc(50% + 105px)}to{left:calc(50% + 105px)}}@keyframes _ngcontent-%COMP%_dot-floating-before{0%{left:-50px}50%{left:-12px}75%{left:-50px}to{left:-50px}}@keyframes _ngcontent-%COMP%_dot-floating-after{0%{left:-100px}50%{left:-24px}75%{left:-100px}to{left:-100px}}.dot-fire[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9999px 22.5px 0 -5px #ffffffde;animation:_ngcontent-%COMP%_dot-fire 1.5s infinite linear;animation-delay:-.85s}.dot-fire[_ngcontent-%COMP%]:before, .dot-fire[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde}.dot-fire[_ngcontent-%COMP%]:before{box-shadow:9999px 22.5px 0 -5px #ffffffde;animation:_ngcontent-%COMP%_dot-fire 1.5s infinite linear;animation-delay:-1.85s}.dot-fire[_ngcontent-%COMP%]:after{box-shadow:9999px 22.5px 0 -5px #ffffffde;animation:_ngcontent-%COMP%_dot-fire 1.5s infinite linear;animation-delay:-2.85s}@keyframes _ngcontent-%COMP%_dot-fire{1%{box-shadow:9999px 22.5px 0 -5px #ffffffde}50%{box-shadow:9999px -5.625px 0 2px #ffffffde}to{box-shadow:9999px -22.5px 0 -5px #ffffffde}}.dot-spin[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:transparent;color:transparent;box-shadow:0 -18px #fff,12.727926px -12.727926px #fff,18px 0 #fff,12.727926px 12.727926px #fff0,0 18px #fff0,-12.727926px 12.727926px #fff0,-18px 0 #fff0,-12.727926px -12.727926px #fff0;animation:_ngcontent-%COMP%_dot-spin 1.5s infinite linear}@keyframes _ngcontent-%COMP%_dot-spin{0%,to{box-shadow:0 -18px #fff,12.727926px -12.727926px #fff,18px 0 #fff,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}12.5%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px #fff,18px 0 #fff,12.727926px 12.727926px #fff,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}25%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 #fff,12.727926px 12.727926px #fff,0 18px #fff,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}37.5%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px #fff,0 18px #fff,-12.727926px 12.727926px #fff,-18px 0 0 -5px #fff0,-12.727926px -12.727926px 0 -5px #fff0}50%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px #fff,-12.727926px 12.727926px #fff,-18px 0 #fff,-12.727926px -12.727926px 0 -5px #fff0}62.5%{box-shadow:0 -18px 0 -5px #fff0,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px #fff,-18px 0 #fff,-12.727926px -12.727926px #fff}75%{box-shadow:0 -18px #fff,12.727926px -12.727926px 0 -5px #fff0,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 #fff,-12.727926px -12.727926px #fff}87.5%{box-shadow:0 -18px #fff,12.727926px -12.727926px #fff,18px 0 0 -5px #fff0,12.727926px 12.727926px 0 -5px #fff0,0 18px 0 -5px #fff0,-12.727926px 12.727926px 0 -5px #fff0,-18px 0 0 -5px #fff0,-12.727926px -12.727926px #fff}}.dot-falling[_ngcontent-%COMP%]{position:relative;left:-9999px;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;box-shadow:9999px 0 #ffffffde;animation:_ngcontent-%COMP%_dot-falling 1s infinite linear;animation-delay:.1s}.dot-falling[_ngcontent-%COMP%]:before, .dot-falling[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-falling[_ngcontent-%COMP%]:before{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-falling-before 1s infinite linear;animation-delay:0s}.dot-falling[_ngcontent-%COMP%]:after{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-falling-after 1s infinite linear;animation-delay:.2s}@keyframes _ngcontent-%COMP%_dot-falling{0%{box-shadow:9999px -15px #fff0}25%,50%,75%{box-shadow:9999px 0 #fff}to{box-shadow:9999px 15px #fff0}}@keyframes _ngcontent-%COMP%_dot-falling-before{0%{box-shadow:9984px -15px #fff0}25%,50%,75%{box-shadow:9984px 0 #fff}to{box-shadow:9984px 15px #fff0}}@keyframes _ngcontent-%COMP%_dot-falling-after{0%{box-shadow:10014px -15px #fff0}25%,50%,75%{box-shadow:10014px 0 #fff}to{box-shadow:10014px 15px #fff0}}.dot-stretching[_ngcontent-%COMP%]{position:relative;width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;transform:scale(1.25);animation:_ngcontent-%COMP%_dot-stretching 2s infinite ease-in}.dot-stretching[_ngcontent-%COMP%]:before, .dot-stretching[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0}.dot-stretching[_ngcontent-%COMP%]:before{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-stretching-before 2s infinite ease-in}.dot-stretching[_ngcontent-%COMP%]:after{width:10px;height:10px;border-radius:5px;background-color:#ffffffde;color:#ffffffde;animation:_ngcontent-%COMP%_dot-stretching-after 2s infinite ease-in}@keyframes _ngcontent-%COMP%_dot-stretching{0%{transform:scale(1.25)}50%,60%{transform:scale(.8)}to{transform:scale(1.25)}}@keyframes _ngcontent-%COMP%_dot-stretching-before{0%{transform:translate(0) scale(.7)}50%,60%{transform:translate(-20px) scale(1)}to{transform:translate(0) scale(.7)}}@keyframes _ngcontent-%COMP%_dot-stretching-after{0%{transform:translate(0) scale(.7)}50%,60%{transform:translate(20px) scale(1)}to{transform:translate(0) scale(.7)}}.dot-gathering[_ngcontent-%COMP%]{position:relative;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;margin:-1px 0;filter:blur(2px)}.dot-gathering[_ngcontent-%COMP%]:before, .dot-gathering[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;left:-50px;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;opacity:0;filter:blur(2px);animation:_ngcontent-%COMP%_dot-gathering 2s infinite ease-in}.dot-gathering[_ngcontent-%COMP%]:after{animation-delay:.5s}@keyframes _ngcontent-%COMP%_dot-gathering{0%{opacity:0;transform:translate(0)}35%,60%{opacity:1;transform:translate(50px)}to{opacity:0;transform:translate(100px)}}.dot-hourglass[_ngcontent-%COMP%]{position:relative;top:-15px;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;margin:-1px 0;filter:blur(2px);transform-origin:5px 20px;animation:_ngcontent-%COMP%_dot-hourglass 2.4s infinite ease-in-out;animation-delay:.6s}.dot-hourglass[_ngcontent-%COMP%]:before, .dot-hourglass[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;left:0;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;filter:blur(2px)}.dot-hourglass[_ngcontent-%COMP%]:before{top:30px}.dot-hourglass[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_dot-hourglass-after 2.4s infinite cubic-bezier(.65,.05,.36,1)}@keyframes _ngcontent-%COMP%_dot-hourglass{0%{transform:rotate(0)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(360deg)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_dot-hourglass-after{0%{transform:translateY(0)}25%{transform:translateY(30px)}50%{transform:translateY(30px)}75%{transform:translateY(0)}to{transform:translateY(0)}}.dot-overtaking[_ngcontent-%COMP%]{position:relative;width:12px;height:12px;border-radius:6px;background-color:transparent;color:#000;margin:-1px 0;box-shadow:0 -20px;filter:blur(2px);animation:_ngcontent-%COMP%_dot-overtaking 2s infinite cubic-bezier(.2,.6,.8,.2)}.dot-overtaking[_ngcontent-%COMP%]:before, .dot-overtaking[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;left:0;width:12px;height:12px;border-radius:6px;background-color:transparent;color:#000;box-shadow:0 -20px;filter:blur(2px)}.dot-overtaking[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_dot-overtaking 2s infinite cubic-bezier(.2,.6,.8,.2);animation-delay:.3s}.dot-overtaking[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_dot-overtaking 1.5s infinite cubic-bezier(.2,.6,.8,.2);animation-delay:.6s}@keyframes _ngcontent-%COMP%_dot-overtaking{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dot-shuttle[_ngcontent-%COMP%]{position:relative;left:-15px;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;margin:-1px 0;filter:blur(2px)}.dot-shuttle[_ngcontent-%COMP%]:before, .dot-shuttle[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;width:12px;height:12px;border-radius:6px;background-color:#000;color:transparent;filter:blur(2px)}.dot-shuttle[_ngcontent-%COMP%]:before{left:15px;animation:_ngcontent-%COMP%_dot-shuttle 2s infinite ease-out}.dot-shuttle[_ngcontent-%COMP%]:after{left:30px}@keyframes _ngcontent-%COMP%_dot-shuttle{0%,50%,to{transform:translate(0)}25%{transform:translate(-45px)}75%{transform:translate(45px)}}.dot-bouncing[_ngcontent-%COMP%]{position:relative;height:10px;font-size:10px}.dot-bouncing[_ngcontent-%COMP%]:before{content:"\\26bd\\1f3c0\\1f3d0";display:inline-block;position:relative;animation:_ngcontent-%COMP%_dot-bouncing 1s infinite}@keyframes _ngcontent-%COMP%_dot-bouncing{0%{top:-20px;animation-timing-function:ease-in}34%{transform:scale(1)}35%{top:20px;animation-timing-function:ease-out;transform:scale(1.5,.5)}45%{transform:scale(1)}90%{top:-20px}to{top:-20px}}.dot-rolling[_ngcontent-%COMP%]{position:relative;height:10px;font-size:10px}.dot-rolling[_ngcontent-%COMP%]:before{content:"\\26bd";display:inline-block;position:relative;transform:translate(-25px);animation:_ngcontent-%COMP%_dot-rolling 3s infinite}@keyframes _ngcontent-%COMP%_dot-rolling{0%{content:"\\26bd";transform:translate(-25px) rotate(0)}16.667%{content:"\\26bd";transform:translate(25px) rotate(720deg)}33.333%{content:"\\26bd";transform:translate(-25px) rotate(0)}34.333%{content:"\\1f3c0";transform:translate(-25px) rotate(0)}50%{content:"\\1f3c0";transform:translate(25px) rotate(720deg)}66.667%{content:"\\1f3c0";transform:translate(-25px) rotate(0)}67.667%{content:"\\1f3d0";transform:translate(-25px) rotate(0)}83.333%{content:"\\1f3d0";transform:translate(25px) rotate(720deg)}to{content:"\\1f3d0";transform:translate(-25px) rotate(0)}}[_nghost-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding-bottom:8vh;color:#ffffffde;background-color:#344955}.logo[_ngcontent-%COMP%]{width:96px}'],changeDetection:0})})(),i})();function vc(i,t){i&1&&$t(0,"rpl-launch-screen",1),i&2&&re("@launchScreen",void 0)}var Da=(()=>{let t=class{constructor(){this.animationId=Nr(),this.breakpoints=Pn(),this.router=m(Rr),this.store=m(bt),this.preparers=[...m(me),()=>this.router.events.pipe(X(e=>e instanceof Or),bn()),()=>ne(500)],this.prepared$=Nt(...this.preparers.map(e=>e()??P(null))).pipe(jo(this.preparers.length),u(()=>!0),mt(1),yn(!1),Me(1))}get breakpointsClassBindings(){return this.breakpoints()}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=jt({type:t,selectors:[["rpl-root"]],hostVars:3,hostBindings:function(n,a){n&2&&(Ge("@routes",a.animationId()),Xo(a.breakpointsClassBindings))},decls:3,vars:3,consts:[["class","launch-screen",4,"ngIf"],[1,"launch-screen"]],template:function(n,a){n&1&&($t(0,"router-outlet"),oe(1,vc,1,1,"rpl-launch-screen",0),Zo(2,"async")),n&2&&(Ct(1),re("ngIf",!Ko(2,1,a.prepared$)))},dependencies:[Te,wr,Pa,or],styles:['[_nghost-%COMP%]{display:grid;height:100%;background-color:#edf0f2;column-gap:8px;grid-template-rows:100%;grid-template-columns:[margin-left] 0px repeat(4,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 .";overflow:hidden}.tablet-portrait[_nghost-%COMP%]{column-gap:32px;grid-template-columns:[margin-left] 0px repeat(8,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 ."}.tablet-landscape[_nghost-%COMP%]{grid-template-columns:[margin-left] 0px repeat(12,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 col-9 col-10 col-11 col-12 ."}.launch-screen[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;z-index:1000}'],data:{animation:[qe("routes",[Ce("auth => main",[mr([Se(":leave [data-route-animation-target]",[ae("50ms linear"),Qt({opacity:0})]),Se(":enter rpl-side-nav:not(.expanded)",[Qt({transform:"translateX(-100%)"}),ae(`225ms 50ms ${wi.DECELERATION_CURVE}`)],{optional:!0}),Se(":enter rpl-bottom-nav > .content, :enter rpl-bottom-nav > .background",[Qt({transform:"translateY(100%)"}),ae(`225ms 50ms ${wi.DECELERATION_CURVE}`)],{optional:!0}),Se(":enter rpl-bottom-nav @*",[Oi()],{optional:!0}),Se(":enter rpl-mail-list-layout",[Oi({delay:"50ms"})])])])]),qe("launchScreen",[Ce(":leave",[ae("50ms linear"),Qt({opacity:0})])])]},changeDetection:0})})(),i})();var bc=()=>m(bt).select(Ze.selectAuthenticated).pipe(u(i=>!!i)),yc=()=>m(bt).select(Ze.selectAuthenticated).pipe(u(i=>!i)),Mc=[{path:"",canMatch:[yc],children:[{path:"auth",data:{animationId:"auth"},loadChildren:()=>import("./auth.module-3TIUYX5T.js").then(i=>i.AuthModule)},{path:"**",redirectTo:"auth"}]},{path:"",canMatch:[bc],children:[{path:"",pathMatch:"full",redirectTo:"mailboxes/Inbox/mails"},{path:"",data:{animationId:"main"},loadChildren:()=>import("./main.module-QRANZ4NP.js").then(i=>i.MainModule)},{path:"**",redirectTo:"mailboxes/Inbox/mails"}]}],_c=(()=>{let t=class extends Dr{buildTitle(e){let n=super.buildTitle(e);return n&&`${n} | Reply`}},i=t;return(()=>{t.\u0275fac=function(){let e;return function(a){return(e||(e=xt(t)))(a||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})(),Ra=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=vt({type:t})})(),(()=>{t.\u0275inj=gt({providers:[{provide:Pr,useClass:_c}],imports:[Li.forRoot(Mc),Li]})})(),i})();var fo=vi(Na());var La=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:function(e){return Tc.\u0275fac(e)},providedIn:"root"})})(),i})(),Tc=(()=>{let t=class{identify(e){return e.email}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var oi=new rt("LOCAL_STORAGE");var Fa,ja=(()=>{let t=class{constructor(){this.storage=m(oi),this.value$=new wo(void 0),this[Fa]=()=>this.value$.pipe(X(e=>e!==void 0),yn(this.get()))}set(e){this.storage.setItem(this.key,this.stringify(e)),this.value$.next(e)}get(){if(this.value$.value!==void 0)return this.value$.value;let e=this.storage.getItem(this.key),n=e?this.parse(e):null;return this.value$.next(n),n}clear(){this.storage.removeItem(this.key),this.value$.next(null)}parse(e){return JSON.parse(e)}stringify(e){return JSON.stringify(e)}},i=t;return(()=>{Fa=Symbol.observable})(),(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var $a=(()=>{let t=class{constructor(){this.accounts=m(Cc)}list(){let e=this.accounts.get();return e||(e=[],this.accounts.set(e)),[...e]}create(e){let n=this.list();n.push(e),this.accounts.set(n)}patch(e,n){let a=this.list();if(a.findIndex(g=>g.id===e)<0)throw new ri;let c=a.map(g=>g.id===e?kt(N(N({},g),n),{id:g.id}):g);this.accounts.set(c)}put(e){let a=this.list().find(f=>f.id===e.id);return a?this.patch(a.id,e):this.create(e)}delete(e){let n=this.list(),a=n.findIndex(f=>f.id===e);if(a<0)throw new ri;n.splice(a,1),this.accounts.set(n)}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})(),co=class extends At{},ri=class extends co{},Cc=(()=>{let t=class extends ja{constructor(){super(...arguments),this.key="accounts"}parse(e){return JSON.parse(e).map(a=>({id:a.id,profile:a.profile,authorizedAt:new Date(a.authorizedAt)}))}},i=t;return(()=>{t.\u0275fac=function(){let e;return function(a){return(e||(e=xt(t)))(a||t)}}()})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})();var ai=(()=>{let t=class{constructor(){this.identifier=m(La),this.resource=m($a)}loadAccounts(){return P(null).pipe(u(()=>this.resource.list()))}saveAccount(e){return P(null).pipe(u(()=>({id:this.identifier.identify(e),profile:e.id,authorizedAt:new Date})),Tt(n=>this.resource.put(n)))}revokeAccount(e){return P(null).pipe(u(()=>kt(N({},e),{revokedAt:new Date})),Tt(n=>this.resource.patch(n.id,n)))}deleteAccount(e){return P(null).pipe(Tt(()=>this.resource.delete(e.id)),u(()=>{}))}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})();var Ba=(()=>{let t=class{constructor(){this.actions$=m(St),this.authService=m(Wn),this.contactService=m(we),this.accountService=m(ai),this.authenticate=Z(()=>this.actions$.pipe(G(ue.authenticate),dt(e=>this.authService.requestAuthorization(e.hint).pipe(H(n=>n?P(null).pipe(dt(()=>this.contactService.loadUser()),kr(a=>this.accountService.saveAccount(a)),u(([a,f])=>({authorization:n,user:a,account:f})),u(a=>ue.authenticateCompleted({params:e,result:a}))):P(ue.authenticateCancelled({params:e}))),q(n=>P(ue.authenticateFailed({params:e,error:n}))))))),this.authenticationExpirer=Z(()=>this.actions$.pipe(G(ue.authenticateCompleted),H(({result:{authorization:e},params:n})=>{let f=(0,fo.default)(e.issuedAt).add(e.lifespan,"seconds"),c=()=>(0,fo.default)().add(1,"minute").isAfter(f),g=30*1e3;return ne(g,g).pipe(X(()=>c()),u(()=>ue.authenticateExpired({params:n})))})))}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Ua=(()=>{let t=class{constructor(){this.actions$=m(St),this.accountService=m(ai),this.loadAccounts=Z(()=>this.actions$.pipe(G(Ie.loadAccounts),Lt(()=>this.accountService.loadAccounts().pipe(u(e=>Ie.loadAccountsCompleted({result:e})),q(e=>P(Ie.loadAccountsFailed({error:e})))))))}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Ha,Ya,za=(()=>{let t=class{constructor(){this.store=m(bt),this.actions$=m(St),this.contactService=m(we),this.contactSyncService=m(Vn),this[Ha]=Z(()=>this.actions$.pipe(G(Ot.loadContacts),Lt(()=>xe(this,null,function*(){try{let e=this.contactSyncService.obtainSyncToken(),n=yield ye(e),a=this.contactService.loadContacts(),c=yield ye(a);return Ot.loadContactsCompleted({result:{results:c,syncToken:n}})}catch(e){return Ot.loadContactsFailed({error:e})}})))),this[Ya]=Z(()=>this.actions$.pipe(G(Ot.syncContactChanges),Xt(this.store.select(Nn.selectSyncToken)),Lt(([,e])=>e?this.contactSyncService.syncChanges(e).pipe(u(n=>Ot.syncContactChangesCompleted({result:n})),q(n=>P(Ot.syncContactChangesFailed({error:n})))):be))),this.syncContactChangesAtIntervalsAfterContactsLoaded=Z(()=>this.actions$.pipe(G(Ot.loadContactsCompleted),H(()=>ne(1e3*60,1e3*60).pipe(u(()=>Ot.syncContactChanges())))))}},i=t;return(()=>{Ha=Ot.loadContacts.type,Ya=Ot.syncContactChanges.type})(),(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var Va,Ga,Wa,Xa,qa,Za,Ka=(()=>{let t=class{constructor(){this.store=m(bt),this.actions$=m(St),this.mailService=m(Pe),this.mailSyncService=m(Gn),this[Va]=Z(()=>this.actions$.pipe(G(O.loadMails),Lt(()=>xe(this,null,function*(){try{let e=this.mailSyncService.obtainSyncToken(),n=yield ye(e),a=this.mailService.loadMailPage(),c=(yield ye(a)).results;return O.loadMailsCompleted({result:{mails:c,syncToken:n}})}catch(e){return O.loadMailsFailed({error:e})}})))),this[Ga]=Z(()=>this.actions$.pipe(G(O.toggleMailStarredStatus),dt(e=>(e.mail.isStarred?this.mailService.markMailAsNotStarred(e.mail):this.mailService.markMailAsStarred(e.mail)).pipe(Ft(this.actions$.pipe(G(O.toggleMailStarredStatus),X(({mail:a})=>a.id===e.mail.id))),u(a=>O.toggleMailStarredStatusCompleted({params:e,result:a})),q(a=>P(O.toggleMailStarredStatusFailed({params:e,error:a}))))))),this[Wa]=Z(()=>this.actions$.pipe(G(O.toggleMailReadStatus),dt(e=>((e.mail.isRead?"unread":"read")==="read"?this.mailService.markMailAsRead(e.mail):this.mailService.markMailAsUnread(e.mail)).pipe(Ft(this.actions$.pipe(G(O.toggleMailReadStatus),X(({mail:f})=>f.id===e.mail.id))),u(f=>O.toggleMailReadStatusCompleted({params:e,result:f})),q(f=>P(O.toggleMailReadStatusFailed({params:e,error:f}))))))),this[Xa]=Z(()=>this.actions$.pipe(G(O.moveMailToMailbox),dt(e=>this.mailService.moveMail(e.mail,e.mailbox).pipe(Ft(this.actions$.pipe(G(O.moveMailToMailbox),X(({mail:n})=>n.id===e.mail.id))),u(n=>O.moveMailToMailboxCompleted({params:e,result:n})),q(n=>P(O.moveMailToMailboxFailed({params:e,error:n}))))))),this[qa]=Z(()=>this.actions$.pipe(G(O.deleteMail),dt(e=>this.mailService.deleteMail(e.mail).pipe(u(()=>O.deleteMailCompleted({params:e})),q(n=>P(O.deleteMailFailed({params:e,error:n}))))))),this[Za]=Z(()=>this.actions$.pipe(G(O.syncMailChanges),Xt(this.store.select(Ln.selectSyncToken)),Lt(([,e])=>e?this.mailSyncService.syncChanges(e).pipe(u(n=>O.syncMailChangesCompleted({result:n})),q(n=>P(O.syncMailChangesFailed({error:n})))):be))),this.syncMailChangesAtIntervalsAfterMailsLoaded=Z(()=>this.actions$.pipe(G(O.loadMailsCompleted),H(()=>ne(1e3*60,1e3*60).pipe(u(()=>O.syncMailChanges())))))}},i=t;return(()=>{Va=O.loadMails.type,Ga=O.toggleMailStarredStatus.type,Wa=O.toggleMailReadStatus.type,Xa=O.moveMailToMailbox.type,qa=O.deleteMail.type,Za=O.syncMailChanges.type})(),(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();function Sc(i,t){if(i&1){let p=ze();Kt(0,"button",4),_e("click",function(){He(p);let n=le();return Ye(n.snackbarRef.dismissWithAction())}),pe(1),Jt()}if(i&2){let p=le();Ct(1),Ti(" ",p.context.action,` -`)}}var Ja=(()=>{let t=class{constructor(){this.context=m(ke),this.snackbarRef=m(te)}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=jt({type:t,selectors:[["rpl-snackbar-content"]],standalone:!0,features:[qo],decls:5,vars:2,consts:[[1,"text"],["mat-button","","color","accent",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["fontSet","filled","fontIcon","close"],["mat-button","","color","accent",3,"click"]],template:function(n,a){n&1&&(Kt(0,"div",0),pe(1),Jt(),oe(2,Sc,2,1,"button",1),Kt(3,"button",2),_e("click",function(){return a.snackbarRef.dismiss()}),$t(4,"mat-icon",3),Jt()),n&2&&(Ct(1),Ve(a.context.message),Ct(1),re("ngIf",a.context.action))},dependencies:[Xe,Te,Ae,En,kn,xr],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:8px}.text[_ngcontent-%COMP%]{flex:1}button[_ngcontent-%COMP%]{text-transform:uppercase}"],changeDetection:0})})(),i})();var Qa=(()=>{let t=class{constructor(){this.snackbarService=m(Br),this.breakpoints=Pn()}notify(e,n){let a=this.snackbarService.openFromComponent(Ja,N({data:{message:e,action:n},duration:3e4},this.breakpoints()["tablet-portrait"]?{verticalPosition:"bottom",horizontalPosition:"right",panelClass:["snackbar-notification-panel"]}:{verticalPosition:"bottom",horizontalPosition:"center",panelClass:["snackbar-notification-panel","centered"]}));return{event$:Nt(a.afterOpened().pipe(u(()=>({type:"display"}))),a.afterDismissed().pipe(u(()=>({type:"dismiss"}))),a.onAction().pipe(u(()=>({type:"action"})))),dismiss(){a.dismiss()}}}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})();var ts=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=Y(Qa),a},providedIn:"root"})})(),i})();var es,ns,is,os,rs,as,ss=(()=>{let t=class{constructor(){this.store=m(bt),this.actions$=m(St),this.notifier=m(ts),this[es]=Z(()=>this.actions$.pipe(G(O.toggleMailStarredStatusFailed),H(({params:{mail:e}})=>this.notifier.notify("Failed to update starred status","Retry").event$.pipe(X(n=>n.type==="action"),u(()=>O.toggleMailStarredStatus({mail:e})))))),this[ns]=Z(()=>this.actions$.pipe(G(O.toggleMailReadStatusFailed),H(({params:e})=>{let n=e.mail.isRead?"unread":"read";return this.notifier.notify(`Failed to mark mail as ${n}`,"Retry").event$.pipe(X(a=>a.type==="action"),u(()=>O.toggleMailReadStatus(e)))}))),this[is]=Z(()=>this.actions$.pipe(G(O.moveMailToMailbox),Xt(this.store.select(Ke.selectMailboxes)),H(([e,n])=>{let{mail:a,mailbox:f}=e,c=a.mailbox?n.retrieve(a.mailbox):null,g=f?`Mail moved into ${f.name}`:c?`Mail moved out from ${c.name}`:"Mail moved";return this.notifier.notify(g,"Undo").event$.pipe(X(T=>T.type==="action"),u(()=>O.moveMailToMailbox({mail:kt(N({},a),{mailbox:f?.id}),mailbox:c})))}))),this[os]=Z(()=>this.actions$.pipe(G(O.moveMailToMailboxFailed),Xt(this.store.select(Ke.selectMailboxes)),H(([{params:e},n])=>{let{mail:a,mailbox:f}=e,c=a.mailbox?n.retrieve(a.mailbox):null,g=f?`Failed to move mail into ${f.name}`:c?`Failed to move mail out from ${c.name}`:"Failed to move mail";return this.notifier.notify(g,"Retry").event$.pipe(u(()=>O.moveMailToMailbox(e)))}))),this[rs]=Z(()=>this.actions$.pipe(G(O.deleteMail),Tt(()=>this.notifier.notify("Mail deleted permanently")),u(()=>null)),{dispatch:!1}),this[as]=Z(()=>this.actions$.pipe(G(O.deleteMailFailed),H(({params:e})=>this.notifier.notify("Failed to delete mail","Retry").event$.pipe(X(n=>n.type==="action"),u(()=>O.deleteMail(e))))))}},i=t;return(()=>{es=O.toggleMailStarredStatusFailed.type,ns=O.toggleMailReadStatusFailed.type,is=O.moveMailToMailbox.type,os=O.moveMailToMailboxFailed.type,rs=O.deleteMail.type,as=O.deleteMailFailed.type})(),(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var cs=(()=>{let t=class{constructor(){this.actions$=m(St),this.mailboxService=m(Xn),this.loadMailboxes=Z(()=>this.actions$.pipe(G(Rn.loadMailboxes),Lt(()=>this.mailboxService.loadMailboxes().pipe(u(e=>Rn.loadMailboxesCompleted({result:e})),q(e=>P(Rn.loadMailboxesFailed({error:e})))))))}},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=b({token:t,factory:t.\u0275fac})})(),i})();var fs=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=vt({type:t,bootstrap:[Da]})})(),(()=>{t.\u0275inj=gt({providers:[{provide:oi,useValue:window.localStorage},{provide:We,multi:!0,useFactory:(e=m(Lr))=>()=>e.applyConfig({["tablet-portrait"]:"(min-width: 600px)",["tablet-landscape"]:"(min-width: 905px)",laptop:"(min-width: 1240px)",desktop:"(min-width: 1440px)"})},{provide:We,multi:!0,useFactory:()=>{let e=m(Di),n=m(fr),a=f=>n.bypassSecurityTrustResourceUrl(f);return()=>{e.setDefaultFontSetClass(),e.registerFontClassAlias("filled","material-icons mat-ligature-font"),e.addSvgIconSet(a("assets/icons.svg"))}}},{provide:me,multi:!0,useFactory:()=>{let e=m(Di);return()=>(()=>e.getNamedSvgIcon("").pipe(q(()=>P(null))))()}},{provide:me,multi:!0,useFactory:()=>{let e=m(bt);return e.dispatch(Ie.loadAccounts()),()=>e.select(Fi.selectAccountsLoadingStatus).pipe(u(n=>n.type==="completed"))}}],imports:[sr,gr,Gr.register("ngsw-worker.js",{enabled:Re.production,registrationStrategy:"registerWhenStable:30000"}),cr,rr,yr.forRoot(),Er.forRoot(),de.forRoot(),de.forFeature(Ze),de.forFeature(Fi),de.forFeature(Nn),de.forFeature(Ln),de.forFeature(Ke),Ir.forRoot(Ba,Ua,za,Ka,ss,cs),ga.instrument({maxAge:25,logOnly:Re.production}),Re.backend,kn,Ui,br,vr,Ae,Ra,Dn]})})(),i})();Re.production&&void 0;ar().bootstrapModule(fs).catch(i=>console.error(i)); diff --git a/main.module-QRANZ4NP.js b/main.module-VRBQ7ISX.js similarity index 95% rename from main.module-QRANZ4NP.js rename to main.module-VRBQ7ISX.js index 97f48ff..2c273a8 100644 --- a/main.module-QRANZ4NP.js +++ b/main.module-VRBQ7ISX.js @@ -1 +1 @@ -import{a as it}from"./chunk-3QW2KPOP.js";import{a as ot,b as Xt}from"./chunk-V5CHA6ZC.js";import{a as ee,c as rt,d as oe}from"./chunk-GQLKKIYV.js";import{l as Yt,m as tt,n as et,o as vt,q as nt}from"./chunk-3XARSZJN.js";import{a as ne}from"./chunk-MVUL6ZIM.js";import{a as re,b as ct,c as ce,d as le}from"./chunk-LJ7UDTCX.js";import{c as Zt,e as Gt,f as Kt,g as te}from"./chunk-IJYCWCJA.js";import"./chunk-C6VMUQFT.js";import{a as at,b as pt,c as pe}from"./chunk-EFASKN6N.js";import{b as $t,g as Vt,i as jt,l as Ht,o as ie,p as ae}from"./chunk-HDMEYBD3.js";import"./chunk-IKTP4ODH.js";import{$a as St,Ca as l,Cb as Lt,Dc as Ft,Ec as v,Fc as y,Gd as G,Hc as C,Ia as Pt,Ic as F,Ja as m,Jb as At,Jc as d,Ka as w,Kb as h,La as p,Lc as Ut,Ma as c,Na as r,Nc as $,Oa as s,Ob as R,Oc as zt,Pa as k,Pd as Jt,Qa as D,Qb as Rt,Qc as b,Ra as L,Sa as Q,Td as j,Ua as B,Wa as f,Wd as Qt,Xd as K,Y as yt,Yd as Ct,Zc as qt,ab as g,cb as T,da as Y,db as ht,eb as wt,fa as u,ga as x,ha as J,jb as Tt,ka as E,kb as It,la as bt,mb as Bt,md as O,n as gt,na as z,nd as X,oa as q,od as V,pd as Wt,q as _t,qb as A,qd as Z,tb as Nt,td as I,ub as Et,vb as kt,xb as Dt,yb as P,z as S,za as Ot}from"./chunk-KBDKS3MK.js";import{j as W}from"./chunk-3J24ZBPC.js";var H=(()=>{let t=class{constructor(){}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-settings-button"]],standalone:!0,features:[Tt],decls:2,vars:0,consts:[["mat-icon-button","","matTooltip","Settings"],["fontSet","filled","fontIcon","settings"]],template:function(n,i){n&1&&(c(0,"button",0),s(1,"mat-icon",1),r())},dependencies:[Z,V,X,O,pt,at],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),e})();function Oe(e,t){if(e&1&&(c(0,"span",5),L(1,6),r()),e&2){let a=f();l(1),p("ngTemplateOutlet",a.indicator)}}function Pe(e,t){e&1&&(c(0,"rpl-text-logo",7),T(1,"Reply"),r())}var st=(()=>{let t=class{constructor(){this.dense=!1,this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-logo-button"]],hostVars:2,hostBindings:function(n,i){n&2&&g("dense",i.dense)},inputs:{indicator:"indicator",dense:"dense",expanded:"expanded"},decls:5,vars:2,consts:[["mat-button","",1,"logo"],[1,"wrapper"],["class","indicator-wrapper",4,"ngIf"],[1,"logo"],["class","text",4,"ngIf"],[1,"indicator-wrapper"],[3,"ngTemplateOutlet"],[1,"text"]],template:function(n,i){n&1&&(c(0,"button",0)(1,"div",1),m(2,Oe,2,1,"span",2),s(3,"rpl-logo",3),m(4,Pe,2,0,"rpl-text-logo",4),r()()),n&2&&(l(2),p("ngIf",i.indicator),l(2),p("ngIf",i.expanded))},dependencies:[h,R,V,ot,it],styles:["[_nghost-%COMP%]{display:inline-block;border-radius:16px}[mat-button][_ngcontent-%COMP%]{border-radius:inherit;padding:initial}[mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;position:relative}.dense[_nghost-%COMP%] [mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:4px 16px}[mat-button][_ngcontent-%COMP%] .indicator-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:-4px;bottom:0;display:flex;align-items:center}[mat-button][_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{height:32px}[mat-button][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-left:16px}"],changeDetection:0})})(),e})();function Se(e,t){if(e&1&&(k(0),c(1,"a",2)(2,"span",3),L(3,4),r(),c(4,"span",5),T(5),r()(),D()),e&2){let a=t.ngIf;l(1),p("routerLink",a.link)("queryParams",a.linkParams)("@host",void 0),l(1),p("@icon",a.icon),l(1),p("ngTemplateOutlet",a.icon),l(2),wt(" ",a.text," ")}}function we(e,t){e&1&&s(0,"mat-icon",6)}var Te=function(){return{}},Ie=function(e,t){return{text:"Compose",icon:e,link:"/compose",linkParams:t}},dt=(()=>{let t=class{constructor(){this.service=u(oe),this.config=I(this.service.config$,{requireSync:!0}),this.expanded=!1}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-fab"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:5,consts:[[4,"ngIf"],["editIconTemplate",""],["mat-fab","",3,"routerLink","queryParams"],[1,"icon"],[3,"ngTemplateOutlet"],[1,"text"],["fontSet","filled","fontIcon","edit"]],template:function(n,i){if(n&1&&(m(0,Se,6,6,"ng-container",0),m(1,we,1,0,"ng-template",null,1,P)),n&2){let _=w(2),U;p("ngIf",(U=i.config())!==null&&U!==void 0?U:Bt(2,Ie,_,It(1,Te)))}},dependencies:[h,R,K,O,Wt],styles:["[_nghost-%COMP%]{display:inline-block}[mat-fab][_ngcontent-%COMP%]{width:56px;height:56px;box-shadow:none!important;border-radius:28px}.expanded[_nghost-%COMP%] [mat-fab][_ngcontent-%COMP%]{width:unset;padding:0 18px}.icon[_ngcontent-%COMP%]{line-height:0}.text[_ngcontent-%COMP%]{margin:0 16px;font-size:16px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}:not(.expanded)[_nghost-%COMP%] .text[_ngcontent-%COMP%]{display:none}"],data:{animation:[v("host",[d(":enter",[C({transform:"scale(0.01)"}),y(`300ms ${b.STANDARD_CURVE}`)]),d(":leave",[y(`300ms ${b.STANDARD_CURVE}`),C({transform:"scale(0.01)"})])]),v("icon",[d(":enter, :leave",[]),d("* => *",[et.apply()])])]},changeDetection:0})})(),e})();function Be(e,t){if(e&1&&(c(0,"a",2),s(1,"mat-icon",3),c(2,"div",4),T(3),r()()),e&2){let a=t.$implicit,o=f();g("active",o.activeItem()===a),p("routerLink",a.url),l(1),p("svgIcon",a.icon),l(2),ht(a.name)}}function Ne(e,t){if(e&1&&(c(0,"a",2),s(1,"mat-icon",7),c(2,"div",4),T(3),r()()),e&2){let a=t.$implicit,o=f(2);g("active",o.activeItem()===a),p("routerLink",a.url),l(3),ht(a.name)}}function Ee(e,t){if(e&1&&(k(0),s(1,"div",5),c(2,"div",6),T(3,"Folders"),r(),m(4,Ne,4,4,"a",0),D()),e&2){let a=f();l(4),p("ngForOf",a.itemsWithoutIcons())}}var xt=(()=>{let t=class{constructor(){this.navService=u(pe),this.expanded=!0,this.items=I(this.navService.items$,{requireSync:!0}),this.activeItem=I(this.navService.currActiveItem$,{requireSync:!0}),this.itemsWithIcons=E(()=>this.items().flatMap(o=>o.icon?o:[])),this.itemsWithoutIcons=E(()=>this.items().flatMap(o=>o.icon?[]:o))}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:2,consts:[["mat-list-item","",3,"routerLink","active",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-list-item","",3,"routerLink"],["matListIcon","",3,"svgIcon"],["matLine",""],[1,"divider"],[1,"subheader"],["matListIcon","","fontSet","filled","fontIcon","folder_open"]],template:function(n,i){n&1&&(c(0,"mat-nav-list"),m(1,Be,4,5,"a",0),m(2,Ee,5,1,"ng-container",1),r()),n&2&&(l(1),p("ngForOf",i.itemsWithIcons()),l(1),p("ngIf",i.expanded))},dependencies:[At,h,K,O,Zt,Kt,qt,Gt],styles:["[_nghost-%COMP%]{display:block;-webkit-user-select:none;user-select:none}[mat-list-item][_ngcontent-%COMP%]{color:inherit}[mat-list-item].active[_ngcontent-%COMP%]{color:#f9aa33}[mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:0 16px}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:initial;justify-content:center}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-text{display:none}.divider[_ngcontent-%COMP%]{width:60%;margin:16px 20px;border-top:1px solid rgba(255,255,255,.12)}.laptop[_nghost-%COMP%] .divider[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] .divider[_ngcontent-%COMP%]{display:block;width:calc(100% - 32px);margin:16px auto}.subheader[_ngcontent-%COMP%]{margin:12px 20px;font-size:12px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal;text-transform:uppercase;color:#fff9}"],changeDetection:0})})(),e})();function ke(e,t){if(e&1&&s(0,"rpl-avatar",2),e&2){let a=t.ngIf;p("contact",a)}}var ut=(()=>{let t=class{constructor(){this.store=u(G),this.user=this.store.selectSignal(ct.selectCurrent)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-avatar-button"]],decls:2,vars:1,consts:[["mat-icon-button","","matTooltip","Edit profile"],[3,"contact",4,"ngIf"],[3,"contact"]],template:function(n,i){n&1&&(c(0,"button",0),m(1,ke,1,1,"rpl-avatar",1),r()),n&2&&(l(1),p("ngIf",i.user()))},dependencies:[h,V,at,ee],styles:["[_nghost-%COMP%]{display:inline-block}img[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:50%}"],changeDetection:0})})(),e})();var fe=(()=>{let t=class{constructor(){this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-bottom-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:6,vars:0,consts:[[1,"avatar-bar"],[1,"bar-background"],[1,"wrapper-background"],[1,"avatar"],[1,"content"]],template:function(n,i){n&1&&(c(0,"div",0),s(1,"div",1)(2,"div",2)(3,"rpl-nav-avatar-button",3),r(),c(4,"div",4),s(5,"rpl-nav-menu"),r())},dependencies:[xt,ut],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:stretch;width:100vw;height:60vh;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#344955;color:#ffffffde;overflow:hidden;transition:height .3s cubic-bezier(0,0,.2,1)}.expanded[_nghost-%COMP%]{height:calc(100vh - 54px);overflow-y:auto}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;position:relative}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .bar-background[_ngcontent-%COMP%]{height:16px;width:100%;background-color:#232f34}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .wrapper-background[_ngcontent-%COMP%]{width:153px;height:37px;clip-path:path("M0 0C8.5 0 29.5 0 40 13C50.5 26 58.5 36.5 76.5 36.5C94.5 36.5 102.5 26 113 13C123.5 0 144.5 0 153 0H0Z");background-color:#232f34;transform:translateY(-1px)}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translateY(-50%) translate(-50%)}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{margin:0 8px}'],changeDetection:0})})(),e})();var Le=["bottomMenu"];function Ae(e,t){if(e&1&&s(0,"mat-icon",10),e&2){let a=f();p("@arrow",a.bottomMenuOpened)}}function Re(e,t){if(e&1&&(k(0),c(1,"div",11),L(2,12),r(),D()),e&2){let a=t.ngIf;l(1),p("@bottomActions",a),l(1),p("ngTemplateOutlet",a)}}function Fe(e,t){e&1&&s(0,"rpl-settings-button")}function $e(e,t){e&1&&s(0,"rpl-search-button")}function Ve(e,t){e&1&&s(0,"rpl-nav-fab",13),e&2&&p("@fab",void 0)}function je(e,t){if(e&1){let a=Q();c(0,"rpl-nav-bottom-menu",14),B("panup",function(){z(a);let n=f();return q(n.bottomMenuPan$.emit("up"))})("pandown",function(){z(a);let n=f();return q(n.bottomMenuPan$.emit("down"))}),r()}if(e&2){let a=f();St("touch-action",a.bottomMenuExpanded?"pan-down":"none"),p("expanded",a.bottomMenuExpanded)("@bottomMenu",void 0)}}var ge=(()=>{let t=class{constructor(){this.router=u(Qt),this.service=u(ne),this.overlayContainerRef=u(Vt),this.overlayManager=u(jt),this.elementRef=u(Ot),this.viewContainerRef=u(Nt),this.changeDetectorRef=u(Lt),this.actionsTemplate=I(this.service.actions$,{requireSync:!0}),this.status=I(this.service.status$,{requireSync:!0}),this.logoClick$=new A,this.bottomMenuPan$=new A,this.bottomMenuToggling=!1,this.bottomMenuOpened=!1,this.bottomMenuExpanded=!1,this.destroy$=new A}get statusAttrBinding(){return this.status()}ngOnInit(){this.logoClick$.subscribe(()=>{this.toggleBottomMenu()}),this.bottomMenuPan$.pipe(S(()=>this.bottomMenuOpened)).subscribe(o=>{o==="up"?this.bottomMenuExpanded=!0:this.toggleBottomMenu(!1)})}ngAfterViewInit(){this.setupBottomMenu()}ngOnDestroy(){this.destroy$.emit()}toggleBottomMenu(){return W(this,arguments,function*(o=!this.bottomMenuOpened){if(o!==this.bottomMenuOpened&&!this.bottomMenuToggling){if(this.bottomMenuToggling=!0,o===!0){this.adjustOverlayContainer(),this.bottomMenuOpened=!0,this.bottomMenuExpanded=!1,this.bottomMenuPortal.attach(this.bottomMenuOverlayRef);let n=this.router.parseUrl(this.router.url);n.fragment="bottom-menu",this.router.navigateByUrl(n)}else{this.bottomMenuPortal.detach(),yield new Promise(i=>setTimeout(i,200)),this.bottomMenuExpanded=!1,this.bottomMenuOpened=!1,this.changeDetectorRef.markForCheck(),this.restoreOverlayContainer();let n=this.router.parseUrl(this.router.url);n.fragment=null,this.router.navigateByUrl(n)}this.bottomMenuToggling=!1}})}adjustOverlayContainer(){let o=this.overlayContainerRef.getContainerElement(),n=this.elementRef.nativeElement.offsetHeight;o.style.height=`calc(100% - ${n}px)`,o.style.overflow="hidden"}restoreOverlayContainer(){let o=this.overlayContainerRef.getContainerElement();o.style.height="",o.style.overflow=""}setupBottomMenu(){this.bottomMenuOverlayRef=this.overlayManager.create({hasBackdrop:!0,positionStrategy:this.overlayManager.position().global().centerHorizontally().bottom("0")}),this.bottomMenuOverlayRef.backdropClick().subscribe(()=>this.toggleBottomMenu(!1)),this.bottomMenuPortal=new $t(this.bottomMenuTemplate,this.viewContainerRef),this.router.events.pipe(S(o=>o instanceof Jt),yt(this.destroy$)).subscribe(()=>this.toggleBottomMenu(!1)),this.destroy$.subscribe(()=>{this.toggleBottomMenu(!1)})}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-bottom-nav"]],viewQuery:function(n,i){if(n&1&&kt(Le,5),n&2){let _;Et(_=Dt())&&(i.bottomMenuTemplate=_.first)}},hostVars:1,hostBindings:function(n,i){n&2&&Pt("data-status",i.statusAttrBinding)},decls:15,vars:6,consts:[[1,"background"],[1,"content"],[1,"group"],[3,"indicator","dense","click"],["arrow",""],[4,"ngIf"],["settingsButtonTemplate",""],["searchButtonTemplate",""],["class","fab",4,"ngIf"],["bottomMenu",""],["fontSet","filled","fontIcon","arrow_drop_up"],[1,"wrapper"],[3,"ngTemplateOutlet"],[1,"fab"],[3,"expanded","panup","pandown"]],template:function(n,i){if(n&1&&(s(0,"div",0),c(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),B("click",function(){return i.logoClick$.emit()}),r(),m(4,Ae,1,1,"ng-template",null,4,P),r(),c(6,"div",2),m(7,Re,3,2,"ng-container",5),m(8,Fe,1,0,"ng-template",null,6,P),m(10,$e,1,0,"ng-template",null,7,P),r()(),m(12,Ve,1,1,"rpl-nav-fab",8),m(13,je,1,4,"ng-template",null,9,P)),n&2){let _=w(5),U=w(9),ye=w(11),ft;g("clipped",!i.bottomMenuOpened),l(3),p("indicator",_)("dense",!0),l(4),p("ngIf",i.bottomMenuOpened?U:(ft=i.actionsTemplate())!==null&&ft!==void 0?ft:ye),l(5),p("ngIf",!i.bottomMenuOpened)}},dependencies:[h,R,O,rt,H,st,dt,fe],styles:["[_nghost-%COMP%]{display:block;height:56px;position:relative}[_nghost-%COMP%]{z-index:10} .cdk-overlay-container:has(rpl-nav-bottom-menu){z-index:1!important}.content[_ngcontent-%COMP%], .background[_ngcontent-%COMP%]{position:absolute;inset:0}.background[_ngcontent-%COMP%]{background-color:#344955;z-index:-1;clip-path:polygon(0 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,100% 0,100% 100%,0 100%);transition:clip-path .3s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}.background.clipped[_ngcontent-%COMP%]{clip-path:polygon(0 0,calc(50% - 38px) 0,calc(50% - 37.487665px) .628287px,calc(50% - 36.975331px) 1.256382px,calc(50% - 36.462997px) 1.884094px,calc(50% - 35.912306px) 2.511233px,calc(50% - 35.863009px) 3.137607px,calc(50% - 35.802788px) 3.763025px,calc(50% - 35.731661px) 4.387296px,calc(50% - 35.64965px) 5.010232px,calc(50% - 35.55678px) 5.631641px,calc(50% - 35.453079px) 6.251334px,calc(50% - 35.338579px) 6.869124px,calc(50% - 35.213314px) 7.484821px,calc(50% - 35.077322px) 8.098238px,calc(50% - 34.930646px) 8.709188px,calc(50% - 34.77333px) 9.317486px,calc(50% - 34.605421px) 9.922945px,calc(50% - 34.426971px) 10.525381px,calc(50% - 34.238035px) 11.124612px,calc(50% - 34.038669px) 11.720454px,calc(50% - 33.828934px) 12.312725px,calc(50% - 33.608895px) 12.901246px,calc(50% - 33.378619px) 13.485837px,calc(50% - 33.138175px) 14.066321px,calc(50% - 32.887636px) 14.642519px,calc(50% - 32.62708px) 15.214257px,calc(50% - 32.356586px) 15.781361px,calc(50% - 32.076235px) 16.343658px,calc(50% - 31.786113px) 16.900976px,calc(50% - 31.486309px) 17.453146px,calc(50% - 31.176915px) 18px,calc(50% - 30.858023px) 18.541371px,calc(50% - 30.529731px) 19.077094px,calc(50% - 30.19214px) 19.607005px,calc(50% - 29.845353px) 20.130945px,calc(50% - 29.489474px) 20.648752px,calc(50% - 29.124612px) 21.160269px,calc(50% - 28.750878px) 21.665341px,calc(50% - 28.368387px) 22.163813px,calc(50% - 27.977255px) 22.655534px,calc(50% - 27.5776px) 23.140354px,calc(50% - 27.169545px) 23.618125px,calc(50% - 26.753214px) 24.088702px,calc(50% - 26.328733px) 24.551941px,calc(50% - 25.896233px) 25.007701px,calc(50% - 25.455844px) 25.455844px,calc(50% - 25.007701px) 25.896233px,calc(50% - 24.551941px) 26.328733px,calc(50% - 24.088702px) 26.753214px,calc(50% - 23.618125px) 27.169545px,calc(50% - 23.140354px) 27.5776px,calc(50% - 22.655534px) 27.977255px,calc(50% - 22.163813px) 28.368387px,calc(50% - 21.665341px) 28.750878px,calc(50% - 21.160269px) 29.124612px,calc(50% - 20.648752px) 29.489474px,calc(50% - 20.130945px) 29.845353px,calc(50% - 19.607005px) 30.19214px,calc(50% - 19.077094px) 30.529731px,calc(50% - 18.541371px) 30.858023px,calc(50% - 18px) 31.176915px,calc(50% - 17.453146px) 31.486309px,calc(50% - 16.900976px) 31.786113px,calc(50% - 16.343658px) 32.076235px,calc(50% - 15.781361px) 32.356586px,calc(50% - 15.214257px) 32.62708px,calc(50% - 14.642519px) 32.887636px,calc(50% - 14.066321px) 33.138175px,calc(50% - 13.485837px) 33.378619px,calc(50% - 12.901246px) 33.608895px,calc(50% - 12.312725px) 33.828934px,calc(50% - 11.720454px) 34.038669px,calc(50% - 11.124612px) 34.238035px,calc(50% - 10.525381px) 34.426971px,calc(50% - 9.922945px) 34.605421px,calc(50% - 9.317486px) 34.77333px,calc(50% - 8.709188px) 34.930646px,calc(50% - 8.098238px) 35.077322px,calc(50% - 7.484821px) 35.213314px,calc(50% - 6.869124px) 35.338579px,calc(50% - 6.251334px) 35.453079px,calc(50% - 5.631641px) 35.55678px,calc(50% - 5.010232px) 35.64965px,calc(50% - 4.387296px) 35.731661px,calc(50% - 3.763025px) 35.802788px,calc(50% - 3.137607px) 35.863009px,calc(50% - 2.511233px) 35.912306px,calc(50% - 1.884094px) 35.950663px,calc(50% - 1.256382px) 35.97807px,calc(50% - .628287px) 35.994517px,50% 36px,calc(50% + .628287px) 35.994517px,calc(50% + 1.256382px) 35.97807px,calc(50% + 1.884094px) 35.950663px,calc(50% + 2.511233px) 35.912306px,calc(50% + 3.137607px) 35.863009px,calc(50% + 3.763025px) 35.802788px,calc(50% + 4.387296px) 35.731661px,calc(50% + 5.010232px) 35.64965px,calc(50% + 5.631641px) 35.55678px,calc(50% + 6.251334px) 35.453079px,calc(50% + 6.869124px) 35.338579px,calc(50% + 7.484821px) 35.213314px,calc(50% + 8.098238px) 35.077322px,calc(50% + 8.709188px) 34.930646px,calc(50% + 9.317486px) 34.77333px,calc(50% + 9.922945px) 34.605421px,calc(50% + 10.525381px) 34.426971px,calc(50% + 11.124612px) 34.238035px,calc(50% + 11.720454px) 34.038669px,calc(50% + 12.312725px) 33.828934px,calc(50% + 12.901246px) 33.608895px,calc(50% + 13.485837px) 33.378619px,calc(50% + 14.066321px) 33.138175px,calc(50% + 14.642519px) 32.887636px,calc(50% + 15.214257px) 32.62708px,calc(50% + 15.781361px) 32.356586px,calc(50% + 16.343658px) 32.076235px,calc(50% + 16.900976px) 31.786113px,calc(50% + 17.453146px) 31.486309px,calc(50% + 18px) 31.176915px,calc(50% + 18.541371px) 30.858023px,calc(50% + 19.077094px) 30.529731px,calc(50% + 19.607005px) 30.19214px,calc(50% + 20.130945px) 29.845353px,calc(50% + 20.648752px) 29.489474px,calc(50% + 21.160269px) 29.124612px,calc(50% + 21.665341px) 28.750878px,calc(50% + 22.163813px) 28.368387px,calc(50% + 22.655534px) 27.977255px,calc(50% + 23.140354px) 27.5776px,calc(50% + 23.618125px) 27.169545px,calc(50% + 24.088702px) 26.753214px,calc(50% + 24.551941px) 26.328733px,calc(50% + 25.007701px) 25.896233px,calc(50% + 25.455844px) 25.455844px,calc(50% + 25.896233px) 25.007701px,calc(50% + 26.328733px) 24.551941px,calc(50% + 26.753214px) 24.088702px,calc(50% + 27.169545px) 23.618125px,calc(50% + 27.5776px) 23.140354px,calc(50% + 27.977255px) 22.655534px,calc(50% + 28.368387px) 22.163813px,calc(50% + 28.750878px) 21.665341px,calc(50% + 29.124612px) 21.160269px,calc(50% + 29.489474px) 20.648752px,calc(50% + 29.845353px) 20.130945px,calc(50% + 30.19214px) 19.607005px,calc(50% + 30.529731px) 19.077094px,calc(50% + 30.858023px) 18.541371px,calc(50% + 31.176915px) 18px,calc(50% + 31.486309px) 17.453146px,calc(50% + 31.786113px) 16.900976px,calc(50% + 32.076235px) 16.343658px,calc(50% + 32.356586px) 15.781361px,calc(50% + 32.62708px) 15.214257px,calc(50% + 32.887636px) 14.642519px,calc(50% + 33.138175px) 14.066321px,calc(50% + 33.378619px) 13.485837px,calc(50% + 33.608895px) 12.901246px,calc(50% + 33.828934px) 12.312725px,calc(50% + 34.038669px) 11.720454px,calc(50% + 34.238035px) 11.124612px,calc(50% + 34.426971px) 10.525381px,calc(50% + 34.605421px) 9.922945px,calc(50% + 34.77333px) 9.317486px,calc(50% + 34.930646px) 8.709188px,calc(50% + 35.077322px) 8.098238px,calc(50% + 35.213314px) 7.484821px,calc(50% + 35.338579px) 6.869124px,calc(50% + 35.453079px) 6.251334px,calc(50% + 35.55678px) 5.631641px,calc(50% + 35.64965px) 5.010232px,calc(50% + 35.731661px) 4.387296px,calc(50% + 35.802788px) 3.763025px,calc(50% + 35.863009px) 3.137607px,calc(50% + 35.912306px) 2.511233px,calc(50% + 36.462997px) 1.884094px,calc(50% + 36.975331px) 1.256382px,calc(50% + 37.487665px) .628287px,calc(50% + 38px) 0,100% 0,100% 100%,0 100%)}[data-status=collapsed][_nghost-%COMP%] .background[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:0 4px;color:#ffffffde;transition:transform .2s cubic-bezier(.4,0,.2,1)}[data-status=collapsed][_nghost-%COMP%] .content[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.content[_ngcontent-%COMP%] rpl-nav-logo-button[_ngcontent-%COMP%]{margin-left:16px}.fab[_ngcontent-%COMP%]{position:absolute;left:calc(50% - 28px);bottom:calc(100% - 28px);transition:bottom .3s cubic-bezier(.4,0,.2,1)}[data-status=collapsed][_nghost-%COMP%] .fab[_ngcontent-%COMP%]{bottom:8px}"],data:{animation:[v("arrow",[F("true",C({transform:"rotate(180deg)"})),F("false",C({transform:"rotate(0deg)"})),d("true <=> false",[y(`200ms ${b.STANDARD_CURVE}`)])]),v("fab",[d(":leave",[$("@*",Ut())])]),v("bottomMenu",[d(":enter",[C({transform:"translateY(100%)"}),y(`200ms ${b.DECELERATION_CURVE}`)]),d(":leave",[y(`200ms ${b.ACCELERATION_CURVE}`),C({transform:"translateY(100%)"})])]),v("bottomActions",[d(":enter",[]),d(":leave",[]),d("* => *",[$(":enter",[C({transform:"scale(92%)",opacity:0}),zt("40ms",[y(`210ms 90ms ${b.DECELERATION_CURVE}`,C({transform:"scale(1)",opacity:1}))])])])])]},changeDetection:0})})(),e})();function Ue(e,t){e&1&&s(0,"rpl-bottom-nav",1)}var he=(()=>{let t=class{constructor(){this.breakpoints=nt()}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-base-foundation"]],decls:3,vars:1,consts:[["data-route-animation-target","",4,"ngIf"],["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main"),s(1,"router-outlet"),r(),m(2,Ue,1,0,"rpl-bottom-nav",0)),n&2&&(l(2),p("ngIf",!i.breakpoints()["tablet-portrait"]))},dependencies:[h,j,ge],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{display:contents}rpl-bottom-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;align-self:end}"],changeDetection:0})})(),e})();function ze(e,t){if(e&1&&s(0,"mat-icon",8),e&2){let a=f();p("@arrow",a.expanded)}}function qe(e,t){e&1&&(c(0,"div",2),s(1,"rpl-nav-avatar-button")(2,"rpl-settings-button"),r())}var Ce=(()=>{let t=class{constructor(){this.expanded=!1,this.expandedChange=new A}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-side-nav"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},outputs:{expandedChange:"expandedChange"},decls:9,vars:6,consts:[["scrolling","scrolling",1,"wrapper"],[1,"primary-line"],[1,"group"],[3,"indicator","expanded","click"],["arrow",""],["class","group",4,"ngIf"],[1,"fab",3,"expanded"],[1,"menu",3,"expanded"],["fontSet","filled","fontIcon","arrow_right"]],template:function(n,i){if(n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),B("click",function(){return i.expandedChange.emit(!i.expanded)}),r(),m(4,ze,1,1,"ng-template",null,4,P),r(),m(6,qe,3,0,"div",5),r(),s(7,"rpl-nav-fab",6)(8,"rpl-nav-menu",7),r()),n&2){let _=w(5);l(3),p("indicator",_)("expanded",i.expanded),l(3),p("ngIf",i.expanded),l(1),p("expanded",i.expanded)("@fab",void 0),l(1),p("expanded",i.expanded)}},dependencies:[h,O,H,st,xt,ut,dt],styles:["[_nghost-%COMP%]{display:block}.wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px 0;background-color:#344955;color:#ffffffde;overflow-y:auto}.expanded[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{align-items:flex-start;padding:8px 16px}@supports (overflow: overlay){.wrapper[_ngcontent-%COMP%]{overflow-y:overlay}}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.wrapper.scrolling[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffffff1f}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#ffffff4d}.primary-line[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.expanded[_nghost-%COMP%] .primary-line[_ngcontent-%COMP%]{width:100%}.primary-line[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.menu[_ngcontent-%COMP%]{width:100%}"],data:{animation:[v("arrow",[F("true",C({transform:"rotate(180deg)"})),F("false",C({transform:"rotate(0deg)"})),d("true <=> false",[y(`200ms ${b.STANDARD_CURVE}`)])]),v("fab",[d(":enter",[])])]},changeDetection:0})})(),e})();function Ye(e,t){if(e&1){let a=Q();c(0,"rpl-side-nav",2),B("expandedChange",function(n){z(a);let i=f();return q(i.navExpanded.set(n===i.navShouldExpand()?void 0:n))}),r()}if(e&2){let a=f(),o;g("expanded",a.navExpanded())("on-grid",a.navExpanded()===void 0),p("expanded",(o=a.navExpanded())!==null&&o!==void 0?o:a.navShouldExpand())}}var ve=(()=>{let t=class{constructor(){this.animationId=tt(),this.breakpoints=nt(),this.navShouldRender=E(()=>this.breakpoints()["tablet-portrait"]),this.navShouldExpand=E(()=>this.breakpoints().laptop),this.navExpanded=bt(void 0)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-main"]],decls:3,vars:2,consts:[["data-route-animation-target","",3,"expanded","on-grid","expandedChange",4,"ngIf"],[1,"content"],["data-route-animation-target","",3,"expanded","expandedChange"]],template:function(n,i){n&1&&(m(0,Ye,1,5,"rpl-side-nav",0),c(1,"div",1),s(2,"router-outlet"),r()),n&2&&(p("ngIf",i.navShouldRender()),l(1),p("@content",i.animationId()))},dependencies:[h,j,Ce],styles:["[_nghost-%COMP%]{display:contents}rpl-side-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/col-1}.laptop[_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%]{grid-column:margin-left/col-3}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid){width:100px}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid).expanded{width:300px}.content[_ngcontent-%COMP%]{display:contents}"],data:{animation:[v("content",[d(":enter, :leave, * <=> none",[]),d("base => upper",[vt.apply("z","forward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})]),d("upper => base",[vt.apply("z","backward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})])])]},changeDetection:0})})(),e})();var Me=(()=>{let t=class{constructor(){this.animationId=tt()}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-upper-foundation"]],decls:2,vars:1,consts:[["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main",0),s(1,"router-outlet"),r()),n&2&&p("@main",i.animationId())},dependencies:[j],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;background-color:#fff;color:#000000de}.tablet-portrait[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-12}.laptop[_nghost-%COMP%] main[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-4/col-12}"],data:{animation:[v("main",[d(":enter, :leave, * <=> none",[]),d("* => *",[$(":self",C({position:"relative"})),$(":enter, :leave",C({width:"100%"})),et.apply()])])]},changeDetection:0})})(),e})();var Qe=()=>W(void 0,null,function*(){let e=u(G),t=e.select(Xt.selectAuthenticated).pipe(S(Boolean));yield gt(t),e.dispatch(re.loadContacts()),e.dispatch(ie.loadMailboxes()),e.dispatch(ce.loadMails());let a=_t([e.select(ct.selectContactsLoadingStatus).pipe(S(o=>o.type==="completed")),e.select(ae.selectMailboxesLoadingStatus).pipe(S(o=>o.type==="completed")),e.select(le.selectMailsLoadingStatus).pipe(S(o=>o.type==="completed"))]);return yield gt(a),!0}),Xe=[{path:"",component:ve,canActivate:[Qe],children:[{path:"",component:he,data:{animationId:"base"},children:[{matcher:e=>e.length&&e.join("/").startsWith("mail")?{consumed:[],posParams:{}}:null,loadChildren:()=>import("./mails.module-76TMCKA4.js").then(e=>e.MailsModule)}]},{path:"",component:Me,data:{animationId:"upper"},children:[{path:"compose",loadChildren:()=>import("./compose.module-7PAFICHY.js").then(e=>e.ComposeModule)},{path:"search",loadChildren:()=>import("./search.module-S5S4BHKT.js").then(e=>e.SearchModule)}]}]}],_e=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=Y({imports:[Ct.forChild(Xe),Ct]})})(),e})();var si=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=Y({imports:[Rt,_e,Ht,Yt,Ft,X,Z,te,pt,rt,H,ot,it]})})(),e})();export{si as MainModule}; +import{a as it}from"./chunk-QWRHMAON.js";import{a as ot,b as Xt}from"./chunk-ITNV32XJ.js";import{a as ee,c as rt,d as oe}from"./chunk-ESQOXLFI.js";import{l as Yt,m as tt,n as et,o as vt,q as nt}from"./chunk-MXV4FMBH.js";import{a as ne}from"./chunk-3UZNBURP.js";import{a as re,b as ct,c as ce,d as le}from"./chunk-5SE4VJ2X.js";import{c as Zt,e as Gt,f as Kt,g as te}from"./chunk-5S2TY6JK.js";import"./chunk-FB6BMVSR.js";import{a as at,b as pt,c as pe}from"./chunk-E7R3WNTA.js";import{b as $t,g as Vt,i as jt,l as Ht,o as ie,p as ae}from"./chunk-JYLXIIJ3.js";import"./chunk-RTHH4LAA.js";import{$a as g,Ba as l,Bb as Lt,Cc as Ft,Dc as v,Ec as y,Fd as G,Gc as C,Ha as Pt,Hc as F,Ia as m,Ib as At,Ic as d,Ja as w,Jb as h,Ka as p,Kc as Ut,La as c,Ma as r,Mc as $,Na as s,Nb as R,Nc as zt,Oa as k,Od as Jt,Pa as D,Pb as Rt,Pc as b,Qa as L,Ra as Q,Sd as j,Ta as B,Va as f,Vd as Qt,Wd as K,X as yt,Xd as Ct,Yc as qt,_a as St,bb as T,ca as Y,cb as ht,db as wt,ea as u,fa as x,ga as J,ib as Tt,ja as E,jb as It,ka as bt,lb as Bt,ld as O,ma as z,md as X,n as gt,na as q,nd as V,od as Wt,pb as A,pd as Z,q as _t,sb as Nt,sd as I,tb as Et,ub as kt,wb as Dt,xb as P,ya as Ot,z as S}from"./chunk-VGXZBCX5.js";import{i as W}from"./chunk-OROYKVKJ.js";var H=(()=>{let t=class{constructor(){}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-settings-button"]],standalone:!0,features:[Tt],decls:2,vars:0,consts:[["mat-icon-button","","matTooltip","Settings"],["fontSet","filled","fontIcon","settings"]],template:function(n,i){n&1&&(c(0,"button",0),s(1,"mat-icon",1),r())},dependencies:[Z,V,X,O,pt,at],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),e})();function Oe(e,t){if(e&1&&(c(0,"span",5),L(1,6),r()),e&2){let a=f();l(1),p("ngTemplateOutlet",a.indicator)}}function Pe(e,t){e&1&&(c(0,"rpl-text-logo",7),T(1,"Reply"),r())}var st=(()=>{let t=class{constructor(){this.dense=!1,this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-logo-button"]],hostVars:2,hostBindings:function(n,i){n&2&&g("dense",i.dense)},inputs:{indicator:"indicator",dense:"dense",expanded:"expanded"},decls:5,vars:2,consts:[["mat-button","",1,"logo"],[1,"wrapper"],["class","indicator-wrapper",4,"ngIf"],[1,"logo"],["class","text",4,"ngIf"],[1,"indicator-wrapper"],[3,"ngTemplateOutlet"],[1,"text"]],template:function(n,i){n&1&&(c(0,"button",0)(1,"div",1),m(2,Oe,2,1,"span",2),s(3,"rpl-logo",3),m(4,Pe,2,0,"rpl-text-logo",4),r()()),n&2&&(l(2),p("ngIf",i.indicator),l(2),p("ngIf",i.expanded))},dependencies:[h,R,V,ot,it],styles:["[_nghost-%COMP%]{display:inline-block;border-radius:16px}[mat-button][_ngcontent-%COMP%]{border-radius:inherit;padding:initial}[mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;position:relative}.dense[_nghost-%COMP%] [mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:4px 16px}[mat-button][_ngcontent-%COMP%] .indicator-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:-4px;bottom:0;display:flex;align-items:center}[mat-button][_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{height:32px}[mat-button][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-left:16px}"],changeDetection:0})})(),e})();function Se(e,t){if(e&1&&(k(0),c(1,"a",2)(2,"span",3),L(3,4),r(),c(4,"span",5),T(5),r()(),D()),e&2){let a=t.ngIf;l(1),p("routerLink",a.link)("queryParams",a.linkParams)("@host",void 0),l(1),p("@icon",a.icon),l(1),p("ngTemplateOutlet",a.icon),l(2),wt(" ",a.text," ")}}function we(e,t){e&1&&s(0,"mat-icon",6)}var Te=function(){return{}},Ie=function(e,t){return{text:"Compose",icon:e,link:"/compose",linkParams:t}},dt=(()=>{let t=class{constructor(){this.service=u(oe),this.config=I(this.service.config$,{requireSync:!0}),this.expanded=!1}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-fab"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:5,consts:[[4,"ngIf"],["editIconTemplate",""],["mat-fab","",3,"routerLink","queryParams"],[1,"icon"],[3,"ngTemplateOutlet"],[1,"text"],["fontSet","filled","fontIcon","edit"]],template:function(n,i){if(n&1&&(m(0,Se,6,6,"ng-container",0),m(1,we,1,0,"ng-template",null,1,P)),n&2){let _=w(2),U;p("ngIf",(U=i.config())!==null&&U!==void 0?U:Bt(2,Ie,_,It(1,Te)))}},dependencies:[h,R,K,O,Wt],styles:["[_nghost-%COMP%]{display:inline-block}[mat-fab][_ngcontent-%COMP%]{width:56px;height:56px;box-shadow:none!important;border-radius:28px}.expanded[_nghost-%COMP%] [mat-fab][_ngcontent-%COMP%]{width:unset;padding:0 18px}.icon[_ngcontent-%COMP%]{line-height:0}.text[_ngcontent-%COMP%]{margin:0 16px;font-size:16px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}:not(.expanded)[_nghost-%COMP%] .text[_ngcontent-%COMP%]{display:none}"],data:{animation:[v("host",[d(":enter",[C({transform:"scale(0.01)"}),y(`300ms ${b.STANDARD_CURVE}`)]),d(":leave",[y(`300ms ${b.STANDARD_CURVE}`),C({transform:"scale(0.01)"})])]),v("icon",[d(":enter, :leave",[]),d("* => *",[et.apply()])])]},changeDetection:0})})(),e})();function Be(e,t){if(e&1&&(c(0,"a",2),s(1,"mat-icon",3),c(2,"div",4),T(3),r()()),e&2){let a=t.$implicit,o=f();g("active",o.activeItem()===a),p("routerLink",a.url),l(1),p("svgIcon",a.icon),l(2),ht(a.name)}}function Ne(e,t){if(e&1&&(c(0,"a",2),s(1,"mat-icon",7),c(2,"div",4),T(3),r()()),e&2){let a=t.$implicit,o=f(2);g("active",o.activeItem()===a),p("routerLink",a.url),l(3),ht(a.name)}}function Ee(e,t){if(e&1&&(k(0),s(1,"div",5),c(2,"div",6),T(3,"Folders"),r(),m(4,Ne,4,4,"a",0),D()),e&2){let a=f();l(4),p("ngForOf",a.itemsWithoutIcons())}}var xt=(()=>{let t=class{constructor(){this.navService=u(pe),this.expanded=!0,this.items=I(this.navService.items$,{requireSync:!0}),this.activeItem=I(this.navService.currActiveItem$,{requireSync:!0}),this.itemsWithIcons=E(()=>this.items().flatMap(o=>o.icon?o:[])),this.itemsWithoutIcons=E(()=>this.items().flatMap(o=>o.icon?[]:o))}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:2,consts:[["mat-list-item","",3,"routerLink","active",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-list-item","",3,"routerLink"],["matListIcon","",3,"svgIcon"],["matLine",""],[1,"divider"],[1,"subheader"],["matListIcon","","fontSet","filled","fontIcon","folder_open"]],template:function(n,i){n&1&&(c(0,"mat-nav-list"),m(1,Be,4,5,"a",0),m(2,Ee,5,1,"ng-container",1),r()),n&2&&(l(1),p("ngForOf",i.itemsWithIcons()),l(1),p("ngIf",i.expanded))},dependencies:[At,h,K,O,Zt,Kt,qt,Gt],styles:["[_nghost-%COMP%]{display:block;-webkit-user-select:none;user-select:none}[mat-list-item][_ngcontent-%COMP%]{color:inherit}[mat-list-item].active[_ngcontent-%COMP%]{color:#f9aa33}[mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:0 16px}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:initial;justify-content:center}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-text{display:none}.divider[_ngcontent-%COMP%]{width:60%;margin:16px 20px;border-top:1px solid rgba(255,255,255,.12)}.laptop[_nghost-%COMP%] .divider[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] .divider[_ngcontent-%COMP%]{display:block;width:calc(100% - 32px);margin:16px auto}.subheader[_ngcontent-%COMP%]{margin:12px 20px;font-size:12px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal;text-transform:uppercase;color:#fff9}"],changeDetection:0})})(),e})();function ke(e,t){if(e&1&&s(0,"rpl-avatar",2),e&2){let a=t.ngIf;p("contact",a)}}var ut=(()=>{let t=class{constructor(){this.store=u(G),this.user=this.store.selectSignal(ct.selectCurrent)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-avatar-button"]],decls:2,vars:1,consts:[["mat-icon-button","","matTooltip","Edit profile"],[3,"contact",4,"ngIf"],[3,"contact"]],template:function(n,i){n&1&&(c(0,"button",0),m(1,ke,1,1,"rpl-avatar",1),r()),n&2&&(l(1),p("ngIf",i.user()))},dependencies:[h,V,at,ee],styles:["[_nghost-%COMP%]{display:inline-block}img[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:50%}"],changeDetection:0})})(),e})();var fe=(()=>{let t=class{constructor(){this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-bottom-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:6,vars:0,consts:[[1,"avatar-bar"],[1,"bar-background"],[1,"wrapper-background"],[1,"avatar"],[1,"content"]],template:function(n,i){n&1&&(c(0,"div",0),s(1,"div",1)(2,"div",2)(3,"rpl-nav-avatar-button",3),r(),c(4,"div",4),s(5,"rpl-nav-menu"),r())},dependencies:[xt,ut],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:stretch;width:100vw;height:60vh;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#344955;color:#ffffffde;overflow:hidden;transition:height .3s cubic-bezier(0,0,.2,1)}.expanded[_nghost-%COMP%]{height:calc(100vh - 54px);overflow-y:auto}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;position:relative}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .bar-background[_ngcontent-%COMP%]{height:16px;width:100%;background-color:#232f34}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .wrapper-background[_ngcontent-%COMP%]{width:153px;height:37px;clip-path:path("M0 0C8.5 0 29.5 0 40 13C50.5 26 58.5 36.5 76.5 36.5C94.5 36.5 102.5 26 113 13C123.5 0 144.5 0 153 0H0Z");background-color:#232f34;transform:translateY(-1px)}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translateY(-50%) translate(-50%)}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{margin:0 8px}'],changeDetection:0})})(),e})();var Le=["bottomMenu"];function Ae(e,t){if(e&1&&s(0,"mat-icon",10),e&2){let a=f();p("@arrow",a.bottomMenuOpened)}}function Re(e,t){if(e&1&&(k(0),c(1,"div",11),L(2,12),r(),D()),e&2){let a=t.ngIf;l(1),p("@bottomActions",a),l(1),p("ngTemplateOutlet",a)}}function Fe(e,t){e&1&&s(0,"rpl-settings-button")}function $e(e,t){e&1&&s(0,"rpl-search-button")}function Ve(e,t){e&1&&s(0,"rpl-nav-fab",13),e&2&&p("@fab",void 0)}function je(e,t){if(e&1){let a=Q();c(0,"rpl-nav-bottom-menu",14),B("panup",function(){z(a);let n=f();return q(n.bottomMenuPan$.emit("up"))})("pandown",function(){z(a);let n=f();return q(n.bottomMenuPan$.emit("down"))}),r()}if(e&2){let a=f();St("touch-action",a.bottomMenuExpanded?"pan-down":"none"),p("expanded",a.bottomMenuExpanded)("@bottomMenu",void 0)}}var ge=(()=>{let t=class{constructor(){this.router=u(Qt),this.service=u(ne),this.overlayContainerRef=u(Vt),this.overlayManager=u(jt),this.elementRef=u(Ot),this.viewContainerRef=u(Nt),this.changeDetectorRef=u(Lt),this.actionsTemplate=I(this.service.actions$,{requireSync:!0}),this.status=I(this.service.status$,{requireSync:!0}),this.logoClick$=new A,this.bottomMenuPan$=new A,this.bottomMenuToggling=!1,this.bottomMenuOpened=!1,this.bottomMenuExpanded=!1,this.destroy$=new A}get statusAttrBinding(){return this.status()}ngOnInit(){this.logoClick$.subscribe(()=>{this.toggleBottomMenu()}),this.bottomMenuPan$.pipe(S(()=>this.bottomMenuOpened)).subscribe(o=>{o==="up"?this.bottomMenuExpanded=!0:this.toggleBottomMenu(!1)})}ngAfterViewInit(){this.setupBottomMenu()}ngOnDestroy(){this.destroy$.emit()}toggleBottomMenu(){return W(this,arguments,function*(o=!this.bottomMenuOpened){if(o!==this.bottomMenuOpened&&!this.bottomMenuToggling){if(this.bottomMenuToggling=!0,o===!0){this.adjustOverlayContainer(),this.bottomMenuOpened=!0,this.bottomMenuExpanded=!1,this.bottomMenuPortal.attach(this.bottomMenuOverlayRef);let n=this.router.parseUrl(this.router.url);n.fragment="bottom-menu",this.router.navigateByUrl(n)}else{this.bottomMenuPortal.detach(),yield new Promise(i=>setTimeout(i,200)),this.bottomMenuExpanded=!1,this.bottomMenuOpened=!1,this.changeDetectorRef.markForCheck(),this.restoreOverlayContainer();let n=this.router.parseUrl(this.router.url);n.fragment=null,this.router.navigateByUrl(n)}this.bottomMenuToggling=!1}})}adjustOverlayContainer(){let o=this.overlayContainerRef.getContainerElement(),n=this.elementRef.nativeElement.offsetHeight;o.style.height=`calc(100% - ${n}px)`,o.style.overflow="hidden"}restoreOverlayContainer(){let o=this.overlayContainerRef.getContainerElement();o.style.height="",o.style.overflow=""}setupBottomMenu(){this.bottomMenuOverlayRef=this.overlayManager.create({hasBackdrop:!0,positionStrategy:this.overlayManager.position().global().centerHorizontally().bottom("0")}),this.bottomMenuOverlayRef.backdropClick().subscribe(()=>this.toggleBottomMenu(!1)),this.bottomMenuPortal=new $t(this.bottomMenuTemplate,this.viewContainerRef),this.router.events.pipe(S(o=>o instanceof Jt),yt(this.destroy$)).subscribe(()=>this.toggleBottomMenu(!1)),this.destroy$.subscribe(()=>{this.toggleBottomMenu(!1)})}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-bottom-nav"]],viewQuery:function(n,i){if(n&1&&kt(Le,5),n&2){let _;Et(_=Dt())&&(i.bottomMenuTemplate=_.first)}},hostVars:1,hostBindings:function(n,i){n&2&&Pt("data-status",i.statusAttrBinding)},decls:15,vars:6,consts:[[1,"background"],[1,"content"],[1,"group"],[3,"indicator","dense","click"],["arrow",""],[4,"ngIf"],["settingsButtonTemplate",""],["searchButtonTemplate",""],["class","fab",4,"ngIf"],["bottomMenu",""],["fontSet","filled","fontIcon","arrow_drop_up"],[1,"wrapper"],[3,"ngTemplateOutlet"],[1,"fab"],[3,"expanded","panup","pandown"]],template:function(n,i){if(n&1&&(s(0,"div",0),c(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),B("click",function(){return i.logoClick$.emit()}),r(),m(4,Ae,1,1,"ng-template",null,4,P),r(),c(6,"div",2),m(7,Re,3,2,"ng-container",5),m(8,Fe,1,0,"ng-template",null,6,P),m(10,$e,1,0,"ng-template",null,7,P),r()(),m(12,Ve,1,1,"rpl-nav-fab",8),m(13,je,1,4,"ng-template",null,9,P)),n&2){let _=w(5),U=w(9),ye=w(11),ft;g("clipped",!i.bottomMenuOpened),l(3),p("indicator",_)("dense",!0),l(4),p("ngIf",i.bottomMenuOpened?U:(ft=i.actionsTemplate())!==null&&ft!==void 0?ft:ye),l(5),p("ngIf",!i.bottomMenuOpened)}},dependencies:[h,R,O,rt,H,st,dt,fe],styles:["[_nghost-%COMP%]{display:block;height:56px;position:relative}[_nghost-%COMP%]{z-index:10} .cdk-overlay-container:has(rpl-nav-bottom-menu){z-index:1!important}.content[_ngcontent-%COMP%], .background[_ngcontent-%COMP%]{position:absolute;inset:0}.background[_ngcontent-%COMP%]{background-color:#344955;z-index:-1;clip-path:polygon(0 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,100% 0,100% 100%,0 100%);transition:clip-path .3s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}.background.clipped[_ngcontent-%COMP%]{clip-path:polygon(0 0,calc(50% - 38px) 0,calc(50% - 37.487665px) .628287px,calc(50% - 36.975331px) 1.256382px,calc(50% - 36.462997px) 1.884094px,calc(50% - 35.912306px) 2.511233px,calc(50% - 35.863009px) 3.137607px,calc(50% - 35.802788px) 3.763025px,calc(50% - 35.731661px) 4.387296px,calc(50% - 35.64965px) 5.010232px,calc(50% - 35.55678px) 5.631641px,calc(50% - 35.453079px) 6.251334px,calc(50% - 35.338579px) 6.869124px,calc(50% - 35.213314px) 7.484821px,calc(50% - 35.077322px) 8.098238px,calc(50% - 34.930646px) 8.709188px,calc(50% - 34.77333px) 9.317486px,calc(50% - 34.605421px) 9.922945px,calc(50% - 34.426971px) 10.525381px,calc(50% - 34.238035px) 11.124612px,calc(50% - 34.038669px) 11.720454px,calc(50% - 33.828934px) 12.312725px,calc(50% - 33.608895px) 12.901246px,calc(50% - 33.378619px) 13.485837px,calc(50% - 33.138175px) 14.066321px,calc(50% - 32.887636px) 14.642519px,calc(50% - 32.62708px) 15.214257px,calc(50% - 32.356586px) 15.781361px,calc(50% - 32.076235px) 16.343658px,calc(50% - 31.786113px) 16.900976px,calc(50% - 31.486309px) 17.453146px,calc(50% - 31.176915px) 18px,calc(50% - 30.858023px) 18.541371px,calc(50% - 30.529731px) 19.077094px,calc(50% - 30.19214px) 19.607005px,calc(50% - 29.845353px) 20.130945px,calc(50% - 29.489474px) 20.648752px,calc(50% - 29.124612px) 21.160269px,calc(50% - 28.750878px) 21.665341px,calc(50% - 28.368387px) 22.163813px,calc(50% - 27.977255px) 22.655534px,calc(50% - 27.5776px) 23.140354px,calc(50% - 27.169545px) 23.618125px,calc(50% - 26.753214px) 24.088702px,calc(50% - 26.328733px) 24.551941px,calc(50% - 25.896233px) 25.007701px,calc(50% - 25.455844px) 25.455844px,calc(50% - 25.007701px) 25.896233px,calc(50% - 24.551941px) 26.328733px,calc(50% - 24.088702px) 26.753214px,calc(50% - 23.618125px) 27.169545px,calc(50% - 23.140354px) 27.5776px,calc(50% - 22.655534px) 27.977255px,calc(50% - 22.163813px) 28.368387px,calc(50% - 21.665341px) 28.750878px,calc(50% - 21.160269px) 29.124612px,calc(50% - 20.648752px) 29.489474px,calc(50% - 20.130945px) 29.845353px,calc(50% - 19.607005px) 30.19214px,calc(50% - 19.077094px) 30.529731px,calc(50% - 18.541371px) 30.858023px,calc(50% - 18px) 31.176915px,calc(50% - 17.453146px) 31.486309px,calc(50% - 16.900976px) 31.786113px,calc(50% - 16.343658px) 32.076235px,calc(50% - 15.781361px) 32.356586px,calc(50% - 15.214257px) 32.62708px,calc(50% - 14.642519px) 32.887636px,calc(50% - 14.066321px) 33.138175px,calc(50% - 13.485837px) 33.378619px,calc(50% - 12.901246px) 33.608895px,calc(50% - 12.312725px) 33.828934px,calc(50% - 11.720454px) 34.038669px,calc(50% - 11.124612px) 34.238035px,calc(50% - 10.525381px) 34.426971px,calc(50% - 9.922945px) 34.605421px,calc(50% - 9.317486px) 34.77333px,calc(50% - 8.709188px) 34.930646px,calc(50% - 8.098238px) 35.077322px,calc(50% - 7.484821px) 35.213314px,calc(50% - 6.869124px) 35.338579px,calc(50% - 6.251334px) 35.453079px,calc(50% - 5.631641px) 35.55678px,calc(50% - 5.010232px) 35.64965px,calc(50% - 4.387296px) 35.731661px,calc(50% - 3.763025px) 35.802788px,calc(50% - 3.137607px) 35.863009px,calc(50% - 2.511233px) 35.912306px,calc(50% - 1.884094px) 35.950663px,calc(50% - 1.256382px) 35.97807px,calc(50% - .628287px) 35.994517px,50% 36px,calc(50% + .628287px) 35.994517px,calc(50% + 1.256382px) 35.97807px,calc(50% + 1.884094px) 35.950663px,calc(50% + 2.511233px) 35.912306px,calc(50% + 3.137607px) 35.863009px,calc(50% + 3.763025px) 35.802788px,calc(50% + 4.387296px) 35.731661px,calc(50% + 5.010232px) 35.64965px,calc(50% + 5.631641px) 35.55678px,calc(50% + 6.251334px) 35.453079px,calc(50% + 6.869124px) 35.338579px,calc(50% + 7.484821px) 35.213314px,calc(50% + 8.098238px) 35.077322px,calc(50% + 8.709188px) 34.930646px,calc(50% + 9.317486px) 34.77333px,calc(50% + 9.922945px) 34.605421px,calc(50% + 10.525381px) 34.426971px,calc(50% + 11.124612px) 34.238035px,calc(50% + 11.720454px) 34.038669px,calc(50% + 12.312725px) 33.828934px,calc(50% + 12.901246px) 33.608895px,calc(50% + 13.485837px) 33.378619px,calc(50% + 14.066321px) 33.138175px,calc(50% + 14.642519px) 32.887636px,calc(50% + 15.214257px) 32.62708px,calc(50% + 15.781361px) 32.356586px,calc(50% + 16.343658px) 32.076235px,calc(50% + 16.900976px) 31.786113px,calc(50% + 17.453146px) 31.486309px,calc(50% + 18px) 31.176915px,calc(50% + 18.541371px) 30.858023px,calc(50% + 19.077094px) 30.529731px,calc(50% + 19.607005px) 30.19214px,calc(50% + 20.130945px) 29.845353px,calc(50% + 20.648752px) 29.489474px,calc(50% + 21.160269px) 29.124612px,calc(50% + 21.665341px) 28.750878px,calc(50% + 22.163813px) 28.368387px,calc(50% + 22.655534px) 27.977255px,calc(50% + 23.140354px) 27.5776px,calc(50% + 23.618125px) 27.169545px,calc(50% + 24.088702px) 26.753214px,calc(50% + 24.551941px) 26.328733px,calc(50% + 25.007701px) 25.896233px,calc(50% + 25.455844px) 25.455844px,calc(50% + 25.896233px) 25.007701px,calc(50% + 26.328733px) 24.551941px,calc(50% + 26.753214px) 24.088702px,calc(50% + 27.169545px) 23.618125px,calc(50% + 27.5776px) 23.140354px,calc(50% + 27.977255px) 22.655534px,calc(50% + 28.368387px) 22.163813px,calc(50% + 28.750878px) 21.665341px,calc(50% + 29.124612px) 21.160269px,calc(50% + 29.489474px) 20.648752px,calc(50% + 29.845353px) 20.130945px,calc(50% + 30.19214px) 19.607005px,calc(50% + 30.529731px) 19.077094px,calc(50% + 30.858023px) 18.541371px,calc(50% + 31.176915px) 18px,calc(50% + 31.486309px) 17.453146px,calc(50% + 31.786113px) 16.900976px,calc(50% + 32.076235px) 16.343658px,calc(50% + 32.356586px) 15.781361px,calc(50% + 32.62708px) 15.214257px,calc(50% + 32.887636px) 14.642519px,calc(50% + 33.138175px) 14.066321px,calc(50% + 33.378619px) 13.485837px,calc(50% + 33.608895px) 12.901246px,calc(50% + 33.828934px) 12.312725px,calc(50% + 34.038669px) 11.720454px,calc(50% + 34.238035px) 11.124612px,calc(50% + 34.426971px) 10.525381px,calc(50% + 34.605421px) 9.922945px,calc(50% + 34.77333px) 9.317486px,calc(50% + 34.930646px) 8.709188px,calc(50% + 35.077322px) 8.098238px,calc(50% + 35.213314px) 7.484821px,calc(50% + 35.338579px) 6.869124px,calc(50% + 35.453079px) 6.251334px,calc(50% + 35.55678px) 5.631641px,calc(50% + 35.64965px) 5.010232px,calc(50% + 35.731661px) 4.387296px,calc(50% + 35.802788px) 3.763025px,calc(50% + 35.863009px) 3.137607px,calc(50% + 35.912306px) 2.511233px,calc(50% + 36.462997px) 1.884094px,calc(50% + 36.975331px) 1.256382px,calc(50% + 37.487665px) .628287px,calc(50% + 38px) 0,100% 0,100% 100%,0 100%)}[data-status=collapsed][_nghost-%COMP%] .background[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:0 4px;color:#ffffffde;transition:transform .2s cubic-bezier(.4,0,.2,1)}[data-status=collapsed][_nghost-%COMP%] .content[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.content[_ngcontent-%COMP%] rpl-nav-logo-button[_ngcontent-%COMP%]{margin-left:16px}.fab[_ngcontent-%COMP%]{position:absolute;left:calc(50% - 28px);bottom:calc(100% - 28px);transition:bottom .3s cubic-bezier(.4,0,.2,1)}[data-status=collapsed][_nghost-%COMP%] .fab[_ngcontent-%COMP%]{bottom:8px}"],data:{animation:[v("arrow",[F("true",C({transform:"rotate(180deg)"})),F("false",C({transform:"rotate(0deg)"})),d("true <=> false",[y(`200ms ${b.STANDARD_CURVE}`)])]),v("fab",[d(":leave",[$("@*",Ut())])]),v("bottomMenu",[d(":enter",[C({transform:"translateY(100%)"}),y(`200ms ${b.DECELERATION_CURVE}`)]),d(":leave",[y(`200ms ${b.ACCELERATION_CURVE}`),C({transform:"translateY(100%)"})])]),v("bottomActions",[d(":enter",[]),d(":leave",[]),d("* => *",[$(":enter",[C({transform:"scale(92%)",opacity:0}),zt("40ms",[y(`210ms 90ms ${b.DECELERATION_CURVE}`,C({transform:"scale(1)",opacity:1}))])])])])]},changeDetection:0})})(),e})();function Ue(e,t){e&1&&s(0,"rpl-bottom-nav",1)}var he=(()=>{let t=class{constructor(){this.breakpoints=nt()}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-base-foundation"]],decls:3,vars:1,consts:[["data-route-animation-target","",4,"ngIf"],["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main"),s(1,"router-outlet"),r(),m(2,Ue,1,0,"rpl-bottom-nav",0)),n&2&&(l(2),p("ngIf",!i.breakpoints()["tablet-portrait"]))},dependencies:[h,j,ge],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{display:contents}rpl-bottom-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;align-self:end}"],changeDetection:0})})(),e})();function ze(e,t){if(e&1&&s(0,"mat-icon",8),e&2){let a=f();p("@arrow",a.expanded)}}function qe(e,t){e&1&&(c(0,"div",2),s(1,"rpl-nav-avatar-button")(2,"rpl-settings-button"),r())}var Ce=(()=>{let t=class{constructor(){this.expanded=!1,this.expandedChange=new A}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-side-nav"]],hostVars:2,hostBindings:function(n,i){n&2&&g("expanded",i.expanded)},inputs:{expanded:"expanded"},outputs:{expandedChange:"expandedChange"},decls:9,vars:6,consts:[["scrolling","scrolling",1,"wrapper"],[1,"primary-line"],[1,"group"],[3,"indicator","expanded","click"],["arrow",""],["class","group",4,"ngIf"],[1,"fab",3,"expanded"],[1,"menu",3,"expanded"],["fontSet","filled","fontIcon","arrow_right"]],template:function(n,i){if(n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),B("click",function(){return i.expandedChange.emit(!i.expanded)}),r(),m(4,ze,1,1,"ng-template",null,4,P),r(),m(6,qe,3,0,"div",5),r(),s(7,"rpl-nav-fab",6)(8,"rpl-nav-menu",7),r()),n&2){let _=w(5);l(3),p("indicator",_)("expanded",i.expanded),l(3),p("ngIf",i.expanded),l(1),p("expanded",i.expanded)("@fab",void 0),l(1),p("expanded",i.expanded)}},dependencies:[h,O,H,st,xt,ut,dt],styles:["[_nghost-%COMP%]{display:block}.wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px 0;background-color:#344955;color:#ffffffde;overflow-y:auto}.expanded[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{align-items:flex-start;padding:8px 16px}@supports (overflow: overlay){.wrapper[_ngcontent-%COMP%]{overflow-y:overlay}}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.wrapper.scrolling[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffffff1f}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#ffffff4d}.primary-line[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.expanded[_nghost-%COMP%] .primary-line[_ngcontent-%COMP%]{width:100%}.primary-line[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.menu[_ngcontent-%COMP%]{width:100%}"],data:{animation:[v("arrow",[F("true",C({transform:"rotate(180deg)"})),F("false",C({transform:"rotate(0deg)"})),d("true <=> false",[y(`200ms ${b.STANDARD_CURVE}`)])]),v("fab",[d(":enter",[])])]},changeDetection:0})})(),e})();function Ye(e,t){if(e&1){let a=Q();c(0,"rpl-side-nav",2),B("expandedChange",function(n){z(a);let i=f();return q(i.navExpanded.set(n===i.navShouldExpand()?void 0:n))}),r()}if(e&2){let a=f(),o;g("expanded",a.navExpanded())("on-grid",a.navExpanded()===void 0),p("expanded",(o=a.navExpanded())!==null&&o!==void 0?o:a.navShouldExpand())}}var ve=(()=>{let t=class{constructor(){this.animationId=tt(),this.breakpoints=nt(),this.navShouldRender=E(()=>this.breakpoints()["tablet-portrait"]),this.navShouldExpand=E(()=>this.breakpoints().laptop),this.navExpanded=bt(void 0)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-main"]],decls:3,vars:2,consts:[["data-route-animation-target","",3,"expanded","on-grid","expandedChange",4,"ngIf"],[1,"content"],["data-route-animation-target","",3,"expanded","expandedChange"]],template:function(n,i){n&1&&(m(0,Ye,1,5,"rpl-side-nav",0),c(1,"div",1),s(2,"router-outlet"),r()),n&2&&(p("ngIf",i.navShouldRender()),l(1),p("@content",i.animationId()))},dependencies:[h,j,Ce],styles:["[_nghost-%COMP%]{display:contents}rpl-side-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/col-1}.laptop[_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%]{grid-column:margin-left/col-3}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid){width:100px}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid).expanded{width:300px}.content[_ngcontent-%COMP%]{display:contents}"],data:{animation:[v("content",[d(":enter, :leave, * <=> none",[]),d("base => upper",[vt.apply("z","forward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})]),d("upper => base",[vt.apply("z","backward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})])])]},changeDetection:0})})(),e})();var Me=(()=>{let t=class{constructor(){this.animationId=tt()}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-upper-foundation"]],decls:2,vars:1,consts:[["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main",0),s(1,"router-outlet"),r()),n&2&&p("@main",i.animationId())},dependencies:[j],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;background-color:#fff;color:#000000de}.tablet-portrait[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-12}.laptop[_nghost-%COMP%] main[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-4/col-12}"],data:{animation:[v("main",[d(":enter, :leave, * <=> none",[]),d("* => *",[$(":self",C({position:"relative"})),$(":enter, :leave",C({width:"100%"})),et.apply()])])]},changeDetection:0})})(),e})();var Qe=()=>W(void 0,null,function*(){let e=u(G),t=e.select(Xt.selectAuthenticated).pipe(S(Boolean));yield gt(t),e.dispatch(re.loadContacts()),e.dispatch(ie.loadMailboxes()),e.dispatch(ce.loadMails());let a=_t([e.select(ct.selectContactsLoadingStatus).pipe(S(o=>o.type==="completed")),e.select(ae.selectMailboxesLoadingStatus).pipe(S(o=>o.type==="completed")),e.select(le.selectMailsLoadingStatus).pipe(S(o=>o.type==="completed"))]);return yield gt(a),!0}),Xe=[{path:"",component:ve,canActivate:[Qe],children:[{path:"",component:he,data:{animationId:"base"},children:[{matcher:e=>e.length&&e.join("/").startsWith("mail")?{consumed:[],posParams:{}}:null,loadChildren:()=>import("./mails.module-BAAX3Y6N.js").then(e=>e.MailsModule)}]},{path:"",component:Me,data:{animationId:"upper"},children:[{path:"compose",loadChildren:()=>import("./compose.module-WI5XLJWY.js").then(e=>e.ComposeModule)},{path:"search",loadChildren:()=>import("./search.module-MXQRT6GI.js").then(e=>e.SearchModule)}]}]}],_e=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=Y({imports:[Ct.forChild(Xe),Ct]})})(),e})();var si=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=Y({imports:[Rt,_e,Ht,Yt,Ft,X,Z,te,pt,rt,H,ot,it]})})(),e})();export{si as MainModule}; diff --git a/ngsw.json b/ngsw.json index 870ab81..f38ad32 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1703652307101, + "timestamp": 1705314842953, "index": "/index.html", "assetGroups": [ { @@ -11,35 +11,36 @@ "ignoreVary": true }, "urls": [ - "/auth.module-3TIUYX5T.js", - "/chunk-2SKRDM35.js", - "/chunk-3J24ZBPC.js", - "/chunk-3QW2KPOP.js", - "/chunk-3XARSZJN.js", - "/chunk-BQG6VIZI.js", - "/chunk-C6VMUQFT.js", - "/chunk-CQOBEFKW.js", - "/chunk-EFASKN6N.js", - "/chunk-GQLKKIYV.js", - "/chunk-HDMEYBD3.js", - "/chunk-IJYCWCJA.js", - "/chunk-IKTP4ODH.js", - "/chunk-JWYHAYBW.js", - "/chunk-KBDKS3MK.js", - "/chunk-KJC4PF6B.js", - "/chunk-LJ7UDTCX.js", - "/chunk-MVUL6ZIM.js", - "/chunk-SCW2PD66.js", - "/chunk-V5CHA6ZC.js", - "/compose.module-7PAFICHY.js", + "/auth.module-2VAZSUEG.js", + "/chunk-3UZNBURP.js", + "/chunk-5RPBRSJY.js", + "/chunk-5S2TY6JK.js", + "/chunk-5SE4VJ2X.js", + "/chunk-6Q7PW4SA.js", + "/chunk-75RAGE5M.js", + "/chunk-CW6XQTGJ.js", + "/chunk-E7R3WNTA.js", + "/chunk-ESQOXLFI.js", + "/chunk-FB6BMVSR.js", + "/chunk-ITNV32XJ.js", + "/chunk-JYLXIIJ3.js", + "/chunk-MOR4BE3D.js", + "/chunk-MXV4FMBH.js", + "/chunk-N7M2F6P2.js", + "/chunk-OROYKVKJ.js", + "/chunk-QWRHMAON.js", + "/chunk-RTHH4LAA.js", + "/chunk-T3VJN7I3.js", + "/chunk-VGXZBCX5.js", + "/compose.module-WI5XLJWY.js", "/favicon.ico", "/index.html", - "/mails.module-76TMCKA4.js", - "/main.PQEVK7QX.js", - "/main.module-QRANZ4NP.js", + "/mails.module-BAAX3Y6N.js", + "/main.3SDPOVGH.js", + "/main.module-VRBQ7ISX.js", "/manifest.webmanifest", - "/polyfills.VAAX2LDZ.js", - "/search.module-S5S4BHKT.js", + "/polyfills.QPH5AWSP.js", + "/search.module-MXQRT6GI.js", "/styles.7S6VCLUN.css" ], "patterns": [] @@ -95,36 +96,37 @@ "/assets/icons/icon-72x72.png": "fca065187bcd1431381e439641680a4288f3b883", "/assets/icons/icon-96x96.png": "424dded4ea1d268fad672990ad048e92ce81af00", "/assets/reply-overview.png": "d1fa407ddb637158bdb4a9599cc145d5e5982db8", - "/auth.module-3TIUYX5T.js": "1cdf2d4fe241f57d8310d95db2971607b55b8b2f", - "/chunk-2SKRDM35.js": "26edd148576a0063ca7566368462ecc98710c1cc", - "/chunk-3J24ZBPC.js": "412f7bdacc79126880ecf61cb8beeebb67bc79fa", - "/chunk-3QW2KPOP.js": "424d7f2457d30bff5d6eddb05c54ce7d4ba0c995", - "/chunk-3XARSZJN.js": "a63b7ef7c6ccea20c08c3bfd2932bae69f4b2e49", - "/chunk-BQG6VIZI.js": "8e096e9c2f92c40400f55433b943ee27fb6db6af", - "/chunk-C6VMUQFT.js": "eef135b106671b432cf1378b278c8f9d5046a0b5", - "/chunk-CQOBEFKW.js": "bda55892d859ef6b5d311f6ed0fc2ddb73fee254", - "/chunk-EFASKN6N.js": "46e7e633265b314876df261d614e373f97962856", - "/chunk-GQLKKIYV.js": "64dbf70e68614f70ce75e64d37c3427e8a3afb00", - "/chunk-HDMEYBD3.js": "0f445d235d6a444b6ee70c50038ea0e9db44b5f2", - "/chunk-IJYCWCJA.js": "6f85814aa17b2846b2e5a729a4b50440dabafb56", - "/chunk-IKTP4ODH.js": "61b6118384502ca691d16811d417a676dbe83d67", - "/chunk-JWYHAYBW.js": "b7ec1db3580e995edcab11cc35b982f73c4184f6", - "/chunk-KBDKS3MK.js": "d76d4c0b284008aa8ca8f349719c3a3444c1583b", - "/chunk-KJC4PF6B.js": "2d131b30de21703a5074f026e82338977eda612e", - "/chunk-LJ7UDTCX.js": "eefb0fabda7f99b0926f15ed64c0bf0aeaf71981", - "/chunk-MVUL6ZIM.js": "a11289681e6cfe70608b3d683a0a4f1f345e69b4", - "/chunk-SCW2PD66.js": "bef304f66260b6d3460b7d998fab208242264507", - "/chunk-V5CHA6ZC.js": "9a7bf16dcc9f9ab5c50b226446e6badfdfe5afbc", - "/compose.module-7PAFICHY.js": "9860dc3f5db6eef9de30a56788b4d1e5b81e94b7", + "/auth.module-2VAZSUEG.js": "6fee2b17c4969380ae66379a581aa7c8279ae5c3", + "/chunk-3UZNBURP.js": "eb654e52869545d73e62cc21f3315891e6833f39", + "/chunk-5RPBRSJY.js": "3f36c713477e7a4f1b17f1c9ef158ef25064f5b0", + "/chunk-5S2TY6JK.js": "d139b30bda0486f33cad1d734344e76c85a0d5cb", + "/chunk-5SE4VJ2X.js": "5a327de853d9bbcd483a1868d80dcb27734bdd81", + "/chunk-6Q7PW4SA.js": "e6b09f133014f317c958a19408ef6d2c8327eeaf", + "/chunk-75RAGE5M.js": "144f0f31576901507c154e1e08911ed4823bcde6", + "/chunk-CW6XQTGJ.js": "a5b501a0135fb2553411066206761bfc0b8ca5f6", + "/chunk-E7R3WNTA.js": "fc13465f5cdc791ba163650a3c9f9faac8caafd1", + "/chunk-ESQOXLFI.js": "e2a43cbdf0c77593cab877d4de79bce81d2413e6", + "/chunk-FB6BMVSR.js": "3a4be72dea093051031322df61f295ea5ecf1918", + "/chunk-ITNV32XJ.js": "c7cfb9e9c257dea112bd0060460471d31220fb92", + "/chunk-JYLXIIJ3.js": "947ab1364fb70be105dde4d6ca8d02a1f66dc4f7", + "/chunk-MOR4BE3D.js": "4ef1dc964ad91eb47b240b4d2848ae8a85975621", + "/chunk-MXV4FMBH.js": "ccae039a02e86739eb63509e24e17a40bb4d2c3e", + "/chunk-N7M2F6P2.js": "e1ac2bd0daa7da7f54e415011b182fbed0c093f1", + "/chunk-OROYKVKJ.js": "6e20ba273519a7513da7d192a0f27557a64d553e", + "/chunk-QWRHMAON.js": "13e2b770aeebca2f47105f18659023826ee5077d", + "/chunk-RTHH4LAA.js": "037b828a10a5901731490c7bf24d6250a4c80a37", + "/chunk-T3VJN7I3.js": "5745bf16f86ee3834a468138f61c760bc01d18ac", + "/chunk-VGXZBCX5.js": "0c77ac5f9f02bda07c40a03b70a4a3f18b391123", + "/compose.module-WI5XLJWY.js": "309415c460f16b8f17218715d79d856aa4771336", "/favicon.ico": "fbab354eb685a7157f9a006929ddf52c55458317", - "/index.html": "7ac62d1bd2c36b3a1198237d396029727b57af15", - "/mails.module-76TMCKA4.js": "e26926cc8658806ac836aa33ff95fbb74734c6ea", - "/main.PQEVK7QX.js": "cdd1f702f76cb5af186c769718516946410421e7", - "/main.module-QRANZ4NP.js": "913fb0d3ab9227d9064b10b5a99ca858d66fc554", + "/index.html": "8261e92732668186cd565b0ecfbe96f5d54be586", + "/mails.module-BAAX3Y6N.js": "4f2669c3d2e0aeaf01daa6c9689122d1ec6881ac", + "/main.3SDPOVGH.js": "50995f2faaebb7a27b4caff937389d8863aa030f", + "/main.module-VRBQ7ISX.js": "5c269fb15c19d621ff81c3419c0765f73f6062cf", "/manifest.webmanifest": "0478daf5cb975561ca56b989460603ab7bb253e0", - "/polyfills.VAAX2LDZ.js": "cfe96cbdcd5b83cb8c99b4637cebebe4e82b0626", + "/polyfills.QPH5AWSP.js": "c6e278a083e30fe9badf364c4576789d3bcfb604", "/reply-overview.V6AXGEZG.png": "d1fa407ddb637158bdb4a9599cc145d5e5982db8", - "/search.module-S5S4BHKT.js": "29aec4a8d0f545ac7cb599cf1d2402670c27620a", + "/search.module-MXQRT6GI.js": "fc9ea2fb1f45a3877a668d3ff42f59ba20525ea5", "/styles.7S6VCLUN.css": "c0ea76469bf71dfe92a2406c3f5a416d39b3e74b" }, "navigationUrls": [ diff --git a/polyfills.VAAX2LDZ.js b/polyfills.QPH5AWSP.js similarity index 99% rename from polyfills.VAAX2LDZ.js rename to polyfills.QPH5AWSP.js index 442a5f6..9b44019 100644 --- a/polyfills.VAAX2LDZ.js +++ b/polyfills.QPH5AWSP.js @@ -1,2 +1,2 @@ -import{a as Xe,b as ze}from"./chunk-3J24ZBPC.js";(function(e){let n=e.performance;function o(A){n&&n.mark&&n.mark(A)}function r(A,h){n&&n.measure&&n.measure(A,h)}o("Zone");let i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(A){return i+A}let m=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(m||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{let h=class{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return ne}static __load_patch(t,_,w=!1){if(oe.hasOwnProperty(t)){if(!w&&m)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let L="Zone:"+t;o(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){let _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if(typeof t!="function")throw new Error("Expecting function got: "+t);let w=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(w,this,arguments,_)}}run(t,_,w,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,w,L)}finally{W=W.parent}}runGuarded(t,_=null,w,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,w,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,w){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===Q||t.type===P))return;let L=t.state!=y;L&&t._transitionTo(y,j),t.runCount++;let a=ne;ne=t,W={parent:W,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,w)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(j,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,ne=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let w=this;for(;w;){if(w===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);w=w.parent}}t._transitionTo(z,G);let _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(w){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,w),w}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(j,z),t}scheduleMicroTask(t,_,w,L){return this.scheduleTask(new p(I,t,_,w,L,void 0))}scheduleMacroTask(t,_,w,L,a){return this.scheduleTask(new p(P,t,_,w,L,a))}scheduleEventTask(t,_,w,L,a){return this.scheduleTask(new p(Q,t,_,w,L,a))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(!(t.state!==j&&t.state!==y)){t._transitionTo(V,j,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){let w=t._zoneDelegates;_==-1&&(t._zoneDelegates=null);for(let L=0;L{h.__symbol__=l})(),A})(),b={name:"",onHasTask:(A,h,c,t)=>A.hasTask(c,t),onScheduleTask:(A,h,c,t)=>A.scheduleTask(c,t),onInvokeTask:(A,h,c,t,_,w)=>A.invokeTask(c,t,_,w),onCancelTask:(A,h,c,t)=>A.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let _=t&&t.onHasTask,w=c&&c._hasTaskZS;(_||w)&&(this._hasTaskZS=_?t:b,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,w){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,w):c.apply(t,_)}handleError(h,c){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c):!0}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else if(c.type==I)C(c);else throw new Error("Task is missing scheduleFn.");return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){let t=this._taskCounts,_=t[h],w=t[h]=_+c;if(w<0)throw new Error("More tasks executed then were scheduled.");if(_==0||w==0){let L={microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h};this.hasTask(this.zone,L)}}}class p{constructor(h,c,t,_,w,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=w,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;let a=this;h===Q&&_&&_.useG?this.invoke=p.invokeTask:this.invoke=function(){return p.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{ee==1&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state===c||this._state===t)this._state=h,h==G&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${h}', expecting state '${c}'${t?" or '"+t+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let M=l("setTimeout"),O=l("Promise"),N=l("then"),U=[],H=!1,K;function X(A){if(K||e[O]&&(K=e[O].resolve(0)),K){let h=K[N];h||(h=K.then),h.call(K,A)}else e[M](A,0)}function C(A){ee===0&&U.length===0&&X(T),A&&U.push(A)}function T(){if(!H){for(H=!0;U.length;){let A=U;U=[];for(let h=0;hW,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X},W={parent:null,zone:new E(null,null)},ne=null,ee=0;function q(){}return r("Zone","Zone"),e.Zone=E})(typeof window<"u"&&window||typeof self<"u"&&self||global);var pe=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,Me=Object.getPrototypeOf,ut=Object.create,ft=Array.prototype.slice,Le="addEventListener",Ae="removeEventListener",De=Zone.__symbol__(Le),Ze=Zone.__symbol__(Ae),ie="true",ce="false",ge=Zone.__symbol__("");function je(e,n){return Zone.current.wrap(e,n)}function He(e,n,o,r,i){return Zone.current.scheduleMacroTask(e,n,o,r,i)}var x=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,$=we&&Te||typeof self=="object"&&self||global,ht="removeAttribute";function xe(e,n){for(let o=e.length-1;o>=0;o--)typeof e[o]=="function"&&(e[o]=je(e[o],n+"_"+o));return e}function dt(e,n){let o=e.constructor.name;for(let r=0;r{let b=function(){return E.apply(this,xe(arguments,o+"."+i))};return ae(b,E),b})(l)}}}function Qe(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var et=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&{}.toString.call($.process)==="[object process]",Ge=!Re&&!et&&!!(we&&Te.HTMLElement),tt=typeof $.process<"u"&&{}.toString.call($.process)==="[object process]"&&!et&&!!(we&&Te.HTMLElement),Pe={},Ye=function(e){if(e=e||$.event,!e)return;let n=Pe[e.type];n||(n=Pe[e.type]=x("ON_PROPERTY"+e.type));let o=this||e.target||$,r=o[n],i;if(Ge&&o===Te&&e.type==="error"){let l=e;i=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),i===!0&&e.preventDefault()}else i=r&&r.apply(this,arguments),i!=null&&!i&&e.preventDefault();return i};function $e(e,n,o){let r=pe(e,n);if(!r&&o&&pe(o,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let i=x("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;let l=r.get,m=r.set,E=n.slice(2),b=Pe[E];b||(b=Pe[E]=x("ON_PROPERTY"+E)),r.set=function(v){let p=this;if(!p&&e===$&&(p=$),!p)return;typeof p[b]=="function"&&p.removeEventListener(E,Ye),m&&m.call(p,null),p[b]=v,typeof v=="function"&&p.addEventListener(E,Ye,!1)},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;let p=v[b];if(p)return p;if(l){let M=l.call(this);if(M)return r.set.call(this,M),typeof v[ht]=="function"&&v.removeAttribute(n),M}return null},Ie(e,n,r),e[i]=!0}function nt(e,n,o){if(n)for(let r=0;rfunction(m,E){let b=o(m,E);return b.cbIdx>=0&&typeof E[b.cbIdx]=="function"?He(b.name,E[b.cbIdx],b,i):l.apply(m,E)})}function ae(e,n){e[x("OriginalDelegate")]=n}var Je=!1,Oe=!1;function Et(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function Tt(){if(Je)return Oe;Je=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Oe=!0)}catch{}return Oe}Zone.__load_patch("ZoneAwarePromise",(e,n,o)=>{let r=Object.getOwnPropertyDescriptor,i=Object.defineProperty;function l(a){if(a&&a.toString===Object.prototype.toString){let u=a.constructor&&a.constructor.name;return(u||"")+": "+JSON.stringify(a)}return a?a.toString():Object.prototype.toString.call(a)}let m=o.symbol,E=[],b=e[m("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]===!0,v=m("Promise"),p=m("then"),M="__creationTrace__";o.onUnhandledError=a=>{if(o.showUncaughtError()){let u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},o.microtaskDrainDone=()=>{for(;E.length;){let a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};let O=m("unhandledPromiseRejectionHandler");function N(a){o.onUnhandledError(a);try{let u=n[O];typeof u=="function"&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function H(a){return a}function K(a){return c.reject(a)}let X=m("state"),C=m("value"),T=m("finally"),J=m("parentPromiseValue"),G=m("parentPromiseState"),z="Promise.then",j=null,y=!0,V=!1,d=0;function I(a,u){return s=>{try{Y(a,u,s)}catch(f){Y(a,!1,f)}}}let P=function(){let a=!1;return function(s){return function(){a||(a=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=m("currentTaskTrace");function Y(a,u,s){let f=P();if(a===s)throw new TypeError(Q);if(a[X]===j){let k=null;try{(typeof s=="object"||typeof s=="function")&&(k=s&&s.then)}catch(R){return f(()=>{Y(a,!1,R)})(),a}if(u!==V&&s instanceof c&&s.hasOwnProperty(X)&&s.hasOwnProperty(C)&&s[X]!==j)ne(s),Y(a,s[X],s[C]);else if(u!==V&&typeof k=="function")try{k.call(s,f(I(a,u)),f(I(a,!1)))}catch(R){f(()=>{Y(a,!1,R)})()}else{a[X]=u;let R=a[C];if(a[C]=s,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[J]),u===V&&s instanceof Error){let g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&i(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{let h=class{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return ne}static __load_patch(t,_,w=!1){if(oe.hasOwnProperty(t)){if(!w&&m)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let L="Zone:"+t;o(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){let _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if(typeof t!="function")throw new Error("Expecting function got: "+t);let w=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(w,this,arguments,_)}}run(t,_,w,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,w,L)}finally{W=W.parent}}runGuarded(t,_=null,w,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,w,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,w){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===Q||t.type===P))return;let L=t.state!=y;L&&t._transitionTo(y,j),t.runCount++;let a=ne;ne=t,W={parent:W,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,w)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(j,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,ne=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let w=this;for(;w;){if(w===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);w=w.parent}}t._transitionTo(z,G);let _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(w){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,w),w}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(j,z),t}scheduleMicroTask(t,_,w,L){return this.scheduleTask(new p(I,t,_,w,L,void 0))}scheduleMacroTask(t,_,w,L,a){return this.scheduleTask(new p(P,t,_,w,L,a))}scheduleEventTask(t,_,w,L,a){return this.scheduleTask(new p(Q,t,_,w,L,a))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(!(t.state!==j&&t.state!==y)){t._transitionTo(V,j,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){let w=t._zoneDelegates;_==-1&&(t._zoneDelegates=null);for(let L=0;L{h.__symbol__=l})(),A})(),b={name:"",onHasTask:(A,h,c,t)=>A.hasTask(c,t),onScheduleTask:(A,h,c,t)=>A.scheduleTask(c,t),onInvokeTask:(A,h,c,t,_,w)=>A.invokeTask(c,t,_,w),onCancelTask:(A,h,c,t)=>A.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let _=t&&t.onHasTask,w=c&&c._hasTaskZS;(_||w)&&(this._hasTaskZS=_?t:b,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,w){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,w):c.apply(t,_)}handleError(h,c){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c):!0}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else if(c.type==I)C(c);else throw new Error("Task is missing scheduleFn.");return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){let t=this._taskCounts,_=t[h],w=t[h]=_+c;if(w<0)throw new Error("More tasks executed then were scheduled.");if(_==0||w==0){let L={microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h};this.hasTask(this.zone,L)}}}class p{constructor(h,c,t,_,w,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=w,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;let a=this;h===Q&&_&&_.useG?this.invoke=p.invokeTask:this.invoke=function(){return p.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{ee==1&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state===c||this._state===t)this._state=h,h==G&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${h}', expecting state '${c}'${t?" or '"+t+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let M=l("setTimeout"),O=l("Promise"),N=l("then"),U=[],H=!1,K;function X(A){if(K||e[O]&&(K=e[O].resolve(0)),K){let h=K[N];h||(h=K.then),h.call(K,A)}else e[M](A,0)}function C(A){ee===0&&U.length===0&&X(T),A&&U.push(A)}function T(){if(!H){for(H=!0;U.length;){let A=U;U=[];for(let h=0;hW,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X},W={parent:null,zone:new E(null,null)},ne=null,ee=0;function q(){}return r("Zone","Zone"),e.Zone=E})(typeof window<"u"&&window||typeof self<"u"&&self||global);var pe=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,Me=Object.getPrototypeOf,ut=Object.create,ft=Array.prototype.slice,Le="addEventListener",Ae="removeEventListener",De=Zone.__symbol__(Le),Ze=Zone.__symbol__(Ae),ie="true",ce="false",ge=Zone.__symbol__("");function je(e,n){return Zone.current.wrap(e,n)}function He(e,n,o,r,i){return Zone.current.scheduleMacroTask(e,n,o,r,i)}var x=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,$=we&&Te||typeof self=="object"&&self||global,ht="removeAttribute";function xe(e,n){for(let o=e.length-1;o>=0;o--)typeof e[o]=="function"&&(e[o]=je(e[o],n+"_"+o));return e}function dt(e,n){let o=e.constructor.name;for(let r=0;r{let b=function(){return E.apply(this,xe(arguments,o+"."+i))};return ae(b,E),b})(l)}}}function Qe(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var et=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&{}.toString.call($.process)==="[object process]",Ge=!Re&&!et&&!!(we&&Te.HTMLElement),tt=typeof $.process<"u"&&{}.toString.call($.process)==="[object process]"&&!et&&!!(we&&Te.HTMLElement),Pe={},Ye=function(e){if(e=e||$.event,!e)return;let n=Pe[e.type];n||(n=Pe[e.type]=x("ON_PROPERTY"+e.type));let o=this||e.target||$,r=o[n],i;if(Ge&&o===Te&&e.type==="error"){let l=e;i=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),i===!0&&e.preventDefault()}else i=r&&r.apply(this,arguments),i!=null&&!i&&e.preventDefault();return i};function $e(e,n,o){let r=pe(e,n);if(!r&&o&&pe(o,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let i=x("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;let l=r.get,m=r.set,E=n.slice(2),b=Pe[E];b||(b=Pe[E]=x("ON_PROPERTY"+E)),r.set=function(v){let p=this;if(!p&&e===$&&(p=$),!p)return;typeof p[b]=="function"&&p.removeEventListener(E,Ye),m&&m.call(p,null),p[b]=v,typeof v=="function"&&p.addEventListener(E,Ye,!1)},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;let p=v[b];if(p)return p;if(l){let M=l.call(this);if(M)return r.set.call(this,M),typeof v[ht]=="function"&&v.removeAttribute(n),M}return null},Ie(e,n,r),e[i]=!0}function nt(e,n,o){if(n)for(let r=0;rfunction(m,E){let b=o(m,E);return b.cbIdx>=0&&typeof E[b.cbIdx]=="function"?He(b.name,E[b.cbIdx],b,i):l.apply(m,E)})}function ae(e,n){e[x("OriginalDelegate")]=n}var Je=!1,Oe=!1;function Et(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function Tt(){if(Je)return Oe;Je=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Oe=!0)}catch{}return Oe}Zone.__load_patch("ZoneAwarePromise",(e,n,o)=>{let r=Object.getOwnPropertyDescriptor,i=Object.defineProperty;function l(a){if(a&&a.toString===Object.prototype.toString){let u=a.constructor&&a.constructor.name;return(u||"")+": "+JSON.stringify(a)}return a?a.toString():Object.prototype.toString.call(a)}let m=o.symbol,E=[],b=e[m("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]===!0,v=m("Promise"),p=m("then"),M="__creationTrace__";o.onUnhandledError=a=>{if(o.showUncaughtError()){let u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},o.microtaskDrainDone=()=>{for(;E.length;){let a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};let O=m("unhandledPromiseRejectionHandler");function N(a){o.onUnhandledError(a);try{let u=n[O];typeof u=="function"&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function H(a){return a}function K(a){return c.reject(a)}let X=m("state"),C=m("value"),T=m("finally"),J=m("parentPromiseValue"),G=m("parentPromiseState"),z="Promise.then",j=null,y=!0,V=!1,d=0;function I(a,u){return s=>{try{Y(a,u,s)}catch(f){Y(a,!1,f)}}}let P=function(){let a=!1;return function(s){return function(){a||(a=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=m("currentTaskTrace");function Y(a,u,s){let f=P();if(a===s)throw new TypeError(Q);if(a[X]===j){let k=null;try{(typeof s=="object"||typeof s=="function")&&(k=s&&s.then)}catch(R){return f(()=>{Y(a,!1,R)})(),a}if(u!==V&&s instanceof c&&s.hasOwnProperty(X)&&s.hasOwnProperty(C)&&s[X]!==j)ne(s),Y(a,s[X],s[C]);else if(u!==V&&typeof k=="function")try{k.call(s,f(I(a,u)),f(I(a,!1)))}catch(R){f(()=>{Y(a,!1,R)})()}else{a[X]=u;let R=a[C];if(a[C]=s,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[J]),u===V&&s instanceof Error){let g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&i(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{let S=a[C],D=!!s&&T===s[T];D&&(s[J]=S,s[G]=R);let Z=u.run(g,void 0,D&&g!==K&&g!==H?[]:[S]);Y(s,!0,Z)}catch(S){Y(s,!1,S)}},s)}let q="function ZoneAwarePromise() { [native code] }",A=function(){},h=e.AggregateError;class c{static toString(){return q}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||typeof u[Symbol.iterator]!="function")return Promise.reject(new h([],"All promises were rejected"));let s=[],f=0;try{for(let g of u)f++,s.push(c.resolve(g))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(f===0)return Promise.reject(new h([],"All promises were rejected"));let k=!1,R=[];return new c((g,S)=>{for(let D=0;D{k||(k=!0,g(Z))},Z=>{R.push(Z),f--,f===0&&(k=!0,S(new h(R,"All promises were rejected")))})})}static race(u){let s,f,k=new this((S,D)=>{s=S,f=D});function R(S){s(S)}function g(S){f(S)}for(let S of u)U(S)||(S=this.resolve(S)),S.then(R,g);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,k,R=new this((Z,F)=>{f=Z,k=F}),g=2,S=0,D=[];for(let Z of u){U(Z)||(Z=this.resolve(Z));let F=S;try{Z.then(B=>{D[F]=s?s.thenCallback(B):B,g--,g===0&&f(D)},B=>{s?(D[F]=s.errorCallback(B),g--,g===0&&f(D)):k(B)})}catch(B){k(B)}g++,S++}return g-=2,g===0&&f(D),R}constructor(u){let s=this;if(!(s instanceof c))throw new Error("Must be an instanceof Promise.");s[X]=j,s[C]=[];try{let f=P();u&&u(f(I(s,y)),f(I(s,V)))}catch(f){Y(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,s){let f=this.constructor?.[Symbol.species];(!f||typeof f!="function")&&(f=this.constructor||c);let k=new f(A),R=n.current;return this[X]==j?this[C].push(R,k,u,s):ee(this,R,k,u,s),k}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||typeof s!="function")&&(s=c);let f=new s(A);f[T]=T;let k=n.current;return this[X]==j?this[C].push(k,f,u,u):ee(this,k,f,u,u),f}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;let t=e[v]=e.Promise;e.Promise=c;let _=m("thenPatched");function w(a){let u=a.prototype,s=r(u,"then");if(s&&(s.writable===!1||!s.configurable))return;let f=u.then;u[p]=f,a.prototype.then=function(k,R){return new c((S,D)=>{f.call(this,S,D)}).then(k,R)},a[_]=!0}o.patchThen=w;function L(a){return function(u,s){let f=a.apply(u,s);if(f instanceof c)return f;let k=f.constructor;return k[_]||w(k),f}}return t&&(w(t),le(e,"fetch",a=>L(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,o=x("OriginalDelegate"),r=x("Promise"),i=x("Error"),l=function(){if(typeof this=="function"){let v=this[o];if(v)return typeof v=="function"?n.call(v):Object.prototype.toString.call(v);if(this===Promise){let p=e[r];if(p)return n.call(p)}if(this===Error){let p=e[i];if(p)return n.call(p)}}return n.call(this)};l[o]=n,Function.prototype.toString=l;let m=Object.prototype.toString,E="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?E:m.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var yt={useG:!0},te={},rt={},ot=new RegExp("^"+ge+"(\\w+)(true|false)$"),st=x("propagationStopped");function it(e,n){let o=(n?n(e):e)+ce,r=(n?n(e):e)+ie,i=ge+o,l=ge+r;te[e]={},te[e][ce]=i,te[e][ie]=l}function mt(e,n,o,r){let i=r&&r.add||Le,l=r&&r.rm||Ae,m=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",b=x(i),v="."+i+":",p="prependListener",M="."+p+":",O=function(C,T,J){if(C.isRemoved)return;let G=C.callback;typeof G=="object"&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);let z;try{C.invoke(C,T,[J])}catch(y){z=y}let j=C.options;if(j&&typeof j=="object"&&j.once){let y=C.originalDelegate?C.originalDelegate:C.callback;T[l].call(T,J.type,y,j)}return z};function N(C,T,J){if(T=T||e.event,!T)return;let G=C||T.target||e,z=G[te[T.type][J?ie:ce]];if(z){let j=[];if(z.length===1){let y=O(z[0],G,T);y&&j.push(y)}else{let y=z.slice();for(let V=0;V{throw V})}}}let U=function(C){return N(this,C,!1)},H=function(C){return N(this,C,!0)};function K(C,T){if(!C)return!1;let J=!0;T&&T.useG!==void 0&&(J=T.useG);let G=T&&T.vh,z=!0;T&&T.chkDup!==void 0&&(z=T.chkDup);let j=!1;T&&T.rt!==void 0&&(j=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=Me(y);if(!y&&C[i]&&(y=C),!y||y[b])return!1;let V=T&&T.eventNameToString,d={},I=y[b]=y[i],P=y[x(l)]=y[l],Q=y[x(m)]=y[m],oe=y[x(E)]=y[E],Y;T&&T.prepend&&(Y=y[x(T.prepend)]=y[T.prepend]);function W(s,f){return!_e&&typeof s=="object"&&s?!!s.capture:!_e||!f?s:typeof s=="boolean"?{capture:s,passive:!0}:s?typeof s=="object"&&s.passive!==!1?ze(Xe({},s),{passive:!0}):s:{passive:!0}}let ne=function(s){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?H:U,d.options)},ee=function(s){if(!s.isRemoved){let f=te[s.eventName],k;f&&(k=f[s.capture?ie:ce]);let R=k&&s.target[k];if(R){for(let g=0;gfunction(i,l){i[st]=!0,r&&r.apply(i,l)})}function gt(e,n,o,r,i){let l=Zone.__symbol__(r);if(n[l])return;let m=n[l]=n[r];n[r]=function(E,b,v){return b&&b.prototype&&i.forEach(function(p){let M=`${o}.${r}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){let N=e.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}catch{}}),m.call(n,E,b,v)},e.attachOriginToPatched(n[r],m)}function at(e,n,o){if(!o||o.length===0)return n;let r=o.filter(l=>l.target===e);if(!r||r.length===0)return n;let i=r[0].ignoreProperties;return n.filter(l=>i.indexOf(l)===-1)}function Ke(e,n,o,r){if(!e)return;let i=at(e,n,o);nt(e,i,r)}function Ne(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function kt(e,n){if(Re&&!tt||Zone[e.symbol("patchEvents")])return;let o=n.__Zone_ignore_on_properties,r=[];if(Ge){let i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=Et()?[{target:i,ignoreProperties:["error"]}]:[];Ke(i,Ne(i),o&&o.concat(l),Me(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{let r=Ne(e);o.patchOnProperties=nt,o.patchMethod=le,o.bindArguments=xe,o.patchMacroTask=_t;let i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),o.patchEventPrototype=pt,o.patchEventTarget=mt,o.isIEOrEdge=Tt,o.ObjectDefineProperty=Ie,o.ObjectGetOwnPropertyDescriptor=pe,o.ObjectCreate=ut,o.ArraySlice=ft,o.patchClass=ke,o.wrapWithCurrentZone=je,o.filterProperties=at,o.attachOriginToPatched=ae,o._redefineProperty=Object.defineProperty,o.patchCallbacks=gt,o.getGlobalObjects=()=>({globalSources:rt,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ge,isMix:tt,isNode:Re,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:ge,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:Ae})});function vt(e,n){n.patchMethod(e,"queueMicrotask",o=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}var be=x("zoneTask");function Ee(e,n,o,r){let i=null,l=null;n+=r,o+=r;let m={};function E(v){let p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=i.apply(e,p.args),v}function b(v){return l.call(e,v.data.handleId)}i=le(e,n,v=>function(p,M){if(typeof M[0]=="function"){let O={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||(typeof O.handleId=="number"?delete m[O.handleId]:O.handleId&&(O.handleId[be]=null))}};let U=He(n,M[0],O,E,b);if(!U)return U;let H=U.data.handleId;return typeof H=="number"?m[H]=U:H&&(H[be]=U),H&&H.ref&&H.unref&&typeof H.ref=="function"&&typeof H.unref=="function"&&(U.ref=H.ref.bind(H),U.unref=H.unref.bind(H)),typeof H=="number"||H?H:U}else return v.apply(e,M)}),l=le(e,o,v=>function(p,M){let O=M[0],N;typeof O=="number"?N=m[O]:(N=O&&O[be],N||(N=O)),N&&typeof N.type=="string"?N.state!=="notScheduled"&&(N.cancelFn&&N.data.isPeriodic||N.runCount===0)&&(typeof O=="number"?delete m[O]:O&&(O[be]=null),N.zone.cancelTask(N)):v.apply(e,M)})}function bt(e,n){let{isBrowser:o,isMix:r}=n.getGlobalObjects();if(!o&&!r||!e.customElements||!("customElements"in e))return;let i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",i)}function Pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:o,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:m}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",o="clear";Ee(e,n,o,"Timeout"),Ee(e,n,o,"Interval"),Ee(e,n,o,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let o=["alert","prompt","confirm"];for(let r=0;rfunction(b,v){return n.current.run(l,e,v,E)})}});Zone.__load_patch("EventTarget",(e,n,o)=>{wt(e,o),Pt(e,o);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&o.patchEventTarget(e,o,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,o)=>{ke("MutationObserver"),ke("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,o)=>{ke("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,o)=>{ke("FileReader")});Zone.__load_patch("on_property",(e,n,o)=>{kt(o,e)});Zone.__load_patch("customElements",(e,n,o)=>{bt(e,o)});Zone.__load_patch("XHR",(e,n)=>{b(e);let o=x("xhrTask"),r=x("xhrSync"),i=x("xhrListener"),l=x("xhrScheduled"),m=x("xhrURL"),E=x("xhrErrorBeforeScheduled");function b(v){let p=v.XMLHttpRequest;if(!p)return;let M=p.prototype;function O(d){return d[o]}let N=M[De],U=M[Ze];if(!N){let d=v.XMLHttpRequestEventTarget;if(d){let I=d.prototype;N=I[De],U=I[Ze]}}let H="readystatechange",K="scheduled";function X(d){let I=d.data,P=I.target;P[l]=!1,P[E]=!1;let Q=P[i];N||(N=P[De],U=P[Ze]),Q&&U.call(P,H,Q);let oe=P[i]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[l]&&d.state===K){let W=P[n.__symbol__("loadfalse")];if(P.status!==0&&W&&W.length>0){let ne=d.invoke;d.invoke=function(){let ee=P[n.__symbol__("loadfalse")];for(let q=0;qfunction(d,I){return d[r]=I[2]==!1,d[m]=I[1],J.apply(d,I)}),G="XMLHttpRequest.send",z=x("fetchTaskAborting"),j=x("fetchTaskScheduling"),y=le(M,"send",()=>function(d,I){if(n.current[j]===!0||d[r])return y.apply(d,I);{let P={target:d,url:d[m],isPeriodic:!1,args:I,aborted:!1},Q=He(G,C,P,X,T);d&&d[E]===!0&&!P.aborted&&Q.state===K&&Q.invoke()}}),V=le(M,"abort",()=>function(d,I){let P=O(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[z]===!0)return V.apply(d,I)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&dt(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function o(r){return function(i){ct(e,r).forEach(m=>{let E=e.PromiseRejectionEvent;if(E){let b=new E(r,{promise:i.promise,reason:i.rejection});m.invoke(b)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=o("unhandledrejection"),n[x("rejectionHandledHandler")]=o("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,o)=>{vt(e,o)});function Ve(e){var n,o=e.Symbol;if(typeof o=="function")if(o.observable)n=o.observable;else{typeof o.for=="function"?n=o.for("https://github.com/benlesh/symbol-observable"):n=o("https://github.com/benlesh/symbol-observable");try{o.observable=n}catch{}}else n="@@observable";return n}var ye;typeof self<"u"?ye=self:typeof window<"u"?ye=window:typeof global<"u"?ye=global:typeof module<"u"?ye=module:ye=Function("return this")();var Dt=Ve(ye); diff --git a/search.module-MXQRT6GI.js b/search.module-MXQRT6GI.js new file mode 100644 index 0000000..5b196a4 --- /dev/null +++ b/search.module-MXQRT6GI.js @@ -0,0 +1 @@ +import{a as ve,b as Me,c as xe,d as ye}from"./chunk-CW6XQTGJ.js";import{a as P}from"./chunk-T3VJN7I3.js";import{b as A}from"./chunk-5RPBRSJY.js";import"./chunk-6Q7PW4SA.js";import{d as E,e as H}from"./chunk-75RAGE5M.js";import"./chunk-3UZNBURP.js";import{d as _e}from"./chunk-5SE4VJ2X.js";import{c as ce,e as me,f as de,g as pe}from"./chunk-5S2TY6JK.js";import"./chunk-FB6BMVSR.js";import{a as he,b as ue,c as ge}from"./chunk-E7R3WNTA.js";import{p as fe}from"./chunk-JYLXIIJ3.js";import{a as ne,d as oe,e as re,f as ae,g as se,i as le}from"./chunk-RTHH4LAA.js";import{Ba as a,D as j,Fd as b,Ia as m,Ib as Y,Jb as w,Ka as s,La as l,M as O,Ma as c,Na as v,Oa as g,Ob as F,Pa as _,Pb as G,Ra as Z,Rc as q,Ta as D,Va as d,W as $,Wd as T,Xc as J,Xd as k,Yc as K,Za as U,bb as M,ca as h,cb as C,e as I,ea as y,fa as S,ga as u,ld as R,ma as z,mb as p,md as X,na as V,nb as f,nd as Q,ob as W,od as ee,p as x,pd as te,s as B,sd as ie}from"./chunk-VGXZBCX5.js";import"./chunk-OROYKVKJ.js";var N=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({})})(),t})();var Ce=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({providers:[J],imports:[N,E,q,N,E]})})(),t})();function be(t,e){if(t&1&&(l(0,"div",6)(1,"span"),M(2),c(),M(3," - "),l(4,"span"),M(5),p(6,"readableDate"),c()()),t&2){let o=e.ngIf,n=d(2).$implicit,i;a(2),C((i=o.name)!==null&&i!==void 0?i:o.email),a(3),C(f(6,2,n.sentAt))}}function Te(t,e){if(t&1&&(l(0,"a",4),v(1,"mat-icon",5),l(2,"div",6),M(3),c(),m(4,be,7,4,"div",7),p(5,"async"),p(6,"contactFromMailParticipant"),c()),t&2){let o=e.ngIf,n=d().$implicit;U("routerLink","/mailboxes/",o.name,"/mails/",n.id,""),a(3),C(n.subject),a(1),s("ngIf",f(5,4,f(6,6,n.sender)))}}function Ae(t,e){if(t&1&&(g(0),m(1,Te,7,8,"a",3),p(2,"resolveRef"),_()),t&2){let o=e.$implicit,n=d(4).ngIf;a(1),s("ngIf",o.mailbox&&W(2,1,o.mailbox,n))}}function He(t,e){if(t&1&&(g(0),l(1,"div",2),M(2),c(),m(3,Ae,3,4,"ng-container",1),_()),t&2){let o=d().$implicit;a(2),C(o.name),a(1),s("ngForOf",o.items)}}function De(t,e){if(t&1&&(g(0),m(1,He,4,2,"ng-container",0),_()),t&2){let o=e.$implicit;a(1),s("ngIf",o.items.length)}}function Pe(t,e){if(t&1&&(l(0,"mat-nav-list"),m(1,De,2,1,"ng-container",1),c()),t&2){let o=e.ngIf;a(1),s("ngForOf",o)}}function ke(t,e){if(t&1&&(g(0),m(1,Pe,2,1,"mat-nav-list",0),p(2,"async"),_()),t&2){let o=d();a(1),s("ngIf",f(2,1,o.mailsGroups$))}}var Ee=(()=>{let e=class{constructor(){this.store=y(b),this.mailboxes$=this.store.select(fe.selectMailboxes),this.mails$=new I([]),this.mailsGroups$=this.mails$.pipe(x(n=>{let i={Yesterday:[],["This Week"]:[],Earlier:[]};return n.forEach(r=>{P().subtract(1,"day").isBefore(r.sentAt)?i.Yesterday.push(r):P().subtract(1,"week").isBefore(r.sentAt)?i["This Week"].push(r):i.Earlier.push(r)}),[{name:"Yesterday",items:i.Yesterday},{name:"This Week",items:i["This Week"]},{name:"Earlier",items:i.Earlier}]}))}set mails(n){this.mails$.next(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=S({type:e,selectors:[["rpl-search-result-list"]],inputs:{mails:"mails"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"subheader"],["mat-list-item","",3,"routerLink",4,"ngIf"],["mat-list-item","",3,"routerLink"],["matListIcon","","fontSet","filled","fontIcon","schedule"],["matLine",""],["matLine","",4,"ngIf"]],template:function(i,r){i&1&&(m(0,ke,3,3,"ng-container",0),p(1,"async")),i&2&&s("ngIf",f(1,1,r.mailboxes$))},dependencies:[Y,w,T,R,ce,de,K,me,F,ye,ve,xe],styles:[".subheader[_ngcontent-%COMP%]{margin:12px 20px;text-transform:uppercase}"],changeDetection:0})})(),t})();function Be(t,e){if(t&1){let o=Z();g(0),l(1,"rpl-header",1)(2,"a",2),v(3,"mat-icon",3),c(),l(4,"input",4),D("ngModelChange",function(i){z(o);let r=d();return V(r.searchText$.next(i))}),c(),l(5,"button",5),v(6,"mat-icon",6),c()(),l(7,"rpl-scrollable-area",7),v(8,"rpl-search-result-list",8),c(),_()}if(t&2){let o=e.ngIf,n=d(),i;a(2),s("routerLink",(i=n.lastActiveNavItem())==null?null:i.url),a(2),s("ngModel",n.searchText$.value),a(4),s("mails",o)}}var Le=(()=>{let e=class{constructor(){this.store=y(b),this.navService=y(ge),this.lastActiveNavItem=ie(this.navService.lastActiveItem$,{requireSync:!0}),this.searchText$=new I(""),this.mails$=B(this.searchText$.pipe(O()),this.searchText$.pipe(j(200))).pipe(x(n=>n.split(" ")),$(n=>this.store.select(_e.selectMails).pipe(x(i=>i.query(({subject:r})=>!!r&&this.matchKeyword(r,n))))))}matchKeyword(n,i){return i.some(r=>n.toLowerCase().includes(r.toLowerCase()))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=S({type:e,selectors:[["rpl-search"]],decls:2,vars:3,consts:[[4,"ngIf"],["ngForm","",1,"search-bar"],["mat-icon-button","","matTooltip","Back",3,"routerLink"],["fontSet","filled","fontIcon","arrow_back"],["name","search","type","text","placeholder","Search emails",3,"ngModel","ngModelChange"],["mat-icon-button",""],["fontSet","filled","fontIcon","mic"],["rplLayoutContent","","data-route-animation-target","",1,"search-result"],[3,"mails"]],template:function(i,r){i&1&&(m(0,Be,9,3,"ng-container",0),p(1,"async")),i&2&&s("ngIf",f(1,1,r.mails$))},dependencies:[w,ne,oe,re,se,ae,T,Q,ee,R,he,A,Me,H,Ee,F],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:18px;font-weight:400;line-height:24px;font-family:Work Sans,sans-serif;letter-spacing:normal}.search-result[_ngcontent-%COMP%]{height:0;flex-grow:1}"],changeDetection:0})})(),t})();var Oe=[{path:"",component:Le,title:"Search",data:{animationId:"search"}}],Ie=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[k.forChild(Oe),k]})})(),t})();var oi=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[G,le,Ie,te,X,E,Ce,pe,ue,A,H]})})(),t})();export{oi as SearchModule}; diff --git a/search.module-S5S4BHKT.js b/search.module-S5S4BHKT.js deleted file mode 100644 index 8ebc285..0000000 --- a/search.module-S5S4BHKT.js +++ /dev/null @@ -1 +0,0 @@ -import{a as ve,b as Me,c as k,d as xe,e as ye}from"./chunk-SCW2PD66.js";import{b as A}from"./chunk-2SKRDM35.js";import"./chunk-JWYHAYBW.js";import{d as E,e as H}from"./chunk-BQG6VIZI.js";import"./chunk-MVUL6ZIM.js";import{d as _e}from"./chunk-LJ7UDTCX.js";import{c as ce,e as me,f as de,g as pe}from"./chunk-IJYCWCJA.js";import"./chunk-C6VMUQFT.js";import{a as he,b as ue,c as ge}from"./chunk-EFASKN6N.js";import{p as fe}from"./chunk-HDMEYBD3.js";import{a as ne,d as oe,e as re,f as ae,g as se,i as le}from"./chunk-IKTP4ODH.js";import{Ca as a,E as j,Gd as b,Ja as m,Jb as Y,Kb as w,La as s,Ma as l,N as O,Na as c,Oa as v,Pa as g,Pb as F,Qa as _,Qb as G,Sa as Z,Sc as q,Ua as D,Wa as d,X as $,Xd as T,Yc as J,Yd as P,Zc as K,_a as U,cb as M,da as h,db as C,e as I,fa as y,ga as S,ha as u,md as R,na as z,nb as p,nd as X,oa as V,ob as f,od as Q,p as x,pb as W,pd as ee,qd as te,s as B,td as ie}from"./chunk-KBDKS3MK.js";import"./chunk-3J24ZBPC.js";var N=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({})})(),t})();var Ce=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({providers:[J],imports:[N,E,q,N,E]})})(),t})();function be(t,e){if(t&1&&(l(0,"div",6)(1,"span"),M(2),c(),M(3," - "),l(4,"span"),M(5),p(6,"readableDate"),c()()),t&2){let o=e.ngIf,n=d(2).$implicit,i;a(2),C((i=o.name)!==null&&i!==void 0?i:o.email),a(3),C(f(6,2,n.sentAt))}}function Te(t,e){if(t&1&&(l(0,"a",4),v(1,"mat-icon",5),l(2,"div",6),M(3),c(),m(4,be,7,4,"div",7),p(5,"async"),p(6,"contactFromMailParticipant"),c()),t&2){let o=e.ngIf,n=d().$implicit;U("routerLink","/mailboxes/",o.name,"/mails/",n.id,""),a(3),C(n.subject),a(1),s("ngIf",f(5,4,f(6,6,n.sender)))}}function Ae(t,e){if(t&1&&(g(0),m(1,Te,7,8,"a",3),p(2,"resolveRef"),_()),t&2){let o=e.$implicit,n=d(4).ngIf;a(1),s("ngIf",o.mailbox&&W(2,1,o.mailbox,n))}}function He(t,e){if(t&1&&(g(0),l(1,"div",2),M(2),c(),m(3,Ae,3,4,"ng-container",1),_()),t&2){let o=d().$implicit;a(2),C(o.name),a(1),s("ngForOf",o.items)}}function De(t,e){if(t&1&&(g(0),m(1,He,4,2,"ng-container",0),_()),t&2){let o=e.$implicit;a(1),s("ngIf",o.items.length)}}function Pe(t,e){if(t&1&&(l(0,"mat-nav-list"),m(1,De,2,1,"ng-container",1),c()),t&2){let o=e.ngIf;a(1),s("ngForOf",o)}}function ke(t,e){if(t&1&&(g(0),m(1,Pe,2,1,"mat-nav-list",0),p(2,"async"),_()),t&2){let o=d();a(1),s("ngIf",f(2,1,o.mailsGroups$))}}var Ee=(()=>{let e=class{constructor(){this.store=y(b),this.mailboxes$=this.store.select(fe.selectMailboxes),this.mails$=new I([]),this.mailsGroups$=this.mails$.pipe(x(n=>{let i={Yesterday:[],["This Week"]:[],Earlier:[]};return n.forEach(r=>{k().subtract(1,"day").isBefore(r.sentAt)?i.Yesterday.push(r):k().subtract(1,"week").isBefore(r.sentAt)?i["This Week"].push(r):i.Earlier.push(r)}),[{name:"Yesterday",items:i.Yesterday},{name:"This Week",items:i["This Week"]},{name:"Earlier",items:i.Earlier}]}))}set mails(n){this.mails$.next(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=S({type:e,selectors:[["rpl-search-result-list"]],inputs:{mails:"mails"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"subheader"],["mat-list-item","",3,"routerLink",4,"ngIf"],["mat-list-item","",3,"routerLink"],["matListIcon","","fontSet","filled","fontIcon","schedule"],["matLine",""],["matLine","",4,"ngIf"]],template:function(i,r){i&1&&(m(0,ke,3,3,"ng-container",0),p(1,"async")),i&2&&s("ngIf",f(1,1,r.mailboxes$))},dependencies:[Y,w,T,R,ce,de,K,me,F,ye,ve,xe],styles:[".subheader[_ngcontent-%COMP%]{margin:12px 20px;text-transform:uppercase}"],changeDetection:0})})(),t})();function Be(t,e){if(t&1){let o=Z();g(0),l(1,"rpl-header",1)(2,"a",2),v(3,"mat-icon",3),c(),l(4,"input",4),D("ngModelChange",function(i){z(o);let r=d();return V(r.searchText$.next(i))}),c(),l(5,"button",5),v(6,"mat-icon",6),c()(),l(7,"rpl-scrollable-area",7),v(8,"rpl-search-result-list",8),c(),_()}if(t&2){let o=e.ngIf,n=d(),i;a(2),s("routerLink",(i=n.lastActiveNavItem())==null?null:i.url),a(2),s("ngModel",n.searchText$.value),a(4),s("mails",o)}}var Le=(()=>{let e=class{constructor(){this.store=y(b),this.navService=y(ge),this.lastActiveNavItem=ie(this.navService.lastActiveItem$,{requireSync:!0}),this.searchText$=new I(""),this.mails$=B(this.searchText$.pipe(O()),this.searchText$.pipe(j(200))).pipe(x(n=>n.split(" ")),$(n=>this.store.select(_e.selectMails).pipe(x(i=>i.query(({subject:r})=>!!r&&this.matchKeyword(r,n))))))}matchKeyword(n,i){return i.some(r=>n.toLowerCase().includes(r.toLowerCase()))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=S({type:e,selectors:[["rpl-search"]],decls:2,vars:3,consts:[[4,"ngIf"],["ngForm","",1,"search-bar"],["mat-icon-button","","matTooltip","Back",3,"routerLink"],["fontSet","filled","fontIcon","arrow_back"],["name","search","type","text","placeholder","Search emails",3,"ngModel","ngModelChange"],["mat-icon-button",""],["fontSet","filled","fontIcon","mic"],["rplLayoutContent","","data-route-animation-target","",1,"search-result"],[3,"mails"]],template:function(i,r){i&1&&(m(0,Be,9,3,"ng-container",0),p(1,"async")),i&2&&s("ngIf",f(1,1,r.mails$))},dependencies:[w,ne,oe,re,se,ae,T,Q,ee,R,he,A,Me,H,Ee,F],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:18px;font-weight:400;line-height:24px;font-family:Work Sans,sans-serif;letter-spacing:normal}.search-result[_ngcontent-%COMP%]{height:0;flex-grow:1}"],changeDetection:0})})(),t})();var Oe=[{path:"",component:Le,title:"Search",data:{animationId:"search"}}],Ie=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[P.forChild(Oe),P]})})(),t})();var oi=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[G,le,Ie,te,X,E,Ce,pe,ue,A,H]})})(),t})();export{oi as SearchModule};