From ba32829759072d3a1f8cad349514f19ba00246df Mon Sep 17 00:00:00 2001 From: CircleCI Date: Tue, 1 Oct 2024 17:06:46 +0000 Subject: [PATCH] Auto-generated commit -- Triggered by commit: https://github.com/jfcere/ngx-markdown/commit/1bcaa29f1beadcae5ab21de83df1528e6c4190f3 CircleCI build: https://circleci.com/gh/jfcere/ngx-markdown/1147 --- 404.html | 4 ++-- chunk-AHPJCQ2Z.js => chunk-2UCFPECH.js | 2 +- chunk-CDPJAAAI.js => chunk-63GU5EOQ.js | 2 +- chunk-VKLY7JD7.js => chunk-FOLJ7I2F.js | 2 +- chunk-HOCJETDT.js => chunk-I76JPYIG.js | 2 +- chunk-J43BB2RU.js | 2 ++ chunk-KWFNX6EY.js | 1 - chunk-QZPHFG2E.js | 2 -- chunk-CEMKUDOU.js => chunk-SZTHPHUF.js | 4 ++-- chunk-7IDADAMZ.js => chunk-XOR3IMN4.js | 2 +- chunk-YV6SNVLZ.js | 1 + index.html | 4 ++-- main-BY45BIGH.js | 4 ---- main-MXIFDE3C.js | 4 ++++ 14 files changed, 18 insertions(+), 18 deletions(-) rename chunk-AHPJCQ2Z.js => chunk-2UCFPECH.js (94%) rename chunk-CDPJAAAI.js => chunk-63GU5EOQ.js (98%) rename chunk-VKLY7JD7.js => chunk-FOLJ7I2F.js (98%) rename chunk-HOCJETDT.js => chunk-I76JPYIG.js (98%) create mode 100644 chunk-J43BB2RU.js delete mode 100644 chunk-KWFNX6EY.js delete mode 100644 chunk-QZPHFG2E.js rename chunk-CEMKUDOU.js => chunk-SZTHPHUF.js (66%) rename chunk-7IDADAMZ.js => chunk-XOR3IMN4.js (98%) create mode 100644 chunk-YV6SNVLZ.js delete mode 100644 main-BY45BIGH.js create mode 100644 main-MXIFDE3C.js diff --git a/404.html b/404.html index fd58f98..060a5f0 100644 --- a/404.html +++ b/404.html @@ -8,8 +8,8 @@ - + - + diff --git a/chunk-AHPJCQ2Z.js b/chunk-2UCFPECH.js similarity index 94% rename from chunk-AHPJCQ2Z.js rename to chunk-2UCFPECH.js index 6dcc960..ea53832 100644 --- a/chunk-AHPJCQ2Z.js +++ b/chunk-2UCFPECH.js @@ -1 +1 @@ -import{a as f,b as u}from"./chunk-KWFNX6EY.js";import{Ea as a,Fa as r,Ka as c,O as s,Va as p,ab as h,ba as l,la as d,za as m}from"./chunk-ZF4RPUDH.js";var w=(()=>{let t=class t{constructor(e){this.elementRef=e}onLoad(){this.stripContent(),this.setHeadings()}setHeadings(){let e=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(n=>e.push(n)),this.headings=e}stripContent(){this.elementRef.nativeElement.querySelector("markdown").querySelectorAll("markdown > p:nth-child(-n + 2), #ngx-markdown, #table-of-contents + ul, #table-of-contents").forEach(e=>e.remove())}};t.\u0275fac=function(n){return new(n||t)(d(l))},t.\u0275cmp=s({type:t,selectors:[["app-get-started"]],standalone:!0,features:[h],decls:4,vars:1,consts:[[3,"headings"],["id","getting-started"],["emoji","","src","https://raw.githubusercontent.com/jfcere/ngx-markdown/master/README.md",3,"load"]],template:function(n,i){n&1&&(a(0,"app-scrollspy-nav-layout",0)(1,"h1",1),p(2,"Get Started"),r(),a(3,"markdown",2),c("load",function(){return i.onLoad()}),r()()),n&2&&m("headings",i.headings)},dependencies:[f,u],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let o=t;return o})();export{w as default}; +import{a as f,b as u}from"./chunk-YV6SNVLZ.js";import{Ea as a,Fa as r,Ka as c,O as s,Va as p,ab as h,ba as l,la as d,za as m}from"./chunk-ZF4RPUDH.js";var w=(()=>{let t=class t{constructor(e){this.elementRef=e}onLoad(){this.stripContent(),this.setHeadings()}setHeadings(){let e=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(n=>e.push(n)),this.headings=e}stripContent(){this.elementRef.nativeElement.querySelector("markdown").querySelectorAll("markdown > p:nth-child(-n + 2), #ngx-markdown, #table-of-contents + ul, #table-of-contents").forEach(e=>e.remove())}};t.\u0275fac=function(n){return new(n||t)(d(l))},t.\u0275cmp=s({type:t,selectors:[["app-get-started"]],standalone:!0,features:[h],decls:4,vars:1,consts:[[3,"headings"],["id","getting-started"],["emoji","","src","https://raw.githubusercontent.com/jfcere/ngx-markdown/master/README.md",3,"load"]],template:function(n,i){n&1&&(a(0,"app-scrollspy-nav-layout",0)(1,"h1",1),p(2,"Get Started"),r(),a(3,"markdown",2),c("load",function(){return i.onLoad()}),r()()),n&2&&m("headings",i.headings)},dependencies:[f,u],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let o=t;return o})();export{w as default}; diff --git a/chunk-CDPJAAAI.js b/chunk-63GU5EOQ.js similarity index 98% rename from chunk-CDPJAAAI.js rename to chunk-63GU5EOQ.js index b378dba..9604009 100644 --- a/chunk-CDPJAAAI.js +++ b/chunk-63GU5EOQ.js @@ -1,4 +1,4 @@ -import{a as U}from"./chunk-CU4574C3.js";import{a as S,b as C}from"./chunk-7SCECIOF.js";import{a as _,b as I,c as H,d as T,f as W,g as O,h as R,i as A}from"./chunk-REFJFSXK.js";import"./chunk-BOOGISGF.js";import{a as E,b as P}from"./chunk-KWFNX6EY.js";import{Ea as t,Fa as e,Ga as r,O as k,Va as n,Ya as w,Za as u,_a as y,ab as x,ba as M,bb as s,cb as c,db as f,ga as v,ka as i,kc as L,la as h,lc as D,mc as F,pc as B,sb as b,za as o}from"./chunk-ZF4RPUDH.js";var te=(()=>{let d=class d{constructor(l,m){this.elementRef=l,this.rawLoaderService=m,this.demoPython$=this.rawLoaderService.get("app/bindings/remote/demo.py"),this.markdown='### Markdown example\n---\nThis is an **example** where we bind a variable to the `markdown` component that is also bound to a textarea.\n\n#### example.component.ts\n```typescript\npublic markdown = "# Markdown";\n```\n\n#### example.component.html\n```html\n\n\n```',this.typescriptMarkdown=`import { Component } from '@angular/core'; +import{a as U}from"./chunk-CU4574C3.js";import{a as S,b as C}from"./chunk-7SCECIOF.js";import{a as _,b as I,c as H,d as T,f as W,g as O,h as R,i as A}from"./chunk-REFJFSXK.js";import"./chunk-BOOGISGF.js";import{a as E,b as P}from"./chunk-YV6SNVLZ.js";import{Ea as t,Fa as e,Ga as r,O as k,Va as n,Ya as w,Za as u,_a as y,ab as x,ba as M,bb as s,cb as c,db as f,ga as v,ka as i,kc as L,la as h,lc as D,mc as F,pc as B,sb as b,za as o}from"./chunk-ZF4RPUDH.js";var te=(()=>{let d=class d{constructor(l,m){this.elementRef=l,this.rawLoaderService=m,this.demoPython$=this.rawLoaderService.get("app/bindings/remote/demo.py"),this.markdown='### Markdown example\n---\nThis is an **example** where we bind a variable to the `markdown` component that is also bound to a textarea.\n\n#### example.component.ts\n```typescript\npublic markdown = "# Markdown";\n```\n\n#### example.component.html\n```html\n\n\n```',this.typescriptMarkdown=`import { Component } from '@angular/core'; @Component({ selector: 'markdown-demo', diff --git a/chunk-VKLY7JD7.js b/chunk-FOLJ7I2F.js similarity index 98% rename from chunk-VKLY7JD7.js rename to chunk-FOLJ7I2F.js index 17ea45e..f2c217a 100644 --- a/chunk-VKLY7JD7.js +++ b/chunk-FOLJ7I2F.js @@ -1,4 +1,4 @@ -import{a as _,b as E,c as F,d as D,e as L,f as R,g as I,h as A,i as T}from"./chunk-REFJFSXK.js";import"./chunk-BOOGISGF.js";import{a as C,b}from"./chunk-KWFNX6EY.js";import{Ea as r,Fa as o,Ga as y,O as f,Va as l,Ya as h,Za as p,Zb as v,_a as u,ab as w,ba as g,ka as d,kc as M,la as c,lc as S,mc as k,pc as x,za as m}from"./chunk-ZF4RPUDH.js";var J=(()=>{let a=class a{get accentColor(){return this._accentColor}set accentColor(e){this._accentColor!==e&&(this._accentColor=e,this.changeAccentColor())}constructor(e,n){this.elementRef=e,this.markdownService=n,this.overrideEnabled=!1,this._accentColor="",this.markdown=`## Markdown __rulez__! +import{a as _,b as E,c as F,d as D,e as L,f as R,g as I,h as A,i as T}from"./chunk-REFJFSXK.js";import"./chunk-BOOGISGF.js";import{a as C,b}from"./chunk-YV6SNVLZ.js";import{Ea as r,Fa as o,Ga as y,O as f,Va as l,Ya as h,Za as p,Zb as v,_a as u,ab as w,ba as g,ka as d,kc as M,la as c,lc as S,mc as k,pc as x,za as m}from"./chunk-ZF4RPUDH.js";var J=(()=>{let a=class a{get accentColor(){return this._accentColor}set accentColor(e){this._accentColor!==e&&(this._accentColor=e,this.changeAccentColor())}constructor(e,n){this.elementRef=e,this.markdownService=n,this.overrideEnabled=!1,this._accentColor="",this.markdown=`## Markdown __rulez__! --- ### Syntax highlight diff --git a/chunk-HOCJETDT.js b/chunk-I76JPYIG.js similarity index 98% rename from chunk-HOCJETDT.js rename to chunk-I76JPYIG.js index 051b200..e1e2731 100644 --- a/chunk-HOCJETDT.js +++ b/chunk-I76JPYIG.js @@ -1 +1 @@ -import{a as u}from"./chunk-CU4574C3.js";import{a as E,b as k}from"./chunk-KWFNX6EY.js";import{Ea as t,Fa as e,Ga as p,O as y,Va as i,Wa as o,ab as v,ba as S,bb as r,cb as s,ka as a,la as g,sb as w,za as d}from"./chunk-ZF4RPUDH.js";var L=(()=>{let m=class m{constructor(h,l){this.elementRef=h,this.rawLoaderService=l,this.blockquotes$=this.rawLoaderService.get("app/cheat-sheet/remote/blockquotes.md"),this.codeAndSynthaxHighlighting$=this.rawLoaderService.get("app/cheat-sheet/remote/code-and-synthax-highlighting.md"),this.emphasis$=this.rawLoaderService.get("app/cheat-sheet/remote/emphasis.md"),this.headers$=this.rawLoaderService.get("app/cheat-sheet/remote/headers.md"),this.horizontalRule$=this.rawLoaderService.get("app/cheat-sheet/remote/horizontal-rule.md"),this.images$=this.rawLoaderService.get("app/cheat-sheet/remote/images.md"),this.links$=this.rawLoaderService.get("app/cheat-sheet/remote/links.md"),this.lists$=this.rawLoaderService.get("app/cheat-sheet/remote/lists.md"),this.listsDot$=this.rawLoaderService.get("app/cheat-sheet/remote/lists-dot.md"),this.tables$=this.rawLoaderService.get("app/cheat-sheet/remote/tables.md")}ngOnInit(){this.setHeadings()}setHeadings(){let h=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(l=>h.push(l)),this.headings=h}};m.\u0275fac=function(l){return new(l||m)(g(S),g(u))},m.\u0275cmp=y({type:m,selectors:[["app-cheat-sheet"]],standalone:!0,features:[v],decls:79,vars:55,consts:[[3,"headings"],["id","headers"],[1,"language-none"],[3,"data"],["id","emphasis"],["id","lists"],["id","links"],["id","images"],["id","code-and-synthax"],["id","tables"],["id","blockquotes"],["id","horizontal-rule"]],template:function(l,n){l&1&&(t(0,"app-scrollspy-nav-layout",0)(1,"h1"),i(2,"Cheat Sheet"),e(),t(3,"markdown"),i(4," The following examples are intended as a quick markdown reference and showcase. It is based on Adam Pritchard work of [Markdown Cheat Sheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet). "),e(),t(5,"section")(6,"h2",1),i(7,"Headers"),e(),t(8,"pre",2),i(9),r(10,"async"),e(),p(11,"markdown",3),r(12,"async"),e(),t(13,"section")(14,"h2",4),i(15,"Emphasis"),e(),t(16,"pre",2),i(17),r(18,"async"),e(),p(19,"markdown",3),r(20,"async"),e(),t(21,"section")(22,"h2",5),i(23,"Lists"),e(),t(24,"p"),i(25," In this example, leading and trailing spaces are shown with with dots (\u22C5) "),e(),t(26,"pre",2),i(27),r(28,"async"),e(),p(29,"markdown",3),r(30,"async"),e(),t(31,"section")(32,"h2",6),i(33,"Links"),e(),t(34,"pre",2),i(35),r(36,"async"),e(),p(37,"markdown",3),r(38,"async"),e(),t(39,"section")(40,"h2",7),i(41,"Images"),e(),t(42,"pre",2),i(43),r(44,"async"),e(),p(45,"markdown",3),r(46,"async"),e(),t(47,"section")(48,"h2",8),i(49,"Code and Syntax Highlighting"),e(),t(50,"pre",2),i(51),r(52,"async"),e(),p(53,"markdown",3),r(54,"async"),e(),t(55,"section")(56,"h2",9),i(57,"Tables"),e(),t(58,"pre",2),i(59),r(60,"async"),e(),p(61,"markdown",3),r(62,"async"),e(),t(63,"section")(64,"h2",10),i(65,"Blockquotes"),e(),t(66,"pre",2),i(67),r(68,"async"),e(),p(69,"markdown",3),r(70,"async"),e(),t(71,"section")(72,"h2",11),i(73,"Horizontal Rule"),e(),t(74,"pre",2),i(75),r(76,"async"),e(),p(77,"markdown",3),r(78,"async"),e()()),l&2&&(d("headings",n.headings),a(9),o(s(10,19,n.headers$)),a(2),d("data",s(12,21,n.headers$)),a(6),o(s(18,23,n.emphasis$)),a(2),d("data",s(20,25,n.emphasis$)),a(8),o(s(28,27,n.listsDot$)),a(2),d("data",s(30,29,n.lists$)),a(6),o(s(36,31,n.links$)),a(2),d("data",s(38,33,n.links$)),a(6),o(s(44,35,n.images$)),a(2),d("data",s(46,37,n.images$)),a(6),o(s(52,39,n.codeAndSynthaxHighlighting$)),a(2),d("data",s(54,41,n.codeAndSynthaxHighlighting$)),a(6),o(s(60,43,n.tables$)),a(2),d("data",s(62,45,n.tables$)),a(6),o(s(68,47,n.blockquotes$)),a(2),d("data",s(70,49,n.blockquotes$)),a(6),o(s(76,51,n.horizontalRule$)),a(2),d("data",s(78,53,n.horizontalRule$)))},dependencies:[w,E,k],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let c=m;return c})();export{L as default}; +import{a as u}from"./chunk-CU4574C3.js";import{a as E,b as k}from"./chunk-YV6SNVLZ.js";import{Ea as t,Fa as e,Ga as p,O as y,Va as i,Wa as o,ab as v,ba as S,bb as r,cb as s,ka as a,la as g,sb as w,za as d}from"./chunk-ZF4RPUDH.js";var L=(()=>{let m=class m{constructor(h,l){this.elementRef=h,this.rawLoaderService=l,this.blockquotes$=this.rawLoaderService.get("app/cheat-sheet/remote/blockquotes.md"),this.codeAndSynthaxHighlighting$=this.rawLoaderService.get("app/cheat-sheet/remote/code-and-synthax-highlighting.md"),this.emphasis$=this.rawLoaderService.get("app/cheat-sheet/remote/emphasis.md"),this.headers$=this.rawLoaderService.get("app/cheat-sheet/remote/headers.md"),this.horizontalRule$=this.rawLoaderService.get("app/cheat-sheet/remote/horizontal-rule.md"),this.images$=this.rawLoaderService.get("app/cheat-sheet/remote/images.md"),this.links$=this.rawLoaderService.get("app/cheat-sheet/remote/links.md"),this.lists$=this.rawLoaderService.get("app/cheat-sheet/remote/lists.md"),this.listsDot$=this.rawLoaderService.get("app/cheat-sheet/remote/lists-dot.md"),this.tables$=this.rawLoaderService.get("app/cheat-sheet/remote/tables.md")}ngOnInit(){this.setHeadings()}setHeadings(){let h=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(l=>h.push(l)),this.headings=h}};m.\u0275fac=function(l){return new(l||m)(g(S),g(u))},m.\u0275cmp=y({type:m,selectors:[["app-cheat-sheet"]],standalone:!0,features:[v],decls:79,vars:55,consts:[[3,"headings"],["id","headers"],[1,"language-none"],[3,"data"],["id","emphasis"],["id","lists"],["id","links"],["id","images"],["id","code-and-synthax"],["id","tables"],["id","blockquotes"],["id","horizontal-rule"]],template:function(l,n){l&1&&(t(0,"app-scrollspy-nav-layout",0)(1,"h1"),i(2,"Cheat Sheet"),e(),t(3,"markdown"),i(4," The following examples are intended as a quick markdown reference and showcase. It is based on Adam Pritchard work of [Markdown Cheat Sheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet). "),e(),t(5,"section")(6,"h2",1),i(7,"Headers"),e(),t(8,"pre",2),i(9),r(10,"async"),e(),p(11,"markdown",3),r(12,"async"),e(),t(13,"section")(14,"h2",4),i(15,"Emphasis"),e(),t(16,"pre",2),i(17),r(18,"async"),e(),p(19,"markdown",3),r(20,"async"),e(),t(21,"section")(22,"h2",5),i(23,"Lists"),e(),t(24,"p"),i(25," In this example, leading and trailing spaces are shown with with dots (\u22C5) "),e(),t(26,"pre",2),i(27),r(28,"async"),e(),p(29,"markdown",3),r(30,"async"),e(),t(31,"section")(32,"h2",6),i(33,"Links"),e(),t(34,"pre",2),i(35),r(36,"async"),e(),p(37,"markdown",3),r(38,"async"),e(),t(39,"section")(40,"h2",7),i(41,"Images"),e(),t(42,"pre",2),i(43),r(44,"async"),e(),p(45,"markdown",3),r(46,"async"),e(),t(47,"section")(48,"h2",8),i(49,"Code and Syntax Highlighting"),e(),t(50,"pre",2),i(51),r(52,"async"),e(),p(53,"markdown",3),r(54,"async"),e(),t(55,"section")(56,"h2",9),i(57,"Tables"),e(),t(58,"pre",2),i(59),r(60,"async"),e(),p(61,"markdown",3),r(62,"async"),e(),t(63,"section")(64,"h2",10),i(65,"Blockquotes"),e(),t(66,"pre",2),i(67),r(68,"async"),e(),p(69,"markdown",3),r(70,"async"),e(),t(71,"section")(72,"h2",11),i(73,"Horizontal Rule"),e(),t(74,"pre",2),i(75),r(76,"async"),e(),p(77,"markdown",3),r(78,"async"),e()()),l&2&&(d("headings",n.headings),a(9),o(s(10,19,n.headers$)),a(2),d("data",s(12,21,n.headers$)),a(6),o(s(18,23,n.emphasis$)),a(2),d("data",s(20,25,n.emphasis$)),a(8),o(s(28,27,n.listsDot$)),a(2),d("data",s(30,29,n.lists$)),a(6),o(s(36,31,n.links$)),a(2),d("data",s(38,33,n.links$)),a(6),o(s(44,35,n.images$)),a(2),d("data",s(46,37,n.images$)),a(6),o(s(52,39,n.codeAndSynthaxHighlighting$)),a(2),d("data",s(54,41,n.codeAndSynthaxHighlighting$)),a(6),o(s(60,43,n.tables$)),a(2),d("data",s(62,45,n.tables$)),a(6),o(s(68,47,n.blockquotes$)),a(2),d("data",s(70,49,n.blockquotes$)),a(6),o(s(76,51,n.horizontalRule$)),a(2),d("data",s(78,53,n.horizontalRule$)))},dependencies:[w,E,k],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let c=m;return c})();export{L as default}; diff --git a/chunk-J43BB2RU.js b/chunk-J43BB2RU.js new file mode 100644 index 0000000..34c554f --- /dev/null +++ b/chunk-J43BB2RU.js @@ -0,0 +1,2 @@ +import{$ as S,Ac as le,Cc as ce,Da as Ut,Db as te,Ea as O,Eb as ft,F as L,Fa as D,Ga as N,Gb as tt,Ha as $t,Hb as ut,Ib as pt,J as b,Ja as qt,Jc as he,Ka as G,L as U,La as Gt,M as h,Ma as lt,Mc as de,N as ot,O as A,Oc as vt,Q as x,Ra as K,S as Lt,Sa as Q,Ta as J,Va as ct,W as Vt,Wb as ee,X as zt,Xa as ht,Y as Nt,Yb as ie,Zb as se,a as k,ab as B,b as Bt,ba as E,ca as rt,ea as Ht,fa as Yt,g as W,gb as Kt,gc as _t,h as It,hb as dt,hc as u,i as p,ic as ne,jc as oe,ka as M,kb as Qt,l as Tt,la as m,ma as V,mb as v,na as $,ob as Jt,q as jt,qc as R,r as Ft,ra as w,s as Z,sa as Xt,ta as Wt,tc as re,u as nt,ua as q,uc as mt,va as z,vc as gt,xa as at,ya as Zt,zc as ae}from"./chunk-ZF4RPUDH.js";function si(r){return[se,r?.loader??[],r?.clipboardOptions??[],r?.markedOptions??[],{provide:ee,useValue:r?.markedExtensions??[]},{provide:ie,useValue:r?.sanitize??Yt.HTML}]}var H=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}},I=class extends H{constructor(t,n,e,i,s){super(),this.component=t,this.viewContainerRef=n,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=s}},T=class extends H{constructor(t,n,e,i){super(),this.templateRef=t,this.viewContainerRef=n,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}},yt=class extends H{constructor(t){super(),this.element=t instanceof E?t.nativeElement:t}},j=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof I)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof T)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof yt)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 et=class extends j{constructor(t,n,e,i,s){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}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||S.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 n=t.viewContainerRef,e=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(e);i!==-1&&n.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Ct=(()=>{let t=class t extends j{constructor(e,i,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new rt,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let l=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}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,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,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}};t.\u0275fac=function(i){return new(i||t)(m($),m(q),m(v))},t.\u0275dir=x({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[z]});let r=t;return r})();var Oe=20,ue=(()=>{let t=class t{constructor(e,i,s){this._ngZone=e,this._platform=i,this._scrolled=new p,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Oe){return this._platform.isBrowser?new It(i=>{this._globalSubscription||this._addGlobalListener();let s=e>0?this._scrolled.pipe(nt(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Tt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let s=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Z(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let s=ne(i),o=e.getElementRef().nativeElement;do if(s==o)return!0;while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return jt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(h(w),h(R),h(v,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var De=20,kt=(()=>{let t=class t{constructor(e,i,s){this._platform=e,this._change=new p,this._changeListener=o=>{this._change.next(o)},this._document=s,i.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),s=e.documentElement,o=s.getBoundingClientRect(),a=-o.top||e.body.scrollTop||i.scrollY||s.scrollTop||0,l=-o.left||e.body.scrollLeft||i.scrollX||s.scrollLeft||0;return{top:a,left:l}}change(e=De){return e>0?this._change.pipe(nt(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(h(R),h(w),h(v,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var pe=re(),St=class{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}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=u(-this._previousScrollPosition.left),t.style.top=u(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,n=this._document.body,e=t.style,i=n.style,s=e.scrollBehavior||"",o=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),pe&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),pe&&(e.scrollBehavior=s,i.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.body,e=this._viewportRuler.getViewportSize();return n.scrollHeight>e.height||n.scrollWidth>e.width}};var Rt=class{constructor(t,n,e,i){this._scrollDispatcher=t,this._ngZone=n,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(Z(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-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}},st=class{enable(){}disable(){}attach(){}};function xt(r,t){return t.some(n=>{let e=r.bottomn.bottom,s=r.rightn.right;return e||i||s||o})}function _e(r,t){return t.some(n=>{let e=r.topn.bottom,s=r.leftn.right;return e||i||s||o})}var Et=class{constructor(t,n,e,i){this._scrollDispatcher=t,this._viewportRuler=n,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 n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();xt(n,[{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}},Me=(()=>{let t=class t{constructor(e,i,s,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new st,this.close=a=>new Rt(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new St(this._viewportRuler,this._document),this.reposition=a=>new Et(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}};t.\u0275fac=function(i){return new(i||t)(h(ue),h(kt),h(w),h(v))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Y=class{constructor(t){if(this.scrollStrategy=new st,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let n=Object.keys(t);for(let e of n)t[e]!==void 0&&(this[e]=t[e])}}};var Ot=class{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}};var be=(()=>{let t=class t{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()}};t.\u0275fac=function(i){return new(i||t)(h(v))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Be=(()=>{let t=class t extends be{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=s=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){let l=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(s)):l.next(s);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)}};t.\u0275fac=function(i){return new(i||t)(h(v),h(w,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Ie=(()=>{let t=class t extends be{constructor(e,i,s){super(e),this._platform=i,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=mt(o)},this._clickListener=o=>{let a=mt(o),l=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let c=d.length-1;c>-1;c--){let f=d[c];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(a)||f.overlayElement.contains(l))break;let _=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>_.next(o)):_.next(o)}}}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)}};t.\u0275fac=function(i){return new(i||t)(h(v),h(R),h(w,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),we=(()=>{let t=class t{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||gt()){let s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(_),this._backdropTransitionendHandler=_=>{this._disposeBackdrop(_.target)},this._keydownEvents=new p,this._outsidePointerEvents=new p,this._renders=new p,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=Qt(()=>Xt(()=>{this._renders.next()},{injector:this._injector}))}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 n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Wt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),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 n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}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._detachContentWhenEmpty(),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(),this._afterRenderRef.destroy(),this._renders.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=k(k({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Bt(k({},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=u(this._config.width),t.height=u(this._config.height),t.minWidth=u(this._config.minWidth),t.minHeight=u(this._config.minHeight),t.maxWidth=u(this._config.maxWidth),t.maxHeight=u(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,n,e){let i=_t(n||[]).filter(s=>!!s);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(L(Ft(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)}},me="cdk-overlay-connected-position-bounding-box",Te=/([A-Za-z%]+)$/,Pt=class{get positions(){return this._preferredPositions}constructor(t,n,e,i,s){this._viewportRuler=n,this._document=e,this._platform=i,this._overlayContainer=s,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 p,this._resizeSubscription=W.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(me),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,n=this._overlayRect,e=this._viewportRect,i=this._containerRect,s=[],o;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,i,a),d=this._getOverlayPoint(l,n,a),c=this._getOverlayFit(d,n,e,a);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(c,d,e)){s.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!o||o.overlayFit.visibleAreal&&(l=c,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(me),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 n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}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,n,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let o=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?o:a}n.left<0&&(i-=n.left);let s;return e.originY=="center"?s=t.top+t.height/2:s=e.originY=="top"?t.top:t.bottom,n.top<0&&(s-=n.top),{x:i,y:s}}_getOverlayPoint(t,n,e){let i;e.overlayX=="center"?i=-n.width/2:e.overlayX==="start"?i=this._isRtl()?-n.width:0:i=this._isRtl()?0:-n.width;let s;return e.overlayY=="center"?s=-n.height/2:s=e.overlayY=="top"?0:-n.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,n,e,i){let s=ve(n),{x:o,y:a}=t,l=this._getOffset(i,"x"),d=this._getOffset(i,"y");l&&(o+=l),d&&(a+=d);let c=0-o,f=o+s.width-e.width,_=0-a,y=a+s.height-e.height,g=this._subtractOverflows(s.width,c,f),C=this._subtractOverflows(s.height,_,y),Mt=g*C;return{visibleArea:Mt,isCompletelyWithinViewport:s.width*s.height===Mt,fitsInViewportVertically:C===s.height,fitsInViewportHorizontally:g==s.width}}_canFitWithFlexibleDimensions(t,n,e){if(this._hasFlexibleDimensions){let i=e.bottom-n.y,s=e.right-n.x,o=ge(this._overlayRef.getConfig().minHeight),a=ge(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||o!=null&&o<=i,d=t.fitsInViewportHorizontally||a!=null&&a<=s;return l&&d}return!1}_pushOverlayOnScreen(t,n,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=ve(n),s=this._viewportRect,o=Math.max(t.x+i.width-s.width,0),a=Math.max(t.y+i.height-s.height,0),l=Math.max(s.top-e.top-t.y,0),d=Math.max(s.left-e.left-t.x,0),c=0,f=0;return i.width<=s.width?c=d||-o:c=t.xg&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-g/2)}let l=n.overlayX==="start"&&!i||n.overlayX==="end"&&i,d=n.overlayX==="end"&&!i||n.overlayX==="start"&&i,c,f,_;if(d)_=e.width-t.x+this._viewportMargin*2,c=t.x-this._viewportMargin;else if(l)f=t.x,c=e.right-t.x;else{let y=Math.min(e.right-t.x+e.left,t.x),g=this._lastBoundingBoxSize.width;c=y*2,f=t.x-y,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-g/2)}return{top:o,left:f,bottom:a,right:_,width:c,height:s}}_setBoundingBoxStyles(t,n){let e=this._calculateBoundingBoxRect(t,n);!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 s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=u(e.height),i.top=u(e.top),i.bottom=u(e.bottom),i.width=u(e.width),i.left=u(e.left),i.right=u(e.right),n.overlayX==="center"?i.alignItems="center":i.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?i.justifyContent="center":i.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",s&&(i.maxHeight=u(s)),o&&(i.maxWidth=u(o))}this._lastBoundingBoxSize=e,P(this._boundingBox.style,i)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){let e={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){let c=this._viewportRuler.getViewportScrollPosition();P(e,this._getExactOverlayY(n,t,c)),P(e,this._getExactOverlayX(n,t,c))}else e.position="static";let a="",l=this._getOffset(n,"x"),d=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),d&&(a+=`translateY(${d}px)`),e.transform=a.trim(),o.maxHeight&&(i?e.maxHeight=u(o.maxHeight):s&&(e.maxHeight="")),o.maxWidth&&(i?e.maxWidth=u(o.maxWidth):s&&(e.maxWidth="")),P(this._pane.style,e)}_getExactOverlayY(t,n,e){let i={top:"",bottom:""},s=this._getOverlayPoint(n,this._overlayRect,t);if(this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,e)),t.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;i.bottom=`${o-(s.y+this._overlayRect.height)}px`}else i.top=u(s.y);return i}_getExactOverlayX(t,n,e){let i={left:"",right:""},s=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,e));let o;if(this._isRtl()?o=t.overlayX==="end"?"left":"right":o=t.overlayX==="end"?"right":"left",o==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(s.x+this._overlayRect.width)}px`}else i.left=u(s.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:_e(t,e),isOriginOutsideView:xt(t,e),isOverlayClipped:_e(n,e),isOverlayOutsideView:xt(n,e)}}_subtractOverflows(t,...n){return n.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,n=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+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return n==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&_t(t).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof E)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let n=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+n,height:e,width:n}}};function P(r,t){for(let n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r}function ge(r){if(typeof r!="number"&&r!=null){let[t,n]=r.split(Te);return!n||n==="px"?parseFloat(t):null}return r||null}function ve(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}function je(r,t){return r===t?!0:r.isOriginClipped===t.isOriginClipped&&r.isOriginOutsideView===t.isOriginOutsideView&&r.isOverlayClipped===t.isOverlayClipped&&r.isOverlayOutsideView===t.isOverlayOutsideView}var ye="cdk-global-overlay-wrapper",At=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 n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(ye),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,n=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:o,maxHeight:a}=e,l=(i==="100%"||i==="100vw")&&(!o||o==="100%"||o==="100vw"),d=(s==="100%"||s==="100vh")&&(!a||a==="100%"||a==="100vh"),c=this._xPosition,f=this._xOffset,_=this._overlayRef.getConfig().direction==="rtl",y="",g="",C="";l?C="flex-start":c==="center"?(C="center",_?g=f:y=f):_?c==="left"||c==="end"?(C="flex-end",y=f):(c==="right"||c==="start")&&(C="flex-start",g=f):c==="left"||c==="start"?(C="flex-start",y=f):(c==="right"||c==="end")&&(C="flex-end",g=f),t.position=this._cssPosition,t.marginLeft=l?"0":y,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":g,n.justifyContent=C,n.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,e=n.style;n.classList.remove(ye),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Fe=(()=>{let t=class t{constructor(e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o}global(){return new At}flexibleConnectedTo(e){return new Pt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(h(kt),h(v),h(R),h(we))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Le=0,Ce=(()=>{let t=class t{constructor(e,i,s,o,a,l,d,c,f,_,y,g){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=c,this._directionality=f,this._location=_,this._outsideClickDispatcher=y,this._animationsModuleType=g}create(e){let i=this._createHostElement(),s=this._createPaneElement(i),o=this._createPortalOutlet(s),a=new Y(e);return a.direction=a.direction||this._directionality.value,new Dt(o,i,s,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Lt))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Le++}`,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(Kt)),new et(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(h(Me),h(we),h($),h(Fe),h(Be),h(S),h(w),h(v),h(oe),h(Jt),h(Ie),h(Ht,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function ze(r,t){if(r&1){let n=$t();O(0,"div",1)(1,"button",2),G("click",function(){Vt(n);let i=lt();return zt(i.action())}),ct(2),D()()}if(r&2){let n=lt();M(2),ht(" ",n.data.action," ")}}var Ne=["label"];function He(r,t){}var Ye=Math.pow(2,31)-1,X=class{constructor(t,n){this._overlayRef=n,this._afterDismissed=new p,this._afterOpened=new p,this._onAction=new p,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>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,Ye))}_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 U("MatSnackBarData"),F=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},Xe=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=x({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let r=t;return r})(),We=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=x({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let r=t;return r})(),Ze=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=x({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let r=t;return r})(),Ue=(()=>{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(m(X),m(ke))},t.\u0275cmp=A({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[B],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,s){i&1&&(O(0,"div",0),ct(1),D(),at(2,ze,3,1,"div",1)),i&2&&(M(),ht(" ",s.data.message,` +`),M(),Ut(s.hasAction?2:-1))},dependencies:[he,Xe,We,Ze],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let r=t;return r})(),$e={snackBarState:te("state",[ut("void, hidden",tt({transform:"scale(0.8)",opacity:0})),ut("visible",tt({transform:"scale(1)",opacity:1})),pt("* => visible",ft("150ms cubic-bezier(0, 0, 0.2, 1)")),pt("* => void, * => hidden",ft("75ms cubic-bezier(0.4, 0.0, 1, 1)",tt({opacity:0})))])},qe=0,Ge=(()=>{let t=class t extends j{constructor(e,i,s,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=s,this._platform=o,this.snackBarConfig=a,this._document=ot(v),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new p,this._onExit=new p,this._onEnter=new p,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${qe++}`,this.attachDomPortal=l=>{this._assertNotAttached();let d=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),d},a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.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 i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:s}=e;if((s==="void"&&i!=="void"||s==="hidden")&&this._completeExit(),s==="visible"){let o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(a=>e.classList.add(a)):e.classList.add(i)),this._exposeToModals();let s=this._label.nativeElement,o="mdc-snackbar__label";s.classList.toggle(o,!s.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s{let i=e.getAttribute("aria-owns");if(i){let s=i.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]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(i){return new(i||t)(m(w),m(E),m(dt),m(R),m(F))},t.\u0275cmp=A({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,s){if(i&1&&(K(Ct,7),K(Ne,7)),i&2){let o;Q(o=J())&&(s._portalOutlet=o.first),Q(o=J())&&(s._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,s){i&1&&Gt("@state.done",function(a){return s.onAnimationEnd(a)}),i&2&&qt("@state",s._animationState)},standalone:!0,features:[z,B],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,s){i&1&&(O(0,"div",1)(1,"div",2,0)(3,"div",3),at(4,He,0,0,"ng-template",4),D(),N(5,"div"),D()()),i&2&&(M(5),Zt("aria-live",s._live)("role",s._role)("id",s._liveElementId))},dependencies:[Ct],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[$e.snackBarState]}});let r=t;return r})();function Ke(){return new F}var Qe=new U("mat-snack-bar-default-options",{providedIn:"root",factory:Ke}),Se=(()=>{let t=class t{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,i,s,o,a,l){this._overlay=e,this._live=i,this._injector=s,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Ue,this.snackBarContainerComponent=Ge,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",s){let o=k(k({},this._defaultConfig),s);return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let s=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=S.create({parent:s||this._injector,providers:[{provide:F,useValue:i}]}),a=new I(this.snackBarContainerComponent,i.viewContainerRef,o),l=e.attach(a);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){let s=k(k(k({},new F),this._defaultConfig),i),o=this._createOverlay(s),a=this._attachSnackBarContainer(o,s),l=new X(a,o);if(e instanceof V){let d=new T(e,null,{$implicit:s.data,snackBarRef:l});l.instance=a.attachTemplatePortal(d)}else{let d=this._createInjector(s,l),c=new I(e,void 0,d),f=a.attachComponentPortal(c);l.instance=f.instance}return this._breakpointObserver.observe(le.HandsetPortrait).pipe(L(o.detachments())).subscribe(d=>{o.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),s.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(l,s),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new Y;i.direction=e.direction;let s=this._overlay.position().global(),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,l=!a&&e.horizontalPosition!=="center";return a?s.left("0"):l?s.right("0"):s.centerHorizontally(),e.verticalPosition==="top"?s.top("0"):s.bottom("0"),i.positionStrategy=s,this._overlay.create(i)}_createInjector(e,i){let s=e&&e.viewContainerRef&&e.viewContainerRef.injector;return S.create({parent:s||this._injector,providers:[{provide:X,useValue:i},{provide:ke,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(h(Ce),h(ce),h(S),h(ae),h(t,12),h(Qe))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Cs=(()=>{let t=class t{constructor(e){this.snackbar=e}onCopyToClipboard(){this.snackbar.open("Copied to clipboard via component!",void 0,{duration:3e3,horizontalPosition:"right",verticalPosition:"bottom"})}};t.\u0275fac=function(i){return new(i||t)(m(Se))},t.\u0275cmp=A({type:t,selectors:[["app-clipboard-button"]],standalone:!0,features:[B],decls:3,vars:0,consts:[["mat-icon-button","",1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["fill","#fff","d","M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"]],template:function(i,s){i&1&&(O(0,"button",0),G("click",function(){return s.onCopyToClipboard()}),Nt(),O(1,"svg",1),N(2,"path",2),D()())},dependencies:[vt,de],styles:[".btn-clipboard.mat-mdc-icon-button[_ngcontent-%COMP%]{height:30px;width:30px;padding:0}"],changeDetection:0});let r=t;return r})();export{si as a,kt as b,Se as c,Cs as d}; diff --git a/chunk-KWFNX6EY.js b/chunk-KWFNX6EY.js deleted file mode 100644 index a32a464..0000000 --- a/chunk-KWFNX6EY.js +++ /dev/null @@ -1 +0,0 @@ -import{$b as bt,Ba as ht,Db as vt,Ea as x,Eb as X,Ec as tt,F as B,Fa as y,Ga as j,Gb as k,Ha as Z,Ib as Q,J as ct,K as N,Ka as A,Kc as Bt,Lc as Nt,Ma as J,Na as z,O as D,Oa as R,Oc as Vt,P as V,Q as Y,Qb as Ct,T as M,Va as E,W as K,Wa as pt,X as W,Z as G,Zb as wt,_b as Dt,ab as I,ac as It,ba as _,bc as Ht,ca as T,cc as Mt,d as qt,da as dt,dc as _t,e as Zt,ec as Et,f as lt,fc as L,i as ot,ia as gt,ka as b,kc as Ot,la as m,lc as Ft,mc as jt,nc as kt,oc as Lt,pb as xt,pc as Pt,qb as yt,ra as mt,ua as ft,ub as St,va as q,xa as F,ya as ut,z as at,za as v}from"./chunk-ZF4RPUDH.js";var Yt=qt((it,Ut)=>{"use strict";(function(e,n){typeof define=="function"&&define.amd?define([],function(){return n(e)}):typeof it=="object"?Ut.exports=n(e):e.Gumshoe=n(e)})(typeof global<"u"?global:typeof window<"u"?window:it,function(e){"use strict";var n={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},l=function(r,o,a){if(a.settings.events){var g=new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:a});o.dispatchEvent(g)}},t=function(r){var o=0;if(r.offsetParent)for(;r;)o+=r.offsetTop,r=r.offsetParent;return o>=0?o:0},i=function(r){r&&r.sort(function(o,a){return t(o.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},d=function(r,o){var a=r[r.length-1];if(function(f,u){return!(!c()||!s(f.content,u,!0))}(a,o))return a;for(var g=r.length-1;g>=0;g--)if(s(r[g].content,o))return r[g]},H=function(r,o){if(o.nested&&r.parentNode){var a=r.parentNode.closest("li");a&&(a.classList.remove(o.nestedClass),H(a,o))}},O=function(r,o){if(r){var a=r.nav.closest("li");a&&(a.classList.remove(o.navClass),r.content.classList.remove(o.contentClass),H(a,o),l("gumshoeDeactivate",a,{link:r.nav,content:r.content,settings:o}))}},nt=function(r,o){if(o.nested){var a=r.parentNode.closest("li");a&&(a.classList.add(o.nestedClass),nt(a,o))}};return function(r,o){var a,g,f,u,S,C={};C.setup=function(){a=document.querySelectorAll(r),g=[],Array.prototype.forEach.call(a,function(h){var p=document.getElementById(decodeURIComponent(h.hash.substr(1)));p&&g.push({nav:h,content:p})}),i(g)},C.detect=function(){var h=d(g,S);h?f&&h.content===f.content||(O(f,S),function(p,w){if(p){var P=p.nav.closest("li");P&&(P.classList.add(w.navClass),p.content.classList.add(w.contentClass),nt(P,w),l("gumshoeActivate",P,{link:p.nav,content:p.content,settings:w}))}}(h,S),f=h):f&&(O(f,S),f=null)};var st=function(h){u&&e.cancelAnimationFrame(u),u=e.requestAnimationFrame(C.detect)},rt=function(h){u&&e.cancelAnimationFrame(u),u=e.requestAnimationFrame(function(){i(g),C.detect()})};return C.destroy=function(){f&&O(f,S),e.removeEventListener("scroll",st,!1),S.reflow&&e.removeEventListener("resize",rt,!1),g=null,a=null,f=null,u=null,S=null},S=function(){var h={};return Array.prototype.forEach.call(arguments,function(p){for(var w in p){if(!p.hasOwnProperty(w))return;h[w]=p[w]}}),h}(n,o||{}),C.setup(),C.detect(),e.addEventListener("scroll",st,!1),S.reflow&&e.addEventListener("resize",rt,!1),C}})});var $=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}($||{});var Jt=["*"],Tt=(()=>{let n=class n{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,s){this.element=t,this.markdownService=i,this.viewContainerRef=s,this.error=new T,this.load=new T,this.ready=new T,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new ot}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(B(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,i=!1){return lt(this,null,function*(){let s={decodeHtml:i,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},c={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},d=yield this.markdownService.parse(t,s);this.element.nativeElement.innerHTML=d,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,c,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(t){return t!=null&&`${String(t)}`!="false"}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,$.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,$.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){let s=t.querySelectorAll("pre");for(let c=0;c{let H=i[d];if(H){let O=this.toLispCase(d);s.item(c).setAttribute(O,H.toString())}})}toLispCase(t){let i=t.match(/([A-Z])/g);if(!i)return t;let s=t.toString();for(let c=0,d=i.length;c{class e extends Ht{buildStyles(l,t){return{display:l==="true"?t.display||(t.isServer?"initial":""):"none"}}}return e.\u0275fac=(()=>{let n;return function(t){return(n||(n=G(e)))(t||e)}})(),e.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Qt=(()=>{class e extends Et{constructor(l,t,i,s,c,d,H){super(l,t,i,s),this.layoutConfig=c,this.platformId=d,this.serverModuleLoaded=H,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();let l=Array.from(this.nativeElement.children);for(let i=0;i{if(this.inputs.indexOf(t)!==-1){let i=t.split("."),s=i.slice(1).join("."),c=l[t].currentValue,d=c!==""?c!==0?L(c):!1:!0;i[0]==="fxHide"&&(d=!d),this.setValue(d,s)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(l=>{this.marshal.trackValue(this.nativeElement,l).pipe(B(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(l=!0){if(l==="")return;let t=St(this.platformId);this.addStyles(l?"true":"false",{display:this.display,isServer:t}),t&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return e.\u0275fac=function(l){return new(l||e)(m(_),m(Xt),m(Mt),m(_t),m(bt),m(dt),m(It))},e.\u0275dir=Y({type:e,features:[q,M]}),e})(),et=new WeakMap,te=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];var At=(()=>{class e extends Qt{constructor(){super(...arguments),this.inputs=te}}return e.\u0275fac=(()=>{let n;return function(t){return(n||(n=G(e)))(t||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[q]}),e})();var zt=(()=>{class e{}return e.\u0275fac=function(l){return new(l||e)},e.\u0275mod=V({type:e}),e.\u0275inj=N({imports:[Dt]}),e})();var Rt=(()=>{let n=class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=L(t)}get inset(){return this._inset}set inset(t){this._inset=L(t)}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=D({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,s){i&2&&(ut("aria-orientation",s.vertical?"vertical":"horizontal"),ht("mat-divider-vertical",s.vertical)("mat-divider-horizontal",!s.vertical)("mat-divider-inset",s.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[I],decls:0,vars:0,template:function(i,s){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let e=n;return e})(),$t=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=V({type:n}),n.\u0275inj=N({imports:[tt,tt]});let e=n;return e})();var Kt=Zt(Yt());function ne(e,n){if(e&1&&(x(0,"li")(1,"a",2),E(2),y()()),e&2){let l=n.$implicit;b(),v("fragment",l.id),b(),pt(l.innerHTML)}}var Wt=(()=>{let n=class n{constructor(t,i){this.elementRef=t,this.zone=i}ngOnChanges(t){t.headings?.currentValue&&this.setScrollSpy()}ngOnDestroy(){this.destroyScrollSpy()}destroyScrollSpy(){this.scrollSpy&&this.scrollSpy.destroy()}setScrollSpy(){if(this.scrollSpy){this.scrollSpy.setup();return}this.zone.onStable.pipe(at()).subscribe(()=>{let t=this.elementRef.nativeElement,i=`${t.tagName}.${t.className} a`;this.scrollSpy=new Kt.default(i,{offset:64,reflow:!0})})}};n.\u0275fac=function(i){return new(i||n)(m(_),m(mt))},n.\u0275cmp=D({type:n,selectors:[["app-scrollspy-nav"]],inputs:{headings:"headings"},standalone:!0,features:[M,I],decls:2,vars:1,consts:[[1,"scrollspy-nav"],[4,"ngFor","ngForOf"],["routerLink",".",3,"fragment"]],template:function(i,s){i&1&&(x(0,"ul",0),F(1,ne,3,2,"li",1),y()),i&2&&(b(),v("ngForOf",s.headings))},dependencies:[xt,Ct],styles:["ul.scrollspy-nav[_ngcontent-%COMP%]{padding:0}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:2px;font-size:14px;font-weight:500;list-style:none;padding:4px 0 4px 16px}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:none}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.active){border-color:transparent;opacity:.6}"],changeDetection:0});let e=n;return e})();var Gt=vt("zoomAnimation",[Q("void => *",[k({opacity:0,transform:"translateY(32px) scale(0)"}),X("400ms cubic-bezier(0.35, 0, 0.25, 1)",k({opacity:1,transform:"translateY(0) scale(1)"}))]),Q("* => void",[k({opacity:1,transform:"translateY(0)"}),X("300ms cubic-bezier(0.35, 0, 0.25, 1)",k({opacity:0,transform:"translateY(32px)"}))])]);var se=["*"];function re(e,n){if(e&1){let l=Z();x(0,"button",9),A("click",function(){K(l);let i=J();return W(i.onScrollUp())}),j(1,"img",10),y()}e&2&&v("@zoomAnimation",void 0)}function le(e,n){if(e&1){let l=Z();x(0,"button",11),A("click",function(){K(l);let i=J();return W(i.onScrollUp())}),j(1,"img",10),y()}e&2&&v("@zoomAnimation",void 0)}var ri=(()=>{let n=class n{constructor(){this.showScrollUpButton=!1}onWindowScroll(){this.showScrollUpButton=Math.ceil(window.pageYOffset)>64}onScrollUp(){window.scrollTo(0,0),location.hash=""}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=D({type:n,selectors:[["app-scrollspy-nav-layout"]],hostBindings:function(i,s){i&1&&A("scroll",function(){return s.onWindowScroll()},!1,gt)},inputs:{headings:"headings"},standalone:!0,features:[I],ngContentSelectors:se,decls:14,vars:3,consts:[["fxLayout","row","fxLayoutGap","40px"],["fxFlex","1 1 calc(100% - 220px)"],[1,"footer"],["emoji","","fxLayout","row","fxLayoutAlign.gt-xs","center",1,"footer-text"],[2,"margin","0 .15em"],["class","scrollup-button--fixed","mat-fab","","color","accent","fxHide.gt-sm","",3,"click",4,"ngIf"],["fxLayout","column","fxFlex","1 0 180px","fxFlexAlign","flex-start","fxHide.lt-md","",1,"sticky"],[3,"headings"],["class","scrollup-button","mat-mini-fab","","color","accent",3,"click",4,"ngIf"],["mat-fab","","color","accent","fxHide.gt-sm","",1,"scrollup-button--fixed",3,"click"],["src","icon-chevron-up.svg"],["mat-mini-fab","","color","accent",1,"scrollup-button",3,"click"]],template:function(i,s){i&1&&(z(),x(0,"div",0)(1,"div",1),R(2),x(3,"div",2),j(4,"mat-divider"),x(5,"markdown",3),E(6," Crafted with :heart: by **jfcere** "),x(7,"span",4),E(8,"\u2022"),y(),E(9," Follow on [GitHub](https://github.com/jfcere) "),y()(),F(10,re,2,1,"button",5),y(),x(11,"div",6),j(12,"app-scrollspy-nav",7),F(13,le,2,1,"button",8),y()()),i&2&&(b(10),v("ngIf",s.showScrollUpButton),b(2),v("headings",s.headings),b(),v("ngIf",s.showScrollUpButton))},dependencies:[zt,At,Pt,Ot,Ft,Lt,kt,jt,Tt,Vt,Nt,Bt,$t,Rt,yt,Wt],styles:[".footer[_ngcontent-%COMP%]{margin:32px 0 8px}.footer-text[_ngcontent-%COMP%]{display:block;font-size:13px;padding-top:4px}.sticky[_ngcontent-%COMP%]{position:sticky;top:80px}.scrollup-button[_ngcontent-%COMP%]{margin:14px}.scrollup-button--fixed[_ngcontent-%COMP%]{position:fixed;bottom:16px;right:16px}.scrollup-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:flex}"],data:{animation:[Gt]},changeDetection:0});let e=n;return e})();export{Tt as a,ri as b}; diff --git a/chunk-QZPHFG2E.js b/chunk-QZPHFG2E.js deleted file mode 100644 index da18e83..0000000 --- a/chunk-QZPHFG2E.js +++ /dev/null @@ -1,2 +0,0 @@ -import{$ as S,Ac as ne,Cc as oe,Da as Zt,Db as Jt,Ea as O,Eb as ft,F as L,Fa as D,Ga as N,Gb as tt,Ha as $t,Hb as ut,Ib as pt,J as b,Ja as Ut,Jc as re,Ka as G,L as $,La as qt,M as h,Ma as lt,Mc as ae,N as ot,O as A,Oc as vt,Q as x,Ra as K,S as Lt,Sa as Q,Ta as J,Va as ct,W as Vt,X as zt,Xa as ht,Y as Nt,a as k,ab as B,b as Bt,ba as E,ca as rt,ea as Ht,g as W,gb as Gt,gc as _t,h as It,hb as dt,hc as u,i as p,ic as te,jc as ee,ka as M,kb as Kt,l as jt,la as m,ma as V,mb as v,na as U,ob as Qt,q as Tt,qc as R,r as Ft,ra as w,s as Z,sa as Yt,ta as Xt,tc as ie,u as nt,ua as q,uc as mt,va as z,vc as gt,xa as at,ya as Wt,zc as se}from"./chunk-ZF4RPUDH.js";var H=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}},I=class extends H{constructor(t,n,e,i,s){super(),this.component=t,this.viewContainerRef=n,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=s}},j=class extends H{constructor(t,n,e,i){super(),this.templateRef=t,this.viewContainerRef=n,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}},yt=class extends H{constructor(t){super(),this.element=t instanceof E?t.nativeElement:t}},T=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof I)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof j)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof yt)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 et=class extends T{constructor(t,n,e,i,s){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}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||S.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 n=t.viewContainerRef,e=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(e);i!==-1&&n.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Ct=(()=>{let t=class t extends T{constructor(e,i,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new rt,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let l=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}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,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,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}};t.\u0275fac=function(i){return new(i||t)(m(U),m(q),m(v))},t.\u0275dir=x({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[z]});let r=t;return r})();var Se=20,ce=(()=>{let t=class t{constructor(e,i,s){this._ngZone=e,this._platform=i,this._scrolled=new p,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Se){return this._platform.isBrowser?new It(i=>{this._globalSubscription||this._addGlobalListener();let s=e>0?this._scrolled.pipe(nt(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):jt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let s=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Z(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let s=te(i),o=e.getElementRef().nativeElement;do if(s==o)return!0;while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Tt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(h(w),h(R),h(v,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Re=20,kt=(()=>{let t=class t{constructor(e,i,s){this._platform=e,this._change=new p,this._changeListener=o=>{this._change.next(o)},this._document=s,i.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),s=e.documentElement,o=s.getBoundingClientRect(),a=-o.top||e.body.scrollTop||i.scrollY||s.scrollTop||0,l=-o.left||e.body.scrollLeft||i.scrollX||s.scrollLeft||0;return{top:a,left:l}}change(e=Re){return e>0?this._change.pipe(nt(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(h(R),h(w),h(v,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var he=ie(),St=class{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}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=u(-this._previousScrollPosition.left),t.style.top=u(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,n=this._document.body,e=t.style,i=n.style,s=e.scrollBehavior||"",o=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),he&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),he&&(e.scrollBehavior=s,i.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.body,e=this._viewportRuler.getViewportSize();return n.scrollHeight>e.height||n.scrollWidth>e.width}};var Rt=class{constructor(t,n,e,i){this._scrollDispatcher=t,this._ngZone=n,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(Z(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-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}},st=class{enable(){}disable(){}attach(){}};function xt(r,t){return t.some(n=>{let e=r.bottomn.bottom,s=r.rightn.right;return e||i||s||o})}function de(r,t){return t.some(n=>{let e=r.topn.bottom,s=r.leftn.right;return e||i||s||o})}var Et=class{constructor(t,n,e,i){this._scrollDispatcher=t,this._viewportRuler=n,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 n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();xt(n,[{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}},Oe=(()=>{let t=class t{constructor(e,i,s,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new st,this.close=a=>new Rt(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new St(this._viewportRuler,this._document),this.reposition=a=>new Et(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}};t.\u0275fac=function(i){return new(i||t)(h(ce),h(kt),h(w),h(v))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Y=class{constructor(t){if(this.scrollStrategy=new st,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let n=Object.keys(t);for(let e of n)t[e]!==void 0&&(this[e]=t[e])}}};var Ot=class{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}};var me=(()=>{let t=class t{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()}};t.\u0275fac=function(i){return new(i||t)(h(v))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),De=(()=>{let t=class t extends me{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=s=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){let l=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(s)):l.next(s);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)}};t.\u0275fac=function(i){return new(i||t)(h(v),h(w,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Pe=(()=>{let t=class t extends me{constructor(e,i,s){super(e),this._platform=i,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=mt(o)},this._clickListener=o=>{let a=mt(o),l=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let c=d.length-1;c>-1;c--){let f=d[c];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(a)||f.overlayElement.contains(l))break;let _=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>_.next(o)):_.next(o)}}}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)}};t.\u0275fac=function(i){return new(i||t)(h(v),h(R),h(w,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),ge=(()=>{let t=class t{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||gt()){let s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(_),this._backdropTransitionendHandler=_=>{this._disposeBackdrop(_.target)},this._keydownEvents=new p,this._outsidePointerEvents=new p,this._renders=new p,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=Kt(()=>Yt(()=>{this._renders.next()},{injector:this._injector}))}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 n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Xt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),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 n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}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._detachContentWhenEmpty(),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(),this._afterRenderRef.destroy(),this._renders.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=k(k({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Bt(k({},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=u(this._config.width),t.height=u(this._config.height),t.minWidth=u(this._config.minWidth),t.minHeight=u(this._config.minHeight),t.maxWidth=u(this._config.maxWidth),t.maxHeight=u(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,n,e){let i=_t(n||[]).filter(s=>!!s);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(L(Ft(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)}},fe="cdk-overlay-connected-position-bounding-box",Ae=/([A-Za-z%]+)$/,Pt=class{get positions(){return this._preferredPositions}constructor(t,n,e,i,s){this._viewportRuler=n,this._document=e,this._platform=i,this._overlayContainer=s,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 p,this._resizeSubscription=W.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(fe),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,n=this._overlayRect,e=this._viewportRect,i=this._containerRect,s=[],o;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,i,a),d=this._getOverlayPoint(l,n,a),c=this._getOverlayFit(d,n,e,a);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(c,d,e)){s.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!o||o.overlayFit.visibleAreal&&(l=c,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(fe),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 n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}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,n,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let o=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?o:a}n.left<0&&(i-=n.left);let s;return e.originY=="center"?s=t.top+t.height/2:s=e.originY=="top"?t.top:t.bottom,n.top<0&&(s-=n.top),{x:i,y:s}}_getOverlayPoint(t,n,e){let i;e.overlayX=="center"?i=-n.width/2:e.overlayX==="start"?i=this._isRtl()?-n.width:0:i=this._isRtl()?0:-n.width;let s;return e.overlayY=="center"?s=-n.height/2:s=e.overlayY=="top"?0:-n.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,n,e,i){let s=pe(n),{x:o,y:a}=t,l=this._getOffset(i,"x"),d=this._getOffset(i,"y");l&&(o+=l),d&&(a+=d);let c=0-o,f=o+s.width-e.width,_=0-a,y=a+s.height-e.height,g=this._subtractOverflows(s.width,c,f),C=this._subtractOverflows(s.height,_,y),Mt=g*C;return{visibleArea:Mt,isCompletelyWithinViewport:s.width*s.height===Mt,fitsInViewportVertically:C===s.height,fitsInViewportHorizontally:g==s.width}}_canFitWithFlexibleDimensions(t,n,e){if(this._hasFlexibleDimensions){let i=e.bottom-n.y,s=e.right-n.x,o=ue(this._overlayRef.getConfig().minHeight),a=ue(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||o!=null&&o<=i,d=t.fitsInViewportHorizontally||a!=null&&a<=s;return l&&d}return!1}_pushOverlayOnScreen(t,n,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=pe(n),s=this._viewportRect,o=Math.max(t.x+i.width-s.width,0),a=Math.max(t.y+i.height-s.height,0),l=Math.max(s.top-e.top-t.y,0),d=Math.max(s.left-e.left-t.x,0),c=0,f=0;return i.width<=s.width?c=d||-o:c=t.xg&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-g/2)}let l=n.overlayX==="start"&&!i||n.overlayX==="end"&&i,d=n.overlayX==="end"&&!i||n.overlayX==="start"&&i,c,f,_;if(d)_=e.width-t.x+this._viewportMargin*2,c=t.x-this._viewportMargin;else if(l)f=t.x,c=e.right-t.x;else{let y=Math.min(e.right-t.x+e.left,t.x),g=this._lastBoundingBoxSize.width;c=y*2,f=t.x-y,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-g/2)}return{top:o,left:f,bottom:a,right:_,width:c,height:s}}_setBoundingBoxStyles(t,n){let e=this._calculateBoundingBoxRect(t,n);!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 s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=u(e.height),i.top=u(e.top),i.bottom=u(e.bottom),i.width=u(e.width),i.left=u(e.left),i.right=u(e.right),n.overlayX==="center"?i.alignItems="center":i.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?i.justifyContent="center":i.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",s&&(i.maxHeight=u(s)),o&&(i.maxWidth=u(o))}this._lastBoundingBoxSize=e,P(this._boundingBox.style,i)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){let e={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){let c=this._viewportRuler.getViewportScrollPosition();P(e,this._getExactOverlayY(n,t,c)),P(e,this._getExactOverlayX(n,t,c))}else e.position="static";let a="",l=this._getOffset(n,"x"),d=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),d&&(a+=`translateY(${d}px)`),e.transform=a.trim(),o.maxHeight&&(i?e.maxHeight=u(o.maxHeight):s&&(e.maxHeight="")),o.maxWidth&&(i?e.maxWidth=u(o.maxWidth):s&&(e.maxWidth="")),P(this._pane.style,e)}_getExactOverlayY(t,n,e){let i={top:"",bottom:""},s=this._getOverlayPoint(n,this._overlayRect,t);if(this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,e)),t.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;i.bottom=`${o-(s.y+this._overlayRect.height)}px`}else i.top=u(s.y);return i}_getExactOverlayX(t,n,e){let i={left:"",right:""},s=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,e));let o;if(this._isRtl()?o=t.overlayX==="end"?"left":"right":o=t.overlayX==="end"?"right":"left",o==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(s.x+this._overlayRect.width)}px`}else i.left=u(s.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:de(t,e),isOriginOutsideView:xt(t,e),isOverlayClipped:de(n,e),isOverlayOutsideView:xt(n,e)}}_subtractOverflows(t,...n){return n.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,n=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+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return n==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&_t(t).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof E)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let n=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+n,height:e,width:n}}};function P(r,t){for(let n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r}function ue(r){if(typeof r!="number"&&r!=null){let[t,n]=r.split(Ae);return!n||n==="px"?parseFloat(t):null}return r||null}function pe(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}function Me(r,t){return r===t?!0:r.isOriginClipped===t.isOriginClipped&&r.isOriginOutsideView===t.isOriginOutsideView&&r.isOverlayClipped===t.isOverlayClipped&&r.isOverlayOutsideView===t.isOverlayOutsideView}var _e="cdk-global-overlay-wrapper",At=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 n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(_e),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,n=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:o,maxHeight:a}=e,l=(i==="100%"||i==="100vw")&&(!o||o==="100%"||o==="100vw"),d=(s==="100%"||s==="100vh")&&(!a||a==="100%"||a==="100vh"),c=this._xPosition,f=this._xOffset,_=this._overlayRef.getConfig().direction==="rtl",y="",g="",C="";l?C="flex-start":c==="center"?(C="center",_?g=f:y=f):_?c==="left"||c==="end"?(C="flex-end",y=f):(c==="right"||c==="start")&&(C="flex-start",g=f):c==="left"||c==="start"?(C="flex-start",y=f):(c==="right"||c==="end")&&(C="flex-end",g=f),t.position=this._cssPosition,t.marginLeft=l?"0":y,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":g,n.justifyContent=C,n.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,e=n.style;n.classList.remove(_e),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Be=(()=>{let t=class t{constructor(e,i,s,o){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=o}global(){return new At}flexibleConnectedTo(e){return new Pt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(h(kt),h(v),h(R),h(ge))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Ie=0,ve=(()=>{let t=class t{constructor(e,i,s,o,a,l,d,c,f,_,y,g){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=c,this._directionality=f,this._location=_,this._outsideClickDispatcher=y,this._animationsModuleType=g}create(e){let i=this._createHostElement(),s=this._createPaneElement(i),o=this._createPortalOutlet(s),a=new Y(e);return a.direction=a.direction||this._directionality.value,new Dt(o,i,s,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Lt))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Ie++}`,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(Gt)),new et(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(h(Oe),h(ge),h(U),h(Be),h(De),h(S),h(w),h(v),h(ee),h(Qt),h(Pe),h(Ht,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function Te(r,t){if(r&1){let n=$t();O(0,"div",1)(1,"button",2),G("click",function(){Vt(n);let i=lt();return zt(i.action())}),ct(2),D()()}if(r&2){let n=lt();M(2),ht(" ",n.data.action," ")}}var Fe=["label"];function Le(r,t){}var Ve=Math.pow(2,31)-1,X=class{constructor(t,n){this._overlayRef=n,this._afterDismissed=new p,this._afterOpened=new p,this._onAction=new p,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>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,Ve))}_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}},ye=new $("MatSnackBarData"),F=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},ze=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=x({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let r=t;return r})(),Ne=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=x({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let r=t;return r})(),He=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=x({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let r=t;return r})(),Ye=(()=>{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(m(X),m(ye))},t.\u0275cmp=A({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[B],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,s){i&1&&(O(0,"div",0),ct(1),D(),at(2,Te,3,1,"div",1)),i&2&&(M(),ht(" ",s.data.message,` -`),M(),Zt(s.hasAction?2:-1))},dependencies:[re,ze,Ne,He],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let r=t;return r})(),Xe={snackBarState:Jt("state",[ut("void, hidden",tt({transform:"scale(0.8)",opacity:0})),ut("visible",tt({transform:"scale(1)",opacity:1})),pt("* => visible",ft("150ms cubic-bezier(0, 0, 0.2, 1)")),pt("* => void, * => hidden",ft("75ms cubic-bezier(0.4, 0.0, 1, 1)",tt({opacity:0})))])},We=0,Ze=(()=>{let t=class t extends T{constructor(e,i,s,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=s,this._platform=o,this.snackBarConfig=a,this._document=ot(v),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new p,this._onExit=new p,this._onEnter=new p,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${We++}`,this.attachDomPortal=l=>{this._assertNotAttached();let d=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),d},a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.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 i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:s}=e;if((s==="void"&&i!=="void"||s==="hidden")&&this._completeExit(),s==="visible"){let o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(a=>e.classList.add(a)):e.classList.add(i)),this._exposeToModals();let s=this._label.nativeElement,o="mdc-snackbar__label";s.classList.toggle(o,!s.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s{let i=e.getAttribute("aria-owns");if(i){let s=i.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]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(i){return new(i||t)(m(w),m(E),m(dt),m(R),m(F))},t.\u0275cmp=A({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,s){if(i&1&&(K(Ct,7),K(Fe,7)),i&2){let o;Q(o=J())&&(s._portalOutlet=o.first),Q(o=J())&&(s._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,s){i&1&&qt("@state.done",function(a){return s.onAnimationEnd(a)}),i&2&&Ut("@state",s._animationState)},standalone:!0,features:[z,B],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,s){i&1&&(O(0,"div",1)(1,"div",2,0)(3,"div",3),at(4,Le,0,0,"ng-template",4),D(),N(5,"div"),D()()),i&2&&(M(5),Wt("aria-live",s._live)("role",s._role)("id",s._liveElementId))},dependencies:[Ct],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[Xe.snackBarState]}});let r=t;return r})();function $e(){return new F}var Ue=new $("mat-snack-bar-default-options",{providedIn:"root",factory:$e}),be=(()=>{let t=class t{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,i,s,o,a,l){this._overlay=e,this._live=i,this._injector=s,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Ye,this.snackBarContainerComponent=Ze,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",s){let o=k(k({},this._defaultConfig),s);return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let s=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=S.create({parent:s||this._injector,providers:[{provide:F,useValue:i}]}),a=new I(this.snackBarContainerComponent,i.viewContainerRef,o),l=e.attach(a);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){let s=k(k(k({},new F),this._defaultConfig),i),o=this._createOverlay(s),a=this._attachSnackBarContainer(o,s),l=new X(a,o);if(e instanceof V){let d=new j(e,null,{$implicit:s.data,snackBarRef:l});l.instance=a.attachTemplatePortal(d)}else{let d=this._createInjector(s,l),c=new I(e,void 0,d),f=a.attachComponentPortal(c);l.instance=f.instance}return this._breakpointObserver.observe(ne.HandsetPortrait).pipe(L(o.detachments())).subscribe(d=>{o.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),s.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(l,s),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new Y;i.direction=e.direction;let s=this._overlay.position().global(),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,l=!a&&e.horizontalPosition!=="center";return a?s.left("0"):l?s.right("0"):s.centerHorizontally(),e.verticalPosition==="top"?s.top("0"):s.bottom("0"),i.positionStrategy=s,this._overlay.create(i)}_createInjector(e,i){let s=e&&e.viewContainerRef&&e.viewContainerRef.injector;return S.create({parent:s||this._injector,providers:[{provide:X,useValue:i},{provide:ye,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(h(ve),h(oe),h(S),h(se),h(t,12),h(Ue))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var us=(()=>{let t=class t{constructor(e){this.snackbar=e}onCopyToClipboard(){this.snackbar.open("Copied to clipboard via component!",void 0,{duration:3e3,horizontalPosition:"right",verticalPosition:"bottom"})}};t.\u0275fac=function(i){return new(i||t)(m(be))},t.\u0275cmp=A({type:t,selectors:[["app-clipboard-button"]],standalone:!0,features:[B],decls:3,vars:0,consts:[["mat-icon-button","",1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["fill","#fff","d","M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"]],template:function(i,s){i&1&&(O(0,"button",0),G("click",function(){return s.onCopyToClipboard()}),Nt(),O(1,"svg",1),N(2,"path",2),D()())},dependencies:[vt,ae],styles:[".btn-clipboard.mat-mdc-icon-button[_ngcontent-%COMP%]{height:30px;width:30px;padding:0}"],changeDetection:0});let r=t;return r})();export{kt as a,be as b,us as c}; diff --git a/chunk-CEMKUDOU.js b/chunk-SZTHPHUF.js similarity index 66% rename from chunk-CEMKUDOU.js rename to chunk-SZTHPHUF.js index dc58193..0484d32 100644 --- a/chunk-CEMKUDOU.js +++ b/chunk-SZTHPHUF.js @@ -1,4 +1,4 @@ -import{b as Z,c as J}from"./chunk-QZPHFG2E.js";import{a as H,b as U,c as z,d as K,f as Y,g as G,h as X,i as q}from"./chunk-REFJFSXK.js";import"./chunk-BOOGISGF.js";import{a as F,b as R}from"./chunk-KWFNX6EY.js";import{$a as B,Ea as n,Fa as t,Ga as o,Ha as y,Ka as O,Ma as P,O as C,U as S,Ua as T,Ub as V,V as M,Va as e,W as u,X as b,Y as E,Ya as h,Za as f,_a as g,ab as D,ba as _,eb as A,ka as r,kc as I,la as k,lc as L,mc as W,pc as N,xa as j,za as a}from"./chunk-ZF4RPUDH.js";var w;(function(m){let d;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(d=m.SecurityLevel||(m.SecurityLevel={}));let x;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(x=m.Theme||(m.Theme={}));let s;(function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"})(s=m.LogLevel||(m.LogLevel={}))})(w||(w={}));function Q(m,d){if(m&1){let x=y();n(0,"button",29),O("click",function(){u(x);let i=P();return b(i.onCopyToClipboard())}),E(),n(1,"svg",30),o(2,"path",31),t()()}}var ue=(()=>{let d=class d{constructor(s,i){this.elementRef=s,this.snackbar=i,this.clipboardButton=J,this.emojiMarkdown="# I :heart: ngx-markdown",this.katexMarkdown="#### `katex` directive example\n\n```latex\nf(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi\n```\n\n$f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi$",this.mermaidMarkdown="```mermaid\ngraph TD;\n A-->B;\n A-->C;\n B-->D;\n C-->D;\n```",this.mermaidOptions={fontFamily:"inherit",theme:w.Theme.Dark}}ngOnInit(){this.setHeadings()}onCopyToClipboard(){this.snackbar.open("Copied to clipboard via ng-template!",void 0,{duration:3e3,horizontalPosition:"right",verticalPosition:"bottom"})}setHeadings(){let s=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(i=>s.push(i)),this.headings=s}};d.\u0275fac=function(i){return new(i||d)(k(_),k(Z))},d.\u0275cmp=C({type:d,selectors:[["app-plugins"]],standalone:!0,features:[B([{provide:V,useValue:{}}]),D],decls:153,vars:34,consts:[["buttonTemplate",""],[3,"headings"],["id","emoji"],[3,"src"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","16px"],["appearance","fill","color","accent","fxFlex.gt-sm","calc(50% - 8px)"],["matInput","",3,"ngModelChange","ngModel"],["emoji","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["emoji",""],["id","line-numbers"],["lineNumbers",""],["lineNumbers","",3,"start"],["id","line-highlight"],["lineHighlight","",3,"line","lineOffset"],["id","command-line"],["commandLine","",3,"user","host","src"],["commandLine","",3,"user","host","output","src"],["commandLine","",3,"prompt","output","src"],["commandLine","",3,"prompt","filterOutput","src"],["id","katex"],["katex","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["id","mermaid"],["mermaid","","fxFlex.gt-sm","calc(50% - 8px)",3,"data","mermaidOptions"],["id","clipboard"],["clipboard",""],["clipboard","",1,"btn-clipboard-toolbar"],["clipboard","",1,"btn-clipboard-default"],["clipboard","",3,"clipboardButtonComponent"],["clipboard","",3,"clipboardButtonTemplate"],[1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["fill","#fff","d","M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z"]],template:function(i,l){if(i&1){let c=y();n(0,"app-scrollspy-nav-layout",1)(1,"h1"),e(2,"Plugins"),t(),n(3,"markdown"),e(4," Before to use any plugin, make sure you've installed the required libraries by following the [installation](/get-started#installation) section of the __Get Started__ page. "),t(),n(5,"section")(6,"h2",2),e(7,"Emoji plugin"),t(),n(8,"markdown"),e(9,` +import{a as N,c as Q,d as $}from"./chunk-J43BB2RU.js";import{a as z,b as K,c as Y,d as G,f as X,g as q,h as Z,i as J}from"./chunk-REFJFSXK.js";import"./chunk-BOOGISGF.js";import{a as I,b as U}from"./chunk-YV6SNVLZ.js";import{$a as D,Ea as n,Fa as t,Ga as o,Ha as y,Ka as P,Ma as T,O as C,U as S,Ua as B,Ub as F,V as M,Va as e,W as u,X as b,Y as E,Ya as h,Za as f,_a as g,ab as A,ba as _,eb as V,fa as j,ka as r,kc as L,la as k,lc as W,mc as R,pc as H,xa as O,za as a}from"./chunk-ZF4RPUDH.js";var w;(function(m){let d;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(d=m.SecurityLevel||(m.SecurityLevel={}));let x;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(x=m.Theme||(m.Theme={}));let s;(function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"})(s=m.LogLevel||(m.LogLevel={}))})(w||(w={}));function ee(m,d){if(m&1){let x=y();n(0,"button",29),P("click",function(){u(x);let i=T();return b(i.onCopyToClipboard())}),E(),n(1,"svg",30),o(2,"path",31),t()()}}var we=(()=>{let d=class d{constructor(s,i){this.elementRef=s,this.snackbar=i,this.clipboardButton=$,this.emojiMarkdown="# I :heart: ngx-markdown",this.katexMarkdown="#### `katex` directive example\n\n```latex\nf(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi\n```\n\n$f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi) e^{2 \\pi i \\xi x} d\\xi$",this.mermaidMarkdown="```mermaid\ngraph TD;\n A-->B;\n A-->C;\n B-->D;\n C-->D;\n```",this.mermaidOptions={fontFamily:"inherit",theme:w.Theme.Dark}}ngOnInit(){this.setHeadings()}onCopyToClipboard(){this.snackbar.open("Copied to clipboard via ng-template!",void 0,{duration:3e3,horizontalPosition:"right",verticalPosition:"bottom"})}setHeadings(){let s=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(i=>s.push(i)),this.headings=s}};d.\u0275fac=function(i){return new(i||d)(k(_),k(Q))},d.\u0275cmp=C({type:d,selectors:[["app-plugins"]],standalone:!0,features:[D([N({clipboardOptions:{provide:F,useValue:{}},sanitize:j.NONE})]),A],decls:153,vars:34,consts:[["buttonTemplate",""],[3,"headings"],["id","emoji"],[3,"src"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","16px"],["appearance","fill","color","accent","fxFlex.gt-sm","calc(50% - 8px)"],["matInput","",3,"ngModelChange","ngModel"],["emoji","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["emoji",""],["id","line-numbers"],["lineNumbers",""],["lineNumbers","",3,"start"],["id","line-highlight"],["lineHighlight","",3,"line","lineOffset"],["id","command-line"],["commandLine","",3,"user","host","src"],["commandLine","",3,"user","host","output","src"],["commandLine","",3,"prompt","output","src"],["commandLine","",3,"prompt","filterOutput","src"],["id","katex"],["katex","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["id","mermaid"],["mermaid","","fxFlex.gt-sm","calc(50% - 8px)",3,"data","mermaidOptions"],["id","clipboard"],["clipboard",""],["clipboard","",1,"btn-clipboard-toolbar"],["clipboard","",1,"btn-clipboard-default"],["clipboard","",3,"clipboardButtonComponent"],["clipboard","",3,"clipboardButtonTemplate"],[1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["fill","#fff","d","M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z"]],template:function(i,l){if(i&1){let c=y();n(0,"app-scrollspy-nav-layout",1)(1,"h1"),e(2,"Plugins"),t(),n(3,"markdown"),e(4," Before to use any plugin, make sure you've installed the required libraries by following the [installation](/get-started#installation) section of the __Get Started__ page. "),t(),n(5,"section")(6,"h2",2),e(7,"Emoji plugin"),t(),n(8,"markdown"),e(9,` #### Emoji-Toolkit file to include \`\`\`javascript node_modules/emoji-toolkit/lib/js/joypixels.min.js @@ -304,4 +304,4 @@ import{b as Z,c as J}from"./chunk-QZPHFG2E.js";import{a as H,b as U,c as z,d as \`\`\`html \`\`\` - `),S(),t(),j(149,Q,3,0,"ng-template",null,0,A),n(151,"markdown",28),e(152,'\n #### Using ng-template\n\n Alternatively, the `clipboard` directive can be used in conjonction with `ng-template` to provide a custom button implementation via the `clipboardButtonTemplate` input property on the `markdown` component.\n\n ```html\n \n \n \n\n \n ```\n '),t()()()}if(i&2){let c=T(150);a("headings",l.headings),r(12),a("src","app/plugins/remote/emoji.html"),r(5),h("ngModel",l.emojiMarkdown),r(),a("data",l.emojiMarkdown),r(10),a("src","app/plugins/remote/line-numbers.html"),r(9),a("start",5),r(13),a("src","app/plugins/remote/line-highlight.html"),r(3),a("line","6, 10-16")("lineOffset",5),r(19),a("user","root")("host","localhost")("src","app/plugins/remote/root-user-without-output.bash"),r(3),a("user","chris")("host","remotehost")("output","2, 4-8")("src","app/plugins/remote/non-root-user-with-output.bash"),r(3),a("prompt","PS C:UsersChris>")("output","2-19")("src","app/plugins/remote/windows-powershell-with-output.powershell"),r(3),a("prompt","PS C:UsersChris>")("filterOutput","(out)")("src","app/plugins/remote/windows-powershell-with-filter-output.powershell"),r(10),a("src","app/plugins/remote/katex.html"),r(5),h("ngModel",l.katexMarkdown),r(),a("data",l.katexMarkdown),r(3),a("src","app/plugins/remote/katex-options.html"),r(10),a("src","app/plugins/remote/mermaid.html"),r(5),h("ngModel",l.mermaidMarkdown),r(),a("data",l.mermaidMarkdown)("mermaidOptions",l.mermaidOptions),r(3),a("src","app/plugins/remote/mermaid-options.html"),r(26),a("clipboardButtonComponent",l.clipboardButton),r(2),a("clipboardButtonComponent",l.clipboardButton),r(4),a("clipboardButtonTemplate",c)}},dependencies:[N,I,L,W,K,H,U,z,F,G,Y,q,X,R],styles:["[_nghost-%COMP%]{display:block}textarea[_ngcontent-%COMP%]{min-height:180px}.btn-clipboard-toolbar[_ngcontent-%COMP%] .markdown-clipboard-toolbar{top:16px;right:16px;opacity:0;transition:opacity .25s ease-out}.btn-clipboard-toolbar[_ngcontent-%COMP%] .markdown-clipboard-toolbar.hover{opacity:1}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button{background-color:#ffffff12;border:none;border-radius:4px;color:#fff;cursor:pointer;font-family:Google Sans,Helvetica,sans-serif;font-size:11px;padding:4px 0;width:50px;transition:all .25s ease-out}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button:hover, .btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button:focus{background-color:#ffffff24}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button:active{transform:scale(.95)}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button.copied{background-color:#00ff001a;color:#0f0}.btn-clipboard[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background-color:#1e1e1e;border:1px solid #666666;border-radius:4px;padding:6px;cursor:pointer;transition:all .2s ease-out}.btn-clipboard[_ngcontent-%COMP%]:active, .btn-clipboard[_ngcontent-%COMP%]:hover{border-color:#888}.btn-clipboard[_ngcontent-%COMP%]:active{background-color:#3e3e3e;transform:scale(.95)}"],changeDetection:0});let m=d;return m})();export{ue as default}; + `),S(),t(),O(149,ee,3,0,"ng-template",null,0,V),n(151,"markdown",28),e(152,'\n #### Using ng-template\n\n Alternatively, the `clipboard` directive can be used in conjonction with `ng-template` to provide a custom button implementation via the `clipboardButtonTemplate` input property on the `markdown` component.\n\n ```html\n \n \n \n\n \n ```\n '),t()()()}if(i&2){let c=B(150);a("headings",l.headings),r(12),a("src","app/plugins/remote/emoji.html"),r(5),h("ngModel",l.emojiMarkdown),r(),a("data",l.emojiMarkdown),r(10),a("src","app/plugins/remote/line-numbers.html"),r(9),a("start",5),r(13),a("src","app/plugins/remote/line-highlight.html"),r(3),a("line","6, 10-16")("lineOffset",5),r(19),a("user","root")("host","localhost")("src","app/plugins/remote/root-user-without-output.bash"),r(3),a("user","chris")("host","remotehost")("output","2, 4-8")("src","app/plugins/remote/non-root-user-with-output.bash"),r(3),a("prompt","PS C:UsersChris>")("output","2-19")("src","app/plugins/remote/windows-powershell-with-output.powershell"),r(3),a("prompt","PS C:UsersChris>")("filterOutput","(out)")("src","app/plugins/remote/windows-powershell-with-filter-output.powershell"),r(10),a("src","app/plugins/remote/katex.html"),r(5),h("ngModel",l.katexMarkdown),r(),a("data",l.katexMarkdown),r(3),a("src","app/plugins/remote/katex-options.html"),r(10),a("src","app/plugins/remote/mermaid.html"),r(5),h("ngModel",l.mermaidMarkdown),r(),a("data",l.mermaidMarkdown)("mermaidOptions",l.mermaidOptions),r(3),a("src","app/plugins/remote/mermaid-options.html"),r(26),a("clipboardButtonComponent",l.clipboardButton),r(2),a("clipboardButtonComponent",l.clipboardButton),r(4),a("clipboardButtonTemplate",c)}},dependencies:[H,L,W,R,G,z,K,Y,I,q,X,J,Z,U],styles:["[_nghost-%COMP%]{display:block}textarea[_ngcontent-%COMP%]{min-height:180px}.btn-clipboard-toolbar[_ngcontent-%COMP%] .markdown-clipboard-toolbar{top:16px;right:16px;opacity:0;transition:opacity .25s ease-out}.btn-clipboard-toolbar[_ngcontent-%COMP%] .markdown-clipboard-toolbar.hover{opacity:1}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button{background-color:#ffffff12;border:none;border-radius:4px;color:#fff;cursor:pointer;font-family:Google Sans,Helvetica,sans-serif;font-size:11px;padding:4px 0;width:50px;transition:all .25s ease-out}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button:hover, .btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button:focus{background-color:#ffffff24}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button:active{transform:scale(.95)}.btn-clipboard-default[_ngcontent-%COMP%] .markdown-clipboard-button.copied{background-color:#00ff001a;color:#0f0}.btn-clipboard[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background-color:#1e1e1e;border:1px solid #666666;border-radius:4px;padding:6px;cursor:pointer;transition:all .2s ease-out}.btn-clipboard[_ngcontent-%COMP%]:active, .btn-clipboard[_ngcontent-%COMP%]:hover{border-color:#888}.btn-clipboard[_ngcontent-%COMP%]:active{background-color:#3e3e3e;transform:scale(.95)}"],changeDetection:0});let m=d;return m})();export{we as default}; diff --git a/chunk-7IDADAMZ.js b/chunk-XOR3IMN4.js similarity index 98% rename from chunk-7IDADAMZ.js rename to chunk-XOR3IMN4.js index 5038578..ef78672 100644 --- a/chunk-7IDADAMZ.js +++ b/chunk-XOR3IMN4.js @@ -1,4 +1,4 @@ -import{a as k,b}from"./chunk-7SCECIOF.js";import{a as v,b as S}from"./chunk-KWFNX6EY.js";import{Ea as n,Fa as e,Ga as d,O as m,Va as t,ab as f,ba as c,bb as l,cb as h,db as w,ga as u,ka as p,la as y,sb as x,za as r}from"./chunk-ZF4RPUDH.js";var W=(()=>{let i=class i{constructor(a){this.elementRef=a,this.myValue="print('hello-world')"}ngOnInit(){this.setHeadings()}setHeadings(){let a=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(o=>a.push(o)),this.headings=a}};i.\u0275fac=function(o){return new(o||i)(y(c))},i.\u0275cmp=m({type:i,selectors:[["app-syntax-highlight"]],standalone:!0,features:[f],decls:25,vars:10,consts:[[3,"headings"],["id","getting-started"],["id","auto-detect"],[3,"src"],["id","interpolation"],["emoji",""],["id","language-pipe"],[3,"innerHTML"]],template:function(o,g){o&1&&(n(0,"app-scrollspy-nav-layout",0)(1,"h1",1),t(2,"Syntax Highlight"),e(),n(3,"section")(4,"h2",2),t(5,"Auto-Detect"),e(),n(6,"markdown"),t(7,` +import{a as k,b}from"./chunk-7SCECIOF.js";import{a as v,b as S}from"./chunk-YV6SNVLZ.js";import{Ea as n,Fa as e,Ga as d,O as m,Va as t,ab as f,ba as c,bb as l,cb as h,db as w,ga as u,ka as p,la as y,sb as x,za as r}from"./chunk-ZF4RPUDH.js";var W=(()=>{let i=class i{constructor(a){this.elementRef=a,this.myValue="print('hello-world')"}ngOnInit(){this.setHeadings()}setHeadings(){let a=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(o=>a.push(o)),this.headings=a}};i.\u0275fac=function(o){return new(o||i)(y(c))},i.\u0275cmp=m({type:i,selectors:[["app-syntax-highlight"]],standalone:!0,features:[f],decls:25,vars:10,consts:[[3,"headings"],["id","getting-started"],["id","auto-detect"],[3,"src"],["id","interpolation"],["emoji",""],["id","language-pipe"],[3,"innerHTML"]],template:function(o,g){o&1&&(n(0,"app-scrollspy-nav-layout",0)(1,"h1",1),t(2,"Syntax Highlight"),e(),n(3,"section")(4,"h2",2),t(5,"Auto-Detect"),e(),n(6,"markdown"),t(7,` When using the \`src\` input property to load file remotely, language for syntax highlight will be auto-detected based on the loaded file extension. The following example... diff --git a/chunk-YV6SNVLZ.js b/chunk-YV6SNVLZ.js new file mode 100644 index 0000000..58bc95d --- /dev/null +++ b/chunk-YV6SNVLZ.js @@ -0,0 +1 @@ +import{$b as bt,Ba as ht,Db as vt,Ea as x,Eb as X,Ec as tt,F as B,Fa as y,Ga as j,Gb as k,Ha as Z,Ib as Q,J as ct,K as N,Ka as A,Kc as Bt,Lc as Nt,Ma as J,Na as z,O as D,Oa as R,Oc as Vt,P as V,Q as Y,Qb as Ct,T as M,Va as E,W as K,Wa as pt,X as W,Z as G,Zb as wt,_b as Dt,ab as I,ac as It,ba as _,bc as Ht,ca as T,cc as Mt,d as qt,da as dt,dc as _t,e as Zt,ec as Et,f as lt,fc as L,i as ot,ia as gt,ka as b,kc as Ot,la as m,lc as Ft,mc as jt,nc as kt,oc as Lt,pb as xt,pc as Pt,qb as yt,ra as mt,ua as ft,ub as St,va as q,xa as F,ya as ut,z as at,za as v}from"./chunk-ZF4RPUDH.js";var Yt=qt((it,Ut)=>{"use strict";(function(e,n){typeof define=="function"&&define.amd?define([],function(){return n(e)}):typeof it=="object"?Ut.exports=n(e):e.Gumshoe=n(e)})(typeof global<"u"?global:typeof window<"u"?window:it,function(e){"use strict";var n={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},l=function(r,o,a){if(a.settings.events){var g=new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:a});o.dispatchEvent(g)}},t=function(r){var o=0;if(r.offsetParent)for(;r;)o+=r.offsetTop,r=r.offsetParent;return o>=0?o:0},i=function(r){r&&r.sort(function(o,a){return t(o.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},d=function(r,o){var a=r[r.length-1];if(function(f,u){return!(!c()||!s(f.content,u,!0))}(a,o))return a;for(var g=r.length-1;g>=0;g--)if(s(r[g].content,o))return r[g]},H=function(r,o){if(o.nested&&r.parentNode){var a=r.parentNode.closest("li");a&&(a.classList.remove(o.nestedClass),H(a,o))}},O=function(r,o){if(r){var a=r.nav.closest("li");a&&(a.classList.remove(o.navClass),r.content.classList.remove(o.contentClass),H(a,o),l("gumshoeDeactivate",a,{link:r.nav,content:r.content,settings:o}))}},nt=function(r,o){if(o.nested){var a=r.parentNode.closest("li");a&&(a.classList.add(o.nestedClass),nt(a,o))}};return function(r,o){var a,g,f,u,S,C={};C.setup=function(){a=document.querySelectorAll(r),g=[],Array.prototype.forEach.call(a,function(h){var p=document.getElementById(decodeURIComponent(h.hash.substr(1)));p&&g.push({nav:h,content:p})}),i(g)},C.detect=function(){var h=d(g,S);h?f&&h.content===f.content||(O(f,S),function(p,w){if(p){var P=p.nav.closest("li");P&&(P.classList.add(w.navClass),p.content.classList.add(w.contentClass),nt(P,w),l("gumshoeActivate",P,{link:p.nav,content:p.content,settings:w}))}}(h,S),f=h):f&&(O(f,S),f=null)};var st=function(h){u&&e.cancelAnimationFrame(u),u=e.requestAnimationFrame(C.detect)},rt=function(h){u&&e.cancelAnimationFrame(u),u=e.requestAnimationFrame(function(){i(g),C.detect()})};return C.destroy=function(){f&&O(f,S),e.removeEventListener("scroll",st,!1),S.reflow&&e.removeEventListener("resize",rt,!1),g=null,a=null,f=null,u=null,S=null},S=function(){var h={};return Array.prototype.forEach.call(arguments,function(p){for(var w in p){if(!p.hasOwnProperty(w))return;h[w]=p[w]}}),h}(n,o||{}),C.setup(),C.detect(),e.addEventListener("scroll",st,!1),S.reflow&&e.addEventListener("resize",rt,!1),C}})});var $=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}($||{});var Jt=["*"],Tt=(()=>{let n=class n{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,s){this.element=t,this.markdownService=i,this.viewContainerRef=s,this.error=new T,this.load=new T,this.ready=new T,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new ot}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(B(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,i=!1){return lt(this,null,function*(){let s={decodeHtml:i,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},c={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},d=yield this.markdownService.parse(t,s);this.element.nativeElement.innerHTML=d,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,c,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(t){return t!=null&&`${String(t)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,$.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,$.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){let s=t.querySelectorAll("pre");for(let c=0;c{let H=i[d];if(H){let O=this.toLispCase(d);s.item(c).setAttribute(O,H.toString())}})}toLispCase(t){let i=t.match(/([A-Z])/g);if(!i)return t;let s=t.toString();for(let c=0,d=i.length;c{class e extends Ht{buildStyles(l,t){return{display:l==="true"?t.display||(t.isServer?"initial":""):"none"}}}return e.\u0275fac=(()=>{let n;return function(t){return(n||(n=G(e)))(t||e)}})(),e.\u0275prov=ct({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Qt=(()=>{class e extends Et{constructor(l,t,i,s,c,d,H){super(l,t,i,s),this.layoutConfig=c,this.platformId=d,this.serverModuleLoaded=H,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();let l=Array.from(this.nativeElement.children);for(let i=0;i{if(this.inputs.indexOf(t)!==-1){let i=t.split("."),s=i.slice(1).join("."),c=l[t].currentValue,d=c!==""?c!==0?L(c):!1:!0;i[0]==="fxHide"&&(d=!d),this.setValue(d,s)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(l=>{this.marshal.trackValue(this.nativeElement,l).pipe(B(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(l=!0){if(l==="")return;let t=St(this.platformId);this.addStyles(l?"true":"false",{display:this.display,isServer:t}),t&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return e.\u0275fac=function(l){return new(l||e)(m(_),m(Xt),m(Mt),m(_t),m(bt),m(dt),m(It))},e.\u0275dir=Y({type:e,features:[q,M]}),e})(),et=new WeakMap,te=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];var At=(()=>{class e extends Qt{constructor(){super(...arguments),this.inputs=te}}return e.\u0275fac=(()=>{let n;return function(t){return(n||(n=G(e)))(t||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[q]}),e})();var zt=(()=>{class e{}return e.\u0275fac=function(l){return new(l||e)},e.\u0275mod=V({type:e}),e.\u0275inj=N({imports:[Dt]}),e})();var Rt=(()=>{let n=class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=L(t)}get inset(){return this._inset}set inset(t){this._inset=L(t)}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=D({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,s){i&2&&(ut("aria-orientation",s.vertical?"vertical":"horizontal"),ht("mat-divider-vertical",s.vertical)("mat-divider-horizontal",!s.vertical)("mat-divider-inset",s.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[I],decls:0,vars:0,template:function(i,s){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let e=n;return e})(),$t=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=V({type:n}),n.\u0275inj=N({imports:[tt,tt]});let e=n;return e})();var Kt=Zt(Yt());function ne(e,n){if(e&1&&(x(0,"li")(1,"a",2),E(2),y()()),e&2){let l=n.$implicit;b(),v("fragment",l.id),b(),pt(l.innerHTML)}}var Wt=(()=>{let n=class n{constructor(t,i){this.elementRef=t,this.zone=i}ngOnChanges(t){t.headings?.currentValue&&this.setScrollSpy()}ngOnDestroy(){this.destroyScrollSpy()}destroyScrollSpy(){this.scrollSpy&&this.scrollSpy.destroy()}setScrollSpy(){if(this.scrollSpy){this.scrollSpy.setup();return}this.zone.onStable.pipe(at()).subscribe(()=>{let t=this.elementRef.nativeElement,i=`${t.tagName}.${t.className} a`;this.scrollSpy=new Kt.default(i,{offset:64,reflow:!0})})}};n.\u0275fac=function(i){return new(i||n)(m(_),m(mt))},n.\u0275cmp=D({type:n,selectors:[["app-scrollspy-nav"]],inputs:{headings:"headings"},standalone:!0,features:[M,I],decls:2,vars:1,consts:[[1,"scrollspy-nav"],[4,"ngFor","ngForOf"],["routerLink",".",3,"fragment"]],template:function(i,s){i&1&&(x(0,"ul",0),F(1,ne,3,2,"li",1),y()),i&2&&(b(),v("ngForOf",s.headings))},dependencies:[xt,Ct],styles:["ul.scrollspy-nav[_ngcontent-%COMP%]{padding:0}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:2px;font-size:14px;font-weight:500;list-style:none;padding:4px 0 4px 16px}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:none}ul.scrollspy-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.active){border-color:transparent;opacity:.6}"],changeDetection:0});let e=n;return e})();var Gt=vt("zoomAnimation",[Q("void => *",[k({opacity:0,transform:"translateY(32px) scale(0)"}),X("400ms cubic-bezier(0.35, 0, 0.25, 1)",k({opacity:1,transform:"translateY(0) scale(1)"}))]),Q("* => void",[k({opacity:1,transform:"translateY(0)"}),X("300ms cubic-bezier(0.35, 0, 0.25, 1)",k({opacity:0,transform:"translateY(32px)"}))])]);var se=["*"];function re(e,n){if(e&1){let l=Z();x(0,"button",9),A("click",function(){K(l);let i=J();return W(i.onScrollUp())}),j(1,"img",10),y()}e&2&&v("@zoomAnimation",void 0)}function le(e,n){if(e&1){let l=Z();x(0,"button",11),A("click",function(){K(l);let i=J();return W(i.onScrollUp())}),j(1,"img",10),y()}e&2&&v("@zoomAnimation",void 0)}var ri=(()=>{let n=class n{constructor(){this.showScrollUpButton=!1}onWindowScroll(){this.showScrollUpButton=Math.ceil(window.pageYOffset)>64}onScrollUp(){window.scrollTo(0,0),location.hash=""}};n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=D({type:n,selectors:[["app-scrollspy-nav-layout"]],hostBindings:function(i,s){i&1&&A("scroll",function(){return s.onWindowScroll()},!1,gt)},inputs:{headings:"headings"},standalone:!0,features:[I],ngContentSelectors:se,decls:14,vars:3,consts:[["fxLayout","row","fxLayoutGap","40px"],["fxFlex","1 1 calc(100% - 220px)"],[1,"footer"],["emoji","","fxLayout","row","fxLayoutAlign.gt-xs","center",1,"footer-text"],[2,"margin","0 .15em"],["class","scrollup-button--fixed","mat-fab","","color","accent","fxHide.gt-sm","",3,"click",4,"ngIf"],["fxLayout","column","fxFlex","1 0 180px","fxFlexAlign","flex-start","fxHide.lt-md","",1,"sticky"],[3,"headings"],["class","scrollup-button","mat-mini-fab","","color","accent",3,"click",4,"ngIf"],["mat-fab","","color","accent","fxHide.gt-sm","",1,"scrollup-button--fixed",3,"click"],["src","icon-chevron-up.svg"],["mat-mini-fab","","color","accent",1,"scrollup-button",3,"click"]],template:function(i,s){i&1&&(z(),x(0,"div",0)(1,"div",1),R(2),x(3,"div",2),j(4,"mat-divider"),x(5,"markdown",3),E(6," Crafted with :heart: by **jfcere** "),x(7,"span",4),E(8,"\u2022"),y(),E(9," Follow on [GitHub](https://github.com/jfcere) "),y()(),F(10,re,2,1,"button",5),y(),x(11,"div",6),j(12,"app-scrollspy-nav",7),F(13,le,2,1,"button",8),y()()),i&2&&(b(10),v("ngIf",s.showScrollUpButton),b(2),v("headings",s.headings),b(),v("ngIf",s.showScrollUpButton))},dependencies:[zt,At,Pt,Ot,Ft,Lt,kt,jt,Tt,Vt,Nt,Bt,$t,Rt,yt,Wt],styles:[".footer[_ngcontent-%COMP%]{margin:32px 0 8px}.footer-text[_ngcontent-%COMP%]{display:block;font-size:13px;padding-top:4px}.sticky[_ngcontent-%COMP%]{position:sticky;top:80px}.scrollup-button[_ngcontent-%COMP%]{margin:14px}.scrollup-button--fixed[_ngcontent-%COMP%]{position:fixed;bottom:16px;right:16px}.scrollup-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:flex}"],data:{animation:[Gt]},changeDetection:0});let e=n;return e})();export{Tt as a,ri as b}; diff --git a/index.html b/index.html index fd58f98..060a5f0 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ - + - + diff --git a/main-BY45BIGH.js b/main-BY45BIGH.js deleted file mode 100644 index a2dbce5..0000000 --- a/main-BY45BIGH.js +++ /dev/null @@ -1,4 +0,0 @@ -import{a as Gi,c as ca}from"./chunk-QZPHFG2E.js";import{a as la}from"./chunk-BOOGISGF.js";import{$ as gr,A as mr,Aa as Cr,Ab as Pr,Ba as Ne,Bb as S,Bc as ia,C as fr,Ca as At,Cb as we,D as Li,Db as Mr,Dc as na,E as pr,Ea as W,Eb as xr,Ec as Oe,F as De,Fa as oe,Fb as Nr,G as Yt,Ga as Te,Gb as ut,H as k,Ha as Jt,Hc as ra,Ib as Br,Ic as Ki,J as Ue,Jb as Rr,K as Xe,Ka as Fe,Kb as dt,L as Ct,Lb as qi,M as Y,Mb as ni,Mc as aa,N as lt,Na as Qe,Nb as Or,Nc as sa,O as Ee,Oa as Be,Ob as Lr,Oc as oa,P as Ze,Pa as Tr,Pb as ri,Q as Tt,Qa as ei,Qb as zr,Ra as qe,Rb as Vr,Sa as me,Sb as jr,Ta as fe,Tb as Hr,Ua as wt,Ub as Ur,Va as ti,Vb as Wi,W as re,Wa as Hi,Wb as Qr,X as ae,Xb as qr,Yb as Wr,Zb as $r,_ as Xt,a as $t,aa as Zt,ab as Ae,ba as se,c as tr,ca as zi,d as zs,e as Vs,ea as Je,fa as Ce,g as Ri,h as ir,ha as br,hb as Ui,i as Kt,ia as _r,ib as pe,j as nr,ja as vr,jb as Qi,jc as $i,k as rr,ka as de,kc as Kr,l as He,la as w,lc as Gr,m as ar,mb as Re,mc as Yr,n as ot,nb as Fr,oa as yr,oc as Xr,p as sr,pb as Ar,pc as Zr,q as Gt,qa as Dr,qc as ht,r as Oi,ra as Ft,s as or,sc as Jr,t as lr,ta as Er,v as cr,va as Vi,vb as wr,w as ur,wa as et,wb as ii,wc as ea,x as dr,xa as ji,xb as Sr,xc as ta,y as hr,ya as ct,yb as Ir,za as he,zb as kr}from"./chunk-ZF4RPUDH.js";var ua=zs((Zl,ai)=>{"use strict";(function(a,e,i,t){"use strict";var n=["","webkit","Moz","MS","ms","o"],r=e.createElement("div"),o="function",c=Math.round,d=Math.abs,m=Date.now;function p(s,l,u){return setTimeout(R(s,u),l)}function g(s,l,u){return Array.isArray(s)?(C(s,u[l],u),!0):!1}function C(s,l,u){var h;if(s)if(s.forEach)s.forEach(l,u);else if(s.length!==t)for(h=0;h\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",F=a.console&&(a.console.warn||a.console.log);return F&&F.call(a.console,h,b),s.apply(this,arguments)}}var v;typeof Object.assign!="function"?v=function(l){if(l===t||l===null)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(l),h=1;h-1}function ee(s){return s.trim().split(/\s+/g)}function X(s,l,u){if(s.indexOf&&!u)return s.indexOf(l);for(var h=0;hG[l]}):h=h.sort()),h}function Ve(s,l){for(var u,h,f=l[0].toUpperCase()+l.slice(1),b=0;b1&&!u.firstMultiple?u.firstMultiple=Ln(l):f===1&&(u.firstMultiple=!1);var b=u.firstInput,F=u.firstMultiple,H=F?F.center:b.center,Q=l.center=zn(h);l.timeStamp=m(),l.deltaTime=l.timeStamp-b.timeStamp,l.angle=Ai(H,Q),l.distance=zt(H,Q),ps(u,l),l.offsetDirection=jn(l.deltaX,l.deltaY);var G=Vn(l.deltaTime,l.deltaX,l.deltaY);l.overallVelocityX=G.x,l.overallVelocityY=G.y,l.overallVelocity=d(G.x)>d(G.y)?G.x:G.y,l.scale=F?_s(F.pointers,h):1,l.rotation=F?bs(F.pointers,h):0,l.maxPointers=u.prevInput?l.pointers.length>u.prevInput.maxPointers?l.pointers.length:u.prevInput.maxPointers:l.pointers.length,gs(u,l);var ye=s.element;j(l.srcEvent.target,ye)&&(ye=l.srcEvent.target),l.target=ye}function ps(s,l){var u=l.center,h=s.offsetDelta||{},f=s.prevDelta||{},b=s.prevInput||{};(l.eventType===U||b.eventType===P)&&(f=s.prevDelta={x:b.deltaX||0,y:b.deltaY||0},h=s.offsetDelta={x:u.x,y:u.y}),l.deltaX=f.x+(u.x-h.x),l.deltaY=f.y+(u.y-h.y)}function gs(s,l){var u=s.lastInterval||l,h=l.timeStamp-u.timeStamp,f,b,F,H;if(l.eventType!=M&&(h>Ot||u.velocity===t)){var Q=l.deltaX-u.deltaX,G=l.deltaY-u.deltaY,ye=Vn(h,Q,G);b=ye.x,F=ye.y,f=d(ye.x)>d(ye.y)?ye.x:ye.y,H=jn(Q,G),s.lastInterval=l}else f=u.velocity,b=u.velocityX,F=u.velocityY,H=u.direction;l.velocity=f,l.velocityX=b,l.velocityY=F,l.direction=H}function Ln(s){for(var l=[],u=0;u=d(l)?s<0?ke:bt:l<0?_t:vt}function zt(s,l,u){u||(u=On);var h=l[u[0]]-s[u[0]],f=l[u[1]]-s[u[1]];return Math.sqrt(h*h+f*f)}function Ai(s,l,u){u||(u=On);var h=l[u[0]]-s[u[0]],f=l[u[1]]-s[u[1]];return Math.atan2(f,h)*180/Math.PI}function bs(s,l){return Ai(l[1],l[0],Lt)+Ai(s[1],s[0],Lt)}function _s(s,l){return zt(l[0],l[1],Lt)/zt(s[0],s[1],Lt)}var vs={mousedown:U,mousemove:B,mouseup:P},ys="mousedown",Ds="mousemove mouseup";function Vt(){this.evEl=ys,this.evWin=Ds,this.pressed=!1,ie.apply(this,arguments)}I(Vt,ie,{handler:function(l){var u=vs[l.type];u&U&&l.button===0&&(this.pressed=!0),u&B&&l.which!==1&&(u=P),this.pressed&&(u&P&&(this.pressed=!1),this.callback(this.manager,u,{pointers:[l],changedPointers:[l],pointerType:te,srcEvent:l}))}});var Es={pointerdown:U,pointermove:B,pointerup:P,pointercancel:M,pointerout:M},Cs={2:q,3:K,4:te,5:N},Hn="pointerdown",Un="pointermove pointerup pointercancel";a.MSPointerEvent&&!a.PointerEvent&&(Hn="MSPointerDown",Un="MSPointerMove MSPointerUp MSPointerCancel");function wi(){this.evEl=Hn,this.evWin=Un,ie.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}I(wi,ie,{handler:function(l){var u=this.store,h=!1,f=l.type.toLowerCase().replace("ms",""),b=Es[f],F=Cs[l.pointerType]||l.pointerType,H=F==q,Q=X(u,l.pointerId,"pointerId");b&U&&(l.button===0||H)?Q<0&&(u.push(l),Q=u.length-1):b&(P|M)&&(h=!0),!(Q<0)&&(u[Q]=l,this.callback(this.manager,b,{pointers:u,changedPointers:[l],pointerType:F,srcEvent:l}),h&&u.splice(Q,1))}});var Ts={touchstart:U,touchmove:B,touchend:P,touchcancel:M},Fs="touchstart",As="touchstart touchmove touchend touchcancel";function Qn(){this.evTarget=Fs,this.evWin=As,this.started=!1,ie.apply(this,arguments)}I(Qn,ie,{handler:function(l){var u=Ts[l.type];if(u===U&&(this.started=!0),!!this.started){var h=ws.call(this,l,u);u&(P|M)&&h[0].length-h[1].length===0&&(this.started=!1),this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:q,srcEvent:l})}}});function ws(s,l){var u=Ke(s.touches),h=Ke(s.changedTouches);return l&(P|M)&&(u=be(u.concat(h),"identifier",!0)),[u,h]}var Ss={touchstart:U,touchmove:B,touchend:P,touchcancel:M},Is="touchstart touchmove touchend touchcancel";function jt(){this.evTarget=Is,this.targetIds={},ie.apply(this,arguments)}I(jt,ie,{handler:function(l){var u=Ss[l.type],h=ks.call(this,l,u);h&&this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:q,srcEvent:l})}});function ks(s,l){var u=Ke(s.touches),h=this.targetIds;if(l&(U|B)&&u.length===1)return h[u[0].identifier]=!0,[u,u];var f,b,F=Ke(s.changedTouches),H=[],Q=this.target;if(b=u.filter(function(G){return j(G.target,Q)}),l===U)for(f=0;f-1&&h.splice(b,1)};setTimeout(f,Ps)}}function xs(s){for(var l=s.srcEvent.clientX,u=s.srcEvent.clientY,h=0;h-1&&this.requireFail.splice(l,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(s){return!!this.simultaneous[s.id]},emit:function(s){var l=this,u=this.state;function h(f){l.manager.emit(f,s)}u=je&&h(l.options.event+Xn(u))},tryEmit:function(s){if(this.canEmit())return this.emit(s);this.state=ve},canEmit:function(){for(var s=0;sl.threshold&&f&l.direction},attrTest:function(s){return ue.prototype.attrTest.call(this,s)&&(this.state&ne||!(this.state&ne)&&this.directionTest(s))},emit:function(s){this.pX=s.deltaX,this.pY=s.deltaY;var l=Zn(s.direction);l&&(s.additionalEvent=this.options.event+l),this._super.emit.call(this,s)}});function Pi(){ue.apply(this,arguments)}I(Pi,ue,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ye]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.scale-1)>this.options.threshold||this.state&ne)},emit:function(s){if(s.scale!==1){var l=s.scale<1?"in":"out";s.additionalEvent=this.options.event+l}this._super.emit.call(this,s)}});function Mi(){Me.apply(this,arguments),this._timer=null,this._input=null}I(Mi,Me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Yn]},process:function(s){var l=this.options,u=s.pointers.length===l.pointers,h=s.distancel.time;if(this._input=s,!h||!u||s.eventType&(P|M)&&!f)this.reset();else if(s.eventType&U)this.reset(),this._timer=p(function(){this.state=Pe,this.tryEmit()},l.time,this);else if(s.eventType&P)return Pe;return ve},reset:function(){clearTimeout(this._timer)},emit:function(s){this.state===Pe&&(s&&s.eventType&P?this.manager.emit(this.options.event+"up",s):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}});function xi(){ue.apply(this,arguments)}I(xi,ue,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ye]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.rotation)>this.options.threshold||this.state&ne)}});function Ni(){ue.apply(this,arguments)}I(Ni,ue,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:_e|Ge,pointers:1},getTouchAction:function(){return qt.prototype.getTouchAction.call(this)},attrTest:function(s){var l=this.options.direction,u;return l&(_e|Ge)?u=s.overallVelocity:l&_e?u=s.overallVelocityX:l&Ge&&(u=s.overallVelocityY),this._super.attrTest.call(this,s)&&l&s.offsetDirection&&s.distance>this.options.threshold&&s.maxPointers==this.options.pointers&&d(u)>this.options.velocity&&s.eventType&P},emit:function(s){var l=Zn(s.offsetDirection);l&&this.manager.emit(this.options.event+l,s),this.manager.emit(this.options.event,s)}});function Wt(){Me.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}I(Wt,Me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ii]},process:function(s){var l=this.options,u=s.pointers.length===l.pointers,h=s.distance{let m=d.get("offset"),p=m==o,g=p&&c||new Map;d.forEach((C,T)=>{let v=T,E=C;if(T!=="offset")switch(v=a.normalizePropertyName(v,n),E){case ni:E=i.get(T);break;case we:E=t.get(T);break;default:E=a.normalizeStyleValue(T,v,E,n);break}g.set(v,E)}),p||r.push(g),c=g,o=m}),n.length)throw oo(n);return r}function vn(a,e,i,t){switch(e){case"start":a.onStart(()=>t(i&&Yi(i,"start",a)));break;case"done":a.onDone(()=>t(i&&Yi(i,"done",a)));break;case"destroy":a.onDestroy(()=>t(i&&Yi(i,"destroy",a)));break}}function Yi(a,e,i){let t=i.totalTime,n=!!i.disabled,r=yn(a.element,a.triggerName,a.fromState,a.toState,e||a.phaseName,t??a.totalTime,n),o=a._data;return o!=null&&(r._data=o),r}function yn(a,e,i,t,n="",r=0,o){return{element:a,triggerName:e,fromState:i,toState:t,phaseName:n,totalTime:r,disabled:!!o}}function J(a,e,i){let t=a.get(e);return t||a.set(e,t=i),t}function ha(a){let e=a.indexOf(":"),i=a.substring(1,e),t=a.slice(e+1);return[i,t]}var vo=typeof document>"u"?null:document.documentElement;function Dn(a){let e=a.parentNode||a.host||null;return e===vo?null:e}function yo(a){return a.substring(1,6)=="ebkit"}var tt=null,ma=!1;function Do(a){tt||(tt=Eo()||{},ma=tt.style?"WebkitAppearance"in tt.style:!1);let e=!0;return tt.style&&!yo(a)&&(e=a in tt.style,!e&&ma&&(e="Webkit"+a.charAt(0).toUpperCase()+a.slice(1)in tt.style)),e}function Eo(){return typeof document<"u"?document.body:null}function Aa(a,e){for(;e;){if(e===a)return!0;e=Dn(e)}return!1}function wa(a,e,i){if(i)return Array.from(a.querySelectorAll(e));let t=a.querySelector(e);return t?[t]:[]}var En=(()=>{let e=class e{validateStyleProperty(t){return Do(t)}containsElement(t,n){return Aa(t,n)}getParentElement(t){return Dn(t)}query(t,n,r){return wa(t,n,r)}computeStyle(t,n,r){return r||""}animate(t,n,r,o,c,d=[],m){return new dt(r,o)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ue({token:e,factory:e.\u0275fac});let a=e;return a})(),An=class An{};An.NOOP=new En;var rt=An,at=class{};var Co=1e3,Sa="{{",To="}}",Ia="ng-enter",nn="ng-leave",si="ng-trigger",di=".ng-trigger",fa="ng-animating",rn=".ng-animating";function Le(a){if(typeof a=="number")return a;let e=a.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:an(parseFloat(e[1]),e[2])}function an(a,e){switch(e){case"s":return a*Co;default:return a}}function hi(a,e,i){return a.hasOwnProperty("duration")?a:Fo(a,e,i)}function Fo(a,e,i){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,o="";if(typeof a=="string"){let c=a.match(t);if(c===null)return e.push(da(a)),{duration:0,delay:0,easing:""};n=an(parseFloat(c[1]),c[2]);let d=c[3];d!=null&&(r=an(parseFloat(d),c[4]));let m=c[5];m&&(o=m)}else n=a;if(!i){let c=!1,d=e.length;n<0&&(e.push(js()),c=!0),r<0&&(e.push(Hs()),c=!0),c&&e.splice(d,0,da(a))}return{duration:n,delay:r,easing:o}}function Ao(a){return a.length?a[0]instanceof Map?a:a.map(e=>new Map(Object.entries(e))):[]}function Se(a,e,i){e.forEach((t,n)=>{let r=Cn(n);i&&!i.has(n)&&i.set(n,a.style[r]),a.style[r]=t})}function nt(a,e){e.forEach((i,t)=>{let n=Cn(t);a.style[n]=""})}function St(a){return Array.isArray(a)?a.length==1?a[0]:Nr(a):a}function wo(a,e,i){let t=e.params||{},n=ka(a);n.length&&n.forEach(r=>{t.hasOwnProperty(r)||i.push(Us(r))})}var sn=new RegExp(`${Sa}\\s*(.+?)\\s*${To}`,"g");function ka(a){let e=[];if(typeof a=="string"){let i;for(;i=sn.exec(a);)e.push(i[1]);sn.lastIndex=0}return e}function kt(a,e,i){let t=`${a}`,n=t.replace(sn,(r,o)=>{let c=e[o];return c==null&&(i.push(Qs(o)),c=""),c.toString()});return n==t?a:n}var So=/-+([a-z0-9])/g;function Cn(a){return a.replace(So,(...e)=>e[1].toUpperCase())}function Io(a,e){return a===0||e===0}function ko(a,e,i){if(i.size&&e.length){let t=e[0],n=[];if(i.forEach((r,o)=>{t.has(o)||n.push(o),t.set(o,r)}),n.length)for(let r=1;ro.set(c,Tn(a,c)))}}return e}function Z(a,e,i){switch(e.type){case S.Trigger:return a.visitTrigger(e,i);case S.State:return a.visitState(e,i);case S.Transition:return a.visitTransition(e,i);case S.Sequence:return a.visitSequence(e,i);case S.Group:return a.visitGroup(e,i);case S.Animate:return a.visitAnimate(e,i);case S.Keyframes:return a.visitKeyframes(e,i);case S.Style:return a.visitStyle(e,i);case S.Reference:return a.visitReference(e,i);case S.AnimateChild:return a.visitAnimateChild(e,i);case S.AnimateRef:return a.visitAnimateRef(e,i);case S.Query:return a.visitQuery(e,i);case S.Stagger:return a.visitStagger(e,i);default:throw qs(e.type)}}function Tn(a,e){return window.getComputedStyle(a)[e]}var Po=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"]),mi=class extends at{normalizePropertyName(e,i){return Cn(e)}normalizeStyleValue(e,i,t,n){let r="",o=t.toString().trim();if(Po.has(i)&&t!==0&&t!=="0")if(typeof t=="number")r="px";else{let c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&c[1].length==0&&n.push(Ws(e,t))}return o+r}};var fi="*";function Mo(a,e){let i=[];return typeof a=="string"?a.split(/\s*,\s*/).forEach(t=>xo(t,i,e)):i.push(a),i}function xo(a,e,i){if(a[0]==":"){let d=No(a,i);if(typeof d=="function"){e.push(d);return}a=d}let t=a.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return i.push(ro(a)),e;let n=t[1],r=t[2],o=t[3];e.push(pa(n,o));let c=n==fi&&o==fi;r[0]=="<"&&!c&&e.push(pa(o,n))}function No(a,e){switch(a){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,t)=>parseFloat(t)>parseFloat(i);case":decrement":return(i,t)=>parseFloat(t) *"}}var oi=new Set(["true","1"]),li=new Set(["false","0"]);function pa(a,e){let i=oi.has(a)||li.has(a),t=oi.has(e)||li.has(e);return(n,r)=>{let o=a==fi||a==n,c=e==fi||e==r;return!o&&i&&typeof n=="boolean"&&(o=n?oi.has(a):li.has(a)),!c&&t&&typeof r=="boolean"&&(c=r?oi.has(e):li.has(e)),o&&c}}var Pa=":self",Bo=new RegExp(`s*${Pa}s*,?`,"g");function Ma(a,e,i,t){return new on(a).build(e,i,t)}var ga="",on=class{constructor(e){this._driver=e}build(e,i,t){let n=new ln(i);return this._resetContextStyleTimingState(n),Z(this,St(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=ga,e.collectedStyles=new Map,e.collectedStyles.set(ga,new Map),e.currentTime=0}visitTrigger(e,i){let t=i.queryCount=0,n=i.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&i.errors.push($s()),e.definitions.forEach(c=>{if(this._resetContextStyleTimingState(i),c.type==S.State){let d=c,m=d.name;m.toString().split(/\s*,\s*/).forEach(p=>{d.name=p,r.push(this.visitState(d,i))}),d.name=m}else if(c.type==S.Transition){let d=this.visitTransition(c,i);t+=d.queryCount,n+=d.depCount,o.push(d)}else i.errors.push(Ks())}),{type:S.Trigger,name:e.name,states:r,transitions:o,queryCount:t,depCount:n,options:null}}visitState(e,i){let t=this.visitStyle(e.styles,i),n=e.options&&e.options.params||null;if(t.containsDynamicStyles){let r=new Set,o=n||{};t.styles.forEach(c=>{c instanceof Map&&c.forEach(d=>{ka(d).forEach(m=>{o.hasOwnProperty(m)||r.add(m)})})}),r.size&&i.errors.push(Gs(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:t,options:n?{params:n}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let t=Z(this,St(e.animation),i),n=Mo(e.expr,i.errors);return{type:S.Transition,matchers:n,animation:t,queryCount:i.queryCount,depCount:i.depCount,options:it(e.options)}}visitSequence(e,i){return{type:S.Sequence,steps:e.steps.map(t=>Z(this,t,i)),options:it(e.options)}}visitGroup(e,i){let t=i.currentTime,n=0,r=e.steps.map(o=>{i.currentTime=t;let c=Z(this,o,i);return n=Math.max(n,i.currentTime),c});return i.currentTime=n,{type:S.Group,steps:r,options:it(e.options)}}visitAnimate(e,i){let t=zo(e.timings,i.errors);i.currentAnimateTimings=t;let n,r=e.styles?e.styles:ut({});if(r.type==S.Keyframes)n=this.visitKeyframes(r,i);else{let o=e.styles,c=!1;if(!o){c=!0;let m={};t.easing&&(m.easing=t.easing),o=ut(m)}i.currentTime+=t.duration+t.delay;let d=this.visitStyle(o,i);d.isEmptyStep=c,n=d}return i.currentAnimateTimings=null,{type:S.Animate,timings:t,style:n,options:null}}visitStyle(e,i){let t=this._makeStyleAst(e,i);return this._validateStyleAst(t,i),t}_makeStyleAst(e,i){let t=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let c of n)typeof c=="string"?c===we?t.push(c):i.errors.push(Ys(c)):t.push(new Map(Object.entries(c)));let r=!1,o=null;return t.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(o=c.get("easing"),c.delete("easing")),!r)){for(let d of c.values())if(d.toString().indexOf(Sa)>=0){r=!0;break}}}),{type:S.Style,styles:t,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,i){let t=i.currentAnimateTimings,n=i.currentTime,r=i.currentTime;t&&r>0&&(r-=t.duration+t.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((c,d)=>{let m=i.collectedStyles.get(i.currentQuerySelector),p=m.get(d),g=!0;p&&(r!=n&&r>=p.startTime&&n<=p.endTime&&(i.errors.push(Xs(d,p.startTime,p.endTime,r,n)),g=!1),r=p.startTime),g&&m.set(d,{startTime:r,endTime:n}),i.options&&wo(c,i.options,i.errors)})})}visitKeyframes(e,i){let t={type:S.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(Zs()),t;let n=1,r=0,o=[],c=!1,d=!1,m=0,p=e.steps.map(I=>{let R=this._makeStyleAst(I,i),V=R.offset!=null?R.offset:Lo(R.styles),L=0;return V!=null&&(r++,L=R.offset=V),d=d||L<0||L>1,c=c||L0&&r{let V=C>0?R==T?1:C*R:o[R],L=V*x;i.currentTime=v+E.delay+L,E.duration=L,this._validateStyleAst(I,i),I.offset=V,t.styles.push(I)}),t}visitReference(e,i){return{type:S.Reference,animation:Z(this,St(e.animation),i),options:it(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:S.AnimateChild,options:it(e.options)}}visitAnimateRef(e,i){return{type:S.AnimateRef,animation:this.visitReference(e.animation,i),options:it(e.options)}}visitQuery(e,i){let t=i.currentQuerySelector,n=e.options||{};i.queryCount++,i.currentQuery=e;let[r,o]=Ro(e.selector);i.currentQuerySelector=t.length?t+" "+r:r,J(i.collectedStyles,i.currentQuerySelector,new Map);let c=Z(this,St(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=t,{type:S.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:c,originalSelector:e.selector,options:it(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(io());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:hi(e.timings,i.errors,!0);return{type:S.Stagger,animation:Z(this,St(e.animation),i),timings:t,options:null}}};function Ro(a){let e=!!a.split(/\s*,\s*/).find(i=>i==Pa);return e&&(a=a.replace(Bo,"")),a=a.replace(/@\*/g,di).replace(/@\w+/g,i=>di+"-"+i.slice(1)).replace(/:animating/g,rn),[a,e]}function Oo(a){return a?$t({},a):null}var ln=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 Lo(a){if(typeof a=="string")return null;let e=null;if(Array.isArray(a))a.forEach(i=>{if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(a instanceof Map&&a.has("offset")){let i=a;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function zo(a,e){if(a.hasOwnProperty("duration"))return a;if(typeof a=="number"){let r=hi(a,e).duration;return Xi(r,0,"")}let i=a;if(i.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Xi(0,0,"");return r.dynamic=!0,r.strValue=i,r}let n=hi(i,e);return Xi(n.duration,n.delay,n.easing)}function it(a){return a?(a=$t({},a),a.params&&(a.params=Oo(a.params))):a={},a}function Xi(a,e,i){return{duration:a,delay:e,easing:i}}function Fn(a,e,i,t,n,r,o=null,c=!1){return{type:1,element:a,keyframes:e,preStyleProps:i,postStyleProps:t,duration:n,delay:r,totalTime:n+r,easing:o,subTimeline:c}}var Pt=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Vo=1,jo=":enter",Ho=new RegExp(jo,"g"),Uo=":leave",Qo=new RegExp(Uo,"g");function xa(a,e,i,t,n,r=new Map,o=new Map,c,d,m=[]){return new cn().buildKeyframes(a,e,i,t,n,r,o,c,d,m)}var cn=class{buildKeyframes(e,i,t,n,r,o,c,d,m,p=[]){m=m||new Pt;let g=new un(e,i,m,n,r,p,[]);g.options=d;let C=d.delay?Le(d.delay):0;g.currentTimeline.delayNextStep(C),g.currentTimeline.setStyles([o],null,g.errors,d),Z(this,t,g);let T=g.timelines.filter(v=>v.containsAnimation());if(T.length&&c.size){let v;for(let E=T.length-1;E>=0;E--){let x=T[E];if(x.element===i){v=x;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([c],null,g.errors,d)}return T.length?T.map(v=>v.buildKeyframes()):[Fn(i,[],[],[],0,C,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let t=i.subInstructions.get(i.element);if(t){let n=i.createSubContext(e.options),r=i.currentTimeline.currentTime,o=this._visitSubInstructions(t,n,n.options);r!=o&&i.transformIntoNewTimeline(o)}i.previousNode=e}visitAnimateRef(e,i){let t=i.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,t),this.visitReference(e.animation,t),i.transformIntoNewTimeline(t.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,t){for(let n of e){let r=n?.delay;if(r){let o=typeof r=="number"?r:Le(kt(r,n?.params??{},i.errors));t.delayNextStep(o)}}}_visitSubInstructions(e,i,t){let r=i.currentTimeline.currentTime,o=t.duration!=null?Le(t.duration):null,c=t.delay!=null?Le(t.delay):null;return o!==0&&e.forEach(d=>{let m=i.appendInstructionToTimeline(d,o,c);r=Math.max(r,m.duration+m.delay)}),r}visitReference(e,i){i.updateOptions(e.options,!0),Z(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let t=i.subContextCount,n=i,r=e.options;if(r&&(r.params||r.delay)&&(n=i.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==S.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=pi);let o=Le(r.delay);n.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>Z(this,o,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>t&&n.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let t=[],n=i.currentTimeline.currentTime,r=e.options&&e.options.delay?Le(e.options.delay):0;e.steps.forEach(o=>{let c=i.createSubContext(e.options);r&&c.delayNextStep(r),Z(this,o,c),n=Math.max(n,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(o=>i.currentTimeline.mergeTimelineCollectedStyles(o)),i.transformIntoNewTimeline(n),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let t=e.strValue,n=i.params?kt(t,i.params,i.errors):t;return hi(n,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let t=i.currentAnimateTimings=this._visitTiming(e.timings,i),n=i.currentTimeline;t.delay&&(i.incrementTime(t.delay),n.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,i):(i.incrementTime(t.duration),this.visitStyle(r,i),n.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let t=i.currentTimeline,n=i.currentAnimateTimings;!n&&t.hasCurrentStyleProperties()&&t.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(r):t.setStyles(e.styles,r,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let t=i.currentAnimateTimings,n=i.currentTimeline.duration,r=t.duration,c=i.createSubContext().currentTimeline;c.easing=t.easing,e.styles.forEach(d=>{let m=d.offset||0;c.forwardTime(m*r),c.setStyles(d.styles,d.easing,i.errors,i.options),c.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(c),i.transformIntoNewTimeline(n+r),i.previousNode=e}visitQuery(e,i){let t=i.currentTimeline.currentTime,n=e.options||{},r=n.delay?Le(n.delay):0;r&&(i.previousNode.type===S.Style||t==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=pi);let o=t,c=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,i.errors);i.currentQueryTotal=c.length;let d=null;c.forEach((m,p)=>{i.currentQueryIndex=p;let g=i.createSubContext(e.options,m);r&&g.delayNextStep(r),m===i.element&&(d=g.currentTimeline),Z(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe();let C=g.currentTimeline.currentTime;o=Math.max(o,C)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(o),d&&(i.currentTimeline.mergeTimelineCollectedStyles(d),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let t=i.parentContext,n=i.currentTimeline,r=e.timings,o=Math.abs(r.duration),c=o*(i.currentQueryTotal-1),d=o*i.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime;break}let p=i.currentTimeline;d&&p.delayNextStep(d);let g=p.currentTime;Z(this,e.animation,i),i.previousNode=e,t.currentStaggerTime=n.currentTime-g+(n.startTime-t.currentTimeline.startTime)}},pi={},un=class a{constructor(e,i,t,n,r,o,c,d){this._driver=e,this.element=i,this.subInstructions=t,this._enterClassName=n,this._leaveClassName=r,this.errors=o,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new gi(this._driver,i,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let t=e,n=this.options;t.duration!=null&&(n.duration=Le(t.duration)),t.delay!=null&&(n.delay=Le(t.delay));let r=t.params;if(r){let o=n.params;o||(o=this.options.params={}),Object.keys(r).forEach(c=>{(!i||!o.hasOwnProperty(c))&&(o[c]=kt(r[c],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let t=e.params={};Object.keys(i).forEach(n=>{t[n]=i[n]})}}return e}createSubContext(e=null,i,t){let n=i||this.element,r=new a(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,t||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=pi,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,t){let n={duration:i??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},r=new dn(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,t,n,r,o){let c=[];if(n&&c.push(this.element),e.length>0){e=e.replace(Ho,"."+this._enterClassName),e=e.replace(Qo,"."+this._leaveClassName);let d=t!=1,m=this._driver.query(this.element,e,d);t!==0&&(m=t<0?m.slice(m.length+t,m.length):m.slice(0,t)),c.push(...m)}return!r&&c.length==0&&o.push(no(i)),c}},gi=class a{constructor(e,i,t,n){this._driver=e,this.element=i,this.startTime=t,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,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 i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new a(this._driver,e,i||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+=Vo,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,t]of this._globalTimelineStyles)this._backFill.set(i,t||we),this._currentKeyframe.set(i,we);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,t,n){i&&this._previousKeyframe.set("easing",i);let r=n&&n.params||{},o=qo(e,this._globalTimelineStyles);for(let[c,d]of o){let m=kt(d,r,t);this._pendingStyles.set(c,m),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??we),this._updateStyle(c,m)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,t)=>{let n=this._styleSummary.get(t);(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,t=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((c,d)=>{let m=new Map([...this._backFill,...c]);m.forEach((p,g)=>{p===ni?e.add(g):p===we&&i.add(g)}),t||m.set("offset",d/this.duration),n.push(m)});let r=[...e.values()],o=[...i.values()];if(t){let c=n[0],d=new Map(c);c.set("offset",0),d.set("offset",1),n=[c,d]}return Fn(this.element,n,r,o,this.duration,this.startTime,this.easing,!1)}},dn=class extends gi{constructor(e,i,t,n,r,o,c=!1){super(e,i,o.delay),this.keyframes=t,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=c,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:t,easing:n}=this.timings;if(this._stretchStartingKeyframe&&i){let r=[],o=t+i,c=i/o,d=new Map(e[0]);d.set("offset",0),r.push(d);let m=new Map(e[0]);m.set("offset",ba(c)),r.push(m);let p=e.length-1;for(let g=1;g<=p;g++){let C=new Map(e[g]),T=C.get("offset"),v=i+T*t;C.set("offset",ba(v/o)),r.push(C)}t=o,i=0,n="",e=r}return Fn(this.element,e,this.preStyleProps,this.postStyleProps,t,i,n,!0)}};function ba(a,e=3){let i=Math.pow(10,e-1);return Math.round(a*i)/i}function qo(a,e){let i=new Map,t;return a.forEach(n=>{if(n==="*"){t??=e.keys();for(let r of t)i.set(r,we)}else for(let[r,o]of n)i.set(r,o)}),i}function _a(a,e,i,t,n,r,o,c,d,m,p,g,C){return{type:0,element:a,triggerName:e,isRemovalTransition:n,fromState:i,fromStyles:r,toState:t,toStyles:o,timelines:c,queriedElements:d,preStyleProps:m,postStyleProps:p,totalTime:g,errors:C}}var Zi={},bi=class{constructor(e,i,t){this._triggerName=e,this.ast=i,this._stateStyles=t}match(e,i,t,n){return Wo(this.ast.matchers,e,i,t,n)}buildStyles(e,i,t){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(i,t):new Map}build(e,i,t,n,r,o,c,d,m,p){let g=[],C=this.ast.options&&this.ast.options.params||Zi,T=c&&c.params||Zi,v=this.buildStyles(t,T,g),E=d&&d.params||Zi,x=this.buildStyles(n,E,g),I=new Set,R=new Map,V=new Map,L=n==="void",ce={params:Na(E,C),delay:this.ast.options?.delay},$=p?[]:xa(e,i,this.ast.animation,r,o,v,x,ce,m,g),j=0;return $.forEach(O=>{j=Math.max(O.duration+O.delay,j)}),g.length?_a(i,this._triggerName,t,n,L,v,x,[],[],R,V,j,g):($.forEach(O=>{let ee=O.element,X=J(R,ee,new Set);O.preStyleProps.forEach(be=>X.add(be));let Ke=J(V,ee,new Set);O.postStyleProps.forEach(be=>Ke.add(be)),ee!==i&&I.add(ee)}),_a(i,this._triggerName,t,n,L,v,x,$,[...I.values()],R,V,j))}};function Wo(a,e,i,t,n){return a.some(r=>r(e,i,t,n))}function Na(a,e){let i=$t({},e);return Object.entries(a).forEach(([t,n])=>{n!=null&&(i[t]=n)}),i}var hn=class{constructor(e,i,t){this.styles=e,this.defaultParams=i,this.normalizer=t}buildStyles(e,i){let t=new Map,n=Na(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,c)=>{o&&(o=kt(o,n,i));let d=this.normalizer.normalizePropertyName(c,i);o=this.normalizer.normalizeStyleValue(c,d,o,i),t.set(c,o)})}),t}};function $o(a,e,i){return new mn(a,e,i)}var mn=class{constructor(e,i,t){this.name=e,this.ast=i,this._normalizer=t,this.transitionFactories=[],this.states=new Map,i.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new hn(n.style,r,t))}),va(this.states,"true","1"),va(this.states,"false","0"),i.transitions.forEach(n=>{this.transitionFactories.push(new bi(e,n,this.states))}),this.fallbackTransition=Ko(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,t,n){return this.transitionFactories.find(o=>o.match(e,i,t,n))||null}matchStyles(e,i,t){return this.fallbackTransition.buildStyles(e,i,t)}};function Ko(a,e,i){let t=[(o,c)=>!0],n={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:n,matchers:t,options:null,queryCount:0,depCount:0};return new bi(a,r,e)}function va(a,e,i){a.has(e)?a.has(i)||a.set(i,a.get(e)):a.has(i)&&a.set(e,a.get(i))}var Go=new Pt,fn=class{constructor(e,i,t){this.bodyNode=e,this._driver=i,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let t=[],n=[],r=Ma(this._driver,i,t,n);if(t.length)throw lo(t);n.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,i,t){let n=e.element,r=Fa(this._normalizer,e.keyframes,i,t);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,i,t={}){let n=[],r=this._animations.get(e),o,c=new Map;if(r?(o=xa(this._driver,i,r,Ia,nn,new Map,new Map,t,Go,n),o.forEach(p=>{let g=J(c,p.element,new Map);p.postStyleProps.forEach(C=>g.set(C,null))})):(n.push(co()),o=[]),n.length)throw uo(n);c.forEach((p,g)=>{p.forEach((C,T)=>{p.set(T,this._driver.computeStyle(g,T,we))})});let d=o.map(p=>{let g=c.get(p.element);return this._buildPlayer(p,new Map,g)}),m=We(d);return this._playersById.set(e,m),m.onDestroy(()=>this.destroy(e)),this.players.push(m),m}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw ho(e);return i}listen(e,i,t,n){let r=yn(i,"","","");return vn(this._getPlayer(e),t,r,n),()=>{}}command(e,i,t,n){if(t=="register"){this.register(e,n[0]);return}if(t=="create"){let o=n[0]||{};this.create(e,i,o);return}let r=this._getPlayer(e);switch(t){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},ya="ng-animate-queued",Yo=".ng-animate-queued",Ji="ng-animate-disabled",Xo=".ng-animate-disabled",Zo="ng-star-inserted",Jo=".ng-star-inserted",el=[],Ba={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},tl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ge="__ng_removed",Mt=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let t=e&&e.hasOwnProperty("value"),n=t?e.value:e;if(this.value=nl(n),t){let r=e,{value:o}=r,c=tr(r,["value"]);this.options=c}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let t=this.options.params;Object.keys(i).forEach(n=>{t[n]==null&&(t[n]=i[n])})}}},It="void",en=new Mt(It),pn=class{constructor(e,i,t){this.id=e,this.hostElement=i,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,le(i,this._hostClassName)}listen(e,i,t,n){if(!this._triggers.has(i))throw mo(t,i);if(t==null||t.length==0)throw fo(i);if(!rl(t))throw po(t,i);let r=J(this._elementListeners,e,[]),o={name:i,phase:t,callback:n};r.push(o);let c=J(this._engine.statesByElement,e,new Map);return c.has(i)||(le(e,si),le(e,si+"-"+i),c.set(i,en)),()=>{this._engine.afterFlush(()=>{let d=r.indexOf(o);d>=0&&r.splice(d,1),this._triggers.has(i)||c.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw go(e);return i}trigger(e,i,t,n=!0){let r=this._getTrigger(i),o=new xt(this.id,i,e),c=this._engine.statesByElement.get(e);c||(le(e,si),le(e,si+"-"+i),this._engine.statesByElement.set(e,c=new Map));let d=c.get(i),m=new Mt(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&m.absorbOptions(d.options),c.set(i,m),d||(d=en),!(m.value===It)&&d.value===m.value){if(!ol(d.params,m.params)){let E=[],x=r.matchStyles(d.value,d.params,E),I=r.matchStyles(m.value,m.params,E);E.length?this._engine.reportError(E):this._engine.afterFlush(()=>{nt(e,x),Se(e,I)})}return}let C=J(this._engine.playersByElement,e,[]);C.forEach(E=>{E.namespaceId==this.id&&E.triggerName==i&&E.queued&&E.destroy()});let T=r.matchTransition(d.value,m.value,e,m.params),v=!1;if(!T){if(!n)return;T=r.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:T,fromState:d,toState:m,player:o,isFallbackTransition:v}),v||(le(e,ya),o.onStart(()=>{mt(e,ya)})),o.onDone(()=>{let E=this.players.indexOf(o);E>=0&&this.players.splice(E,1);let x=this._engine.playersByElement.get(e);if(x){let I=x.indexOf(o);I>=0&&x.splice(I,1)}}),this.players.push(o),C.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,t)=>{this._elementListeners.set(t,i.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let t=this._engine.driver.query(e,di,!0);t.forEach(n=>{if(n[ge])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(o=>o.triggerLeaveAnimation(n,i,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,i,t,n){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let c=[];if(r.forEach((d,m)=>{if(o.set(m,d.value),this._triggers.has(m)){let p=this.trigger(e,m,It,n);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,o),t&&We(c).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(i&&t){let n=new Set;i.forEach(r=>{let o=r.name;if(n.has(o))return;n.add(o);let d=this._triggers.get(o).fallbackTransition,m=t.get(o)||en,p=new Mt(It),g=new xt(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:d,fromState:m,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(e,i){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let n=!1;if(t.totalAnimations){let r=t.players.length?t.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let o=e;for(;o=o.parentNode;)if(t.statesByElement.get(o)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)t.markElementAsRemoved(this.id,e,!1,i);else{let r=e[ge];(!r||r===Ba)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,i))}}insertNode(e,i){le(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(t=>{let n=t.player;if(n.destroyed)return;let r=t.element,o=this._elementListeners.get(r);o&&o.forEach(c=>{if(c.name==t.triggerName){let d=yn(r,t.triggerName,t.fromState.value,t.toState.value);d._data=e,vn(t.player,c.phase,d,c.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):i.push(t)}),this._queue=[],i.sort((t,n)=>{let r=t.transition.ast.depCount,o=n.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(t.element,n.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},gn=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,t){this.bodyNode=e,this.driver=i,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(n,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,i){let t=new pn(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(t,i):(this.newHostElements.set(i,t),this.collectEnterElement(i)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,i){let t=this._namespaceList,n=this.namespacesByHostElement;if(t.length-1>=0){let o=!1,c=this.driver.getParentElement(i);for(;c;){let d=n.get(c);if(d){let m=t.indexOf(d);t.splice(m+1,0,e),o=!0;break}c=this.driver.getParentElement(c)}o||t.unshift(e)}else t.push(e);return n.set(i,e),e}register(e,i){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,i)),t}registerTrigger(e,i,t){let n=this._namespaceLookup[e];n&&n.register(i,t)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let n=this._namespaceList.indexOf(t);n>=0&&this._namespaceList.splice(n,1),t.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,t=this.statesByElement.get(e);if(t){for(let n of t.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&i.add(r)}}return i}trigger(e,i,t,n){if(ci(i)){let r=this._fetchNamespace(e);if(r)return r.trigger(i,t,n),!0}return!1}insertNode(e,i,t,n){if(!ci(i))return;let r=i[ge];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(i);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(i,t)}n&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),le(e,Ji)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),mt(e,Ji))}removeNode(e,i,t){if(ci(i)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(i,t):this.markElementAsRemoved(e,i,!1,t);let r=this.namespacesByHostElement.get(i);r&&r.id!==e&&r.removeNode(i,t)}else this._onRemovalComplete(i,t)}markElementAsRemoved(e,i,t,n,r){this.collectedLeaveElements.push(i),i[ge]={namespaceId:e,setForRemoval:n,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,i,t,n,r){return ci(i)?this._fetchNamespace(e).listen(i,t,n,r):()=>{}}_buildInstruction(e,i,t,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,n,e.fromState.options,e.toState.options,i,r)}destroyInnerAnimations(e){let i=this.driver.query(e,di,!0);i.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,rn,!0),i.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return We(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[ge];if(i&&i.setForRemoval){if(e[ge]=Ba,i.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(i.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Ji)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Xo,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,n)=>this._balanceNamespaceList(t,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],i.length?We(i).onDone(()=>{t.forEach(n=>n())}):t.forEach(n=>n())}}reportError(e){throw bo(e)}_flushAnimations(e,i){let t=new Pt,n=[],r=new Map,o=[],c=new Map,d=new Map,m=new Map,p=new Set;this.disabledNodes.forEach(_=>{p.add(_);let y=this.driver.query(_,Yo,!0);for(let D=0;D{let D=Ia+E++;v.set(y,D),_.forEach(A=>le(A,D))});let x=[],I=new Set,R=new Set;for(let _=0;_I.add(A)):R.add(y))}let V=new Map,L=Ca(C,Array.from(I));L.forEach((_,y)=>{let D=nn+E++;V.set(y,D),_.forEach(A=>le(A,D))}),e.push(()=>{T.forEach((_,y)=>{let D=v.get(y);_.forEach(A=>mt(A,D))}),L.forEach((_,y)=>{let D=V.get(y);_.forEach(A=>mt(A,D))}),x.forEach(_=>{this.processLeaveNode(_)})});let ce=[],$=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(i).forEach(D=>{let A=D.player,z=D.element;if(ce.push(A),this.collectedEnterElements.length){let B=z[ge];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(D.triggerName)){let P=B.previousTriggersValues.get(D.triggerName),M=this.statesByElement.get(D.element);if(M&&M.has(D.triggerName)){let Ie=M.get(D.triggerName);Ie.value=P,M.set(D.triggerName,Ie)}}A.destroy();return}}let q=!g||!this.driver.containsElement(g,z),K=V.get(z),te=v.get(z),N=this._buildInstruction(D,t,te,K,q);if(N.errors&&N.errors.length){$.push(N);return}if(q){A.onStart(()=>nt(z,N.fromStyles)),A.onDestroy(()=>Se(z,N.toStyles)),n.push(A);return}if(D.isFallbackTransition){A.onStart(()=>nt(z,N.fromStyles)),A.onDestroy(()=>Se(z,N.toStyles)),n.push(A);return}let Ot=[];N.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||Ot.push(B)}),N.timelines=Ot,t.append(z,N.timelines);let U={instruction:N,player:A,element:z};o.push(U),N.queriedElements.forEach(B=>J(c,B,[]).push(A)),N.preStyleProps.forEach((B,P)=>{if(B.size){let M=d.get(P);M||d.set(P,M=new Set),B.forEach((Ie,ke)=>M.add(ke))}}),N.postStyleProps.forEach((B,P)=>{let M=m.get(P);M||m.set(P,M=new Set),B.forEach((Ie,ke)=>M.add(ke))})});if($.length){let _=[];$.forEach(y=>{_.push(_o(y.triggerName,y.errors))}),ce.forEach(y=>y.destroy()),this.reportError(_)}let j=new Map,O=new Map;o.forEach(_=>{let y=_.element;t.has(y)&&(O.set(y,y),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,j))}),n.forEach(_=>{let y=_.element;this._getPreviousPlayers(y,!1,_.namespaceId,_.triggerName,null).forEach(A=>{J(j,y,[]).push(A),A.destroy()})});let ee=x.filter(_=>Ta(_,d,m)),X=new Map;Ea(X,this.driver,R,m,we).forEach(_=>{Ta(_,d,m)&&ee.push(_)});let be=new Map;T.forEach((_,y)=>{Ea(be,this.driver,new Set(_),d,ni)}),ee.forEach(_=>{let y=X.get(_),D=be.get(_);X.set(_,new Map([...y?.entries()??[],...D?.entries()??[]]))});let Ve=[],Bt=[],Rt={};o.forEach(_=>{let{element:y,player:D,instruction:A}=_;if(t.has(y)){if(p.has(y)){D.onDestroy(()=>Se(y,A.toStyles)),D.disabled=!0,D.overrideTotalTime(A.totalTime),n.push(D);return}let z=Rt;if(O.size>1){let K=y,te=[];for(;K=K.parentNode;){let N=O.get(K);if(N){z=N;break}te.push(K)}te.forEach(N=>O.set(N,z))}let q=this._buildAnimation(D.namespaceId,A,j,r,be,X);if(D.setRealPlayer(q),z===Rt)Ve.push(D);else{let K=this.playersByElement.get(z);K&&K.length&&(D.parentPlayer=We(K)),n.push(D)}}else nt(y,A.fromStyles),D.onDestroy(()=>Se(y,A.toStyles)),Bt.push(D),p.has(y)&&n.push(D)}),Bt.forEach(_=>{let y=r.get(_.element);if(y&&y.length){let D=We(y);_.setRealPlayer(D)}}),n.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_!q.destroyed);z.length?al(this,y,z):this.processLeaveNode(y)}return x.length=0,Ve.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();let y=this.players.indexOf(_);this.players.splice(y,1)}),_.play()}),Ve}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,t,n,r){let o=[];if(i){let c=this.playersByQueriedElement.get(e);c&&(o=c)}else{let c=this.playersByElement.get(e);if(c){let d=!r||r==It;c.forEach(m=>{m.queued||!d&&m.triggerName!=n||o.push(m)})}}return(t||n)&&(o=o.filter(c=>!(t&&t!=c.namespaceId||n&&n!=c.triggerName))),o}_beforeAnimationBuild(e,i,t){let n=i.triggerName,r=i.element,o=i.isRemovalTransition?void 0:e,c=i.isRemovalTransition?void 0:n;for(let d of i.timelines){let m=d.element,p=m!==r,g=J(t,m,[]);this._getPreviousPlayers(m,p,o,c,i.toState).forEach(T=>{let v=T.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),T.destroy(),g.push(T)})}nt(r,i.fromStyles)}_buildAnimation(e,i,t,n,r,o){let c=i.triggerName,d=i.element,m=[],p=new Set,g=new Set,C=i.timelines.map(v=>{let E=v.element;p.add(E);let x=E[ge];if(x&&x.removedBeforeQueried)return new dt(v.duration,v.delay);let I=E!==d,R=sl((t.get(E)||el).map(j=>j.getRealPlayer())).filter(j=>{let O=j;return O.element?O.element===E:!1}),V=r.get(E),L=o.get(E),ce=Fa(this._normalizer,v.keyframes,V,L),$=this._buildPlayer(v,ce,R);if(v.subTimeline&&n&&g.add(E),I){let j=new xt(e,c,E);j.setRealPlayer($),m.push(j)}return $});m.forEach(v=>{J(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>il(this.playersByQueriedElement,v.element,v))}),p.forEach(v=>le(v,fa));let T=We(C);return T.onDestroy(()=>{p.forEach(v=>mt(v,fa)),Se(d,i.toStyles)}),g.forEach(v=>{J(n,v,[]).push(T)}),T}_buildPlayer(e,i,t){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,t):new dt(e.duration,e.delay)}},xt=class{constructor(e,i,t){this.namespaceId=e,this.triggerName=i,this.element=t,this._player=new dt,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((i,t)=>{i.forEach(n=>vn(e,t,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){J(this._queuedCallbacks,e,[]).push(i)}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 i=this._player;i.triggerCallback&&i.triggerCallback(e)}};function il(a,e,i){let t=a.get(e);if(t){if(t.length){let n=t.indexOf(i);t.splice(n,1)}t.length==0&&a.delete(e)}return t}function nl(a){return a??null}function ci(a){return a&&a.nodeType===1}function rl(a){return a=="start"||a=="done"}function Da(a,e){let i=a.style.display;return a.style.display=e??"none",i}function Ea(a,e,i,t,n){let r=[];i.forEach(d=>r.push(Da(d)));let o=[];t.forEach((d,m)=>{let p=new Map;d.forEach(g=>{let C=e.computeStyle(m,g,n);p.set(g,C),(!C||C.length==0)&&(m[ge]=tl,o.push(m))}),a.set(m,p)});let c=0;return i.forEach(d=>Da(d,r[c++])),o}function Ca(a,e){let i=new Map;if(a.forEach(c=>i.set(c,[])),e.length==0)return i;let t=1,n=new Set(e),r=new Map;function o(c){if(!c)return t;let d=r.get(c);if(d)return d;let m=c.parentNode;return i.has(m)?d=m:n.has(m)?d=t:d=o(m),r.set(c,d),d}return e.forEach(c=>{let d=o(c);d!==t&&i.get(d).push(c)}),i}function le(a,e){a.classList?.add(e)}function mt(a,e){a.classList?.remove(e)}function al(a,e,i){We(i).onDone(()=>a.processLeaveNode(e))}function sl(a){let e=[];return Ra(a,e),e}function Ra(a,e){for(let i=0;in.add(r)):e.set(a,t),i.delete(a),!0}var pt=class{constructor(e,i,t){this._driver=i,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(n,r)=>{},this._transitionEngine=new gn(e.body,i,t),this._timelineEngine=new fn(e.body,i,t),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,i,t,n,r){let o=e+"-"+n,c=this._triggerCache[o];if(!c){let d=[],m=[],p=Ma(this._driver,r,d,m);if(d.length)throw so(n,d);m.length&&void 0,c=$o(n,p,this._normalizer),this._triggerCache[o]=c}this._transitionEngine.registerTrigger(i,n,c)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,t,n){this._transitionEngine.insertNode(e,i,t,n)}onRemove(e,i,t){this._transitionEngine.removeNode(e,i,t)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,t,n){if(t.charAt(0)=="@"){let[r,o]=ha(t),c=n;this._timelineEngine.command(r,i,o,c)}else this._transitionEngine.trigger(e,i,t,n)}listen(e,i,t,n,r){if(t.charAt(0)=="@"){let[o,c]=ha(t);return this._timelineEngine.listen(o,i,c,r)}return this._transitionEngine.listen(e,i,t,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function ll(a,e){let i=null,t=null;return Array.isArray(e)&&e.length?(i=tn(e[0]),e.length>1&&(t=tn(e[e.length-1]))):e instanceof Map&&(i=tn(e)),i||t?new bn(a,i,t):null}var ft=class ft{constructor(e,i,t){this._element=e,this._startStyles=i,this._endStyles=t,this._state=0;let n=ft.initialStylesByElement.get(e);n||ft.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&Se(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Se(this._element,this._initialStyles),this._endStyles&&(Se(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ft.initialStylesByElement.delete(this._element),this._startStyles&&(nt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(nt(this._element,this._endStyles),this._endStyles=null),Se(this._element,this._initialStyles),this._state=3)}};ft.initialStylesByElement=new WeakMap;var bn=ft;function tn(a){let e=null;return a.forEach((i,t)=>{cl(t)&&(e=e||new Map,e.set(t,i))}),e}function cl(a){return a==="display"||a==="position"}var _i=class{constructor(e,i,t,n){this.element=e,this.keyframes=i,this.options=t,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(t=>{i.push(Object.fromEntries(t))}),i}_triggerWebAnimation(e,i,t){return e.animate(this._convertKeyframesToObject(i),t)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:Tn(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(t=>t()),i.length=0}},vi=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,i){return Aa(e,i)}getParentElement(e){return Dn(e)}query(e,i,t){return wa(e,i,t)}computeStyle(e,i,t){return Tn(e,i)}animate(e,i,t,n,r,o=[]){let c=n==0?"both":"forwards",d={duration:t,delay:n,fill:c};r&&(d.easing=r);let m=new Map,p=o.filter(T=>T instanceof _i);Io(t,n)&&p.forEach(T=>{T.currentSnapshot.forEach((v,E)=>m.set(E,v))});let g=Ao(i).map(T=>new Map(T));g=ko(e,g,m);let C=ll(e,g);return new _i(e,g,d,C)}};var ui="@",Oa="@.disabled",yi=class{constructor(e,i,t,n){this.namespaceId=e,this.delegate=i,this.engine=t,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,t,n=!0){this.delegate.insertBefore(e,i,t),this.engine.onInsert(this.namespaceId,i,e,n)}removeChild(e,i,t){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,t,n){this.delegate.setAttribute(e,i,t,n)}removeAttribute(e,i,t){this.delegate.removeAttribute(e,i,t)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,t,n){this.delegate.setStyle(e,i,t,n)}removeStyle(e,i,t){this.delegate.removeStyle(e,i,t)}setProperty(e,i,t){i.charAt(0)==ui&&i==Oa?this.disableAnimations(e,!!t):this.delegate.setProperty(e,i,t)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,t){return this.delegate.listen(e,i,t)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},_n=class extends yi{constructor(e,i,t,n,r){super(i,t,n,r),this.factory=e,this.namespaceId=i}setProperty(e,i,t){i.charAt(0)==ui?i.charAt(1)=="."&&i==Oa?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,i.slice(1),t):this.delegate.setProperty(e,i,t)}listen(e,i,t){if(i.charAt(0)==ui){let n=ul(e),r=i.slice(1),o="";return r.charAt(0)!=ui&&([r,o]=dl(r)),this.engine.listen(this.namespaceId,n,r,o,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,t,c)})}return this.delegate.listen(e,i,t)}};function ul(a){switch(a){case"body":return document.body;case"document":return document;case"window":return window;default:return a}}function dl(a){let e=a.indexOf("."),i=a.substring(0,e),t=a.slice(e+1);return[i,t]}var Di=class{constructor(e,i,t){this.delegate=e,this.engine=i,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(n,r)=>{let o=r?.parentNode(n);o&&r.removeChild(o,n)}}createRenderer(e,i){let t="",n=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let m=this._rendererCache,p=m.get(n);if(!p){let g=()=>m.delete(n);p=new yi(t,n,this.engine,g),m.set(n,p)}return p}let r=i.id,o=i.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let c=m=>{Array.isArray(m)?m.forEach(c):this.engine.registerTrigger(r,o,e,m.name,m)};return i.data.animation.forEach(c),new _n(this,o,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,t){if(e>=0&&ei(t));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[o,c]=r;o(c)}),this._animationCallbacksBuffer=[]})}),n.push([i,t])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var ml=(()=>{let e=class e extends pt{constructor(t,n,r){super(t,n,r)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(Y(Re),Y(rt),Y(at))},e.\u0275prov=Ue({token:e,factory:e.\u0275fac});let a=e;return a})();function fl(){return new mi}function pl(a,e,i){return new Di(a,e,i)}var La=[{provide:at,useFactory:fl},{provide:pt,useClass:ml},{provide:yr,useFactory:pl,deps:[Ir,pt,Ft]}],gl=[{provide:rt,useFactory:()=>new vi},{provide:Je,useValue:"BrowserAnimations"},...La],dc=[{provide:rt,useClass:En},{provide:Je,useValue:"NoopAnimations"},...La];function za(){return Dr("NgEagerAnimations"),[...gl]}var Va=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var bl=Object.hasOwnProperty,Ei=class{constructor(){this.occurrences,this.reset()}slug(e,i){let t=this,n=_l(e,i===!0),r=n;for(;bl.call(t.occurrences,n);)t.occurrences[r]++,n=r+"-"+t.occurrences[r];return t.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function _l(a,e){return typeof a!="string"?"":(e||(a=a.toLowerCase()),a.replace(Va,"").replace(/ /g,"-"))}var ja,Ha=[];function Ua({prefix:a=""}={}){return{headerIds:!1,hooks:{preprocess(e){return Ha=[],ja=new Ei,e}},renderer:{heading(e,i,t){t=t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");let n=`${a}${ja.slug(t)}`,r={level:i,text:e,id:n};return Ha.push(r),`${e} -`}}}}function Qa(a){return[$r,a?.loader??[],a?.clipboardOptions??[],a?.markedOptions??[],{provide:Qr,useValue:a?.markedExtensions??[]},{provide:Wr,useValue:a?.sanitize??Ce.HTML}]}var qa=[{path:"get-started",loadComponent:()=>import("./chunk-AHPJCQ2Z.js"),data:{label:"Get Started"}},{path:"cheat-sheet",loadComponent:()=>import("./chunk-HOCJETDT.js"),data:{label:"Cheat Sheet"}},{path:"syntax-highlight",loadComponent:()=>import("./chunk-7IDADAMZ.js"),data:{label:"Syntax Highlight"}},{path:"bindings",loadComponent:()=>import("./chunk-CDPJAAAI.js"),data:{label:"Bindings"}},{path:"plugins",loadComponent:()=>import("./chunk-CEMKUDOU.js"),data:{label:"Plugins"}},{path:"re-render",loadComponent:()=>import("./chunk-VKLY7JD7.js"),data:{label:"Re-render"}},{path:"**",redirectTo:"get-started"}];function Wa(a){let e=new Wi;return e.link=(i,t,n)=>Wi.prototype.link.call(e,a.normalizeExternalUrl(i),t,n),{renderer:e}}var Ci=(()=>{let e=class e{constructor(t,n,r,o){this.locationStrategy=t,this.route=n,this.router=r,this.viewportScroller=o}interceptClick(t){let n=t.target;if(!(n instanceof HTMLAnchorElement))return;let r=n.getAttribute("href")||"";this.isExternalUrl(r)||this.isRouterLink(n)||(this.navigate(r),t.preventDefault())}navigate(t,n=!1){let r=this.getUrlTree(t);this.router.navigated=!1,this.router.navigateByUrl(r,{replaceUrl:n})}normalizeExternalUrl(t){if(this.isExternalUrl(t))return t;let n=this.getUrlTree(t),r=this.router.serializeUrl(n);return this.locationStrategy.prepareExternalUrl(r)}scrollToAnchor(){this.router.parseUrl(this.router.url).fragment&&this.navigate(this.router.url,!0)}setOffset(...t){this.viewportScroller.setOffset(...t)}getUrlTree(t){let n=this.stripFragment(t)||this.stripFragment(this.router.url),r=this.router.parseUrl(t).fragment||void 0;return this.router.createUrlTree([n],{relativeTo:this.route,fragment:r})}isExternalUrl(t){return/^(?!http(s?):\/\/).+$/.exec(t)==null}isRouterLink(t){return t.getAttributeNames().some(n=>n.startsWith("_ngcontent"))}stripFragment(t){return/[^#]*/.exec(t)[0]}};e.\u0275fac=function(n){return new(n||e)(Y(Fr),Y(Or),Y(ri),Y(wr))},e.\u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"});let a=e;return a})();var $a={providers:[za(),Sr(),jr(qa,Hr({anchorScrolling:"enabled",scrollPositionRestoration:"enabled"})),Qa({loader:ii,markedOptions:{provide:qr,useFactory:Wa,deps:[Ci]},markedExtensions:[Ua()],clipboardOptions:{provide:Ur,useValue:{buttonComponent:ca}},sanitize:Ce.NONE})]};var yl=["*"],Ti;function Dl(){if(Ti===void 0&&(Ti=null,typeof window<"u")){let a=window;a.trustedTypes!==void 0&&(Ti=a.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Ti}function Nt(a){return Dl()?.createHTML(a)||a}function Ka(a){return Error(`Unable to find icon with the name "${a}"`)}function El(){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 Ga(a){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${a}".`)}function Ya(a){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${a}".`)}var ze=class{constructor(e,i,t){this.url=e,this.svgText=i,this.options=t}},Cl=(()=>{let e=class e{constructor(t,n,r,o){this._httpClient=t,this._sanitizer=n,this._errorHandler=o,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=r}addSvgIcon(t,n,r){return this.addSvgIconInNamespace("",t,n,r)}addSvgIconLiteral(t,n,r){return this.addSvgIconLiteralInNamespace("",t,n,r)}addSvgIconInNamespace(t,n,r,o){return this._addSvgIconConfig(t,n,new ze(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,n,r,o){let c=this._sanitizer.sanitize(Ce.HTML,r);if(!c)throw Ya(r);let d=Nt(c);return this._addSvgIconConfig(t,n,new ze("",d,o))}addSvgIconSet(t,n){return this.addSvgIconSetInNamespace("",t,n)}addSvgIconSetLiteral(t,n){return this.addSvgIconSetLiteralInNamespace("",t,n)}addSvgIconSetInNamespace(t,n,r){return this._addSvgIconSetConfig(t,new ze(n,null,r))}addSvgIconSetLiteralInNamespace(t,n,r){let o=this._sanitizer.sanitize(Ce.HTML,n);if(!o)throw Ya(n);let c=Nt(o);return this._addSvgIconSetConfig(t,new ze("",c,r))}registerFontClassAlias(t,n=t){return this._fontCssClassesByAlias.set(t,n),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let n=this._sanitizer.sanitize(Ce.RESOURCE_URL,t);if(!n)throw Ga(t);let r=this._cachedIconsByUrl.get(n);return r?He(Fi(r)):this._loadSvgIconFromConfig(new ze(t,null)).pipe(Yt(o=>this._cachedIconsByUrl.set(n,o)),ot(o=>Fi(o)))}getNamedSvgIcon(t,n=""){let r=Xa(n,t),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(n,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let c=this._iconSetConfigs.get(n);return c?this._getSvgFromIconSetConfigs(t,c):ar(Ka(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?He(Fi(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(ot(n=>Fi(n)))}_getSvgFromIconSetConfigs(t,n){let r=this._extractIconWithNameFromAnySet(t,n);if(r)return He(r);let o=n.filter(c=>!c.svgText).map(c=>this._loadSvgIconSetFromConfig(c).pipe(cr(d=>{let p=`Loading icon set URL: ${this._sanitizer.sanitize(Ce.RESOURCE_URL,c.url)} failed: ${d.message}`;return this._errorHandler.handleError(new Error(p)),He(null)})));return sr(o).pipe(ot(()=>{let c=this._extractIconWithNameFromAnySet(t,n);if(!c)throw Ka(t);return c}))}_extractIconWithNameFromAnySet(t,n){for(let r=n.length-1;r>=0;r--){let o=n[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){let c=this._svgElementFromConfig(o),d=this._extractSvgIconFromSet(c,t,o.options);if(d)return d}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Yt(n=>t.svgText=n),ot(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?He(null):this._fetchIcon(t).pipe(Yt(n=>t.svgText=n))}_extractSvgIconFromSet(t,n,r){let o=t.querySelector(`[id="${n}"]`);if(!o)return null;let c=o.cloneNode(!0);if(c.removeAttribute("id"),c.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(c,r);if(c.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(c),r);let d=this._svgElementFromString(Nt(""));return d.appendChild(c),this._setSvgAttributes(d,r)}_svgElementFromString(t){let n=this._document.createElement("DIV");n.innerHTML=t;let r=n.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){let n=this._svgElementFromString(Nt("")),r=t.attributes;for(let o=0;oNt(p)),hr(()=>this._inProgressUrlFetches.delete(c)),mr());return this._inProgressUrlFetches.set(c,m),m}_addSvgIconConfig(t,n,r){return this._svgIconConfigs.set(Xa(t,n),r),this}_addSvgIconSetConfig(t,n){let r=this._iconSetConfigs.get(t);return r?r.push(n):this._iconSetConfigs.set(t,[n]),this}_svgElementFromConfig(t){if(!t.svgElement){let n=this._svgElementFromString(t.svgText);this._setSvgAttributes(n,t.options),t.svgElement=n}return t.svgElement}_getIconConfigFromResolvers(t,n){for(let r=0;re?e.pathname+e.search:""}}var Za=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Sl=Za.map(a=>`[${a}]`).join(", "),Il=/^url\(['"]?#(.*?)['"]?\)$/,Ja=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let n=this._cleanupFontValue(t);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let n=this._cleanupFontValue(t);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(t,n,r,o,c,d){this._elementRef=t,this._iconRegistry=n,this._location=o,this._errorHandler=c,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ri.EMPTY,d&&(d.color&&(this.color=this._defaultColor=d.color),d.fontSet&&(this.fontSet=d.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let n=t.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,n=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let r=t.childNodes[n];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),n.forEach(r=>t.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let n=this._elementsWithExternalReferences;n&&n.forEach((r,o)=>{r.forEach(c=>{o.setAttribute(c.name,`url('${t}#${c.value}')`)})})}_cacheChildrenWithExternalReferences(t){let n=t.querySelectorAll(Sl),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{let d=n[o],m=d.getAttribute(c),p=m?m.match(Il):null;if(p){let g=r.get(d);g||(g=[],r.set(d,g)),g.push({name:c,value:p[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[n,r]=this._splitIconName(t);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(dr(1)).subscribe(o=>this._setSvgElement(o),o=>{let c=`Error retrieving icon ${n}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(c))})}}};e.\u0275fac=function(n){return new(n||e)(w(se),w(Cl),Xt("aria-hidden"),w(Al),w(Zt),w(Fl,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(ct("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),At(r.color?"mat-"+r.color:""),Ne("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",pe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[et,Ae],ngContentSelectors:yl,decls:1,vars:0,template:function(n,r){n&1&&(Qe(),Be(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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});let a=e;return a})(),es=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ze({type:e}),e.\u0275inj=Xe({imports:[Oe,Oe]});let a=e;return a})();var kn=["*"];var xl=["tabListContainer"],Nl=["tabList"],Bl=["tabListInner"],Rl=["nextPaginator"],Ol=["previousPaginator"];var Ll=["mat-tab-nav-bar",""],zl=["mat-tab-link",""];var wn="mdc-tab-indicator--active",ts="mdc-tab-indicator--no-transition",In=class{constructor(e){this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar())}alignToElement(e){let i=this._items.find(n=>n.elementRef.nativeElement===e),t=this._currentItem;if(i!==t&&(t?.deactivateInkBar(),i)){let n=t?.elementRef.nativeElement.getBoundingClientRect?.();i.activateInkBar(n),this._currentItem=i}}},Vl=(()=>{let e=class e{constructor(){this._elementRef=lt(se),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){let n=this._elementRef.nativeElement;if(!t||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(wn);return}let r=n.getBoundingClientRect(),o=t.width/r.width,c=t.left-r.left;n.classList.add(ts),this._inkBarContentElement.style.setProperty("transform",`translateX(${c}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(ts),n.classList.add(wn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(wn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let t=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=t.createElement("span"),r=this._inkBarContentElement=t.createElement("span");n.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let t=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;t.appendChild(this._inkBarElement)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Tt({type:e,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe]},features:[et]});let a=e;return a})();var is=Jr({passive:!0}),jl=650,Hl=100,Ul=(()=>{let e=class e{get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let n=isNaN(t)?0:t;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}constructor(t,n,r,o,c,d,m){this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=o,this._ngZone=c,this._platform=d,this._animationMode=m,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Kt,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Kt,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new zi,this.indexFocused=new zi,this._sharedResizeObserver=lt(la),this._injector=lt(gr),c.runOutsideAngular(()=>{Gt(t.nativeElement,"mouseleave").pipe(De(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Gt(this._previousPaginator.nativeElement,"touchstart",is).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Gt(this._nextPaginator.nativeElement,"touchstart",is).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let t=this._dir?this._dir.change:He("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(ur(32),De(this._destroyed)),r=this._viewportRuler.change(150).pipe(De(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new ia(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Er(o,{injector:this._injector}),Oi(t,r,n,this._items.changes,this._itemsResized()).pipe(De(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(c=>{this.indexFocused.emit(c),this._setTabFocus(c)})}_itemsResized(){return typeof ResizeObserver!="function"?rr:this._items.changes.pipe(Li(this._items),pr(t=>new ir(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>n.next(o));return t.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),fr(1),or(t=>t.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!ea(t))switch(t.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){let t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return this._items?!!this._items.toArray()[t]:!0}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let t=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){let n=this._tabListContainer.nativeElement.offsetWidth,r=(t=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;let n=this._items?this._items.toArray()[t]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:c}=n.elementRef.nativeElement,d,m;this._getLayoutDirection()=="ltr"?(d=o,m=d+c):(m=this._tabListInner.nativeElement.offsetWidth-o,d=m-c);let p=this.scrollDistance,g=this.scrollDistance+r;dg&&(this.scrollDistance+=Math.min(m-g,d-p))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let t=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let t=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return t-n||0}_alignInkBarToSelectedTab(){let t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=t?t.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),lr(jl,Hl).pipe(De(Oi(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(t);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}};e.\u0275fac=function(n){return new(n||e)(w(se),w(Ui),w(Gi),w($i,8),w(Ft),w(ht),w(Je,8))},e.\u0275dir=Tt({type:e,inputs:{disablePagination:[2,"disablePagination","disablePagination",pe],selectedIndex:[2,"selectedIndex","selectedIndex",Qi]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[et]});let a=e;return a})();var Ql=new Ct("MAT_TABS_CONFIG");var rs=0,Pn=(()=>{let e=class e extends Ul{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(t){this._fitInkBarToContent.next(t),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(t){let n=t+"";this._animationDuration=/^\d+$/.test(n)?t+"ms":n}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&n.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}constructor(t,n,r,o,c,d,m,p){super(t,o,c,n,r,d,m),this._fitInkBarToContent=new nr(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=p&&p.disablePagination!=null?p.disablePagination:!1,this.fitInkBarToContent=p&&p.fitInkBarToContent!=null?p.fitInkBarToContent:!1,this.stretchTabs=p&&p.stretchTabs!=null?p.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new In(this._items),this._items.changes.pipe(Li(null),De(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let t=this._items.toArray();for(let n=0;n.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2});let a=e;return a})(),Mn=(()=>{let e=class e extends Vl{get active(){return this._isActive}set active(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(t,n,r,o,c,d){super(),this._tabNavBar=t,this.elementRef=n,this._focusMonitor=c,this._destroyed=new Kt,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${rs++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(o)||0,d==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),t._fitInkBarToContent.pipe(De(this._destroyed)).subscribe(m=>{this.fitInkBarToContent=m})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(t){(t.keyCode===32||t.keyCode===13)&&(this.disabled?t.preventDefault():this._tabNavBar.tabPanel&&(t.keyCode===32&&t.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}};e.\u0275fac=function(n){return new(n||e)(w(Pn),w(se),w(ra,8),Xt("tabindex"),w(na),w(Je,8))},e.\u0275cmp=Ee({type:e,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(n,r){n&1&&Fe("focus",function(){return r._handleFocus()})("keydown",function(c){return r._handleKeydown(c)}),n&2&&(ct("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),Ne("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",pe],disabled:[2,"disabled","disabled",pe],disableRipple:[2,"disableRipple","disableRipple",pe],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Qi(t)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[et,Vi,Ae],attrs:zl,ngContentSelectors:kn,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(n,r){n&1&&(Qe(),Te(0,"span",0)(1,"div",1),W(2,"span",2)(3,"span",3),Be(4),oe()()),n&2&&(de(),he("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Ki],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0});let a=e;return a})(),as=(()=>{let e=class e{constructor(){this.id=`mat-tab-nav-panel-${rs++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Ee({type:e,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,r){n&2&&ct("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[Ae],ngContentSelectors:kn,decls:1,vars:0,template:function(n,r){n&1&&(Qe(),Be(0))},encapsulation:2,changeDetection:0});let a=e;return a})(),ss=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ze({type:e}),e.\u0275inj=Xe({imports:[Oe,Oe]});let a=e;return a})();var Wl=["*",[["mat-toolbar-row"]]],$l=["*","mat-toolbar-row"],xn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Tt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let a=e;return a})(),os=(()=>{let e=class e{constructor(t,n,r){this._elementRef=t,this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(n){return new(n||e)(w(se),w(ht),w(Re))},e.\u0275cmp=Ee({type:e,selectors:[["mat-toolbar"]],contentQueries:function(n,r,o){if(n&1&&ei(o,xn,5),n&2){let c;me(c=fe())&&(r._toolbarRows=c)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(n,r){n&2&&(At(r.color?"mat-"+r.color:""),Ne("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Ae],ngContentSelectors:$l,decls:2,vars:0,template:function(n,r){n&1&&(Qe(Wl),Be(0),Be(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let a=e;return a})();var ls=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ze({type:e}),e.\u0275inj=Xe({imports:[Oe,Oe]});let a=e;return a})();var cs=Mr("routeAnimation",[Br("* <=> *",[Rr(":enter",[ut({opacity:0,transform:"translateY(32px)"}),xr("550ms cubic-bezier(0.35, 0, 0.25, 1)",ut({opacity:1,transform:"translateY(0)"}))],{optional:!0})])]);var $e=function(a){return a.Light="light",a.Dark="dark",a}($e||{});function us(a){return a!=null&&typeof a=="string"&&Object.values($e).includes(a)}var Nn=$e.Light,Bn="ngx-markdown:theme";var Yl=["tabHeader"];function Xl(a,e){if(a&1&&(W(0,"a",14,3)(2,"div",15),Te(3,"img",16),W(4,"span"),ti(5),oe()()()),a&2){let i=e.$implicit,t=wt(1);he("active",t.isActive)("routerLink",i.path),de(3),Tr("src","icon-",i.path,".svg",br),de(2),Hi(i.data==null?null:i.data.label)}}var ds=(()=>{let e=class e{onDocumentClick(t){this.anchorService.interceptClick(t)}onWindowScroll(){if(this.tabHeader==null)return;let t=this.tabHeader.nativeElement,n=Math.ceil(t.offsetTop),r=Math.ceil(window.pageYOffset),o=t.classList.contains(this.stickyClassName);!o&&r>=n&&t.classList.add(this.stickyClassName),o&&ro.data&&o.data.label)}ngOnInit(){this.anchorService.setOffset([0,64]);let t=localStorage.getItem(Bn);this.setTheme(us(t)?t:Nn)}handleFragment(){this.anchorService.scrollToAnchor()}setTheme(t){this.theme=t;let n=this.document.querySelector("body").classList,r=/\w*-theme\b/.exec(n.value);r&&n.remove(...r),n.add(`${this.theme}-theme`),localStorage.setItem(Bn,this.theme)}getRouteAnimation(t){return t&&t.activatedRouteData&&t.activatedRouteData.label}toggleTheme(){this.setTheme(this.theme===$e.Light?$e.Dark:$e.Light)}};e.\u0275fac=function(n){return new(n||e)(w(Re),w(Ci),w(ri))},e.\u0275cmp=Ee({type:e,selectors:[["app-root"]],viewQuery:function(n,r){if(n&1&&qe(Yl,7,se),n&2){let o;me(o=fe())&&(r.tabHeader=o.first)}},hostBindings:function(n,r){n&1&&Fe("click",function(c){return r.onDocumentClick(c)},!1,vr)("scroll",function(){return r.onWindowScroll()},!1,_r)},standalone:!0,features:[Ae],decls:18,vars:5,consts:[["tabHeader",""],["tabPanel",""],["outlet","outlet"],["tabLink","routerLinkActive"],["color","primary"],["fxFlex",""],["mat-icon-button","",3,"click"],["src","icon-light-on.svg",3,"hidden"],["src","icon-light-off.svg",3,"hidden"],["mat-icon-button","","href","https://github.com/jfcere/ngx-markdown"],["src","icon-github.svg",1,"github-icon"],["mat-tab-nav-bar","","mat-stretch-tabs","false","backgroundColor","primary","disableRipple","","fitInkBarToContent","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"active","routerLink",4,"ngFor","ngForOf"],[1,"outlet-wrapper"],["mat-tab-link","","routerLinkActive","",3,"active","routerLink"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","8px"],[3,"src"]],template:function(n,r){if(n&1){let o=Jt();W(0,"mat-toolbar",4)(1,"mat-toolbar-row")(2,"h1"),ti(3,"ngx-markdown"),oe(),Te(4,"span",5),W(5,"button",6),Fe("click",function(){return re(o),ae(r.toggleTheme())}),W(6,"mat-icon"),Te(7,"img",7)(8,"img",8),oe()(),W(9,"a",9),Te(10,"img",10),oe()()(),W(11,"nav",11,0),ji(13,Xl,6,5,"a",12),oe(),W(14,"mat-tab-nav-panel",13,1),Fe("@routeAnimation.done",function(){return re(o),ae(r.handleFragment())}),Te(16,"router-outlet",null,2),oe()}if(n&2){let o=wt(15),c=wt(17);de(7),he("hidden",r.theme==="light"),de(),he("hidden",r.theme==="dark"),de(3),he("tabPanel",o),de(2),he("ngForOf",r.routes),de(),he("@routeAnimation",r.getRouteAnimation(c))}},dependencies:[Zr,Kr,Gr,Xr,Yr,oa,sa,aa,es,Ja,ss,Pn,as,Mn,ls,os,xn,Ar,zr,Vr,Lr],styles:["[_nghost-%COMP%]{display:block}.github-icon[_ngcontent-%COMP%]{--mdc-icon-button-icon-size: 28px;position:relative;top:-2px;left:-2px}.mat-mdc-tab-nav-bar--sticky[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;transition:box-shadow .3s ease-out}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] {position:sticky;top:0;z-index:24}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mdc-tab-indicator__content--underline{border-radius:3px 3px 0 0;border-top-width:3px;transition-duration:.5s}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link{font-size:14px;font-weight:500;letter-spacing:normal;margin:0 16px;min-width:0;opacity:.6;padding:0;text-decoration:none;transition:all .2s ease-out}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link:not(.mdc-tab--active):hover{transform:translateY(-1px)}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link:hover, .mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mdc-tab--active{opacity:1}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link-container{margin:0 auto;max-width:960px;overflow:auto}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mdc-tab__ripple{opacity:0}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-header-pagination{display:none!important}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-list{transform:unset!important}.mat-toolbar[_ngcontent-%COMP%] .mat-toolbar-row{margin:0 auto;max-width:960px;padding-left:16px;padding-right:16px}.mat-toolbar[_ngcontent-%COMP%] .mat-icon-button{transition:all .2s ease-out}.mat-toolbar[_ngcontent-%COMP%] .mat-icon-button:hover{transform:translateY(-2px)}.outlet-wrapper[_ngcontent-%COMP%]{margin:16px auto;max-width:960px;padding-left:16px;padding-right:16px;display:block;position:relative}"],data:{animation:[cs]},changeDetection:0});let a=e;return a})();kr(ds,$a).catch(a=>console.error(a)); diff --git a/main-MXIFDE3C.js b/main-MXIFDE3C.js new file mode 100644 index 0000000..ed0c951 --- /dev/null +++ b/main-MXIFDE3C.js @@ -0,0 +1,4 @@ +import{a as qr,b as Gi,d as oa}from"./chunk-J43BB2RU.js";import{a as sa}from"./chunk-BOOGISGF.js";import{$ as gr,A as mr,Aa as Cr,Ab as Pr,Ba as xe,Bb as S,Bc as ea,C as fr,Ca as At,Cb as Ae,D as Li,Db as Mr,Dc as ta,E as pr,Ea as W,Eb as xr,Ec as Re,F as De,Fa as oe,Fb as Nr,G as Yt,Ga as Ce,Gb as ut,H as k,Ha as Jt,Hc as ia,Ib as Br,Ic as Ki,J as He,Jb as Rr,K as Xe,Ka as Te,Kb as dt,L as Ct,Lb as qi,M as Y,Mb as ni,Mc as na,N as lt,Na as Qe,Nb as Or,Nc as ra,O as Ee,Oa as Ne,Ob as Lr,Oc as aa,P as Ze,Pa as Tr,Pb as ri,Q as Tt,Qa as ei,Qb as zr,Ra as qe,Rb as Vr,Sa as me,Sb as jr,Ta as fe,Tb as Hr,Ua as wt,Ub as Ur,Va as ti,Vb as Wi,W as re,Wa as Hi,X as ae,Xb as Qr,_ as Xt,a as $t,aa as Zt,ab as Fe,ba as se,c as tr,ca as zi,d as Rs,e as Os,ea as Je,fa as Ue,g as Ri,h as ir,ha as br,hb as Ui,i as Kt,ia as _r,ib as pe,j as nr,ja as vr,jb as Qi,jc as $i,k as rr,ka as de,kc as Wr,l as je,la as w,lc as $r,m as ar,mb as Be,mc as Kr,n as ot,nb as Fr,oa as yr,oc as Gr,p as sr,pb as Ar,pc as Yr,q as Gt,qa as Dr,qc as ht,r as Oi,ra as Ft,s as or,sc as Xr,t as lr,ta as Er,v as cr,va as Vi,vb as wr,w as ur,wa as et,wb as ii,wc as Zr,x as dr,xa as ji,xb as Sr,xc as Jr,y as hr,ya as ct,yb as Ir,za as he,zb as kr}from"./chunk-ZF4RPUDH.js";var la=Rs((Gl,ai)=>{"use strict";(function(a,e,i,t){"use strict";var n=["","webkit","Moz","MS","ms","o"],r=e.createElement("div"),o="function",c=Math.round,d=Math.abs,m=Date.now;function p(s,l,u){return setTimeout(R(s,u),l)}function g(s,l,u){return Array.isArray(s)?(C(s,u[l],u),!0):!1}function C(s,l,u){var h;if(s)if(s.forEach)s.forEach(l,u);else if(s.length!==t)for(h=0;h\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",F=a.console&&(a.console.warn||a.console.log);return F&&F.call(a.console,h,b),s.apply(this,arguments)}}var v;typeof Object.assign!="function"?v=function(l){if(l===t||l===null)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(l),h=1;h-1}function ee(s){return s.trim().split(/\s+/g)}function X(s,l,u){if(s.indexOf&&!u)return s.indexOf(l);for(var h=0;hG[l]}):h=h.sort()),h}function ze(s,l){for(var u,h,f=l[0].toUpperCase()+l.slice(1),b=0;b1&&!u.firstMultiple?u.firstMultiple=Ln(l):f===1&&(u.firstMultiple=!1);var b=u.firstInput,F=u.firstMultiple,H=F?F.center:b.center,Q=l.center=zn(h);l.timeStamp=m(),l.deltaTime=l.timeStamp-b.timeStamp,l.angle=Ai(H,Q),l.distance=zt(H,Q),hs(u,l),l.offsetDirection=jn(l.deltaX,l.deltaY);var G=Vn(l.deltaTime,l.deltaX,l.deltaY);l.overallVelocityX=G.x,l.overallVelocityY=G.y,l.overallVelocity=d(G.x)>d(G.y)?G.x:G.y,l.scale=F?ps(F.pointers,h):1,l.rotation=F?fs(F.pointers,h):0,l.maxPointers=u.prevInput?l.pointers.length>u.prevInput.maxPointers?l.pointers.length:u.prevInput.maxPointers:l.pointers.length,ms(u,l);var ye=s.element;j(l.srcEvent.target,ye)&&(ye=l.srcEvent.target),l.target=ye}function hs(s,l){var u=l.center,h=s.offsetDelta||{},f=s.prevDelta||{},b=s.prevInput||{};(l.eventType===U||b.eventType===P)&&(f=s.prevDelta={x:b.deltaX||0,y:b.deltaY||0},h=s.offsetDelta={x:u.x,y:u.y}),l.deltaX=f.x+(u.x-h.x),l.deltaY=f.y+(u.y-h.y)}function ms(s,l){var u=s.lastInterval||l,h=l.timeStamp-u.timeStamp,f,b,F,H;if(l.eventType!=M&&(h>Ot||u.velocity===t)){var Q=l.deltaX-u.deltaX,G=l.deltaY-u.deltaY,ye=Vn(h,Q,G);b=ye.x,F=ye.y,f=d(ye.x)>d(ye.y)?ye.x:ye.y,H=jn(Q,G),s.lastInterval=l}else f=u.velocity,b=u.velocityX,F=u.velocityY,H=u.direction;l.velocity=f,l.velocityX=b,l.velocityY=F,l.direction=H}function Ln(s){for(var l=[],u=0;u=d(l)?s<0?Ie:bt:l<0?_t:vt}function zt(s,l,u){u||(u=On);var h=l[u[0]]-s[u[0]],f=l[u[1]]-s[u[1]];return Math.sqrt(h*h+f*f)}function Ai(s,l,u){u||(u=On);var h=l[u[0]]-s[u[0]],f=l[u[1]]-s[u[1]];return Math.atan2(f,h)*180/Math.PI}function fs(s,l){return Ai(l[1],l[0],Lt)+Ai(s[1],s[0],Lt)}function ps(s,l){return zt(l[0],l[1],Lt)/zt(s[0],s[1],Lt)}var gs={mousedown:U,mousemove:B,mouseup:P},bs="mousedown",_s="mousemove mouseup";function Vt(){this.evEl=bs,this.evWin=_s,this.pressed=!1,ie.apply(this,arguments)}I(Vt,ie,{handler:function(l){var u=gs[l.type];u&U&&l.button===0&&(this.pressed=!0),u&B&&l.which!==1&&(u=P),this.pressed&&(u&P&&(this.pressed=!1),this.callback(this.manager,u,{pointers:[l],changedPointers:[l],pointerType:te,srcEvent:l}))}});var vs={pointerdown:U,pointermove:B,pointerup:P,pointercancel:M,pointerout:M},ys={2:q,3:K,4:te,5:N},Hn="pointerdown",Un="pointermove pointerup pointercancel";a.MSPointerEvent&&!a.PointerEvent&&(Hn="MSPointerDown",Un="MSPointerMove MSPointerUp MSPointerCancel");function wi(){this.evEl=Hn,this.evWin=Un,ie.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}I(wi,ie,{handler:function(l){var u=this.store,h=!1,f=l.type.toLowerCase().replace("ms",""),b=vs[f],F=ys[l.pointerType]||l.pointerType,H=F==q,Q=X(u,l.pointerId,"pointerId");b&U&&(l.button===0||H)?Q<0&&(u.push(l),Q=u.length-1):b&(P|M)&&(h=!0),!(Q<0)&&(u[Q]=l,this.callback(this.manager,b,{pointers:u,changedPointers:[l],pointerType:F,srcEvent:l}),h&&u.splice(Q,1))}});var Ds={touchstart:U,touchmove:B,touchend:P,touchcancel:M},Es="touchstart",Cs="touchstart touchmove touchend touchcancel";function Qn(){this.evTarget=Es,this.evWin=Cs,this.started=!1,ie.apply(this,arguments)}I(Qn,ie,{handler:function(l){var u=Ds[l.type];if(u===U&&(this.started=!0),!!this.started){var h=Ts.call(this,l,u);u&(P|M)&&h[0].length-h[1].length===0&&(this.started=!1),this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:q,srcEvent:l})}}});function Ts(s,l){var u=Ke(s.touches),h=Ke(s.changedTouches);return l&(P|M)&&(u=be(u.concat(h),"identifier",!0)),[u,h]}var Fs={touchstart:U,touchmove:B,touchend:P,touchcancel:M},As="touchstart touchmove touchend touchcancel";function jt(){this.evTarget=As,this.targetIds={},ie.apply(this,arguments)}I(jt,ie,{handler:function(l){var u=Fs[l.type],h=ws.call(this,l,u);h&&this.callback(this.manager,u,{pointers:h[0],changedPointers:h[1],pointerType:q,srcEvent:l})}});function ws(s,l){var u=Ke(s.touches),h=this.targetIds;if(l&(U|B)&&u.length===1)return h[u[0].identifier]=!0,[u,u];var f,b,F=Ke(s.changedTouches),H=[],Q=this.target;if(b=u.filter(function(G){return j(G.target,Q)}),l===U)for(f=0;f-1&&h.splice(b,1)};setTimeout(f,Ss)}}function ks(s){for(var l=s.srcEvent.clientX,u=s.srcEvent.clientY,h=0;h-1&&this.requireFail.splice(l,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(s){return!!this.simultaneous[s.id]},emit:function(s){var l=this,u=this.state;function h(f){l.manager.emit(f,s)}u=Ve&&h(l.options.event+Xn(u))},tryEmit:function(s){if(this.canEmit())return this.emit(s);this.state=ve},canEmit:function(){for(var s=0;sl.threshold&&f&l.direction},attrTest:function(s){return ue.prototype.attrTest.call(this,s)&&(this.state&ne||!(this.state&ne)&&this.directionTest(s))},emit:function(s){this.pX=s.deltaX,this.pY=s.deltaY;var l=Zn(s.direction);l&&(s.additionalEvent=this.options.event+l),this._super.emit.call(this,s)}});function Pi(){ue.apply(this,arguments)}I(Pi,ue,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ye]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.scale-1)>this.options.threshold||this.state&ne)},emit:function(s){if(s.scale!==1){var l=s.scale<1?"in":"out";s.additionalEvent=this.options.event+l}this._super.emit.call(this,s)}});function Mi(){Pe.apply(this,arguments),this._timer=null,this._input=null}I(Mi,Pe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Yn]},process:function(s){var l=this.options,u=s.pointers.length===l.pointers,h=s.distancel.time;if(this._input=s,!h||!u||s.eventType&(P|M)&&!f)this.reset();else if(s.eventType&U)this.reset(),this._timer=p(function(){this.state=ke,this.tryEmit()},l.time,this);else if(s.eventType&P)return ke;return ve},reset:function(){clearTimeout(this._timer)},emit:function(s){this.state===ke&&(s&&s.eventType&P?this.manager.emit(this.options.event+"up",s):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}});function xi(){ue.apply(this,arguments)}I(xi,ue,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ye]},attrTest:function(s){return this._super.attrTest.call(this,s)&&(Math.abs(s.rotation)>this.options.threshold||this.state&ne)}});function Ni(){ue.apply(this,arguments)}I(Ni,ue,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:_e|Ge,pointers:1},getTouchAction:function(){return qt.prototype.getTouchAction.call(this)},attrTest:function(s){var l=this.options.direction,u;return l&(_e|Ge)?u=s.overallVelocity:l&_e?u=s.overallVelocityX:l&Ge&&(u=s.overallVelocityY),this._super.attrTest.call(this,s)&&l&s.offsetDirection&&s.distance>this.options.threshold&&s.maxPointers==this.options.pointers&&d(u)>this.options.velocity&&s.eventType&P},emit:function(s){var l=Zn(s.offsetDirection);l&&this.manager.emit(this.options.event+l,s),this.manager.emit(this.options.event,s)}});function Wt(){Pe.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}I(Wt,Pe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ii]},process:function(s){var l=this.options,u=s.pointers.length===l.pointers,h=s.distance{let m=d.get("offset"),p=m==o,g=p&&c||new Map;d.forEach((C,T)=>{let v=T,E=C;if(T!=="offset")switch(v=a.normalizePropertyName(v,n),E){case ni:E=i.get(T);break;case Ae:E=t.get(T);break;default:E=a.normalizeStyleValue(T,v,E,n);break}g.set(v,E)}),p||r.push(g),c=g,o=m}),n.length)throw ro(n);return r}function vn(a,e,i,t){switch(e){case"start":a.onStart(()=>t(i&&Yi(i,"start",a)));break;case"done":a.onDone(()=>t(i&&Yi(i,"done",a)));break;case"destroy":a.onDestroy(()=>t(i&&Yi(i,"destroy",a)));break}}function Yi(a,e,i){let t=i.totalTime,n=!!i.disabled,r=yn(a.element,a.triggerName,a.fromState,a.toState,e||a.phaseName,t??a.totalTime,n),o=a._data;return o!=null&&(r._data=o),r}function yn(a,e,i,t,n="",r=0,o){return{element:a,triggerName:e,fromState:i,toState:t,phaseName:n,totalTime:r,disabled:!!o}}function J(a,e,i){let t=a.get(e);return t||a.set(e,t=i),t}function ua(a){let e=a.indexOf(":"),i=a.substring(1,e),t=a.slice(e+1);return[i,t]}var go=typeof document>"u"?null:document.documentElement;function Dn(a){let e=a.parentNode||a.host||null;return e===go?null:e}function bo(a){return a.substring(1,6)=="ebkit"}var tt=null,da=!1;function _o(a){tt||(tt=vo()||{},da=tt.style?"WebkitAppearance"in tt.style:!1);let e=!0;return tt.style&&!bo(a)&&(e=a in tt.style,!e&&da&&(e="Webkit"+a.charAt(0).toUpperCase()+a.slice(1)in tt.style)),e}function vo(){return typeof document<"u"?document.body:null}function Ta(a,e){for(;e;){if(e===a)return!0;e=Dn(e)}return!1}function Fa(a,e,i){if(i)return Array.from(a.querySelectorAll(e));let t=a.querySelector(e);return t?[t]:[]}var En=(()=>{let e=class e{validateStyleProperty(t){return _o(t)}containsElement(t,n){return Ta(t,n)}getParentElement(t){return Dn(t)}query(t,n,r){return Fa(t,n,r)}computeStyle(t,n,r){return r||""}animate(t,n,r,o,c,d=[],m){return new dt(r,o)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=He({token:e,factory:e.\u0275fac});let a=e;return a})(),An=class An{};An.NOOP=new En;var rt=An,at=class{};var yo=1e3,Aa="{{",Do="}}",wa="ng-enter",nn="ng-leave",si="ng-trigger",di=".ng-trigger",ha="ng-animating",rn=".ng-animating";function Oe(a){if(typeof a=="number")return a;let e=a.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:an(parseFloat(e[1]),e[2])}function an(a,e){switch(e){case"s":return a*yo;default:return a}}function hi(a,e,i){return a.hasOwnProperty("duration")?a:Eo(a,e,i)}function Eo(a,e,i){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,o="";if(typeof a=="string"){let c=a.match(t);if(c===null)return e.push(ca(a)),{duration:0,delay:0,easing:""};n=an(parseFloat(c[1]),c[2]);let d=c[3];d!=null&&(r=an(parseFloat(d),c[4]));let m=c[5];m&&(o=m)}else n=a;if(!i){let c=!1,d=e.length;n<0&&(e.push(Ls()),c=!0),r<0&&(e.push(zs()),c=!0),c&&e.splice(d,0,ca(a))}return{duration:n,delay:r,easing:o}}function Co(a){return a.length?a[0]instanceof Map?a:a.map(e=>new Map(Object.entries(e))):[]}function we(a,e,i){e.forEach((t,n)=>{let r=Cn(n);i&&!i.has(n)&&i.set(n,a.style[r]),a.style[r]=t})}function nt(a,e){e.forEach((i,t)=>{let n=Cn(t);a.style[n]=""})}function St(a){return Array.isArray(a)?a.length==1?a[0]:Nr(a):a}function To(a,e,i){let t=e.params||{},n=Sa(a);n.length&&n.forEach(r=>{t.hasOwnProperty(r)||i.push(Vs(r))})}var sn=new RegExp(`${Aa}\\s*(.+?)\\s*${Do}`,"g");function Sa(a){let e=[];if(typeof a=="string"){let i;for(;i=sn.exec(a);)e.push(i[1]);sn.lastIndex=0}return e}function kt(a,e,i){let t=`${a}`,n=t.replace(sn,(r,o)=>{let c=e[o];return c==null&&(i.push(js(o)),c=""),c.toString()});return n==t?a:n}var Fo=/-+([a-z0-9])/g;function Cn(a){return a.replace(Fo,(...e)=>e[1].toUpperCase())}function Ao(a,e){return a===0||e===0}function wo(a,e,i){if(i.size&&e.length){let t=e[0],n=[];if(i.forEach((r,o)=>{t.has(o)||n.push(o),t.set(o,r)}),n.length)for(let r=1;ro.set(c,Tn(a,c)))}}return e}function Z(a,e,i){switch(e.type){case S.Trigger:return a.visitTrigger(e,i);case S.State:return a.visitState(e,i);case S.Transition:return a.visitTransition(e,i);case S.Sequence:return a.visitSequence(e,i);case S.Group:return a.visitGroup(e,i);case S.Animate:return a.visitAnimate(e,i);case S.Keyframes:return a.visitKeyframes(e,i);case S.Style:return a.visitStyle(e,i);case S.Reference:return a.visitReference(e,i);case S.AnimateChild:return a.visitAnimateChild(e,i);case S.AnimateRef:return a.visitAnimateRef(e,i);case S.Query:return a.visitQuery(e,i);case S.Stagger:return a.visitStagger(e,i);default:throw Hs(e.type)}}function Tn(a,e){return window.getComputedStyle(a)[e]}var So=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"]),mi=class extends at{normalizePropertyName(e,i){return Cn(e)}normalizeStyleValue(e,i,t,n){let r="",o=t.toString().trim();if(So.has(i)&&t!==0&&t!=="0")if(typeof t=="number")r="px";else{let c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&c[1].length==0&&n.push(Us(e,t))}return o+r}};var fi="*";function Io(a,e){let i=[];return typeof a=="string"?a.split(/\s*,\s*/).forEach(t=>ko(t,i,e)):i.push(a),i}function ko(a,e,i){if(a[0]==":"){let d=Po(a,i);if(typeof d=="function"){e.push(d);return}a=d}let t=a.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return i.push(to(a)),e;let n=t[1],r=t[2],o=t[3];e.push(ma(n,o));let c=n==fi&&o==fi;r[0]=="<"&&!c&&e.push(ma(o,n))}function Po(a,e){switch(a){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,t)=>parseFloat(t)>parseFloat(i);case":decrement":return(i,t)=>parseFloat(t) *"}}var oi=new Set(["true","1"]),li=new Set(["false","0"]);function ma(a,e){let i=oi.has(a)||li.has(a),t=oi.has(e)||li.has(e);return(n,r)=>{let o=a==fi||a==n,c=e==fi||e==r;return!o&&i&&typeof n=="boolean"&&(o=n?oi.has(a):li.has(a)),!c&&t&&typeof r=="boolean"&&(c=r?oi.has(e):li.has(e)),o&&c}}var Ia=":self",Mo=new RegExp(`s*${Ia}s*,?`,"g");function ka(a,e,i,t){return new on(a).build(e,i,t)}var fa="",on=class{constructor(e){this._driver=e}build(e,i,t){let n=new ln(i);return this._resetContextStyleTimingState(n),Z(this,St(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=fa,e.collectedStyles=new Map,e.collectedStyles.set(fa,new Map),e.currentTime=0}visitTrigger(e,i){let t=i.queryCount=0,n=i.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&i.errors.push(Qs()),e.definitions.forEach(c=>{if(this._resetContextStyleTimingState(i),c.type==S.State){let d=c,m=d.name;m.toString().split(/\s*,\s*/).forEach(p=>{d.name=p,r.push(this.visitState(d,i))}),d.name=m}else if(c.type==S.Transition){let d=this.visitTransition(c,i);t+=d.queryCount,n+=d.depCount,o.push(d)}else i.errors.push(qs())}),{type:S.Trigger,name:e.name,states:r,transitions:o,queryCount:t,depCount:n,options:null}}visitState(e,i){let t=this.visitStyle(e.styles,i),n=e.options&&e.options.params||null;if(t.containsDynamicStyles){let r=new Set,o=n||{};t.styles.forEach(c=>{c instanceof Map&&c.forEach(d=>{Sa(d).forEach(m=>{o.hasOwnProperty(m)||r.add(m)})})}),r.size&&i.errors.push(Ws(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:t,options:n?{params:n}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let t=Z(this,St(e.animation),i),n=Io(e.expr,i.errors);return{type:S.Transition,matchers:n,animation:t,queryCount:i.queryCount,depCount:i.depCount,options:it(e.options)}}visitSequence(e,i){return{type:S.Sequence,steps:e.steps.map(t=>Z(this,t,i)),options:it(e.options)}}visitGroup(e,i){let t=i.currentTime,n=0,r=e.steps.map(o=>{i.currentTime=t;let c=Z(this,o,i);return n=Math.max(n,i.currentTime),c});return i.currentTime=n,{type:S.Group,steps:r,options:it(e.options)}}visitAnimate(e,i){let t=Ro(e.timings,i.errors);i.currentAnimateTimings=t;let n,r=e.styles?e.styles:ut({});if(r.type==S.Keyframes)n=this.visitKeyframes(r,i);else{let o=e.styles,c=!1;if(!o){c=!0;let m={};t.easing&&(m.easing=t.easing),o=ut(m)}i.currentTime+=t.duration+t.delay;let d=this.visitStyle(o,i);d.isEmptyStep=c,n=d}return i.currentAnimateTimings=null,{type:S.Animate,timings:t,style:n,options:null}}visitStyle(e,i){let t=this._makeStyleAst(e,i);return this._validateStyleAst(t,i),t}_makeStyleAst(e,i){let t=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let c of n)typeof c=="string"?c===Ae?t.push(c):i.errors.push($s(c)):t.push(new Map(Object.entries(c)));let r=!1,o=null;return t.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(o=c.get("easing"),c.delete("easing")),!r)){for(let d of c.values())if(d.toString().indexOf(Aa)>=0){r=!0;break}}}),{type:S.Style,styles:t,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,i){let t=i.currentAnimateTimings,n=i.currentTime,r=i.currentTime;t&&r>0&&(r-=t.duration+t.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((c,d)=>{let m=i.collectedStyles.get(i.currentQuerySelector),p=m.get(d),g=!0;p&&(r!=n&&r>=p.startTime&&n<=p.endTime&&(i.errors.push(Ks(d,p.startTime,p.endTime,r,n)),g=!1),r=p.startTime),g&&m.set(d,{startTime:r,endTime:n}),i.options&&To(c,i.options,i.errors)})})}visitKeyframes(e,i){let t={type:S.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(Gs()),t;let n=1,r=0,o=[],c=!1,d=!1,m=0,p=e.steps.map(I=>{let R=this._makeStyleAst(I,i),V=R.offset!=null?R.offset:Bo(R.styles),L=0;return V!=null&&(r++,L=R.offset=V),d=d||L<0||L>1,c=c||L0&&r{let V=C>0?R==T?1:C*R:o[R],L=V*x;i.currentTime=v+E.delay+L,E.duration=L,this._validateStyleAst(I,i),I.offset=V,t.styles.push(I)}),t}visitReference(e,i){return{type:S.Reference,animation:Z(this,St(e.animation),i),options:it(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:S.AnimateChild,options:it(e.options)}}visitAnimateRef(e,i){return{type:S.AnimateRef,animation:this.visitReference(e.animation,i),options:it(e.options)}}visitQuery(e,i){let t=i.currentQuerySelector,n=e.options||{};i.queryCount++,i.currentQuery=e;let[r,o]=xo(e.selector);i.currentQuerySelector=t.length?t+" "+r:r,J(i.collectedStyles,i.currentQuerySelector,new Map);let c=Z(this,St(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=t,{type:S.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:c,originalSelector:e.selector,options:it(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(Js());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:hi(e.timings,i.errors,!0);return{type:S.Stagger,animation:Z(this,St(e.animation),i),timings:t,options:null}}};function xo(a){let e=!!a.split(/\s*,\s*/).find(i=>i==Ia);return e&&(a=a.replace(Mo,"")),a=a.replace(/@\*/g,di).replace(/@\w+/g,i=>di+"-"+i.slice(1)).replace(/:animating/g,rn),[a,e]}function No(a){return a?$t({},a):null}var ln=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 Bo(a){if(typeof a=="string")return null;let e=null;if(Array.isArray(a))a.forEach(i=>{if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(a instanceof Map&&a.has("offset")){let i=a;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function Ro(a,e){if(a.hasOwnProperty("duration"))return a;if(typeof a=="number"){let r=hi(a,e).duration;return Xi(r,0,"")}let i=a;if(i.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Xi(0,0,"");return r.dynamic=!0,r.strValue=i,r}let n=hi(i,e);return Xi(n.duration,n.delay,n.easing)}function it(a){return a?(a=$t({},a),a.params&&(a.params=No(a.params))):a={},a}function Xi(a,e,i){return{duration:a,delay:e,easing:i}}function Fn(a,e,i,t,n,r,o=null,c=!1){return{type:1,element:a,keyframes:e,preStyleProps:i,postStyleProps:t,duration:n,delay:r,totalTime:n+r,easing:o,subTimeline:c}}var Pt=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Oo=1,Lo=":enter",zo=new RegExp(Lo,"g"),Vo=":leave",jo=new RegExp(Vo,"g");function Pa(a,e,i,t,n,r=new Map,o=new Map,c,d,m=[]){return new cn().buildKeyframes(a,e,i,t,n,r,o,c,d,m)}var cn=class{buildKeyframes(e,i,t,n,r,o,c,d,m,p=[]){m=m||new Pt;let g=new un(e,i,m,n,r,p,[]);g.options=d;let C=d.delay?Oe(d.delay):0;g.currentTimeline.delayNextStep(C),g.currentTimeline.setStyles([o],null,g.errors,d),Z(this,t,g);let T=g.timelines.filter(v=>v.containsAnimation());if(T.length&&c.size){let v;for(let E=T.length-1;E>=0;E--){let x=T[E];if(x.element===i){v=x;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([c],null,g.errors,d)}return T.length?T.map(v=>v.buildKeyframes()):[Fn(i,[],[],[],0,C,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let t=i.subInstructions.get(i.element);if(t){let n=i.createSubContext(e.options),r=i.currentTimeline.currentTime,o=this._visitSubInstructions(t,n,n.options);r!=o&&i.transformIntoNewTimeline(o)}i.previousNode=e}visitAnimateRef(e,i){let t=i.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,t),this.visitReference(e.animation,t),i.transformIntoNewTimeline(t.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,t){for(let n of e){let r=n?.delay;if(r){let o=typeof r=="number"?r:Oe(kt(r,n?.params??{},i.errors));t.delayNextStep(o)}}}_visitSubInstructions(e,i,t){let r=i.currentTimeline.currentTime,o=t.duration!=null?Oe(t.duration):null,c=t.delay!=null?Oe(t.delay):null;return o!==0&&e.forEach(d=>{let m=i.appendInstructionToTimeline(d,o,c);r=Math.max(r,m.duration+m.delay)}),r}visitReference(e,i){i.updateOptions(e.options,!0),Z(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let t=i.subContextCount,n=i,r=e.options;if(r&&(r.params||r.delay)&&(n=i.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==S.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=pi);let o=Oe(r.delay);n.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>Z(this,o,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>t&&n.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let t=[],n=i.currentTimeline.currentTime,r=e.options&&e.options.delay?Oe(e.options.delay):0;e.steps.forEach(o=>{let c=i.createSubContext(e.options);r&&c.delayNextStep(r),Z(this,o,c),n=Math.max(n,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(o=>i.currentTimeline.mergeTimelineCollectedStyles(o)),i.transformIntoNewTimeline(n),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let t=e.strValue,n=i.params?kt(t,i.params,i.errors):t;return hi(n,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let t=i.currentAnimateTimings=this._visitTiming(e.timings,i),n=i.currentTimeline;t.delay&&(i.incrementTime(t.delay),n.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,i):(i.incrementTime(t.duration),this.visitStyle(r,i),n.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let t=i.currentTimeline,n=i.currentAnimateTimings;!n&&t.hasCurrentStyleProperties()&&t.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(r):t.setStyles(e.styles,r,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let t=i.currentAnimateTimings,n=i.currentTimeline.duration,r=t.duration,c=i.createSubContext().currentTimeline;c.easing=t.easing,e.styles.forEach(d=>{let m=d.offset||0;c.forwardTime(m*r),c.setStyles(d.styles,d.easing,i.errors,i.options),c.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(c),i.transformIntoNewTimeline(n+r),i.previousNode=e}visitQuery(e,i){let t=i.currentTimeline.currentTime,n=e.options||{},r=n.delay?Oe(n.delay):0;r&&(i.previousNode.type===S.Style||t==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=pi);let o=t,c=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,i.errors);i.currentQueryTotal=c.length;let d=null;c.forEach((m,p)=>{i.currentQueryIndex=p;let g=i.createSubContext(e.options,m);r&&g.delayNextStep(r),m===i.element&&(d=g.currentTimeline),Z(this,e.animation,g),g.currentTimeline.applyStylesToKeyframe();let C=g.currentTimeline.currentTime;o=Math.max(o,C)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(o),d&&(i.currentTimeline.mergeTimelineCollectedStyles(d),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let t=i.parentContext,n=i.currentTimeline,r=e.timings,o=Math.abs(r.duration),c=o*(i.currentQueryTotal-1),d=o*i.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime;break}let p=i.currentTimeline;d&&p.delayNextStep(d);let g=p.currentTime;Z(this,e.animation,i),i.previousNode=e,t.currentStaggerTime=n.currentTime-g+(n.startTime-t.currentTimeline.startTime)}},pi={},un=class a{constructor(e,i,t,n,r,o,c,d){this._driver=e,this.element=i,this.subInstructions=t,this._enterClassName=n,this._leaveClassName=r,this.errors=o,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new gi(this._driver,i,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let t=e,n=this.options;t.duration!=null&&(n.duration=Oe(t.duration)),t.delay!=null&&(n.delay=Oe(t.delay));let r=t.params;if(r){let o=n.params;o||(o=this.options.params={}),Object.keys(r).forEach(c=>{(!i||!o.hasOwnProperty(c))&&(o[c]=kt(r[c],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let t=e.params={};Object.keys(i).forEach(n=>{t[n]=i[n]})}}return e}createSubContext(e=null,i,t){let n=i||this.element,r=new a(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,t||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=pi,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,t){let n={duration:i??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},r=new dn(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,t,n,r,o){let c=[];if(n&&c.push(this.element),e.length>0){e=e.replace(zo,"."+this._enterClassName),e=e.replace(jo,"."+this._leaveClassName);let d=t!=1,m=this._driver.query(this.element,e,d);t!==0&&(m=t<0?m.slice(m.length+t,m.length):m.slice(0,t)),c.push(...m)}return!r&&c.length==0&&o.push(eo(i)),c}},gi=class a{constructor(e,i,t,n){this._driver=e,this.element=i,this.startTime=t,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,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 i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new a(this._driver,e,i||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+=Oo,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,t]of this._globalTimelineStyles)this._backFill.set(i,t||Ae),this._currentKeyframe.set(i,Ae);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,t,n){i&&this._previousKeyframe.set("easing",i);let r=n&&n.params||{},o=Ho(e,this._globalTimelineStyles);for(let[c,d]of o){let m=kt(d,r,t);this._pendingStyles.set(c,m),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Ae),this._updateStyle(c,m)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,t)=>{let n=this._styleSummary.get(t);(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,t=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((c,d)=>{let m=new Map([...this._backFill,...c]);m.forEach((p,g)=>{p===ni?e.add(g):p===Ae&&i.add(g)}),t||m.set("offset",d/this.duration),n.push(m)});let r=[...e.values()],o=[...i.values()];if(t){let c=n[0],d=new Map(c);c.set("offset",0),d.set("offset",1),n=[c,d]}return Fn(this.element,n,r,o,this.duration,this.startTime,this.easing,!1)}},dn=class extends gi{constructor(e,i,t,n,r,o,c=!1){super(e,i,o.delay),this.keyframes=t,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=c,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:t,easing:n}=this.timings;if(this._stretchStartingKeyframe&&i){let r=[],o=t+i,c=i/o,d=new Map(e[0]);d.set("offset",0),r.push(d);let m=new Map(e[0]);m.set("offset",pa(c)),r.push(m);let p=e.length-1;for(let g=1;g<=p;g++){let C=new Map(e[g]),T=C.get("offset"),v=i+T*t;C.set("offset",pa(v/o)),r.push(C)}t=o,i=0,n="",e=r}return Fn(this.element,e,this.preStyleProps,this.postStyleProps,t,i,n,!0)}};function pa(a,e=3){let i=Math.pow(10,e-1);return Math.round(a*i)/i}function Ho(a,e){let i=new Map,t;return a.forEach(n=>{if(n==="*"){t??=e.keys();for(let r of t)i.set(r,Ae)}else for(let[r,o]of n)i.set(r,o)}),i}function ga(a,e,i,t,n,r,o,c,d,m,p,g,C){return{type:0,element:a,triggerName:e,isRemovalTransition:n,fromState:i,fromStyles:r,toState:t,toStyles:o,timelines:c,queriedElements:d,preStyleProps:m,postStyleProps:p,totalTime:g,errors:C}}var Zi={},bi=class{constructor(e,i,t){this._triggerName=e,this.ast=i,this._stateStyles=t}match(e,i,t,n){return Uo(this.ast.matchers,e,i,t,n)}buildStyles(e,i,t){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(i,t):new Map}build(e,i,t,n,r,o,c,d,m,p){let g=[],C=this.ast.options&&this.ast.options.params||Zi,T=c&&c.params||Zi,v=this.buildStyles(t,T,g),E=d&&d.params||Zi,x=this.buildStyles(n,E,g),I=new Set,R=new Map,V=new Map,L=n==="void",ce={params:Ma(E,C),delay:this.ast.options?.delay},$=p?[]:Pa(e,i,this.ast.animation,r,o,v,x,ce,m,g),j=0;return $.forEach(O=>{j=Math.max(O.duration+O.delay,j)}),g.length?ga(i,this._triggerName,t,n,L,v,x,[],[],R,V,j,g):($.forEach(O=>{let ee=O.element,X=J(R,ee,new Set);O.preStyleProps.forEach(be=>X.add(be));let Ke=J(V,ee,new Set);O.postStyleProps.forEach(be=>Ke.add(be)),ee!==i&&I.add(ee)}),ga(i,this._triggerName,t,n,L,v,x,$,[...I.values()],R,V,j))}};function Uo(a,e,i,t,n){return a.some(r=>r(e,i,t,n))}function Ma(a,e){let i=$t({},e);return Object.entries(a).forEach(([t,n])=>{n!=null&&(i[t]=n)}),i}var hn=class{constructor(e,i,t){this.styles=e,this.defaultParams=i,this.normalizer=t}buildStyles(e,i){let t=new Map,n=Ma(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,c)=>{o&&(o=kt(o,n,i));let d=this.normalizer.normalizePropertyName(c,i);o=this.normalizer.normalizeStyleValue(c,d,o,i),t.set(c,o)})}),t}};function Qo(a,e,i){return new mn(a,e,i)}var mn=class{constructor(e,i,t){this.name=e,this.ast=i,this._normalizer=t,this.transitionFactories=[],this.states=new Map,i.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new hn(n.style,r,t))}),ba(this.states,"true","1"),ba(this.states,"false","0"),i.transitions.forEach(n=>{this.transitionFactories.push(new bi(e,n,this.states))}),this.fallbackTransition=qo(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,t,n){return this.transitionFactories.find(o=>o.match(e,i,t,n))||null}matchStyles(e,i,t){return this.fallbackTransition.buildStyles(e,i,t)}};function qo(a,e,i){let t=[(o,c)=>!0],n={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:n,matchers:t,options:null,queryCount:0,depCount:0};return new bi(a,r,e)}function ba(a,e,i){a.has(e)?a.has(i)||a.set(i,a.get(e)):a.has(i)&&a.set(e,a.get(i))}var Wo=new Pt,fn=class{constructor(e,i,t){this.bodyNode=e,this._driver=i,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let t=[],n=[],r=ka(this._driver,i,t,n);if(t.length)throw ao(t);n.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,i,t){let n=e.element,r=Ca(this._normalizer,e.keyframes,i,t);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,i,t={}){let n=[],r=this._animations.get(e),o,c=new Map;if(r?(o=Pa(this._driver,i,r,wa,nn,new Map,new Map,t,Wo,n),o.forEach(p=>{let g=J(c,p.element,new Map);p.postStyleProps.forEach(C=>g.set(C,null))})):(n.push(so()),o=[]),n.length)throw oo(n);c.forEach((p,g)=>{p.forEach((C,T)=>{p.set(T,this._driver.computeStyle(g,T,Ae))})});let d=o.map(p=>{let g=c.get(p.element);return this._buildPlayer(p,new Map,g)}),m=We(d);return this._playersById.set(e,m),m.onDestroy(()=>this.destroy(e)),this.players.push(m),m}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw lo(e);return i}listen(e,i,t,n){let r=yn(i,"","","");return vn(this._getPlayer(e),t,r,n),()=>{}}command(e,i,t,n){if(t=="register"){this.register(e,n[0]);return}if(t=="create"){let o=n[0]||{};this.create(e,i,o);return}let r=this._getPlayer(e);switch(t){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},_a="ng-animate-queued",$o=".ng-animate-queued",Ji="ng-animate-disabled",Ko=".ng-animate-disabled",Go="ng-star-inserted",Yo=".ng-star-inserted",Xo=[],xa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ge="__ng_removed",Mt=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let t=e&&e.hasOwnProperty("value"),n=t?e.value:e;if(this.value=el(n),t){let r=e,{value:o}=r,c=tr(r,["value"]);this.options=c}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let t=this.options.params;Object.keys(i).forEach(n=>{t[n]==null&&(t[n]=i[n])})}}},It="void",en=new Mt(It),pn=class{constructor(e,i,t){this.id=e,this.hostElement=i,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,le(i,this._hostClassName)}listen(e,i,t,n){if(!this._triggers.has(i))throw co(t,i);if(t==null||t.length==0)throw uo(i);if(!tl(t))throw ho(t,i);let r=J(this._elementListeners,e,[]),o={name:i,phase:t,callback:n};r.push(o);let c=J(this._engine.statesByElement,e,new Map);return c.has(i)||(le(e,si),le(e,si+"-"+i),c.set(i,en)),()=>{this._engine.afterFlush(()=>{let d=r.indexOf(o);d>=0&&r.splice(d,1),this._triggers.has(i)||c.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw mo(e);return i}trigger(e,i,t,n=!0){let r=this._getTrigger(i),o=new xt(this.id,i,e),c=this._engine.statesByElement.get(e);c||(le(e,si),le(e,si+"-"+i),this._engine.statesByElement.set(e,c=new Map));let d=c.get(i),m=new Mt(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&m.absorbOptions(d.options),c.set(i,m),d||(d=en),!(m.value===It)&&d.value===m.value){if(!rl(d.params,m.params)){let E=[],x=r.matchStyles(d.value,d.params,E),I=r.matchStyles(m.value,m.params,E);E.length?this._engine.reportError(E):this._engine.afterFlush(()=>{nt(e,x),we(e,I)})}return}let C=J(this._engine.playersByElement,e,[]);C.forEach(E=>{E.namespaceId==this.id&&E.triggerName==i&&E.queued&&E.destroy()});let T=r.matchTransition(d.value,m.value,e,m.params),v=!1;if(!T){if(!n)return;T=r.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:T,fromState:d,toState:m,player:o,isFallbackTransition:v}),v||(le(e,_a),o.onStart(()=>{mt(e,_a)})),o.onDone(()=>{let E=this.players.indexOf(o);E>=0&&this.players.splice(E,1);let x=this._engine.playersByElement.get(e);if(x){let I=x.indexOf(o);I>=0&&x.splice(I,1)}}),this.players.push(o),C.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,t)=>{this._elementListeners.set(t,i.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let t=this._engine.driver.query(e,di,!0);t.forEach(n=>{if(n[ge])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(o=>o.triggerLeaveAnimation(n,i,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,i,t,n){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let c=[];if(r.forEach((d,m)=>{if(o.set(m,d.value),this._triggers.has(m)){let p=this.trigger(e,m,It,n);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,o),t&&We(c).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(i&&t){let n=new Set;i.forEach(r=>{let o=r.name;if(n.has(o))return;n.add(o);let d=this._triggers.get(o).fallbackTransition,m=t.get(o)||en,p=new Mt(It),g=new xt(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:d,fromState:m,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(e,i){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let n=!1;if(t.totalAnimations){let r=t.players.length?t.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let o=e;for(;o=o.parentNode;)if(t.statesByElement.get(o)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)t.markElementAsRemoved(this.id,e,!1,i);else{let r=e[ge];(!r||r===xa)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,i))}}insertNode(e,i){le(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(t=>{let n=t.player;if(n.destroyed)return;let r=t.element,o=this._elementListeners.get(r);o&&o.forEach(c=>{if(c.name==t.triggerName){let d=yn(r,t.triggerName,t.fromState.value,t.toState.value);d._data=e,vn(t.player,c.phase,d,c.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):i.push(t)}),this._queue=[],i.sort((t,n)=>{let r=t.transition.ast.depCount,o=n.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(t.element,n.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},gn=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,t){this.bodyNode=e,this.driver=i,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(n,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,i){let t=new pn(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(t,i):(this.newHostElements.set(i,t),this.collectEnterElement(i)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,i){let t=this._namespaceList,n=this.namespacesByHostElement;if(t.length-1>=0){let o=!1,c=this.driver.getParentElement(i);for(;c;){let d=n.get(c);if(d){let m=t.indexOf(d);t.splice(m+1,0,e),o=!0;break}c=this.driver.getParentElement(c)}o||t.unshift(e)}else t.push(e);return n.set(i,e),e}register(e,i){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,i)),t}registerTrigger(e,i,t){let n=this._namespaceLookup[e];n&&n.register(i,t)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let n=this._namespaceList.indexOf(t);n>=0&&this._namespaceList.splice(n,1),t.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,t=this.statesByElement.get(e);if(t){for(let n of t.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&i.add(r)}}return i}trigger(e,i,t,n){if(ci(i)){let r=this._fetchNamespace(e);if(r)return r.trigger(i,t,n),!0}return!1}insertNode(e,i,t,n){if(!ci(i))return;let r=i[ge];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(i);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(i,t)}n&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),le(e,Ji)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),mt(e,Ji))}removeNode(e,i,t){if(ci(i)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(i,t):this.markElementAsRemoved(e,i,!1,t);let r=this.namespacesByHostElement.get(i);r&&r.id!==e&&r.removeNode(i,t)}else this._onRemovalComplete(i,t)}markElementAsRemoved(e,i,t,n,r){this.collectedLeaveElements.push(i),i[ge]={namespaceId:e,setForRemoval:n,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,i,t,n,r){return ci(i)?this._fetchNamespace(e).listen(i,t,n,r):()=>{}}_buildInstruction(e,i,t,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,n,e.fromState.options,e.toState.options,i,r)}destroyInnerAnimations(e){let i=this.driver.query(e,di,!0);i.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,rn,!0),i.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return We(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[ge];if(i&&i.setForRemoval){if(e[ge]=xa,i.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(i.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Ji)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ko,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,n)=>this._balanceNamespaceList(t,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],i.length?We(i).onDone(()=>{t.forEach(n=>n())}):t.forEach(n=>n())}}reportError(e){throw fo(e)}_flushAnimations(e,i){let t=new Pt,n=[],r=new Map,o=[],c=new Map,d=new Map,m=new Map,p=new Set;this.disabledNodes.forEach(_=>{p.add(_);let y=this.driver.query(_,$o,!0);for(let D=0;D{let D=wa+E++;v.set(y,D),_.forEach(A=>le(A,D))});let x=[],I=new Set,R=new Set;for(let _=0;_I.add(A)):R.add(y))}let V=new Map,L=Da(C,Array.from(I));L.forEach((_,y)=>{let D=nn+E++;V.set(y,D),_.forEach(A=>le(A,D))}),e.push(()=>{T.forEach((_,y)=>{let D=v.get(y);_.forEach(A=>mt(A,D))}),L.forEach((_,y)=>{let D=V.get(y);_.forEach(A=>mt(A,D))}),x.forEach(_=>{this.processLeaveNode(_)})});let ce=[],$=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(i).forEach(D=>{let A=D.player,z=D.element;if(ce.push(A),this.collectedEnterElements.length){let B=z[ge];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(D.triggerName)){let P=B.previousTriggersValues.get(D.triggerName),M=this.statesByElement.get(D.element);if(M&&M.has(D.triggerName)){let Se=M.get(D.triggerName);Se.value=P,M.set(D.triggerName,Se)}}A.destroy();return}}let q=!g||!this.driver.containsElement(g,z),K=V.get(z),te=v.get(z),N=this._buildInstruction(D,t,te,K,q);if(N.errors&&N.errors.length){$.push(N);return}if(q){A.onStart(()=>nt(z,N.fromStyles)),A.onDestroy(()=>we(z,N.toStyles)),n.push(A);return}if(D.isFallbackTransition){A.onStart(()=>nt(z,N.fromStyles)),A.onDestroy(()=>we(z,N.toStyles)),n.push(A);return}let Ot=[];N.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||Ot.push(B)}),N.timelines=Ot,t.append(z,N.timelines);let U={instruction:N,player:A,element:z};o.push(U),N.queriedElements.forEach(B=>J(c,B,[]).push(A)),N.preStyleProps.forEach((B,P)=>{if(B.size){let M=d.get(P);M||d.set(P,M=new Set),B.forEach((Se,Ie)=>M.add(Ie))}}),N.postStyleProps.forEach((B,P)=>{let M=m.get(P);M||m.set(P,M=new Set),B.forEach((Se,Ie)=>M.add(Ie))})});if($.length){let _=[];$.forEach(y=>{_.push(po(y.triggerName,y.errors))}),ce.forEach(y=>y.destroy()),this.reportError(_)}let j=new Map,O=new Map;o.forEach(_=>{let y=_.element;t.has(y)&&(O.set(y,y),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,j))}),n.forEach(_=>{let y=_.element;this._getPreviousPlayers(y,!1,_.namespaceId,_.triggerName,null).forEach(A=>{J(j,y,[]).push(A),A.destroy()})});let ee=x.filter(_=>Ea(_,d,m)),X=new Map;ya(X,this.driver,R,m,Ae).forEach(_=>{Ea(_,d,m)&&ee.push(_)});let be=new Map;T.forEach((_,y)=>{ya(be,this.driver,new Set(_),d,ni)}),ee.forEach(_=>{let y=X.get(_),D=be.get(_);X.set(_,new Map([...y?.entries()??[],...D?.entries()??[]]))});let ze=[],Bt=[],Rt={};o.forEach(_=>{let{element:y,player:D,instruction:A}=_;if(t.has(y)){if(p.has(y)){D.onDestroy(()=>we(y,A.toStyles)),D.disabled=!0,D.overrideTotalTime(A.totalTime),n.push(D);return}let z=Rt;if(O.size>1){let K=y,te=[];for(;K=K.parentNode;){let N=O.get(K);if(N){z=N;break}te.push(K)}te.forEach(N=>O.set(N,z))}let q=this._buildAnimation(D.namespaceId,A,j,r,be,X);if(D.setRealPlayer(q),z===Rt)ze.push(D);else{let K=this.playersByElement.get(z);K&&K.length&&(D.parentPlayer=We(K)),n.push(D)}}else nt(y,A.fromStyles),D.onDestroy(()=>we(y,A.toStyles)),Bt.push(D),p.has(y)&&n.push(D)}),Bt.forEach(_=>{let y=r.get(_.element);if(y&&y.length){let D=We(y);_.setRealPlayer(D)}}),n.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_!q.destroyed);z.length?il(this,y,z):this.processLeaveNode(y)}return x.length=0,ze.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();let y=this.players.indexOf(_);this.players.splice(y,1)}),_.play()}),ze}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,t,n,r){let o=[];if(i){let c=this.playersByQueriedElement.get(e);c&&(o=c)}else{let c=this.playersByElement.get(e);if(c){let d=!r||r==It;c.forEach(m=>{m.queued||!d&&m.triggerName!=n||o.push(m)})}}return(t||n)&&(o=o.filter(c=>!(t&&t!=c.namespaceId||n&&n!=c.triggerName))),o}_beforeAnimationBuild(e,i,t){let n=i.triggerName,r=i.element,o=i.isRemovalTransition?void 0:e,c=i.isRemovalTransition?void 0:n;for(let d of i.timelines){let m=d.element,p=m!==r,g=J(t,m,[]);this._getPreviousPlayers(m,p,o,c,i.toState).forEach(T=>{let v=T.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),T.destroy(),g.push(T)})}nt(r,i.fromStyles)}_buildAnimation(e,i,t,n,r,o){let c=i.triggerName,d=i.element,m=[],p=new Set,g=new Set,C=i.timelines.map(v=>{let E=v.element;p.add(E);let x=E[ge];if(x&&x.removedBeforeQueried)return new dt(v.duration,v.delay);let I=E!==d,R=nl((t.get(E)||Xo).map(j=>j.getRealPlayer())).filter(j=>{let O=j;return O.element?O.element===E:!1}),V=r.get(E),L=o.get(E),ce=Ca(this._normalizer,v.keyframes,V,L),$=this._buildPlayer(v,ce,R);if(v.subTimeline&&n&&g.add(E),I){let j=new xt(e,c,E);j.setRealPlayer($),m.push(j)}return $});m.forEach(v=>{J(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>Jo(this.playersByQueriedElement,v.element,v))}),p.forEach(v=>le(v,ha));let T=We(C);return T.onDestroy(()=>{p.forEach(v=>mt(v,ha)),we(d,i.toStyles)}),g.forEach(v=>{J(n,v,[]).push(T)}),T}_buildPlayer(e,i,t){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,t):new dt(e.duration,e.delay)}},xt=class{constructor(e,i,t){this.namespaceId=e,this.triggerName=i,this.element=t,this._player=new dt,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((i,t)=>{i.forEach(n=>vn(e,t,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){J(this._queuedCallbacks,e,[]).push(i)}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 i=this._player;i.triggerCallback&&i.triggerCallback(e)}};function Jo(a,e,i){let t=a.get(e);if(t){if(t.length){let n=t.indexOf(i);t.splice(n,1)}t.length==0&&a.delete(e)}return t}function el(a){return a??null}function ci(a){return a&&a.nodeType===1}function tl(a){return a=="start"||a=="done"}function va(a,e){let i=a.style.display;return a.style.display=e??"none",i}function ya(a,e,i,t,n){let r=[];i.forEach(d=>r.push(va(d)));let o=[];t.forEach((d,m)=>{let p=new Map;d.forEach(g=>{let C=e.computeStyle(m,g,n);p.set(g,C),(!C||C.length==0)&&(m[ge]=Zo,o.push(m))}),a.set(m,p)});let c=0;return i.forEach(d=>va(d,r[c++])),o}function Da(a,e){let i=new Map;if(a.forEach(c=>i.set(c,[])),e.length==0)return i;let t=1,n=new Set(e),r=new Map;function o(c){if(!c)return t;let d=r.get(c);if(d)return d;let m=c.parentNode;return i.has(m)?d=m:n.has(m)?d=t:d=o(m),r.set(c,d),d}return e.forEach(c=>{let d=o(c);d!==t&&i.get(d).push(c)}),i}function le(a,e){a.classList?.add(e)}function mt(a,e){a.classList?.remove(e)}function il(a,e,i){We(i).onDone(()=>a.processLeaveNode(e))}function nl(a){let e=[];return Na(a,e),e}function Na(a,e){for(let i=0;in.add(r)):e.set(a,t),i.delete(a),!0}var pt=class{constructor(e,i,t){this._driver=i,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(n,r)=>{},this._transitionEngine=new gn(e.body,i,t),this._timelineEngine=new fn(e.body,i,t),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,i,t,n,r){let o=e+"-"+n,c=this._triggerCache[o];if(!c){let d=[],m=[],p=ka(this._driver,r,d,m);if(d.length)throw no(n,d);m.length&&void 0,c=Qo(n,p,this._normalizer),this._triggerCache[o]=c}this._transitionEngine.registerTrigger(i,n,c)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,t,n){this._transitionEngine.insertNode(e,i,t,n)}onRemove(e,i,t){this._transitionEngine.removeNode(e,i,t)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,t,n){if(t.charAt(0)=="@"){let[r,o]=ua(t),c=n;this._timelineEngine.command(r,i,o,c)}else this._transitionEngine.trigger(e,i,t,n)}listen(e,i,t,n,r){if(t.charAt(0)=="@"){let[o,c]=ua(t);return this._timelineEngine.listen(o,i,c,r)}return this._transitionEngine.listen(e,i,t,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function al(a,e){let i=null,t=null;return Array.isArray(e)&&e.length?(i=tn(e[0]),e.length>1&&(t=tn(e[e.length-1]))):e instanceof Map&&(i=tn(e)),i||t?new bn(a,i,t):null}var ft=class ft{constructor(e,i,t){this._element=e,this._startStyles=i,this._endStyles=t,this._state=0;let n=ft.initialStylesByElement.get(e);n||ft.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&we(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(we(this._element,this._initialStyles),this._endStyles&&(we(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ft.initialStylesByElement.delete(this._element),this._startStyles&&(nt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(nt(this._element,this._endStyles),this._endStyles=null),we(this._element,this._initialStyles),this._state=3)}};ft.initialStylesByElement=new WeakMap;var bn=ft;function tn(a){let e=null;return a.forEach((i,t)=>{sl(t)&&(e=e||new Map,e.set(t,i))}),e}function sl(a){return a==="display"||a==="position"}var _i=class{constructor(e,i,t,n){this.element=e,this.keyframes=i,this.options=t,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(t=>{i.push(Object.fromEntries(t))}),i}_triggerWebAnimation(e,i,t){return e.animate(this._convertKeyframesToObject(i),t)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:Tn(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(t=>t()),i.length=0}},vi=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,i){return Ta(e,i)}getParentElement(e){return Dn(e)}query(e,i,t){return Fa(e,i,t)}computeStyle(e,i,t){return Tn(e,i)}animate(e,i,t,n,r,o=[]){let c=n==0?"both":"forwards",d={duration:t,delay:n,fill:c};r&&(d.easing=r);let m=new Map,p=o.filter(T=>T instanceof _i);Ao(t,n)&&p.forEach(T=>{T.currentSnapshot.forEach((v,E)=>m.set(E,v))});let g=Co(i).map(T=>new Map(T));g=wo(e,g,m);let C=al(e,g);return new _i(e,g,d,C)}};var ui="@",Ba="@.disabled",yi=class{constructor(e,i,t,n){this.namespaceId=e,this.delegate=i,this.engine=t,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,t,n=!0){this.delegate.insertBefore(e,i,t),this.engine.onInsert(this.namespaceId,i,e,n)}removeChild(e,i,t){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,t,n){this.delegate.setAttribute(e,i,t,n)}removeAttribute(e,i,t){this.delegate.removeAttribute(e,i,t)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,t,n){this.delegate.setStyle(e,i,t,n)}removeStyle(e,i,t){this.delegate.removeStyle(e,i,t)}setProperty(e,i,t){i.charAt(0)==ui&&i==Ba?this.disableAnimations(e,!!t):this.delegate.setProperty(e,i,t)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,t){return this.delegate.listen(e,i,t)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},_n=class extends yi{constructor(e,i,t,n,r){super(i,t,n,r),this.factory=e,this.namespaceId=i}setProperty(e,i,t){i.charAt(0)==ui?i.charAt(1)=="."&&i==Ba?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,i.slice(1),t):this.delegate.setProperty(e,i,t)}listen(e,i,t){if(i.charAt(0)==ui){let n=ol(e),r=i.slice(1),o="";return r.charAt(0)!=ui&&([r,o]=ll(r)),this.engine.listen(this.namespaceId,n,r,o,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,t,c)})}return this.delegate.listen(e,i,t)}};function ol(a){switch(a){case"body":return document.body;case"document":return document;case"window":return window;default:return a}}function ll(a){let e=a.indexOf("."),i=a.substring(0,e),t=a.slice(e+1);return[i,t]}var Di=class{constructor(e,i,t){this.delegate=e,this.engine=i,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(n,r)=>{let o=r?.parentNode(n);o&&r.removeChild(o,n)}}createRenderer(e,i){let t="",n=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let m=this._rendererCache,p=m.get(n);if(!p){let g=()=>m.delete(n);p=new yi(t,n,this.engine,g),m.set(n,p)}return p}let r=i.id,o=i.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let c=m=>{Array.isArray(m)?m.forEach(c):this.engine.registerTrigger(r,o,e,m.name,m)};return i.data.animation.forEach(c),new _n(this,o,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,t){if(e>=0&&ei(t));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[o,c]=r;o(c)}),this._animationCallbacksBuffer=[]})}),n.push([i,t])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var ul=(()=>{let e=class e extends pt{constructor(t,n,r){super(t,n,r)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(Y(Be),Y(rt),Y(at))},e.\u0275prov=He({token:e,factory:e.\u0275fac});let a=e;return a})();function dl(){return new mi}function hl(a,e,i){return new Di(a,e,i)}var Ra=[{provide:at,useFactory:dl},{provide:pt,useClass:ul},{provide:yr,useFactory:hl,deps:[Ir,pt,Ft]}],ml=[{provide:rt,useFactory:()=>new vi},{provide:Je,useValue:"BrowserAnimations"},...Ra],lc=[{provide:rt,useClass:En},{provide:Je,useValue:"NoopAnimations"},...Ra];function Oa(){return Dr("NgEagerAnimations"),[...ml]}var La=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var fl=Object.hasOwnProperty,Ei=class{constructor(){this.occurrences,this.reset()}slug(e,i){let t=this,n=pl(e,i===!0),r=n;for(;fl.call(t.occurrences,n);)t.occurrences[r]++,n=r+"-"+t.occurrences[r];return t.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function pl(a,e){return typeof a!="string"?"":(e||(a=a.toLowerCase()),a.replace(La,"").replace(/ /g,"-"))}var za,Va=[];function ja({prefix:a=""}={}){return{headerIds:!1,hooks:{preprocess(e){return Va=[],za=new Ei,e}},renderer:{heading(e,i,t){t=t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");let n=`${a}${za.slug(t)}`,r={level:i,text:e,id:n};return Va.push(r),`${e} +`}}}}var Ha=[{path:"get-started",loadComponent:()=>import("./chunk-2UCFPECH.js"),data:{label:"Get Started"}},{path:"cheat-sheet",loadComponent:()=>import("./chunk-I76JPYIG.js"),data:{label:"Cheat Sheet"}},{path:"syntax-highlight",loadComponent:()=>import("./chunk-XOR3IMN4.js"),data:{label:"Syntax Highlight"}},{path:"bindings",loadComponent:()=>import("./chunk-63GU5EOQ.js"),data:{label:"Bindings"}},{path:"plugins",loadComponent:()=>import("./chunk-SZTHPHUF.js"),data:{label:"Plugins"}},{path:"re-render",loadComponent:()=>import("./chunk-FOLJ7I2F.js"),data:{label:"Re-render"}},{path:"**",redirectTo:"get-started"}];function Ua(a){let e=new Wi;return e.link=(i,t,n)=>Wi.prototype.link.call(e,a.normalizeExternalUrl(i),t,n),{renderer:e}}var Ci=(()=>{let e=class e{constructor(t,n,r,o){this.locationStrategy=t,this.route=n,this.router=r,this.viewportScroller=o}interceptClick(t){let n=t.target;if(!(n instanceof HTMLAnchorElement))return;let r=n.getAttribute("href")||"";this.isExternalUrl(r)||this.isRouterLink(n)||(this.navigate(r),t.preventDefault())}navigate(t,n=!1){let r=this.getUrlTree(t);this.router.navigated=!1,this.router.navigateByUrl(r,{replaceUrl:n})}normalizeExternalUrl(t){if(this.isExternalUrl(t))return t;let n=this.getUrlTree(t),r=this.router.serializeUrl(n);return this.locationStrategy.prepareExternalUrl(r)}scrollToAnchor(){this.router.parseUrl(this.router.url).fragment&&this.navigate(this.router.url,!0)}setOffset(...t){this.viewportScroller.setOffset(...t)}getUrlTree(t){let n=this.stripFragment(t)||this.stripFragment(this.router.url),r=this.router.parseUrl(t).fragment||void 0;return this.router.createUrlTree([n],{relativeTo:this.route,fragment:r})}isExternalUrl(t){return/^(?!http(s?):\/\/).+$/.exec(t)==null}isRouterLink(t){return t.getAttributeNames().some(n=>n.startsWith("_ngcontent"))}stripFragment(t){return/[^#]*/.exec(t)[0]}};e.\u0275fac=function(n){return new(n||e)(Y(Fr),Y(Or),Y(ri),Y(wr))},e.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"});let a=e;return a})();var Qa={providers:[Oa(),Sr(),jr(Ha,Hr({anchorScrolling:"enabled",scrollPositionRestoration:"enabled"})),qr({loader:ii,markedOptions:{provide:Qr,useFactory:Ua,deps:[Ci]},markedExtensions:[ja()],clipboardOptions:{provide:Ur,useValue:{buttonComponent:oa}},sanitize:Ue.NONE})]};var bl=["*"],Ti;function _l(){if(Ti===void 0&&(Ti=null,typeof window<"u")){let a=window;a.trustedTypes!==void 0&&(Ti=a.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Ti}function Nt(a){return _l()?.createHTML(a)||a}function qa(a){return Error(`Unable to find icon with the name "${a}"`)}function vl(){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 Wa(a){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${a}".`)}function $a(a){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${a}".`)}var Le=class{constructor(e,i,t){this.url=e,this.svgText=i,this.options=t}},yl=(()=>{let e=class e{constructor(t,n,r,o){this._httpClient=t,this._sanitizer=n,this._errorHandler=o,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=r}addSvgIcon(t,n,r){return this.addSvgIconInNamespace("",t,n,r)}addSvgIconLiteral(t,n,r){return this.addSvgIconLiteralInNamespace("",t,n,r)}addSvgIconInNamespace(t,n,r,o){return this._addSvgIconConfig(t,n,new Le(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,n,r,o){let c=this._sanitizer.sanitize(Ue.HTML,r);if(!c)throw $a(r);let d=Nt(c);return this._addSvgIconConfig(t,n,new Le("",d,o))}addSvgIconSet(t,n){return this.addSvgIconSetInNamespace("",t,n)}addSvgIconSetLiteral(t,n){return this.addSvgIconSetLiteralInNamespace("",t,n)}addSvgIconSetInNamespace(t,n,r){return this._addSvgIconSetConfig(t,new Le(n,null,r))}addSvgIconSetLiteralInNamespace(t,n,r){let o=this._sanitizer.sanitize(Ue.HTML,n);if(!o)throw $a(n);let c=Nt(o);return this._addSvgIconSetConfig(t,new Le("",c,r))}registerFontClassAlias(t,n=t){return this._fontCssClassesByAlias.set(t,n),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let n=this._sanitizer.sanitize(Ue.RESOURCE_URL,t);if(!n)throw Wa(t);let r=this._cachedIconsByUrl.get(n);return r?je(Fi(r)):this._loadSvgIconFromConfig(new Le(t,null)).pipe(Yt(o=>this._cachedIconsByUrl.set(n,o)),ot(o=>Fi(o)))}getNamedSvgIcon(t,n=""){let r=Ka(n,t),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(n,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let c=this._iconSetConfigs.get(n);return c?this._getSvgFromIconSetConfigs(t,c):ar(qa(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?je(Fi(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(ot(n=>Fi(n)))}_getSvgFromIconSetConfigs(t,n){let r=this._extractIconWithNameFromAnySet(t,n);if(r)return je(r);let o=n.filter(c=>!c.svgText).map(c=>this._loadSvgIconSetFromConfig(c).pipe(cr(d=>{let p=`Loading icon set URL: ${this._sanitizer.sanitize(Ue.RESOURCE_URL,c.url)} failed: ${d.message}`;return this._errorHandler.handleError(new Error(p)),je(null)})));return sr(o).pipe(ot(()=>{let c=this._extractIconWithNameFromAnySet(t,n);if(!c)throw qa(t);return c}))}_extractIconWithNameFromAnySet(t,n){for(let r=n.length-1;r>=0;r--){let o=n[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){let c=this._svgElementFromConfig(o),d=this._extractSvgIconFromSet(c,t,o.options);if(d)return d}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Yt(n=>t.svgText=n),ot(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?je(null):this._fetchIcon(t).pipe(Yt(n=>t.svgText=n))}_extractSvgIconFromSet(t,n,r){let o=t.querySelector(`[id="${n}"]`);if(!o)return null;let c=o.cloneNode(!0);if(c.removeAttribute("id"),c.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(c,r);if(c.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(c),r);let d=this._svgElementFromString(Nt(""));return d.appendChild(c),this._setSvgAttributes(d,r)}_svgElementFromString(t){let n=this._document.createElement("DIV");n.innerHTML=t;let r=n.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){let n=this._svgElementFromString(Nt("")),r=t.attributes;for(let o=0;oNt(p)),hr(()=>this._inProgressUrlFetches.delete(c)),mr());return this._inProgressUrlFetches.set(c,m),m}_addSvgIconConfig(t,n,r){return this._svgIconConfigs.set(Ka(t,n),r),this}_addSvgIconSetConfig(t,n){let r=this._iconSetConfigs.get(t);return r?r.push(n):this._iconSetConfigs.set(t,[n]),this}_svgElementFromConfig(t){if(!t.svgElement){let n=this._svgElementFromString(t.svgText);this._setSvgAttributes(n,t.options),t.svgElement=n}return t.svgElement}_getIconConfigFromResolvers(t,n){for(let r=0;re?e.pathname+e.search:""}}var Ga=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Fl=Ga.map(a=>`[${a}]`).join(", "),Al=/^url\(['"]?#(.*?)['"]?\)$/,Ya=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let n=this._cleanupFontValue(t);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let n=this._cleanupFontValue(t);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(t,n,r,o,c,d){this._elementRef=t,this._iconRegistry=n,this._location=o,this._errorHandler=c,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ri.EMPTY,d&&(d.color&&(this.color=this._defaultColor=d.color),d.fontSet&&(this.fontSet=d.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let n=t.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,n=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let r=t.childNodes[n];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),n.forEach(r=>t.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let n=this._elementsWithExternalReferences;n&&n.forEach((r,o)=>{r.forEach(c=>{o.setAttribute(c.name,`url('${t}#${c.value}')`)})})}_cacheChildrenWithExternalReferences(t){let n=t.querySelectorAll(Fl),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{let d=n[o],m=d.getAttribute(c),p=m?m.match(Al):null;if(p){let g=r.get(d);g||(g=[],r.set(d,g)),g.push({name:c,value:p[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[n,r]=this._splitIconName(t);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(dr(1)).subscribe(o=>this._setSvgElement(o),o=>{let c=`Error retrieving icon ${n}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(c))})}}};e.\u0275fac=function(n){return new(n||e)(w(se),w(yl),Xt("aria-hidden"),w(Cl),w(Zt),w(El,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(ct("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),At(r.color?"mat-"+r.color:""),xe("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",pe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[et,Fe],ngContentSelectors:bl,decls:1,vars:0,template:function(n,r){n&1&&(Qe(),Ne(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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});let a=e;return a})(),Xa=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ze({type:e}),e.\u0275inj=Xe({imports:[Re,Re]});let a=e;return a})();var kn=["*"];var kl=["tabListContainer"],Pl=["tabList"],Ml=["tabListInner"],xl=["nextPaginator"],Nl=["previousPaginator"];var Bl=["mat-tab-nav-bar",""],Rl=["mat-tab-link",""];var wn="mdc-tab-indicator--active",Za="mdc-tab-indicator--no-transition",In=class{constructor(e){this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar())}alignToElement(e){let i=this._items.find(n=>n.elementRef.nativeElement===e),t=this._currentItem;if(i!==t&&(t?.deactivateInkBar(),i)){let n=t?.elementRef.nativeElement.getBoundingClientRect?.();i.activateInkBar(n),this._currentItem=i}}},Ol=(()=>{let e=class e{constructor(){this._elementRef=lt(se),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){let n=this._elementRef.nativeElement;if(!t||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(wn);return}let r=n.getBoundingClientRect(),o=t.width/r.width,c=t.left-r.left;n.classList.add(Za),this._inkBarContentElement.style.setProperty("transform",`translateX(${c}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(Za),n.classList.add(wn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(wn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let t=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=t.createElement("span"),r=this._inkBarContentElement=t.createElement("span");n.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let t=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;t.appendChild(this._inkBarElement)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Tt({type:e,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe]},features:[et]});let a=e;return a})();var Ja=Xr({passive:!0}),Ll=650,zl=100,Vl=(()=>{let e=class e{get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let n=isNaN(t)?0:t;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}constructor(t,n,r,o,c,d,m){this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=o,this._ngZone=c,this._platform=d,this._animationMode=m,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Kt,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Kt,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new zi,this.indexFocused=new zi,this._sharedResizeObserver=lt(sa),this._injector=lt(gr),c.runOutsideAngular(()=>{Gt(t.nativeElement,"mouseleave").pipe(De(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Gt(this._previousPaginator.nativeElement,"touchstart",Ja).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Gt(this._nextPaginator.nativeElement,"touchstart",Ja).pipe(De(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let t=this._dir?this._dir.change:je("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(ur(32),De(this._destroyed)),r=this._viewportRuler.change(150).pipe(De(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new ea(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Er(o,{injector:this._injector}),Oi(t,r,n,this._items.changes,this._itemsResized()).pipe(De(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(c=>{this.indexFocused.emit(c),this._setTabFocus(c)})}_itemsResized(){return typeof ResizeObserver!="function"?rr:this._items.changes.pipe(Li(this._items),pr(t=>new ir(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>n.next(o));return t.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),fr(1),or(t=>t.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Zr(t))switch(t.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){let t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return this._items?!!this._items.toArray()[t]:!0}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let t=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){let n=this._tabListContainer.nativeElement.offsetWidth,r=(t=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;let n=this._items?this._items.toArray()[t]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:c}=n.elementRef.nativeElement,d,m;this._getLayoutDirection()=="ltr"?(d=o,m=d+c):(m=this._tabListInner.nativeElement.offsetWidth-o,d=m-c);let p=this.scrollDistance,g=this.scrollDistance+r;dg&&(this.scrollDistance+=Math.min(m-g,d-p))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let t=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let t=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return t-n||0}_alignInkBarToSelectedTab(){let t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=t?t.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),lr(Ll,zl).pipe(De(Oi(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(t);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}};e.\u0275fac=function(n){return new(n||e)(w(se),w(Ui),w(Gi),w($i,8),w(Ft),w(ht),w(Je,8))},e.\u0275dir=Tt({type:e,inputs:{disablePagination:[2,"disablePagination","disablePagination",pe],selectedIndex:[2,"selectedIndex","selectedIndex",Qi]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[et]});let a=e;return a})();var jl=new Ct("MAT_TABS_CONFIG");var ts=0,Pn=(()=>{let e=class e extends Vl{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(t){this._fitInkBarToContent.next(t),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(t){let n=t+"";this._animationDuration=/^\d+$/.test(n)?t+"ms":n}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&n.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}constructor(t,n,r,o,c,d,m,p){super(t,o,c,n,r,d,m),this._fitInkBarToContent=new nr(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=p&&p.disablePagination!=null?p.disablePagination:!1,this.fitInkBarToContent=p&&p.fitInkBarToContent!=null?p.fitInkBarToContent:!1,this.stretchTabs=p&&p.stretchTabs!=null?p.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new In(this._items),this._items.changes.pipe(Li(null),De(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let t=this._items.toArray();for(let n=0;n.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2});let a=e;return a})(),Mn=(()=>{let e=class e extends Ol{get active(){return this._isActive}set active(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(t,n,r,o,c,d){super(),this._tabNavBar=t,this.elementRef=n,this._focusMonitor=c,this._destroyed=new Kt,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${ts++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(o)||0,d==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),t._fitInkBarToContent.pipe(De(this._destroyed)).subscribe(m=>{this.fitInkBarToContent=m})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(t){(t.keyCode===32||t.keyCode===13)&&(this.disabled?t.preventDefault():this._tabNavBar.tabPanel&&(t.keyCode===32&&t.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}};e.\u0275fac=function(n){return new(n||e)(w(Pn),w(se),w(ia,8),Xt("tabindex"),w(ta),w(Je,8))},e.\u0275cmp=Ee({type:e,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(n,r){n&1&&Te("focus",function(){return r._handleFocus()})("keydown",function(c){return r._handleKeydown(c)}),n&2&&(ct("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),xe("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",pe],disabled:[2,"disabled","disabled",pe],disableRipple:[2,"disableRipple","disableRipple",pe],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Qi(t)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[et,Vi,Fe],attrs:Rl,ngContentSelectors:kn,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(n,r){n&1&&(Qe(),Ce(0,"span",0)(1,"div",1),W(2,"span",2)(3,"span",3),Ne(4),oe()()),n&2&&(de(),he("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Ki],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0});let a=e;return a})(),is=(()=>{let e=class e{constructor(){this.id=`mat-tab-nav-panel-${ts++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Ee({type:e,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,r){n&2&&ct("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[Fe],ngContentSelectors:kn,decls:1,vars:0,template:function(n,r){n&1&&(Qe(),Ne(0))},encapsulation:2,changeDetection:0});let a=e;return a})(),ns=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ze({type:e}),e.\u0275inj=Xe({imports:[Re,Re]});let a=e;return a})();var Ul=["*",[["mat-toolbar-row"]]],Ql=["*","mat-toolbar-row"],xn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Tt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let a=e;return a})(),rs=(()=>{let e=class e{constructor(t,n,r){this._elementRef=t,this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(n){return new(n||e)(w(se),w(ht),w(Be))},e.\u0275cmp=Ee({type:e,selectors:[["mat-toolbar"]],contentQueries:function(n,r,o){if(n&1&&ei(o,xn,5),n&2){let c;me(c=fe())&&(r._toolbarRows=c)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(n,r){n&2&&(At(r.color?"mat-"+r.color:""),xe("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Fe],ngContentSelectors:Ql,decls:2,vars:0,template:function(n,r){n&1&&(Qe(Ul),Ne(0),Ne(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let a=e;return a})();var as=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ze({type:e}),e.\u0275inj=Xe({imports:[Re,Re]});let a=e;return a})();var ss=Mr("routeAnimation",[Br("* <=> *",[Rr(":enter",[ut({opacity:0,transform:"translateY(32px)"}),xr("550ms cubic-bezier(0.35, 0, 0.25, 1)",ut({opacity:1,transform:"translateY(0)"}))],{optional:!0})])]);var $e=function(a){return a.Light="light",a.Dark="dark",a}($e||{});function os(a){return a!=null&&typeof a=="string"&&Object.values($e).includes(a)}var Nn=$e.Light,Bn="ngx-markdown:theme";var $l=["tabHeader"];function Kl(a,e){if(a&1&&(W(0,"a",14,3)(2,"div",15),Ce(3,"img",16),W(4,"span"),ti(5),oe()()()),a&2){let i=e.$implicit,t=wt(1);he("active",t.isActive)("routerLink",i.path),de(3),Tr("src","icon-",i.path,".svg",br),de(2),Hi(i.data==null?null:i.data.label)}}var ls=(()=>{let e=class e{onDocumentClick(t){this.anchorService.interceptClick(t)}onWindowScroll(){if(this.tabHeader==null)return;let t=this.tabHeader.nativeElement,n=Math.ceil(t.offsetTop),r=Math.ceil(window.pageYOffset),o=t.classList.contains(this.stickyClassName);!o&&r>=n&&t.classList.add(this.stickyClassName),o&&ro.data&&o.data.label)}ngOnInit(){this.anchorService.setOffset([0,64]);let t=localStorage.getItem(Bn);this.setTheme(os(t)?t:Nn)}handleFragment(){this.anchorService.scrollToAnchor()}setTheme(t){this.theme=t;let n=this.document.querySelector("body").classList,r=/\w*-theme\b/.exec(n.value);r&&n.remove(...r),n.add(`${this.theme}-theme`),localStorage.setItem(Bn,this.theme)}getRouteAnimation(t){return t&&t.activatedRouteData&&t.activatedRouteData.label}toggleTheme(){this.setTheme(this.theme===$e.Light?$e.Dark:$e.Light)}};e.\u0275fac=function(n){return new(n||e)(w(Be),w(Ci),w(ri))},e.\u0275cmp=Ee({type:e,selectors:[["app-root"]],viewQuery:function(n,r){if(n&1&&qe($l,7,se),n&2){let o;me(o=fe())&&(r.tabHeader=o.first)}},hostBindings:function(n,r){n&1&&Te("click",function(c){return r.onDocumentClick(c)},!1,vr)("scroll",function(){return r.onWindowScroll()},!1,_r)},standalone:!0,features:[Fe],decls:18,vars:5,consts:[["tabHeader",""],["tabPanel",""],["outlet","outlet"],["tabLink","routerLinkActive"],["color","primary"],["fxFlex",""],["mat-icon-button","",3,"click"],["src","icon-light-on.svg",3,"hidden"],["src","icon-light-off.svg",3,"hidden"],["mat-icon-button","","href","https://github.com/jfcere/ngx-markdown"],["src","icon-github.svg",1,"github-icon"],["mat-tab-nav-bar","","mat-stretch-tabs","false","backgroundColor","primary","disableRipple","","fitInkBarToContent","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"active","routerLink",4,"ngFor","ngForOf"],[1,"outlet-wrapper"],["mat-tab-link","","routerLinkActive","",3,"active","routerLink"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","8px"],[3,"src"]],template:function(n,r){if(n&1){let o=Jt();W(0,"mat-toolbar",4)(1,"mat-toolbar-row")(2,"h1"),ti(3,"ngx-markdown"),oe(),Ce(4,"span",5),W(5,"button",6),Te("click",function(){return re(o),ae(r.toggleTheme())}),W(6,"mat-icon"),Ce(7,"img",7)(8,"img",8),oe()(),W(9,"a",9),Ce(10,"img",10),oe()()(),W(11,"nav",11,0),ji(13,Kl,6,5,"a",12),oe(),W(14,"mat-tab-nav-panel",13,1),Te("@routeAnimation.done",function(){return re(o),ae(r.handleFragment())}),Ce(16,"router-outlet",null,2),oe()}if(n&2){let o=wt(15),c=wt(17);de(7),he("hidden",r.theme==="light"),de(),he("hidden",r.theme==="dark"),de(3),he("tabPanel",o),de(2),he("ngForOf",r.routes),de(),he("@routeAnimation",r.getRouteAnimation(c))}},dependencies:[Yr,Wr,$r,Gr,Kr,aa,ra,na,Xa,Ya,ns,Pn,is,Mn,as,rs,xn,Ar,zr,Vr,Lr],styles:["[_nghost-%COMP%]{display:block}.github-icon[_ngcontent-%COMP%]{--mdc-icon-button-icon-size: 28px;position:relative;top:-2px;left:-2px}.mat-mdc-tab-nav-bar--sticky[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;transition:box-shadow .3s ease-out}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] {position:sticky;top:0;z-index:24}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mdc-tab-indicator__content--underline{border-radius:3px 3px 0 0;border-top-width:3px;transition-duration:.5s}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link{font-size:14px;font-weight:500;letter-spacing:normal;margin:0 16px;min-width:0;opacity:.6;padding:0;text-decoration:none;transition:all .2s ease-out}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link:not(.mdc-tab--active):hover{transform:translateY(-1px)}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link:hover, .mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mdc-tab--active{opacity:1}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-link-container{margin:0 auto;max-width:960px;overflow:auto}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mdc-tab__ripple{opacity:0}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-header-pagination{display:none!important}.mat-mdc-tab-nav-bar[_ngcontent-%COMP%] .mat-mdc-tab-list{transform:unset!important}.mat-toolbar[_ngcontent-%COMP%] .mat-toolbar-row{margin:0 auto;max-width:960px;padding-left:16px;padding-right:16px}.mat-toolbar[_ngcontent-%COMP%] .mat-icon-button{transition:all .2s ease-out}.mat-toolbar[_ngcontent-%COMP%] .mat-icon-button:hover{transform:translateY(-2px)}.outlet-wrapper[_ngcontent-%COMP%]{margin:16px auto;max-width:960px;padding-left:16px;padding-right:16px;display:block;position:relative}"],data:{animation:[ss]},changeDetection:0});let a=e;return a})();kr(ls,Qa).catch(a=>console.error(a));