diff --git a/404.html b/404.html index f135373..6854267 100644 --- a/404.html +++ b/404.html @@ -12,5 +12,5 @@ - + diff --git a/chunk-G7L3PN7Z.js b/chunk-44I6A7KZ.js similarity index 98% rename from chunk-G7L3PN7Z.js rename to chunk-44I6A7KZ.js index 835bb2a..ff127ec 100644 --- a/chunk-G7L3PN7Z.js +++ b/chunk-44I6A7KZ.js @@ -1 +1 @@ -import{a as u}from"./chunk-IH3MLVBI.js";import{a as E,b as k}from"./chunk-7B74OM7L.js";import{Ja as i,Ka as o,M as y,Na as v,Oa as r,Pa as s,eb as w,fa as S,ia as a,ja as g,pa as d,va as t,wa as e,xa as p}from"./chunk-3ZRNYLMO.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-IH3MLVBI.js";import{a as E,b as k}from"./chunk-SRYAMG7L.js";import{Ja as i,Ka as o,M as y,Na as v,Oa as r,Pa as s,eb as w,fa as S,ia as a,ja as g,pa as d,va as t,wa as e,xa as p}from"./chunk-3ZRNYLMO.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-K3B7V5B4.js b/chunk-5G4VR6PW.js similarity index 98% rename from chunk-K3B7V5B4.js rename to chunk-5G4VR6PW.js index 40a7fd7..5d5ec15 100644 --- a/chunk-K3B7V5B4.js +++ b/chunk-5G4VR6PW.js @@ -1,4 +1,4 @@ -import{a as k,b}from"./chunk-X5VUQT6Z.js";import{a as v,b as S}from"./chunk-7B74OM7L.js";import{Ja as t,M as m,Na as f,Oa as l,Pa as h,Qa as w,ca as c,eb as x,fa as u,ia as p,ja as y,pa as r,va as n,wa as e,xa as d}from"./chunk-3ZRNYLMO.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(u))},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-X5VUQT6Z.js";import{a as v,b as S}from"./chunk-SRYAMG7L.js";import{Ja as t,M as m,Na as f,Oa as l,Pa as h,Qa as w,ca as c,eb as x,fa as u,ia as p,ja as y,pa as r,va as n,wa as e,xa as d}from"./chunk-3ZRNYLMO.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(u))},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. diff --git a/chunk-7B74OM7L.js b/chunk-7B74OM7L.js deleted file mode 100644 index b9f9dad..0000000 --- a/chunk-7B74OM7L.js +++ /dev/null @@ -1 +0,0 @@ -import{$ as mt,Bc as zt,Ca as M,D as A,Ea as tt,Fa as R,Fb as Ht,Ga as W,Gb as _t,H as N,Hb as Mt,I as V,Ib as Et,Ja as E,Jb as kt,K,Ka as xt,Kb as Ot,Lb as Ft,M as b,Mb as Lt,N as U,Na as k,Nb as B,O as q,Q as H,T as G,Tb as jt,U as Q,Ub as Bt,Vb as Pt,W as Z,Wb as Tt,Xb as At,Yb as Nt,Z as gt,bb as yt,c as te,cb as St,d as ee,e as ct,fa as _,fb as vt,gb as Ct,h as Y,ia as D,ja as m,la as z,ma as ut,mb as wt,mc as nt,na as J,nb as et,oa as ft,ob as j,pa as v,qb as it,ra as ht,sa as pt,ta as F,tb as bt,va as x,vb as Dt,wa as y,wb as It,x as dt,xa as L,xc as Vt,ya as X,yc as Ut}from"./chunk-3ZRNYLMO.js";var Qt=te((rt,Gt)=>{"use strict";(function(i,n){typeof define=="function"&&define.amd?define([],function(){return n(i)}):typeof rt=="object"?Gt.exports=n(i):i.Gumshoe=n(i)})(typeof global<"u"?global:typeof window<"u"?window:rt,function(i){"use strict";var n={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},l=function(r,a,c){if(c.settings.events){var g=new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:c});a.dispatchEvent(g)}},t=function(r){var a=0;if(r.offsetParent)for(;r;)a+=r.offsetTop,r=r.offsetParent;return a>=0?a:0},e=function(r){r&&r.sort(function(a,c){return t(a.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},d=function(r,a){var c=r[r.length-1];if(function(u,f){return!(!o()||!s(u.content,f,!0))}(c,a))return c;for(var g=r.length-1;g>=0;g--)if(s(r[g].content,a))return r[g]},I=function(r,a){if(a.nested&&r.parentNode){var c=r.parentNode.closest("li");c&&(c.classList.remove(a.nestedClass),I(c,a))}},O=function(r,a){if(r){var c=r.nav.closest("li");c&&(c.classList.remove(a.navClass),r.content.classList.remove(a.contentClass),I(c,a),l("gumshoeDeactivate",c,{link:r.nav,content:r.content,settings:a}))}},lt=function(r,a){if(a.nested){var c=r.parentNode.closest("li");c&&(c.classList.add(a.nestedClass),lt(c,a))}};return function(r,a){var c,g,u,f,S,C={};C.setup=function(){c=document.querySelectorAll(r),g=[],Array.prototype.forEach.call(c,function(h){var p=document.getElementById(decodeURIComponent(h.hash.substr(1)));p&&g.push({nav:h,content:p})}),e(g)},C.detect=function(){var h=d(g,S);h?u&&h.content===u.content||(O(u,S),function(p,w){if(p){var T=p.nav.closest("li");T&&(T.classList.add(w.navClass),p.content.classList.add(w.contentClass),lt(T,w),l("gumshoeActivate",T,{link:p.nav,content:p.content,settings:w}))}}(h,S),u=h):u&&(O(u,S),u=null)};var ot=function(h){f&&i.cancelAnimationFrame(f),f=i.requestAnimationFrame(C.detect)},at=function(h){f&&i.cancelAnimationFrame(f),f=i.requestAnimationFrame(function(){e(g),C.detect()})};return C.destroy=function(){u&&O(u,S),i.removeEventListener("scroll",ot,!1),S.reflow&&i.removeEventListener("resize",at,!1),g=null,c=null,u=null,f=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,a||{}),C.setup(),C.detect(),i.addEventListener("scroll",ot,!1),S.reflow&&i.addEventListener("resize",at,!1),C}})});var $=function(i){return i.CommandLine="command-line",i.LineHighlight="line-highlight",i.LineNumbers="line-numbers",i}($||{});var Rt=(()=>{let n=class n{constructor(t,e){this._route=t,this._router=e}isExternalUrl(t){return!t||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("mailto:")||t.startsWith("tel:")||t.startsWith("sms:")||t.startsWith("geo:")||t.startsWith("ftp:")||t.startsWith("file:")||t.startsWith("data:")}externalUrlHandler(t){let e=t.getAttribute("href");t.setAttribute("target","_blank"),window.open(e,"_blank")}isInternalUrl(t){return!t||t.startsWith("#")||t.includes("#")||t.startsWith("/internal:")||t.startsWith("../")}internalUrlHandler(t){let e=t.getAttribute("href");e.startsWith("/internal:")&&(e=e.replace("/internal:","")),this.navigate(`/${e}`)}stripQuery(t){let e=/[^?]*/.exec(t);return e?e[0]:t}stripFragmentAndQuery(t){let e=/[^#]*/.exec(t);return this.stripQuery(e?e[0]:t)}getUrlTree(t){let e=this.stripFragmentAndQuery(t)||this.stripFragmentAndQuery(this._router.url),s=this._router.parseUrl(t),o=s.fragment||void 0,d=s.queryParams;return this._router.createUrlTree([e],{relativeTo:this._route,fragment:o,queryParams:d})}navigate(t,e=!1){let s=this.getUrlTree(t);this._router.navigated=!1,this._router.navigateByUrl(s,{replaceUrl:e})}interceptClick(t){let e=t.target;if(!(e instanceof HTMLAnchorElement))return;let s=e.getAttribute("href");if(s){if(t.preventDefault(),this.isInternalUrl(s)){this.internalUrlHandler(e),t.stopPropagation();return}if(this.isExternalUrl(s)){this.externalUrlHandler(e),t.stopPropagation();return}}}};n.\u0275fac=function(e){return new(e||n)(K(bt),K(Dt))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"});let i=n;return i})();var ne=["*"],Wt=(()=>{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)}onDocumentClick(t){this.isBrowserMode&&this.markdownLinkService.interceptClick(t)}constructor(t,e,s,o){this.markdownService=t,this.markdownLinkService=e,this.element=s,this.viewContainerRef=o,this.isBrowserMode=!0,this.error=new z,this.load=new z,this.ready=new z,this.changed=new Y,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 Y}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(A(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,e=!1){return ct(this,null,function*(){let s={decodeHtml:e,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},o={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate,buttonTextCopy:this.clipboardButtonTextCopy,buttonTextCopied:this.clipboardButtonTextCopied,languageButton:this.clipboardLanguageButton},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,o,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,e){let s=t.querySelectorAll("pre");for(let o=0;o{let I=e[d];if(I){let O=this.toLispCase(d);s.item(o).setAttribute(O,I.toString())}})}toLispCase(t){let e=t.match(/([A-Z])/g);if(!e)return t;let s=t.toString();for(let o=0,d=e.length;o{class i extends kt{buildStyles(l,t){return{display:l==="true"?t.display||(t.isServer?"initial":""):"none"}}}return i.\u0275fac=(()=>{let n;return function(t){return(n||(n=Z(i)))(t||i)}})(),i.\u0275prov=N({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),re=(()=>{class i extends Lt{constructor(l,t,e,s,o,d,I){super(l,t,e,s),this.layoutConfig=o,this.platformId=d,this.serverModuleLoaded=I,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 e=0;e{if(this.inputs.indexOf(t)!==-1){let e=t.split("."),s=e.slice(1).join("."),o=l[t].currentValue,d=o!==""?o!==0?B(o):!1:!0;e[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(A(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=Ct(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 i.\u0275fac=function(l){return new(l||i)(m(_),m(se),m(Ot),m(Ft),m(Mt),m(gt),m(Et))},i.\u0275dir=q({type:i,features:[J,H]}),i})(),st=new WeakMap,le=["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 $t=(()=>{class i extends re{constructor(){super(...arguments),this.inputs=le}}return i.\u0275fac=(()=>{let n;return function(t){return(n||(n=Z(i)))(t||i)}})(),i.\u0275dir=q({type:i,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:[J]}),i})();var Yt=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=U({type:i}),i.\u0275inj=V({imports:[_t]}),i})();var Kt=(()=>{let n=class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=B(t)}get inset(){return this._inset}set inset(t){this._inset=B(t)}};n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=b({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,s){e&2&&(ft("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"},decls:0,vars:0,template:function(e,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 i=n;return i})(),qt=(()=>{let n=class n{};n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=U({type:n}),n.\u0275inj=V({imports:[nt,nt]});let i=n;return i})();var Zt=ee(Qt());function ce(i,n){if(i&1&&(x(0,"li")(1,"a",2),E(2),y()()),i&2){let l=n.$implicit;D(1),v("fragment",l.id),D(1),xt(l.innerHTML)}}var Jt=(()=>{let n=class n{constructor(t,e){this.elementRef=t,this.zone=e}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(dt()).subscribe(()=>{let t=this.elementRef.nativeElement,e=`${t.tagName}.${t.className} a`;this.scrollSpy=new Zt.default(e,{offset:64,reflow:!0})})}};n.\u0275fac=function(e){return new(e||n)(m(_),m(ut))},n.\u0275cmp=b({type:n,selectors:[["app-scrollspy-nav"]],inputs:{headings:"headings"},standalone:!0,features:[H,k],decls:2,vars:1,consts:[[1,"scrollspy-nav"],[4,"ngFor","ngForOf"],["routerLink",".",3,"fragment"]],template:function(e,s){e&1&&(x(0,"ul",0),F(1,ce,3,2,"li",1),y()),e&2&&(D(1),v("ngForOf",s.headings))},dependencies:[yt,It],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 i=n;return i})();var Xt=wt("zoomAnimation",[it("void => *",[j({opacity:0,transform:"translateY(32px) scale(0)"}),et("400ms cubic-bezier(0.35, 0, 0.25, 1)",j({opacity:1,transform:"translateY(0) scale(1)"}))]),it("* => void",[j({opacity:1,transform:"translateY(0)"}),et("300ms cubic-bezier(0.35, 0, 0.25, 1)",j({opacity:0,transform:"translateY(32px)"}))])]);function de(i,n){if(i&1){let l=X();x(0,"button",9),M("click",function(){G(l);let e=tt();return Q(e.onScrollUp())}),L(1,"img",10),y()}i&2&&v("@zoomAnimation",void 0)}function ge(i,n){if(i&1){let l=X();x(0,"button",11),M("click",function(){G(l);let e=tt();return Q(e.onScrollUp())}),L(1,"img",10),y()}i&2&&v("@zoomAnimation",void 0)}var me=["*"],fi=(()=>{let n=class n{constructor(){this.showScrollUpButton=!1}onWindowScroll(){this.showScrollUpButton=Math.ceil(window.scrollY)>64}onScrollUp(){window.scrollTo(0,0),location.hash=""}};n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=b({type:n,selectors:[["app-scrollspy-nav-layout"]],hostBindings:function(e,s){e&1&&M("scroll",function(){return s.onWindowScroll()},!1,mt)},inputs:{headings:"headings"},standalone:!0,features:[k],ngContentSelectors:me,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","color","accent","fxHide.gt-sm","","mat-fab","",3,"click",4,"ngIf"],["fxFlex","1 0 180px","fxFlexAlign","flex-start","fxHide.lt-md","","fxLayout","column",1,"sticky"],[3,"headings"],["class","scrollup-button","color","accent","mat-mini-fab","",3,"click",4,"ngIf"],["color","accent","fxHide.gt-sm","","mat-fab","",1,"scrollup-button--fixed",3,"click"],["src","assets/icon-chevron-up.svg"],["color","accent","mat-mini-fab","",1,"scrollup-button",3,"click"]],template:function(e,s){e&1&&(R(),x(0,"div",0)(1,"div",1),W(2),x(3,"div",2),L(4,"mat-divider"),x(5,"markdown",3),E(6," Crafted with :heart: by **fsegurai** "),x(7,"span",4),E(8,"\u2022"),y(),E(9," Follow on [GitHub](https://github.com/fsegurai) "),y()(),F(10,de,2,1,"button",5),y(),x(11,"div",6),L(12,"app-scrollspy-nav",7),F(13,ge,2,1,"button",8),y()()),e&2&&(D(10),v("ngIf",s.showScrollUpButton),D(2),v("headings",s.headings),D(1),v("ngIf",s.showScrollUpButton))},dependencies:[Yt,$t,Nt,jt,Bt,At,Tt,Pt,Wt,zt,Ut,Vt,qt,Kt,St,Jt],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:[Xt]},changeDetection:0});let i=n;return i})();export{Wt as a,fi as b}; diff --git a/chunk-X7PFU6JI.js b/chunk-DTMPRGQN.js similarity index 94% rename from chunk-X7PFU6JI.js rename to chunk-DTMPRGQN.js index de14aac..45652b1 100644 --- a/chunk-X7PFU6JI.js +++ b/chunk-DTMPRGQN.js @@ -1 +1 @@ -import{a as f,b as u}from"./chunk-7B74OM7L.js";import{Ca as c,Ja as p,M as s,Na as h,fa as l,ja as d,pa as m,va as a,wa as i}from"./chunk-3ZRNYLMO.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/fsegurai/ngx-markdown/main/README.md",3,"load"]],template:function(n,r){n&1&&(a(0,"app-scrollspy-nav-layout",0)(1,"h1",1),p(2,"Get Started"),i(),a(3,"markdown",2),c("load",function(){return r.onLoad()}),i()()),n&2&&m("headings",r.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-SRYAMG7L.js";import{Ca as c,Ja as p,M as s,Na as h,fa as l,ja as d,pa as m,va as a,wa as i}from"./chunk-3ZRNYLMO.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/fsegurai/ngx-markdown/main/README.md",3,"load"]],template:function(n,r){n&1&&(a(0,"app-scrollspy-nav-layout",0)(1,"h1",1),p(2,"Get Started"),i(),a(3,"markdown",2),c("load",function(){return r.onLoad()}),i()()),n&2&&m("headings",r.headings)},dependencies:[f,u],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let o=t;return o})();export{w as default}; diff --git a/chunk-VQRSJXCD.js b/chunk-HUWQKYAF.js similarity index 99% rename from chunk-VQRSJXCD.js rename to chunk-HUWQKYAF.js index 191f35d..c3a8b24 100644 --- a/chunk-VQRSJXCD.js +++ b/chunk-HUWQKYAF.js @@ -1,4 +1,4 @@ -import{c as Y,d as G}from"./chunk-GEWW7IYL.js";import{a as N,b as H,c as R,d as V,f as U,g as z,h as K,i as W}from"./chunk-KEBDHXPT.js";import{a as P,b as L}from"./chunk-7B74OM7L.js";import{Ab as B,Ca as c,Ea as M,Ia as _,Ja as e,M as f,Ma as j,Na as O,R as x,S as w,T as k,Tb as D,U as y,Ub as A,V as v,Vb as F,Wa as T,Yb as I,fa as C,ia as a,ja as g,pa as r,ta as S,va as n,wa as t,xa as o,ya as E}from"./chunk-3ZRNYLMO.js";var b;(function(p){let m;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(m=p.SecurityLevel||(p.SecurityLevel={}));let h;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(h=p.Theme||(p.Theme={}));let d;(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"})(d=p.LogLevel||(p.LogLevel={}))})(b||(b={}));function q(p,m){if(p&1){let h=E();n(0,"button",32),c("click",function(){k(h);let i=M();return y(i.onCopyToClipboard())}),v(),n(1,"svg",33),o(2,"path",34),t()()}}var me=(()=>{let m=class m{constructor(d,i){this.elementRef=d,this.snackbar=i,this.clipboardButton=G,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:b.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 d=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(i=>d.push(i)),this.headings=d}};m.\u0275fac=function(i){return new(i||m)(g(C),g(Y))},m.\u0275cmp=f({type:m,selectors:[["app-plugins"]],standalone:!0,features:[j([{provide:B,useValue:{}}]),O],decls:163,vars:35,consts:[[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,"ngModel","ngModelChange"],["emoji","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["emoji",""],["id","line-numbers"],["lineNumbers",""],["lineNumbers","",3,"start"],["id","line-highlight"],["lineHighlight","",3,"lineOffset","line"],["id","command-line"],["commandLine","",3,"host","src","user"],["commandLine","",3,"host","output","src","user"],["commandLine","",3,"output","prompt","src"],["commandLine","",3,"filterOutput","prompt","src"],["id","katex"],["fxFlex.gt-sm","calc(50% - 8px)","katex","",3,"data"],["id","mermaid"],["fxFlex.gt-sm","calc(50% - 8px)","mermaid","",3,"data","mermaidOptions"],["id","clipboard"],["clipboard",""],["clipboard","",1,"btn-clipboard-toolbar"],["clipboard","",1,"btn-clipboard-default"],["clipboard","","clipboardButtonTextCopy","Copy me!","clipboardButtonTextCopied","Copied!",1,"btn-clipboard-default"],["clipboard","","clipboardButtonTextCopy","Copy code!","clipboardButtonTextCopied","Code copied!",1,"btn-clipboard-default"],["clipboard","","emoji","",1,"btn-clipboard-default",3,"clipboardLanguageButton"],["clipboard","",3,"clipboardButtonComponent"],["buttonTemplate",""],["clipboard","",3,"clipboardButtonTemplate"],[1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["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","fill","#fff"]],template:function(i,l){if(i&1&&(n(0,"app-scrollspy-nav-layout",0)(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",1),e(7,"Emoji plugin"),t(),n(8,"markdown"),e(9,` +import{c as Y,d as G}from"./chunk-GEWW7IYL.js";import{a as N,b as H,c as R,d as V,f as U,g as z,h as K,i as W}from"./chunk-KEBDHXPT.js";import{a as P,b as L}from"./chunk-SRYAMG7L.js";import{Ab as B,Ca as c,Ea as M,Ia as _,Ja as e,M as f,Ma as j,Na as O,R as x,S as w,T as k,Tb as D,U as y,Ub as A,V as v,Vb as F,Wa as T,Yb as I,fa as C,ia as a,ja as g,pa as r,ta as S,va as n,wa as t,xa as o,ya as E}from"./chunk-3ZRNYLMO.js";var b;(function(p){let m;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(m=p.SecurityLevel||(p.SecurityLevel={}));let h;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(h=p.Theme||(p.Theme={}));let d;(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"})(d=p.LogLevel||(p.LogLevel={}))})(b||(b={}));function q(p,m){if(p&1){let h=E();n(0,"button",32),c("click",function(){k(h);let i=M();return y(i.onCopyToClipboard())}),v(),n(1,"svg",33),o(2,"path",34),t()()}}var me=(()=>{let m=class m{constructor(d,i){this.elementRef=d,this.snackbar=i,this.clipboardButton=G,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:b.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 d=[];this.elementRef.nativeElement.querySelectorAll("h2").forEach(i=>d.push(i)),this.headings=d}};m.\u0275fac=function(i){return new(i||m)(g(C),g(Y))},m.\u0275cmp=f({type:m,selectors:[["app-plugins"]],standalone:!0,features:[j([{provide:B,useValue:{}}]),O],decls:163,vars:35,consts:[[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,"ngModel","ngModelChange"],["emoji","","fxFlex.gt-sm","calc(50% - 8px)",3,"data"],["emoji",""],["id","line-numbers"],["lineNumbers",""],["lineNumbers","",3,"start"],["id","line-highlight"],["lineHighlight","",3,"lineOffset","line"],["id","command-line"],["commandLine","",3,"host","src","user"],["commandLine","",3,"host","output","src","user"],["commandLine","",3,"output","prompt","src"],["commandLine","",3,"filterOutput","prompt","src"],["id","katex"],["fxFlex.gt-sm","calc(50% - 8px)","katex","",3,"data"],["id","mermaid"],["fxFlex.gt-sm","calc(50% - 8px)","mermaid","",3,"data","mermaidOptions"],["id","clipboard"],["clipboard",""],["clipboard","",1,"btn-clipboard-toolbar"],["clipboard","",1,"btn-clipboard-default"],["clipboard","","clipboardButtonTextCopy","Copy me!","clipboardButtonTextCopied","Copied!",1,"btn-clipboard-default"],["clipboard","","clipboardButtonTextCopy","Copy code!","clipboardButtonTextCopied","Code copied!",1,"btn-clipboard-default"],["clipboard","","emoji","",1,"btn-clipboard-default",3,"clipboardLanguageButton"],["clipboard","",3,"clipboardButtonComponent"],["buttonTemplate",""],["clipboard","",3,"clipboardButtonTemplate"],[1,"btn-clipboard",3,"click"],["viewBox","0 0 24 24",2,"width","16px","height","16px"],["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","fill","#fff"]],template:function(i,l){if(i&1&&(n(0,"app-scrollspy-nav-layout",0)(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",1),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 diff --git a/chunk-SRYAMG7L.js b/chunk-SRYAMG7L.js new file mode 100644 index 0000000..7e3e4a1 --- /dev/null +++ b/chunk-SRYAMG7L.js @@ -0,0 +1 @@ +import{$ as mt,Bc as zt,Ca as M,D as A,Ea as tt,Fa as R,Fb as Ht,Ga as W,Gb as _t,H as N,Hb as Mt,I as V,Ib as Et,Ja as E,Jb as kt,K,Ka as xt,Kb as Ot,Lb as Ft,M as b,Mb as Lt,N as U,Na as k,Nb as B,O as q,Q as H,T as G,Tb as jt,U as Q,Ub as Bt,Vb as Pt,W as Z,Wb as Tt,Xb as At,Yb as Nt,Z as gt,bb as yt,c as te,cb as St,d as ee,e as ct,fa as _,fb as vt,gb as Ct,h as Y,ia as D,ja as m,la as z,ma as ut,mb as wt,mc as nt,na as J,nb as et,oa as ft,ob as j,pa as v,qb as it,ra as ht,sa as pt,ta as F,tb as bt,va as x,vb as Dt,wa as y,wb as It,x as dt,xa as L,xc as Vt,ya as X,yc as Ut}from"./chunk-3ZRNYLMO.js";var Qt=te((rt,Gt)=>{"use strict";(function(i,n){typeof define=="function"&&define.amd?define([],function(){return n(i)}):typeof rt=="object"?Gt.exports=n(i):i.Gumshoe=n(i)})(typeof global<"u"?global:typeof window<"u"?window:rt,function(i){"use strict";var n={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},l=function(r,a,c){if(c.settings.events){var g=new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:c});a.dispatchEvent(g)}},t=function(r){var a=0;if(r.offsetParent)for(;r;)a+=r.offsetTop,r=r.offsetParent;return a>=0?a:0},e=function(r){r&&r.sort(function(a,c){return t(a.content)=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},d=function(r,a){var c=r[r.length-1];if(function(u,f){return!(!o()||!s(u.content,f,!0))}(c,a))return c;for(var g=r.length-1;g>=0;g--)if(s(r[g].content,a))return r[g]},I=function(r,a){if(a.nested&&r.parentNode){var c=r.parentNode.closest("li");c&&(c.classList.remove(a.nestedClass),I(c,a))}},O=function(r,a){if(r){var c=r.nav.closest("li");c&&(c.classList.remove(a.navClass),r.content.classList.remove(a.contentClass),I(c,a),l("gumshoeDeactivate",c,{link:r.nav,content:r.content,settings:a}))}},lt=function(r,a){if(a.nested){var c=r.parentNode.closest("li");c&&(c.classList.add(a.nestedClass),lt(c,a))}};return function(r,a){var c,g,u,f,S,C={};C.setup=function(){c=document.querySelectorAll(r),g=[],Array.prototype.forEach.call(c,function(h){var p=document.getElementById(decodeURIComponent(h.hash.substr(1)));p&&g.push({nav:h,content:p})}),e(g)},C.detect=function(){var h=d(g,S);h?u&&h.content===u.content||(O(u,S),function(p,w){if(p){var T=p.nav.closest("li");T&&(T.classList.add(w.navClass),p.content.classList.add(w.contentClass),lt(T,w),l("gumshoeActivate",T,{link:p.nav,content:p.content,settings:w}))}}(h,S),u=h):u&&(O(u,S),u=null)};var ot=function(h){f&&i.cancelAnimationFrame(f),f=i.requestAnimationFrame(C.detect)},at=function(h){f&&i.cancelAnimationFrame(f),f=i.requestAnimationFrame(function(){e(g),C.detect()})};return C.destroy=function(){u&&O(u,S),i.removeEventListener("scroll",ot,!1),S.reflow&&i.removeEventListener("resize",at,!1),g=null,c=null,u=null,f=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,a||{}),C.setup(),C.detect(),i.addEventListener("scroll",ot,!1),S.reflow&&i.addEventListener("resize",at,!1),C}})});var $=function(i){return i.CommandLine="command-line",i.LineHighlight="line-highlight",i.LineNumbers="line-numbers",i}($||{});var Rt=(()=>{let n=class n{constructor(t,e){this._route=t,this._router=e}isExternalUrl(t){return!t||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("mailto:")||t.startsWith("tel:")||t.startsWith("sms:")||t.startsWith("geo:")||t.startsWith("ftp:")||t.startsWith("file:")||t.startsWith("data:")}externalUrlHandler(t){let e=t.getAttribute("href");t.setAttribute("target","_blank"),window.open(e,"_blank")}isInternalUrl(t){return!t||t.startsWith("#")||t.includes("#")||t.startsWith("/internal:")||t.startsWith("../")}internalUrlHandler(t){let e=t.getAttribute("href");console.log("internal link: ",e),e.startsWith("/internal:")&&(e=e.replace("/internal:","")),this.navigate(`/${e}`)}stripQuery(t){let e=/[^?]*/.exec(t);return e?e[0]:t}stripFragmentAndQuery(t){let e=/[^#]*/.exec(t);return this.stripQuery(e?e[0]:t)}getUrlTree(t){let e=this.stripFragmentAndQuery(t)||this.stripFragmentAndQuery(this._router.url),s=this._router.parseUrl(t),o=s.fragment||void 0,d=s.queryParams;return this._router.createUrlTree([e],{relativeTo:this._route,fragment:o,queryParams:d})}navigate(t,e=!1){let s=this.getUrlTree(t);this._router.navigated=!1,this._router.navigateByUrl(s,{replaceUrl:e})}interceptClick(t){let e=t.target;if(!(e instanceof HTMLAnchorElement))return;let s=e.getAttribute("href");if(s){if(t.preventDefault(),this.isInternalUrl(s)){this.internalUrlHandler(e),t.stopPropagation();return}if(this.isExternalUrl(s)){this.externalUrlHandler(e),t.stopPropagation();return}}}};n.\u0275fac=function(e){return new(e||n)(K(bt),K(Dt))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"});let i=n;return i})();var ne=["*"],Wt=(()=>{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)}onDocumentClick(t){this.isBrowserMode&&this.markdownLinkService.interceptClick(t)}constructor(t,e,s,o){this.markdownService=t,this.markdownLinkService=e,this.element=s,this.viewContainerRef=o,this.isBrowserMode=!0,this.error=new z,this.load=new z,this.ready=new z,this.changed=new Y,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 Y}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(A(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,e=!1){return ct(this,null,function*(){let s={decodeHtml:e,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},o={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate,buttonTextCopy:this.clipboardButtonTextCopy,buttonTextCopied:this.clipboardButtonTextCopied,languageButton:this.clipboardLanguageButton},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,o,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,e){let s=t.querySelectorAll("pre");for(let o=0;o{let I=e[d];if(I){let O=this.toLispCase(d);s.item(o).setAttribute(O,I.toString())}})}toLispCase(t){let e=t.match(/([A-Z])/g);if(!e)return t;let s=t.toString();for(let o=0,d=e.length;o{class i extends kt{buildStyles(l,t){return{display:l==="true"?t.display||(t.isServer?"initial":""):"none"}}}return i.\u0275fac=(()=>{let n;return function(t){return(n||(n=Z(i)))(t||i)}})(),i.\u0275prov=N({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),re=(()=>{class i extends Lt{constructor(l,t,e,s,o,d,I){super(l,t,e,s),this.layoutConfig=o,this.platformId=d,this.serverModuleLoaded=I,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 e=0;e{if(this.inputs.indexOf(t)!==-1){let e=t.split("."),s=e.slice(1).join("."),o=l[t].currentValue,d=o!==""?o!==0?B(o):!1:!0;e[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(A(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=Ct(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 i.\u0275fac=function(l){return new(l||i)(m(_),m(se),m(Ot),m(Ft),m(Mt),m(gt),m(Et))},i.\u0275dir=q({type:i,features:[J,H]}),i})(),st=new WeakMap,le=["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 $t=(()=>{class i extends re{constructor(){super(...arguments),this.inputs=le}}return i.\u0275fac=(()=>{let n;return function(t){return(n||(n=Z(i)))(t||i)}})(),i.\u0275dir=q({type:i,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:[J]}),i})();var Yt=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=U({type:i}),i.\u0275inj=V({imports:[_t]}),i})();var Kt=(()=>{let n=class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=B(t)}get inset(){return this._inset}set inset(t){this._inset=B(t)}};n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=b({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,s){e&2&&(ft("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"},decls:0,vars:0,template:function(e,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 i=n;return i})(),qt=(()=>{let n=class n{};n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=U({type:n}),n.\u0275inj=V({imports:[nt,nt]});let i=n;return i})();var Zt=ee(Qt());function ce(i,n){if(i&1&&(x(0,"li")(1,"a",2),E(2),y()()),i&2){let l=n.$implicit;D(1),v("fragment",l.id),D(1),xt(l.innerHTML)}}var Jt=(()=>{let n=class n{constructor(t,e){this.elementRef=t,this.zone=e}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(dt()).subscribe(()=>{let t=this.elementRef.nativeElement,e=`${t.tagName}.${t.className} a`;this.scrollSpy=new Zt.default(e,{offset:64,reflow:!0})})}};n.\u0275fac=function(e){return new(e||n)(m(_),m(ut))},n.\u0275cmp=b({type:n,selectors:[["app-scrollspy-nav"]],inputs:{headings:"headings"},standalone:!0,features:[H,k],decls:2,vars:1,consts:[[1,"scrollspy-nav"],[4,"ngFor","ngForOf"],["routerLink",".",3,"fragment"]],template:function(e,s){e&1&&(x(0,"ul",0),F(1,ce,3,2,"li",1),y()),e&2&&(D(1),v("ngForOf",s.headings))},dependencies:[yt,It],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 i=n;return i})();var Xt=wt("zoomAnimation",[it("void => *",[j({opacity:0,transform:"translateY(32px) scale(0)"}),et("400ms cubic-bezier(0.35, 0, 0.25, 1)",j({opacity:1,transform:"translateY(0) scale(1)"}))]),it("* => void",[j({opacity:1,transform:"translateY(0)"}),et("300ms cubic-bezier(0.35, 0, 0.25, 1)",j({opacity:0,transform:"translateY(32px)"}))])]);function de(i,n){if(i&1){let l=X();x(0,"button",9),M("click",function(){G(l);let e=tt();return Q(e.onScrollUp())}),L(1,"img",10),y()}i&2&&v("@zoomAnimation",void 0)}function ge(i,n){if(i&1){let l=X();x(0,"button",11),M("click",function(){G(l);let e=tt();return Q(e.onScrollUp())}),L(1,"img",10),y()}i&2&&v("@zoomAnimation",void 0)}var me=["*"],fi=(()=>{let n=class n{constructor(){this.showScrollUpButton=!1}onWindowScroll(){this.showScrollUpButton=Math.ceil(window.scrollY)>64}onScrollUp(){window.scrollTo(0,0),location.hash=""}};n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=b({type:n,selectors:[["app-scrollspy-nav-layout"]],hostBindings:function(e,s){e&1&&M("scroll",function(){return s.onWindowScroll()},!1,mt)},inputs:{headings:"headings"},standalone:!0,features:[k],ngContentSelectors:me,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","color","accent","fxHide.gt-sm","","mat-fab","",3,"click",4,"ngIf"],["fxFlex","1 0 180px","fxFlexAlign","flex-start","fxHide.lt-md","","fxLayout","column",1,"sticky"],[3,"headings"],["class","scrollup-button","color","accent","mat-mini-fab","",3,"click",4,"ngIf"],["color","accent","fxHide.gt-sm","","mat-fab","",1,"scrollup-button--fixed",3,"click"],["src","assets/icon-chevron-up.svg"],["color","accent","mat-mini-fab","",1,"scrollup-button",3,"click"]],template:function(e,s){e&1&&(R(),x(0,"div",0)(1,"div",1),W(2),x(3,"div",2),L(4,"mat-divider"),x(5,"markdown",3),E(6," Crafted with :heart: by **fsegurai** "),x(7,"span",4),E(8,"\u2022"),y(),E(9," Follow on [GitHub](https://github.com/fsegurai) "),y()(),F(10,de,2,1,"button",5),y(),x(11,"div",6),L(12,"app-scrollspy-nav",7),F(13,ge,2,1,"button",8),y()()),e&2&&(D(10),v("ngIf",s.showScrollUpButton),D(2),v("headings",s.headings),D(1),v("ngIf",s.showScrollUpButton))},dependencies:[Yt,$t,Nt,jt,Bt,At,Tt,Pt,Wt,zt,Ut,Vt,qt,Kt,St,Jt],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:[Xt]},changeDetection:0});let i=n;return i})();export{Wt as a,fi as b}; diff --git a/chunk-B4WDJDQH.js b/chunk-Y7TKU63W.js similarity index 98% rename from chunk-B4WDJDQH.js rename to chunk-Y7TKU63W.js index 2cf84e0..166bab8 100644 --- a/chunk-B4WDJDQH.js +++ b/chunk-Y7TKU63W.js @@ -1,4 +1,4 @@ -import{a as U}from"./chunk-IH3MLVBI.js";import{a as M,b as S}from"./chunk-X5VUQT6Z.js";import{a as _,b as B,c as P,d as I,f as H,g as T,h as O,i as R}from"./chunk-KEBDHXPT.js";import{a as b,b as F}from"./chunk-7B74OM7L.js";import{Ca as w,Ja as n,M as f,Na as v,Oa as l,Pa as s,Qa as u,Tb as E,Ub as C,Vb as D,Yb as L,ca as y,eb as x,fa as k,ia as a,ja as h,pa as i,va as t,wa as e,xa as o}from"./chunk-3ZRNYLMO.js";var Z=(()=>{let p=class p{constructor(d,r){this.elementRef=d,this.rawLoaderService=r,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-IH3MLVBI.js";import{a as M,b as S}from"./chunk-X5VUQT6Z.js";import{a as _,b as B,c as P,d as I,f as H,g as T,h as O,i as R}from"./chunk-KEBDHXPT.js";import{a as b,b as F}from"./chunk-SRYAMG7L.js";import{Ca as w,Ja as n,M as f,Na as v,Oa as l,Pa as s,Qa as u,Tb as E,Ub as C,Vb as D,Yb as L,ca as y,eb as x,fa as k,ia as a,ja as h,pa as i,va as t,wa as e,xa as o}from"./chunk-3ZRNYLMO.js";var Z=(()=>{let p=class p{constructor(d,r){this.elementRef=d,this.rawLoaderService=r,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-I6HRDZCN.js b/chunk-ZFNVKH7O.js similarity index 96% rename from chunk-I6HRDZCN.js rename to chunk-ZFNVKH7O.js index 29d73a8..91e9210 100644 --- a/chunk-I6HRDZCN.js +++ b/chunk-ZFNVKH7O.js @@ -1,4 +1,4 @@ -import{a as S,b,c as _,d as E,e as F,f as D,g as L,h as R,i as I}from"./chunk-KEBDHXPT.js";import{a as v,b as k}from"./chunk-7B74OM7L.js";import{Ca as p,Fb as y,Ja as a,M as h,Na as g,Tb as w,Ub as C,Vb as M,Yb as x,fa as u,ia as d,ja as m,pa as l,va as r,wa as o,xa as f}from"./chunk-3ZRNYLMO.js";var V=(()=>{let i=class i{constructor(e,t){this.elementRef=e,this.markdownService=t,this.markdown=`## Markdown __rulez__! +import{a as S,b,c as _,d as E,e as F,f as D,g as L,h as R,i as I}from"./chunk-KEBDHXPT.js";import{a as v,b as k}from"./chunk-SRYAMG7L.js";import{Ca as p,Fb as y,Ja as a,M as h,Na as g,Tb as w,Ub as C,Vb as M,Yb as x,fa as u,ia as d,ja as m,pa as l,va as r,wa as o,xa as f}from"./chunk-3ZRNYLMO.js";var V=(()=>{let i=class i{constructor(e,t){this.elementRef=e,this.markdownService=t,this.markdown=`## Markdown __rulez__! --- ### Syntax highlight diff --git a/index.html b/index.html index f135373..6854267 100644 --- a/index.html +++ b/index.html @@ -12,5 +12,5 @@ - + diff --git a/main-MICICBHZ.js b/main-37Q7C674.js similarity index 99% rename from main-MICICBHZ.js rename to main-37Q7C674.js index 546b4c0..8b979c9 100644 --- a/main-MICICBHZ.js +++ b/main-37Q7C674.js @@ -1,4 +1,4 @@ import{a as xn,b as Oe,d as kn}from"./chunk-GEWW7IYL.js";import{$ as Bi,$a as Oi,$b as hn,A as xi,Ab as en,Ac as An,B as Ie,Bb as Me,Bc as In,C as ki,Ca as Q,Cb as nn,D as nt,Db as an,E as Xt,Eb as rn,Fa as at,Fb as on,Ga as Z,H as Zt,Ha as Ri,I as ft,Ia as xt,J as It,Ja as ie,K as j,Ka as Se,L as wi,M as U,N as _t,Na as Li,Nb as K,O as Kt,Ob as sn,Sa as M,Sb as Re,Ta as rt,Tb as cn,Ua as ne,Ub as ln,Va as R,Vb as un,X as Jt,Xb as dn,Yb as mn,Zb as kt,_ as te,_a as ot,aa as Si,ba as z,bb as Ni,c as ja,d as Ua,da as Pi,dc as bn,ec as pn,f as ye,fa as W,fb as Hi,fc as fn,g as gi,h as $t,ha as ee,hb as ji,i as Di,ia as S,ib as ae,ic as _n,j as vi,ja as p,jb as Ui,k as it,ka as xe,kb as zi,kc as gn,l as Fi,la as ke,lb as Wi,lc as Dn,m as pt,ma as we,mb as Vi,mc as J,na as mt,nb as Qi,nc as vn,o as Ci,oa as gt,ob as Pe,oc as wt,p as qt,pa as P,pc as Fn,q as Ae,qa as Mi,qb as Yi,qc as Cn,r as Ei,ra as X,rb as $i,s as Ti,sb as qi,ta as Be,tb as Gi,tc as En,u as yi,ub as Xi,uc as Le,v as Gt,va as C,vb as re,vc as Tn,w as Ai,wa as w,wb as Zi,xa as V,xb as Ki,y as Ii,yb as Ji,zb as tn,zc as yn}from"./chunk-3ZRNYLMO.js";var wn=ja((Ar,oe)=>{"use strict";(function(c,s,f,e){"use strict";var n=["","webkit","Moz","MS","ms","o"],r=s.createElement("div"),l="function",d=Math.round,h=Math.abs,g=Date.now;function _(t,i,a){return setTimeout(me(t,a),i)}function y(t,i,a){return Array.isArray(t)?(Y(t,a[i],a),!0):!1}function Y(t,i,a){var o;if(t)if(t.forEach)t.forEach(i,a);else if(t.length!==e)for(o=0;o\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",b=c.console&&(c.console.warn||c.console.log);return b&&b.call(c.console,o,m),t.apply(this,arguments)}}var L;typeof Object.assign!="function"?L=function(i){if(i===e||i===null)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(i),o=1;o-1}function Mt(t){return t.trim().split(/\s+/g)}function ht(t,i,a){if(t.indexOf&&!a)return t.indexOf(i);for(var o=0;oT[i]}):o=o.sort()),o}function Lt(t,i){for(var a,o,u=i[0].toUpperCase()+i.slice(1),m=0;m1&&!a.firstMultiple?a.firstMultiple=ei(i):u===1&&(a.firstMultiple=!1);var m=a.firstInput,b=a.firstMultiple,v=b?b.center:m.center,F=i.center=ii(o);i.timeStamp=g(),i.deltaTime=i.timeStamp-m.timeStamp,i.angle=pe(v,F),i.distance=Ht(v,F),fa(a,i),i.offsetDirection=ai(i.deltaX,i.deltaY);var T=ni(i.deltaTime,i.deltaX,i.deltaY);i.overallVelocityX=T.x,i.overallVelocityY=T.y,i.overallVelocity=h(T.x)>h(T.y)?T.x:T.y,i.scale=b?Da(b.pointers,o):1,i.rotation=b?ga(b.pointers,o):0,i.maxPointers=a.prevInput?i.pointers.length>a.prevInput.maxPointers?i.pointers.length:a.prevInput.maxPointers:i.pointers.length,_a(a,i);var H=t.element;Ge(i.srcEvent.target,H)&&(H=i.srcEvent.target),i.target=H}function fa(t,i){var a=i.center,o=t.offsetDelta||{},u=t.prevDelta||{},m=t.prevInput||{};(i.eventType===E||m.eventType===D)&&(u=t.prevDelta={x:m.deltaX||0,y:m.deltaY||0},o=t.offsetDelta={x:a.x,y:a.y}),i.deltaX=u.x+(a.x-o.x),i.deltaY=u.y+(a.y-o.y)}function _a(t,i){var a=t.lastInterval||i,o=i.timeStamp-a.timeStamp,u,m,b,v;if(i.eventType!=A&&(o>ma||a.velocity===e)){var F=i.deltaX-a.deltaX,T=i.deltaY-a.deltaY,H=ni(o,F,T);m=H.x,b=H.y,u=h(H.x)>h(H.y)?H.x:H.y,v=ai(F,T),t.lastInterval=i}else u=a.velocity,m=a.velocityX,b=a.velocityY,v=a.direction;i.velocity=u,i.velocityX=m,i.velocityY=b,i.direction=v}function ei(t){for(var i=[],a=0;a=h(i)?t<0?vt:Ft:i<0?Ct:Et}function Ht(t,i,a){a||(a=ti);var o=i[a[0]]-t[a[0]],u=i[a[1]]-t[a[1]];return Math.sqrt(o*o+u*u)}function pe(t,i,a){a||(a=ti);var o=i[a[0]]-t[a[0]],u=i[a[1]]-t[a[1]];return Math.atan2(u,o)*180/Math.PI}function ga(t,i){return pe(i[1],i[0],Nt)+pe(t[1],t[0],Nt)}function Da(t,i){return Ht(i[0],i[1],Nt)/Ht(t[0],t[1],Nt)}var va={mousedown:E,mousemove:lt,mouseup:D},Fa="mousedown",Ca="mousemove mouseup";function jt(){this.evEl=Fa,this.evWin=Ca,this.pressed=!1,x.apply(this,arguments)}I(jt,x,{handler:function(i){var a=va[i.type];a&E&&i.button===0&&(this.pressed=!0),a<&&i.which!==1&&(a=D),this.pressed&&(a&D&&(this.pressed=!1),this.callback(this.manager,a,{pointers:[i],changedPointers:[i],pointerType:be,srcEvent:i}))}});var Ea={pointerdown:E,pointermove:lt,pointerup:D,pointercancel:A,pointerout:A},Ta={2:Dt,3:ua,4:be,5:da},ri="pointerdown",oi="pointermove pointerup pointercancel";c.MSPointerEvent&&!c.PointerEvent&&(ri="MSPointerDown",oi="MSPointerMove MSPointerUp MSPointerCancel");function fe(){this.evEl=ri,this.evWin=oi,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}I(fe,x,{handler:function(i){var a=this.store,o=!1,u=i.type.toLowerCase().replace("ms",""),m=Ea[u],b=Ta[i.pointerType]||i.pointerType,v=b==Dt,F=ht(a,i.pointerId,"pointerId");m&E&&(i.button===0||v)?F<0&&(a.push(i),F=a.length-1):m&(D|A)&&(o=!0),!(F<0)&&(a[F]=i,this.callback(this.manager,m,{pointers:a,changedPointers:[i],pointerType:b,srcEvent:i}),o&&a.splice(F,1))}});var ya={touchstart:E,touchmove:lt,touchend:D,touchcancel:A},Aa="touchstart",Ia="touchstart touchmove touchend touchcancel";function si(){this.evTarget=Aa,this.evWin=Ia,this.started=!1,x.apply(this,arguments)}I(si,x,{handler:function(i){var a=ya[i.type];if(a===E&&(this.started=!0),!!this.started){var o=xa.call(this,i,a);a&(D|A)&&o[0].length-o[1].length===0&&(this.started=!1),this.callback(this.manager,a,{pointers:o[0],changedPointers:o[1],pointerType:Dt,srcEvent:i})}}});function xa(t,i){var a=Rt(t.touches),o=Rt(t.changedTouches);return i&(D|A)&&(a=Xe(a.concat(o),"identifier",!0)),[a,o]}var ka={touchstart:E,touchmove:lt,touchend:D,touchcancel:A},wa="touchstart touchmove touchend touchcancel";function Ut(){this.evTarget=wa,this.targetIds={},x.apply(this,arguments)}I(Ut,x,{handler:function(i){var a=ka[i.type],o=Ba.call(this,i,a);o&&this.callback(this.manager,a,{pointers:o[0],changedPointers:o[1],pointerType:Dt,srcEvent:i})}});function Ba(t,i){var a=Rt(t.touches),o=this.targetIds;if(i&(E|lt)&&a.length===1)return o[a[0].identifier]=!0,[a,a];var u,m,b=Rt(t.changedTouches),v=[],F=this.target;if(m=a.filter(function(T){return Ge(T.target,F)}),i===E)for(u=0;u-1&&o.splice(m,1)};setTimeout(u,Sa)}}function Ma(t){for(var i=t.srcEvent.clientX,a=t.srcEvent.clientY,o=0;o-1&&this.requireFail.splice(i,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var i=this,a=this.state;function o(u){i.manager.emit(u,t)}a=et&&o(i.options.event+bi(a))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=N},canEmit:function(){for(var t=0;ti.threshold&&u&i.direction},attrTest:function(t){return B.prototype.attrTest.call(this,t)&&(this.state&k||!(this.state&k)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var i=pi(t.direction);i&&(t.additionalEvent=this.options.event+i),this._super.emit.call(this,t)}});function ve(){B.apply(this,arguments)}I(ve,B,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[dt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&k)},emit:function(t){if(t.scale!==1){var i=t.scale<1?"in":"out";t.additionalEvent=this.options.event+i}this._super.emit.call(this,t)}});function Fe(){q.apply(this,arguments),this._timer=null,this._input=null}I(Fe,q,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[hi]},process:function(t){var i=this.options,a=t.pointers.length===i.pointers,o=t.distancei.time;if(this._input=t,!o||!a||t.eventType&(D|A)&&!u)this.reset();else if(t.eventType&E)this.reset(),this._timer=_(function(){this.state=$,this.tryEmit()},i.time,this);else if(t.eventType&D)return $;return N},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===$&&(t&&t.eventType&D?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=g(),this.manager.emit(this.options.event,this._input)))}});function Ce(){B.apply(this,arguments)}I(Ce,B,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[dt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&k)}});function Ee(){B.apply(this,arguments)}I(Ee,B,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:O|ut,pointers:1},getTouchAction:function(){return Qt.prototype.getTouchAction.call(this)},attrTest:function(t){var i=this.options.direction,a;return i&(O|ut)?a=t.overallVelocity:i&O?a=t.overallVelocityX:i&ut&&(a=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(a)>this.options.velocity&&t.eventType&D},emit:function(t){var i=pi(t.offsetDirection);i&&this.manager.emit(this.options.event+i,t),this.manager.emit(this.options.event,t)}});function Yt(){q.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}I(Yt,q,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ge]},process:function(t){var i=this.options,a=t.pointers.length===i.pointers,o=t.distance/gi,"");let n=`${c}${Sn.slug(e)}`,r={level:f,text:s,id:n};return Pn.push(r),`${s} -`}}}}function Rn(c){return[on,c?.loader??[],c?.clipboardOptions??[],c?.markedOptions??[],{provide:nn,useValue:c?.markedExtensions??[]},{provide:rn,useValue:c?.sanitize??z.HTML}]}var Ln=[{path:"get-started",loadComponent:()=>import("./chunk-X7PFU6JI.js"),data:{label:"Get Started"}},{path:"cheat-sheet",loadComponent:()=>import("./chunk-G7L3PN7Z.js"),data:{label:"Cheat Sheet"}},{path:"syntax-highlight",loadComponent:()=>import("./chunk-K3B7V5B4.js"),data:{label:"Syntax Highlight"}},{path:"bindings",loadComponent:()=>import("./chunk-B4WDJDQH.js"),data:{label:"Bindings"}},{path:"plugins",loadComponent:()=>import("./chunk-VQRSJXCD.js"),data:{label:"Plugins"}},{path:"re-render",loadComponent:()=>import("./chunk-I6HRDZCN.js"),data:{label:"Re-render"}},{path:"**",redirectTo:"get-started"}];function On(c){let s=new Me;return s.link=(f,e,n)=>Me.prototype.link.call(s,c.normalizeExternalUrl(f),e,n),{renderer:s}}var le=(()=>{let s=class s{constructor(e,n,r,l){this.locationStrategy=e,this.route=n,this.router=r,this.viewportScroller=l}interceptClick(e){let n=e.target;if(!(n instanceof HTMLAnchorElement))return;let r=n.getAttribute("href")||"";this.isExternalUrl(r)||this.isRouterLink(n)||(this.navigate(r),e.preventDefault())}navigate(e,n=!1){let r=this.getUrlTree(e);this.router.navigated=!1,this.router.navigateByUrl(r,{replaceUrl:n})}normalizeExternalUrl(e){if(this.isExternalUrl(e))return e;let n=this.getUrlTree(e),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(...e){this.viewportScroller.setOffset(...e)}getUrlTree(e){let n=this.stripFragment(e)||this.stripFragment(this.router.url),r=this.router.parseUrl(e).fragment||void 0;return this.router.createUrlTree([n],{relativeTo:this.route,fragment:r})}isExternalUrl(e){return/^(?!http(s?):\/\/).+$/.exec(e)==null}isRouterLink(e){return e.getAttributeNames().some(n=>n.startsWith("_ngcontent"))}stripFragment(e){return/[^#]*/.exec(e)[0]}};s.\u0275fac=function(n){return new(n||s)(j(Oi),j(Gi),j(re),j(ji))},s.\u0275prov=Zt({token:s,factory:s.\u0275fac,providedIn:"root"});let c=s;return c})();var Nn={providers:[qi(),Ui(),Ji(Ln,tn({anchorScrolling:"enabled",scrollPositionRestoration:"enabled"})),Rn({loader:ae,markedOptions:{provide:an,useFactory:On,deps:[le]},markedExtensions:[Mn()],clipboardOptions:{provide:en,useValue:{buttonComponent:kn}},sanitize:z.NONE})]};var Qa=["*"],ue;function Ya(){if(ue===void 0&&(ue=null,typeof window<"u")){let c=window;c.trustedTypes!==void 0&&(ue=c.trustedTypes.createPolicy("angular#components",{createHTML:s=>s}))}return ue}function Bt(c){return Ya()?.createHTML(c)||c}function Hn(c){return Error(`Unable to find icon with the name "${c}"`)}function $a(){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 jn(c){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${c}".`)}function Un(c){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${c}".`)}var tt=class{constructor(s,f,e){this.url=s,this.svgText=f,this.options=e}},qa=(()=>{let s=class s{constructor(e,n,r,l){this._httpClient=e,this._sanitizer=n,this._errorHandler=l,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(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,l){return this._addSvgIconConfig(e,n,new tt(r,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,l){let d=this._sanitizer.sanitize(z.HTML,r);if(!d)throw Un(r);let h=Bt(d);return this._addSvgIconConfig(e,n,new tt("",h,l))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new tt(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){let l=this._sanitizer.sanitize(z.HTML,n);if(!l)throw Un(n);let d=Bt(l);return this._addSvgIconSetConfig(e,new tt("",d,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(z.RESOURCE_URL,e);if(!n)throw jn(e);let r=this._cachedIconsByUrl.get(n);return r?it(de(r)):this._loadSvgIconFromConfig(new tt(e,null)).pipe(Xt(l=>this._cachedIconsByUrl.set(n,l)),pt(l=>de(l)))}getNamedSvgIcon(e,n=""){let r=zn(n,e),l=this._svgIconConfigs.get(r);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(n,e),l)return this._svgIconConfigs.set(r,l),this._getSvgFromConfig(l);let d=this._iconSetConfigs.get(n);return d?this._getSvgFromIconSetConfigs(e,d):Fi(Hn(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?it(de(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(pt(n=>de(n)))}_getSvgFromIconSetConfigs(e,n){let r=this._extractIconWithNameFromAnySet(e,n);if(r)return it(r);let l=n.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe(yi(h=>{let _=`Loading icon set URL: ${this._sanitizer.sanitize(z.RESOURCE_URL,d.url)} failed: ${h.message}`;return this._errorHandler.handleError(new Error(_)),it(null)})));return Ci(l).pipe(pt(()=>{let d=this._extractIconWithNameFromAnySet(e,n);if(!d)throw Hn(e);return d}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){let l=n[r];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){let d=this._svgElementFromConfig(l),h=this._extractSvgIconFromSet(d,e,l.options);if(h)return h}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Xt(n=>e.svgText=n),pt(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?it(null):this._fetchIcon(e).pipe(Xt(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){let l=e.querySelector(`[id="${n}"]`);if(!l)return null;let d=l.cloneNode(!0);if(d.removeAttribute("id"),d.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(d,r);if(d.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(d),r);let h=this._svgElementFromString(Bt(""));return h.appendChild(d),this._setSvgAttributes(h,r)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let r=n.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let n=this._svgElementFromString(Bt("")),r=e.attributes;for(let l=0;lBt(_)),Ai(()=>this._inProgressUrlFetches.delete(d)),Ii());return this._inProgressUrlFetches.set(d,g),g}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(zn(e,n),r),this}_addSvgIconSetConfig(e,n){let r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){let n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;rs?s.pathname+s.search:""}}var Wn=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tr=Wn.map(c=>`[${c}]`).join(", "),er=/^url\(['"]?#(.*?)['"]?\)$/,Vn=(()=>{let s=class s extends Xa{get inline(){return this._inline}set inline(e){this._inline=K(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(e,n,r,l,d,h){super(e),this._iconRegistry=n,this._location=l,this._errorHandler=d,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ye.EMPTY,h&&(h.color&&(this.color=this.defaultColor=h.color),h.fontSet&&(this.fontSet=h.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.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(e){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let r=e.childNodes[n];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let n=this._elementsWithExternalReferences;n&&n.forEach((r,l)=>{r.forEach(d=>{l.setAttribute(d.name,`url('${e}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(e){let n=e.querySelectorAll(tr),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{let h=n[l],g=h.getAttribute(d),_=g?g.match(er):null;if(_){let y=r.get(h);y||(y=[],r.set(h,y)),y.push({name:d,value:_[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(Gt(1)).subscribe(l=>this._setSvgElement(l),l=>{let d=`Error retrieving icon ${n}:${r}! ${l.message}`;this._errorHandler.handleError(new Error(d))})}}};s.\u0275fac=function(n){return new(n||s)(p(W),p(qa),Jt("aria-hidden"),p(Ka),p(ee),p(Za,8))},s.\u0275cmp=U({type:s,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(n,r){n&2&&(gt("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),X("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[mt],ngContentSelectors:Qa,decls:1,vars:0,template:function(n,r){n&1&&(at(),Z(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 c=s;return c})(),Qn=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=_t({type:s}),s.\u0275inj=ft({imports:[J,J]});let c=s;return c})();var je=["*"],rr=["tabListContainer"],or=["tabList"],sr=["tabListInner"],cr=["nextPaginator"],lr=["previousPaginator"];var ur=["mat-tab-nav-bar",""],dr=["mat-tab-link",""];var Ne="mdc-tab-indicator--active",Yn="mdc-tab-indicator--no-transition",He=class{constructor(s){this._items=s}hide(){this._items.forEach(s=>s.deactivateInkBar())}alignToElement(s){let f=this._items.find(n=>n.elementRef.nativeElement===s),e=this._currentItem;if(f!==e&&(e?.deactivateInkBar(),f)){let n=e?.elementRef.nativeElement.getBoundingClientRect?.();f.activateInkBar(n),this._currentItem=f}}};function mr(c){return class extends c{constructor(...s){super(...s),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(s){let f=K(s);this._fitToContent!==f&&(this._fitToContent=f,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(s){let f=this.elementRef.nativeElement;if(!s||!f.getBoundingClientRect||!this._inkBarContentElement){f.classList.add(Ne);return}let e=f.getBoundingClientRect(),n=s.width/e.width,r=s.left-e.left;f.classList.add(Yn),this._inkBarContentElement.style.setProperty("transform",`translateX(${r}px) scaleX(${n})`),f.getBoundingClientRect(),f.classList.remove(Yn),f.classList.add(Ne),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Ne)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let s=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=s.createElement("span"),this._inkBarContentElement=s.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let s=this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement;s.appendChild(this._inkBarElement)}}}var $n=hn({passive:!0}),hr=650,br=100,pr=(()=>{let s=class s{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=K(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=sn(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,n,r,l,d,h,g){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=l,this._ngZone=d,this._platform=h,this._animationMode=g,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new $t,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new $t,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ke,this.indexFocused=new ke,d.runOutsideAngular(()=>{qt(e.nativeElement,"mouseleave").pipe(nt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){qt(this._previousPaginator.nativeElement,"touchstart",$n).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),qt(this._nextPaginator.nativeElement,"touchstart",$n).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:it("ltr"),n=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new _n(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Gt(1)).subscribe(r),Ae(e,n,this._items.changes,this._itemsResized()).pipe(nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return typeof ResizeObserver!="function"?vi:this._items.changes.pipe(Ie(this._items),ki(e=>new gi(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(l=>n.next(l));return e.forEach(l=>r.observe(l.elementRef.nativeElement)),()=>{r.disconnect()}}))),xi(1),Ei(e=>e.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(e){if(!bn(e))switch(e.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(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",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(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].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 e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;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(e){this._scrollTo(e)}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:d}=n.elementRef.nativeElement,h,g;this._getLayoutDirection()=="ltr"?(h=l,g=h+d):(g=this._tabListInner.nativeElement.offsetWidth-l,h=g-d);let _=this.scrollDistance,y=this.scrollDistance+r;h<_?this.scrollDistance-=_-h:g>y&&(this.scrollDistance+=Math.min(g-y,h-_))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),Ti(hr,br).pipe(nt(Ae(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:l}=this._scrollHeader(e);(l===0||l>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}};s.\u0275fac=function(n){return new(n||s)(p(W),p(xe),p(Oe),p(Re,8),p(we),p(kt),p(te,8))},s.\u0275dir=Kt({type:s,inputs:{disablePagination:"disablePagination"}});let c=s;return c})();var fr=new It("MAT_TABS_CONFIG");var Xn=0,Ue=(()=>{let s=class s extends pr{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(K(e)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=K(e)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=K(e)}constructor(e,n,r,l,d,h,g,_){super(e,l,d,n,r,h,g),this._fitInkBarToContent=new Di(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=_&&_.disablePagination!=null?_.disablePagination:!1,this.fitInkBarToContent=_&&_.fitInkBarToContent!=null?_.fitInkBarToContent:!1,this.stretchTabs=_&&_.stretchTabs!=null?_.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new He(this._items),this._items.changes.pipe(Ie(null),nt(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=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}.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 c=s;return c})(),_r=mr(Cn(Fn(vn(class{})))),ze=(()=>{let s=class s extends _r{get active(){return this._isActive}set active(e){let n=K(e);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,l,d,h){super(),this._tabNavBar=e,this.elementRef=n,this._focusMonitor=d,this._destroyed=new $t,this._isActive=!1,this.id=`mat-tab-link-${Xn++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(l)||0,h==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe(nt(this._destroyed)).subscribe(g=>{this.fitInkBarToContent=g})}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(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&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.tabIndex}};s.\u0275fac=function(n){return new(n||s)(p(Ue),p(W),p(En,8),Jt("tabindex"),p(gn),p(te,8))},s.\u0275cmp=U({type:s,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&&Q("focus",function(){return r._handleFocus()})("keydown",function(d){return r._handleKeydown(d)}),n&2&&(gt("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()),X("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[mt],attrs:dr,ngContentSelectors:je,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&&(at(),V(0,"span",0)(1,"div",1),C(2,"span",2)(3,"span",3),Z(4),w()()),n&2&&(S(1),P("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Le],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 c=s;return c})(),Zn=(()=>{let s=class s{constructor(){this.id=`mat-tab-nav-panel-${Xn++}`}};s.\u0275fac=function(n){return new(n||s)},s.\u0275cmp=U({type:s,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,r){n&2&>("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:je,decls:1,vars:0,template:function(n,r){n&1&&(at(),Z(0))},encapsulation:2,changeDetection:0});let c=s;return c})(),Kn=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=_t({type:s}),s.\u0275inj=ft({imports:[Hi,J,xn,Tn,fn,Dn,J]});let c=s;return c})();var Dr=["*",[["mat-toolbar-row"]]],vr=["*","mat-toolbar-row"],Fr=wt(class{constructor(c){this._elementRef=c}}),We=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275dir=Kt({type:s,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]});let c=s;return c})(),Jn=(()=>{let s=class s extends Fr{constructor(e,n,r){super(e),this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};s.\u0275fac=function(n){return new(n||s)(p(W),p(kt),p(ot))},s.\u0275cmp=U({type:s,selectors:[["mat-toolbar"]],contentQueries:function(n,r,l){if(n&1&&ne(l,We,5),n&2){let d;M(d=R())&&(r._toolbarRows=d)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(n,r){n&2&&X("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0)},inputs:{color:"color"},exportAs:["matToolbar"],features:[mt],ngContentSelectors:vr,decls:2,vars:0,template:function(n,r){n&1&&(at(Dr),Z(0),Z(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: inherit;--mdc-outlined-button-label-text-color: inherit}.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 c=s;return c})();var ta=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=_t({type:s}),s.\u0275inj=ft({imports:[J,J]});let c=s;return c})();var ea=Vi("routeAnimation",[Yi("* <=> *",[$i(":enter",[Pe({opacity:0,transform:"translateY(32px)"}),Qi("550ms cubic-bezier(0.35, 0, 0.25, 1)",Pe({opacity:1,transform:"translateY(0)"}))],{optional:!0})])]);var st=function(c){return c.Light="light",c.Dark="dark",c}(st||{});function ia(c){return c!=null&&typeof c=="string"&&Object.values(st).includes(c)}var Ve=st.Light,Qe="ngx-markdown:theme";var Tr=["tabHeader"];function yr(c,s){if(c&1&&(C(0,"a",13,14)(2,"div",15),V(3,"img",16),C(4,"span"),ie(5),w()()()),c&2){let f=s.$implicit,e=xt(1);P("active",e.isActive)("routerLink",f.path),S(3),Ri("src","assets/icon-",f.path,".svg",Pi),S(2),Se(f.data==null?null:f.data.label)}}var na=(()=>{let s=class s{constructor(e,n,r){this.document=e,this.anchorService=n,this.router=r,this.theme=Ve,this.stickyClassName="mat-mdc-tab-nav-bar--sticky",this.routes=this.router.config.filter(l=>l.data&&l.data.label)}onDocumentClick(e){this.anchorService.interceptClick(e)}onWindowScroll(){if(this.tabHeader==null)return;let e=this.tabHeader.nativeElement,n=Math.ceil(e.offsetTop),r=Math.ceil(window.pageYOffset),l=e.classList.contains(this.stickyClassName);!l&&r>=n&&e.classList.add(this.stickyClassName),l&&rconsole.error(c)); +`}}}}function Rn(c){return[on,c?.loader??[],c?.clipboardOptions??[],c?.markedOptions??[],{provide:nn,useValue:c?.markedExtensions??[]},{provide:rn,useValue:c?.sanitize??z.HTML}]}var Ln=[{path:"get-started",loadComponent:()=>import("./chunk-DTMPRGQN.js"),data:{label:"Get Started"}},{path:"cheat-sheet",loadComponent:()=>import("./chunk-44I6A7KZ.js"),data:{label:"Cheat Sheet"}},{path:"syntax-highlight",loadComponent:()=>import("./chunk-5G4VR6PW.js"),data:{label:"Syntax Highlight"}},{path:"bindings",loadComponent:()=>import("./chunk-Y7TKU63W.js"),data:{label:"Bindings"}},{path:"plugins",loadComponent:()=>import("./chunk-HUWQKYAF.js"),data:{label:"Plugins"}},{path:"re-render",loadComponent:()=>import("./chunk-ZFNVKH7O.js"),data:{label:"Re-render"}},{path:"**",redirectTo:"get-started"}];function On(c){let s=new Me;return s.link=(f,e,n)=>Me.prototype.link.call(s,c.normalizeExternalUrl(f),e,n),{renderer:s}}var le=(()=>{let s=class s{constructor(e,n,r,l){this.locationStrategy=e,this.route=n,this.router=r,this.viewportScroller=l}interceptClick(e){let n=e.target;if(!(n instanceof HTMLAnchorElement))return;let r=n.getAttribute("href")||"";this.isExternalUrl(r)||this.isRouterLink(n)||(this.navigate(r),e.preventDefault())}navigate(e,n=!1){let r=this.getUrlTree(e);this.router.navigated=!1,this.router.navigateByUrl(r,{replaceUrl:n})}normalizeExternalUrl(e){if(this.isExternalUrl(e))return e;let n=this.getUrlTree(e),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(...e){this.viewportScroller.setOffset(...e)}getUrlTree(e){let n=this.stripFragment(e)||this.stripFragment(this.router.url),r=this.router.parseUrl(e).fragment||void 0;return this.router.createUrlTree([n],{relativeTo:this.route,fragment:r})}isExternalUrl(e){return/^(?!http(s?):\/\/).+$/.exec(e)==null}isRouterLink(e){return e.getAttributeNames().some(n=>n.startsWith("_ngcontent"))}stripFragment(e){return/[^#]*/.exec(e)[0]}};s.\u0275fac=function(n){return new(n||s)(j(Oi),j(Gi),j(re),j(ji))},s.\u0275prov=Zt({token:s,factory:s.\u0275fac,providedIn:"root"});let c=s;return c})();var Nn={providers:[qi(),Ui(),Ji(Ln,tn({anchorScrolling:"enabled",scrollPositionRestoration:"enabled"})),Rn({loader:ae,markedOptions:{provide:an,useFactory:On,deps:[le]},markedExtensions:[Mn()],clipboardOptions:{provide:en,useValue:{buttonComponent:kn}},sanitize:z.NONE})]};var Qa=["*"],ue;function Ya(){if(ue===void 0&&(ue=null,typeof window<"u")){let c=window;c.trustedTypes!==void 0&&(ue=c.trustedTypes.createPolicy("angular#components",{createHTML:s=>s}))}return ue}function Bt(c){return Ya()?.createHTML(c)||c}function Hn(c){return Error(`Unable to find icon with the name "${c}"`)}function $a(){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 jn(c){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${c}".`)}function Un(c){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${c}".`)}var tt=class{constructor(s,f,e){this.url=s,this.svgText=f,this.options=e}},qa=(()=>{let s=class s{constructor(e,n,r,l){this._httpClient=e,this._sanitizer=n,this._errorHandler=l,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(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,l){return this._addSvgIconConfig(e,n,new tt(r,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,l){let d=this._sanitizer.sanitize(z.HTML,r);if(!d)throw Un(r);let h=Bt(d);return this._addSvgIconConfig(e,n,new tt("",h,l))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new tt(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){let l=this._sanitizer.sanitize(z.HTML,n);if(!l)throw Un(n);let d=Bt(l);return this._addSvgIconSetConfig(e,new tt("",d,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(z.RESOURCE_URL,e);if(!n)throw jn(e);let r=this._cachedIconsByUrl.get(n);return r?it(de(r)):this._loadSvgIconFromConfig(new tt(e,null)).pipe(Xt(l=>this._cachedIconsByUrl.set(n,l)),pt(l=>de(l)))}getNamedSvgIcon(e,n=""){let r=zn(n,e),l=this._svgIconConfigs.get(r);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(n,e),l)return this._svgIconConfigs.set(r,l),this._getSvgFromConfig(l);let d=this._iconSetConfigs.get(n);return d?this._getSvgFromIconSetConfigs(e,d):Fi(Hn(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?it(de(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(pt(n=>de(n)))}_getSvgFromIconSetConfigs(e,n){let r=this._extractIconWithNameFromAnySet(e,n);if(r)return it(r);let l=n.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe(yi(h=>{let _=`Loading icon set URL: ${this._sanitizer.sanitize(z.RESOURCE_URL,d.url)} failed: ${h.message}`;return this._errorHandler.handleError(new Error(_)),it(null)})));return Ci(l).pipe(pt(()=>{let d=this._extractIconWithNameFromAnySet(e,n);if(!d)throw Hn(e);return d}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){let l=n[r];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){let d=this._svgElementFromConfig(l),h=this._extractSvgIconFromSet(d,e,l.options);if(h)return h}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Xt(n=>e.svgText=n),pt(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?it(null):this._fetchIcon(e).pipe(Xt(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){let l=e.querySelector(`[id="${n}"]`);if(!l)return null;let d=l.cloneNode(!0);if(d.removeAttribute("id"),d.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(d,r);if(d.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(d),r);let h=this._svgElementFromString(Bt(""));return h.appendChild(d),this._setSvgAttributes(h,r)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let r=n.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let n=this._svgElementFromString(Bt("")),r=e.attributes;for(let l=0;lBt(_)),Ai(()=>this._inProgressUrlFetches.delete(d)),Ii());return this._inProgressUrlFetches.set(d,g),g}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(zn(e,n),r),this}_addSvgIconSetConfig(e,n){let r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){let n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;rs?s.pathname+s.search:""}}var Wn=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tr=Wn.map(c=>`[${c}]`).join(", "),er=/^url\(['"]?#(.*?)['"]?\)$/,Vn=(()=>{let s=class s extends Xa{get inline(){return this._inline}set inline(e){this._inline=K(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(e,n,r,l,d,h){super(e),this._iconRegistry=n,this._location=l,this._errorHandler=d,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ye.EMPTY,h&&(h.color&&(this.color=this.defaultColor=h.color),h.fontSet&&(this.fontSet=h.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.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(e){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let r=e.childNodes[n];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let n=this._elementsWithExternalReferences;n&&n.forEach((r,l)=>{r.forEach(d=>{l.setAttribute(d.name,`url('${e}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(e){let n=e.querySelectorAll(tr),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{let h=n[l],g=h.getAttribute(d),_=g?g.match(er):null;if(_){let y=r.get(h);y||(y=[],r.set(h,y)),y.push({name:d,value:_[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(Gt(1)).subscribe(l=>this._setSvgElement(l),l=>{let d=`Error retrieving icon ${n}:${r}! ${l.message}`;this._errorHandler.handleError(new Error(d))})}}};s.\u0275fac=function(n){return new(n||s)(p(W),p(qa),Jt("aria-hidden"),p(Ka),p(ee),p(Za,8))},s.\u0275cmp=U({type:s,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(n,r){n&2&&(gt("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),X("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[mt],ngContentSelectors:Qa,decls:1,vars:0,template:function(n,r){n&1&&(at(),Z(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 c=s;return c})(),Qn=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=_t({type:s}),s.\u0275inj=ft({imports:[J,J]});let c=s;return c})();var je=["*"],rr=["tabListContainer"],or=["tabList"],sr=["tabListInner"],cr=["nextPaginator"],lr=["previousPaginator"];var ur=["mat-tab-nav-bar",""],dr=["mat-tab-link",""];var Ne="mdc-tab-indicator--active",Yn="mdc-tab-indicator--no-transition",He=class{constructor(s){this._items=s}hide(){this._items.forEach(s=>s.deactivateInkBar())}alignToElement(s){let f=this._items.find(n=>n.elementRef.nativeElement===s),e=this._currentItem;if(f!==e&&(e?.deactivateInkBar(),f)){let n=e?.elementRef.nativeElement.getBoundingClientRect?.();f.activateInkBar(n),this._currentItem=f}}};function mr(c){return class extends c{constructor(...s){super(...s),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(s){let f=K(s);this._fitToContent!==f&&(this._fitToContent=f,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(s){let f=this.elementRef.nativeElement;if(!s||!f.getBoundingClientRect||!this._inkBarContentElement){f.classList.add(Ne);return}let e=f.getBoundingClientRect(),n=s.width/e.width,r=s.left-e.left;f.classList.add(Yn),this._inkBarContentElement.style.setProperty("transform",`translateX(${r}px) scaleX(${n})`),f.getBoundingClientRect(),f.classList.remove(Yn),f.classList.add(Ne),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Ne)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let s=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=s.createElement("span"),this._inkBarContentElement=s.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let s=this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement;s.appendChild(this._inkBarElement)}}}var $n=hn({passive:!0}),hr=650,br=100,pr=(()=>{let s=class s{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=K(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=sn(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,n,r,l,d,h,g){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=l,this._ngZone=d,this._platform=h,this._animationMode=g,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new $t,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new $t,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ke,this.indexFocused=new ke,d.runOutsideAngular(()=>{qt(e.nativeElement,"mouseleave").pipe(nt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){qt(this._previousPaginator.nativeElement,"touchstart",$n).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),qt(this._nextPaginator.nativeElement,"touchstart",$n).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:it("ltr"),n=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new _n(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Gt(1)).subscribe(r),Ae(e,n,this._items.changes,this._itemsResized()).pipe(nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return typeof ResizeObserver!="function"?vi:this._items.changes.pipe(Ie(this._items),ki(e=>new gi(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(l=>n.next(l));return e.forEach(l=>r.observe(l.elementRef.nativeElement)),()=>{r.disconnect()}}))),xi(1),Ei(e=>e.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(e){if(!bn(e))switch(e.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(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",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(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].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 e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;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(e){this._scrollTo(e)}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:d}=n.elementRef.nativeElement,h,g;this._getLayoutDirection()=="ltr"?(h=l,g=h+d):(g=this._tabListInner.nativeElement.offsetWidth-l,h=g-d);let _=this.scrollDistance,y=this.scrollDistance+r;h<_?this.scrollDistance-=_-h:g>y&&(this.scrollDistance+=Math.min(g-y,h-_))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),Ti(hr,br).pipe(nt(Ae(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:l}=this._scrollHeader(e);(l===0||l>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}};s.\u0275fac=function(n){return new(n||s)(p(W),p(xe),p(Oe),p(Re,8),p(we),p(kt),p(te,8))},s.\u0275dir=Kt({type:s,inputs:{disablePagination:"disablePagination"}});let c=s;return c})();var fr=new It("MAT_TABS_CONFIG");var Xn=0,Ue=(()=>{let s=class s extends pr{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(K(e)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=K(e)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=K(e)}constructor(e,n,r,l,d,h,g,_){super(e,l,d,n,r,h,g),this._fitInkBarToContent=new Di(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=_&&_.disablePagination!=null?_.disablePagination:!1,this.fitInkBarToContent=_&&_.fitInkBarToContent!=null?_.fitInkBarToContent:!1,this.stretchTabs=_&&_.stretchTabs!=null?_.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new He(this._items),this._items.changes.pipe(Ie(null),nt(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=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}.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 c=s;return c})(),_r=mr(Cn(Fn(vn(class{})))),ze=(()=>{let s=class s extends _r{get active(){return this._isActive}set active(e){let n=K(e);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,l,d,h){super(),this._tabNavBar=e,this.elementRef=n,this._focusMonitor=d,this._destroyed=new $t,this._isActive=!1,this.id=`mat-tab-link-${Xn++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(l)||0,h==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe(nt(this._destroyed)).subscribe(g=>{this.fitInkBarToContent=g})}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(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&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.tabIndex}};s.\u0275fac=function(n){return new(n||s)(p(Ue),p(W),p(En,8),Jt("tabindex"),p(gn),p(te,8))},s.\u0275cmp=U({type:s,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&&Q("focus",function(){return r._handleFocus()})("keydown",function(d){return r._handleKeydown(d)}),n&2&&(gt("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()),X("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[mt],attrs:dr,ngContentSelectors:je,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&&(at(),V(0,"span",0)(1,"div",1),C(2,"span",2)(3,"span",3),Z(4),w()()),n&2&&(S(1),P("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Le],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 c=s;return c})(),Zn=(()=>{let s=class s{constructor(){this.id=`mat-tab-nav-panel-${Xn++}`}};s.\u0275fac=function(n){return new(n||s)},s.\u0275cmp=U({type:s,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,r){n&2&>("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:je,decls:1,vars:0,template:function(n,r){n&1&&(at(),Z(0))},encapsulation:2,changeDetection:0});let c=s;return c})(),Kn=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=_t({type:s}),s.\u0275inj=ft({imports:[Hi,J,xn,Tn,fn,Dn,J]});let c=s;return c})();var Dr=["*",[["mat-toolbar-row"]]],vr=["*","mat-toolbar-row"],Fr=wt(class{constructor(c){this._elementRef=c}}),We=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275dir=Kt({type:s,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]});let c=s;return c})(),Jn=(()=>{let s=class s extends Fr{constructor(e,n,r){super(e),this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};s.\u0275fac=function(n){return new(n||s)(p(W),p(kt),p(ot))},s.\u0275cmp=U({type:s,selectors:[["mat-toolbar"]],contentQueries:function(n,r,l){if(n&1&&ne(l,We,5),n&2){let d;M(d=R())&&(r._toolbarRows=d)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(n,r){n&2&&X("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0)},inputs:{color:"color"},exportAs:["matToolbar"],features:[mt],ngContentSelectors:vr,decls:2,vars:0,template:function(n,r){n&1&&(at(Dr),Z(0),Z(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: inherit;--mdc-outlined-button-label-text-color: inherit}.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 c=s;return c})();var ta=(()=>{let s=class s{};s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=_t({type:s}),s.\u0275inj=ft({imports:[J,J]});let c=s;return c})();var ea=Vi("routeAnimation",[Yi("* <=> *",[$i(":enter",[Pe({opacity:0,transform:"translateY(32px)"}),Qi("550ms cubic-bezier(0.35, 0, 0.25, 1)",Pe({opacity:1,transform:"translateY(0)"}))],{optional:!0})])]);var st=function(c){return c.Light="light",c.Dark="dark",c}(st||{});function ia(c){return c!=null&&typeof c=="string"&&Object.values(st).includes(c)}var Ve=st.Light,Qe="ngx-markdown:theme";var Tr=["tabHeader"];function yr(c,s){if(c&1&&(C(0,"a",13,14)(2,"div",15),V(3,"img",16),C(4,"span"),ie(5),w()()()),c&2){let f=s.$implicit,e=xt(1);P("active",e.isActive)("routerLink",f.path),S(3),Ri("src","assets/icon-",f.path,".svg",Pi),S(2),Se(f.data==null?null:f.data.label)}}var na=(()=>{let s=class s{constructor(e,n,r){this.document=e,this.anchorService=n,this.router=r,this.theme=Ve,this.stickyClassName="mat-mdc-tab-nav-bar--sticky",this.routes=this.router.config.filter(l=>l.data&&l.data.label)}onDocumentClick(e){this.anchorService.interceptClick(e)}onWindowScroll(){if(this.tabHeader==null)return;let e=this.tabHeader.nativeElement,n=Math.ceil(e.offsetTop),r=Math.ceil(window.pageYOffset),l=e.classList.contains(this.stickyClassName);!l&&r>=n&&e.classList.add(this.stickyClassName),l&&rconsole.error(c));